/**
 * 极佳公众号助手 · 授权后台自定义样式
 */
body {
    background: #f4f6f9;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.login-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.login-box {
    max-width: 420px;
    margin: auto;
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,.15);
}

.navbar-brand {
    font-size: 1.1rem;
}

.nav-link i {
    margin-right: 3px;
}

/* 统计卡片 */
.stat-card {
    border: none;
    border-radius: 10px;
    transition: transform .2s;
}
.stat-card:hover { transform: translateY(-3px); }
.stat-card .stat-icon {
    font-size: 2.2rem;
    opacity: .85;
}
.stat-card .stat-value {
    font-size: 1.8rem;
    font-weight: 600;
    margin: .5rem 0;
}
.stat-card .stat-label {
    color: #6c757d;
    font-size: .9rem;
}

.bg-soft-primary { background: rgba(13, 110, 253, .12); color: #0d6efd; }
.bg-soft-success { background: rgba(25, 135, 84, .12); color: #198754; }
.bg-soft-warning { background: rgba(255, 193, 7, .15); color: #997404; }
.bg-soft-danger  { background: rgba(220, 53, 69, .12); color: #dc3545; }
.bg-soft-info    { background: rgba(13, 202, 240, .15); color: #0aa2c0; }

/* 卡密显示 */
.license-key {
    font-family: Consolas, Monaco, monospace;
    font-size: .95rem;
    letter-spacing: 1px;
    background: #f1f3f5;
    padding: 3px 8px;
    border-radius: 4px;
    user-select: all;
}

/* 状态标签 */
.status-badge {
    padding: 3px 10px;
    border-radius: 20px;
    font-size: .78rem;
    font-weight: 500;
}
.status-unused   { background: #e7f1ff; color: #0d6efd; }
.status-active   { background: #d1e7dd; color: #0f5132; }
.status-expired  { background: #f8d7da; color: #842029; }
.status-disabled { background: #e2e3e5; color: #495057; }

/* 表格 */
.table thead th {
    background: #f8f9fa;
    font-weight: 600;
    font-size: .88rem;
    color: #495057;
}
.table td { vertical-align: middle; }

/* 批量操作栏 */
.batch-bar {
    background: #fff;
    padding: .75rem 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
    margin-bottom: 1rem;
}

/* 复制按钮反馈 */
.copy-btn.copied {
    background: #198754 !important;
    color: #fff !important;
}

/* 空状态 */
.empty-state {
    padding: 4rem 2rem;
    text-align: center;
    color: #adb5bd;
}
.empty-state i { font-size: 4rem; }

/* 表单紧凑 */
.filter-form .form-control, .filter-form .form-select {
    font-size: .9rem;
}

/* 代码块（API说明） */
pre.api-code {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 1rem;
    border-radius: 8px;
    font-size: .85rem;
    overflow-x: auto;
}
pre.api-code .comment { color: #6a9955; }
pre.api-code .string  { color: #ce9178; }
pre.api-code .keyword { color: #569cd6; }
