/* Kiro Account Manager - Shared Styles */

:root {
    --bg-primary: #09090b;
    --bg-secondary: #0f0f12;
    --bg-tertiary: #18181b;
    --bg-card: #141417;
    --bg-card-hover: #1c1c20;
    --bg-elevated: #1f1f23;
    --border-color: #27272a;
    --border-light: #3f3f46;
    --text-primary: #fafafa;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --accent-primary: #6366f1;
    --accent-primary-hover: #818cf8;
    --accent-primary-glow: rgba(99, 102, 241, 0.25);
    --accent-success: #10b981;
    --accent-success-bg: rgba(16, 185, 129, 0.12);
    --accent-warning: #f59e0b;
    --accent-warning-bg: rgba(245, 158, 11, 0.12);
    --accent-danger: #ef4444;
    --accent-danger-bg: rgba(239, 68, 68, 0.12);
    --accent-info: #3b82f6;
    --accent-purple: #a855f7;
    --accent-cyan: #06b6d4;
    --sidebar-width: 260px;
    --header-height: 64px;
    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.5);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.6);
    --shadow-glow: 0 0 30px var(--accent-primary-glow);
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-light); }

/* Layout */
.app-container { display: flex; min-height: 100vh; }

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
    transition: transform var(--transition-normal);
}

.sidebar-header {
    padding: 24px 20px;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-purple) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    box-shadow: var(--shadow-glow);
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-subtitle {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
    letter-spacing: 0.5px;
}

.sidebar-nav {
    flex: 1;
    padding: 16px 12px;
    overflow-y: auto;
}

.nav-section { margin-bottom: 24px; }

.nav-section-title {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0 14px;
    margin-bottom: 8px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    margin-bottom: 4px;
    position: relative;
}

.nav-item:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.nav-item.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(168, 85, 247, 0.08) 100%);
    color: var(--text-primary);
    box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.2);
}

.nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 24px;
    background: linear-gradient(180deg, var(--accent-primary), var(--accent-purple));
    border-radius: 0 3px 3px 0;
}

.nav-icon { width: 20px; height: 20px; opacity: 0.8; flex-shrink: 0; }

.nav-badge {
    margin-left: auto;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-purple));
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    min-width: 24px;
    text-align: center;
}

.nav-badge.error {
    background: linear-gradient(135deg, var(--accent-danger), #dc2626);
}

.sidebar-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
}

.sidebar-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.stat-item {
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    padding: 12px;
    text-align: center;
}

.stat-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.version-info {
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
.header {
    height: var(--header-height);
    background: rgba(15, 15, 18, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-left { display: flex; align-items: center; gap: 20px; }
.page-title-section { display: flex; align-items: center; gap: 16px; }

.page-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-purple));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
}

.page-icon svg { width: 22px; height: 22px; color: white; }

.page-title {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.page-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
}

.header-center { display: flex; align-items: center; gap: 16px; }
.header-right { display: flex; align-items: center; gap: 12px; }

/* Search Box */
.search-box { position: relative; width: 320px; }

.search-box input {
    width: 100%;
    padding: 10px 16px 10px 44px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    font-size: 14px;
    transition: all var(--transition-fast);
}

.search-box input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--accent-primary-glow);
    background: var(--bg-card);
}

.search-box input::placeholder { color: var(--text-muted); }

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    width: 18px;
    height: 18px;
}

.search-shortcut {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xs);
    padding: 2px 6px;
    font-size: 11px;
    color: var(--text-muted);
    font-family: inherit;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-purple));
    color: white;
    box-shadow: 0 2px 8px var(--accent-primary-glow);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px var(--accent-primary-glow);
}

.btn-secondary {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.btn-secondary:hover {
    border-color: var(--border-light);
    color: var(--text-primary);
    background: var(--bg-elevated);
}

.btn-danger { background: var(--accent-danger); color: white; }
.btn-danger:hover { opacity: 0.9; }

.btn-ghost { background: transparent; color: var(--text-secondary); padding: 8px; }
.btn-ghost:hover { background: var(--bg-tertiary); color: var(--text-primary); }

.btn-icon { width: 18px; height: 18px; }
.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-lg { padding: 12px 24px; font-size: 15px; }

/* Statistics Cards */
.stats-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    padding: 20px 28px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all var(--transition-fast);
}

.stat-card:hover {
    border-color: var(--border-light);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.stat-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-purple));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon svg {
    width: 22px;
    height: 22px;
    color: white;
}

.stat-icon.success {
    background: linear-gradient(135deg, var(--accent-success), #059669);
}

.stat-icon.warning {
    background: linear-gradient(135deg, var(--accent-warning), #d97706);
}

.stat-icon.info {
    background: linear-gradient(135deg, var(--accent-info), #2563eb);
}

.stat-content {
    flex: 1;
    min-width: 0;
}

.stats-cards .stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.stats-cards .stat-value.warning {
    color: var(--accent-warning);
}

.stats-cards .stat-value.danger {
    color: var(--accent-danger);
}

.stats-cards .stat-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

@media (max-width: 1400px) {
    .stats-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .stats-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .stats-cards {
        grid-template-columns: 1fr;
    }
}

/* Content Area */
.content-area { flex: 1; padding: 28px; background: var(--bg-primary); }

.content-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.content-header-left { display: flex; align-items: center; gap: 16px; }
.content-header-right { display: flex; align-items: center; gap: 12px; }

.select-all-wrapper { display: flex; align-items: center; gap: 12px; }
.checkbox-custom { width: 18px; height: 18px; accent-color: var(--accent-primary); cursor: pointer; }
.select-label { font-size: 14px; color: var(--text-secondary); }
.account-count { font-size: 14px; color: var(--text-muted); }
.account-count strong { color: var(--text-primary); font-weight: 600; }

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 20px;
}

/* Account Card */
.account-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.account-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-purple));
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.account-card:hover {
    border-color: var(--border-light);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.account-card:hover::before { opacity: 1; }

.account-card.selected {
    border-color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.05);
}

.account-card.selected::before { opacity: 1; }

.card-header { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.card-checkbox { margin-top: 4px; }

.card-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
    flex-shrink: 0;
    position: relative;
}

.card-avatar.google { background: linear-gradient(135deg, #4285f4, #34a853); }
.card-avatar.github { background: linear-gradient(135deg, #24292e, #6e5494); }
.card-avatar.builder-id { background: linear-gradient(135deg, #ff9900, #ff6600); }
.card-avatar.idc { background: linear-gradient(135deg, #00a1c9, #0073bb); }

.card-avatar-status {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--bg-card);
}

.card-avatar-status.online { background: var(--accent-success); }
.card-avatar-status.warning { background: var(--accent-warning); }
.card-avatar-status.error { background: var(--accent-danger); }

.card-info { flex: 1; min-width: 0; }

.card-email {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 8px;
}

.copy-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    opacity: 0;
    transition: all var(--transition-fast);
    border-radius: var(--radius-xs);
}

.card-email:hover .copy-btn { opacity: 1; }
.copy-btn:hover { color: var(--text-primary); background: var(--bg-tertiary); }

.card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    font-size: 12px;
    color: var(--text-muted);
}

.card-meta-divider {
    width: 3px;
    height: 3px;
    background: var(--text-muted);
    border-radius: 50%;
}

.card-status {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.normal { background: var(--accent-success-bg); color: var(--accent-success); }
.status-badge.warning { background: var(--accent-warning-bg); color: var(--accent-warning); }
.status-badge.error { background: var(--accent-danger-bg); color: var(--accent-danger); }

.active-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-purple));
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: white;
}

.active-indicator svg { width: 12px; height: 12px; }

/* Usage Section */
.card-usage {
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: 14px;
    margin-bottom: 16px;
}

.usage-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.usage-label { font-size: 12px; color: var(--text-muted); }

.usage-value { font-size: 13px; font-weight: 600; color: var(--accent-success); }
.usage-value.warning { color: var(--accent-warning); }
.usage-value.danger { color: var(--accent-danger); }

.usage-bar {
    height: 6px;
    background: var(--bg-primary);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 10px;
}

.usage-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width var(--transition-normal);
    background: linear-gradient(90deg, var(--accent-success), #34d399);
}

.usage-bar-fill.warning { background: linear-gradient(90deg, var(--accent-warning), #fbbf24); }
.usage-bar-fill.danger { background: linear-gradient(90deg, var(--accent-danger), #f87171); }

.usage-details { display: flex; justify-content: space-between; font-size: 12px; }
.usage-used { color: var(--text-secondary); }
.usage-remaining { color: var(--text-muted); }

/* Card Tags */
.card-tags { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }

.tag {
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 500;
    border: 1px solid transparent;
}

.tag-plan {
    background: rgba(99, 102, 241, 0.12);
    color: var(--accent-primary-hover);
    border-color: rgba(99, 102, 241, 0.25);
}

.tag-provider {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border-color: var(--border-color);
}

.tag-provider.google {
    background: rgba(66, 133, 244, 0.12);
    color: #60a5fa;
    border-color: rgba(66, 133, 244, 0.25);
}

.tag-provider.github {
    background: rgba(139, 92, 246, 0.12);
    color: #a78bfa;
    border-color: rgba(139, 92, 246, 0.25);
}

/* Card Footer */
.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.card-dates { display: flex; gap: 16px; font-size: 12px; }

.date-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
}

.date-item svg { width: 14px; height: 14px; opacity: 0.7; }
.date-value { color: var(--text-secondary); }

.card-actions { display: flex; gap: 4px; }

.card-action-btn {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.card-action-btn:hover { background: var(--bg-tertiary); color: var(--text-primary); }
.card-action-btn.danger:hover { background: var(--accent-danger-bg); color: var(--accent-danger); }
.card-action-btn svg { width: 16px; height: 16px; }

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.modal-overlay.active { opacity: 1; visibility: visible; }

.modal {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    width: 90%;
    max-width: 560px;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.95) translateY(20px);
    transition: transform var(--transition-normal);
    box-shadow: var(--shadow-lg);
}

.modal-overlay.active .modal { transform: scale(1) translateY(0); }

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.modal-title { font-size: 18px; font-weight: 600; }

.modal-close {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background: var(--bg-tertiary);
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.modal-close:hover { background: var(--bg-elevated); color: var(--text-primary); }

.modal-body {
    padding: 24px;
    overflow-y: auto;
    max-height: calc(90vh - 140px);
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
}

/* Form Styles */
.form-group { margin-bottom: 20px; }

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-label .required { color: var(--accent-danger); }

.form-input {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    transition: all var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--accent-primary-glow);
    background: var(--bg-card);
}

.form-input::placeholder { color: var(--text-muted); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-select {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.form-select:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--accent-primary-glow);
}

.form-textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    min-height: 100px;
}

.form-textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--accent-primary-glow);
    background: var(--bg-card);
}

.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 6px; }

/* Tables */
.api-keys-table-wrapper, .logs-table-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.api-keys-table, .logs-table { width: 100%; border-collapse: collapse; table-layout: fixed; }

.api-keys-table th, .logs-table th {
    background: var(--bg-tertiary);
    padding: 14px 16px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border-color);
}

.api-keys-table td, .logs-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-primary);
}

.api-keys-table tr:last-child td, .logs-table tr:last-child td { border-bottom: none; }
.api-keys-table tr:hover td, .logs-table tr:hover td { background: var(--bg-card-hover); }

.api-key-name-cell { font-weight: 500; }
.api-key-value-cell { display: flex; align-items: center; gap: 8px; }

.api-key-value {
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
    font-size: 13px;
    color: var(--text-secondary);
    background: var(--bg-tertiary);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100px;
}

.api-key-copy-btn {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 12px;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 4px;
}

.api-key-copy-btn:hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border-color: var(--border-light);
}

.api-key-copy-btn svg { width: 14px; height: 14px; }

.api-keys-empty, .logs-empty { text-align: center; padding: 60px 20px; }
.api-keys-empty svg, .logs-empty svg { width: 64px; height: 64px; color: var(--text-muted); margin-bottom: 16px; }
.api-keys-empty h3, .logs-empty h3 { font-size: 16px; color: var(--text-primary); margin-bottom: 8px; }
.api-keys-empty p, .logs-empty p { font-size: 14px; color: var(--text-muted); }

.api-key-actions-cell { display: flex; gap: 4px; }
.api-key-usage { font-size: 12px; }
.usage-loading { color: var(--text-muted); font-size: 11px; }
.usage-error { color: var(--text-muted); }

.usage-stats-mini { display: flex; flex-direction: column; gap: 4px; }
.usage-stat-item {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-secondary);
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
    font-size: 12px;
}
.usage-stat-item svg { color: var(--text-muted); flex-shrink: 0; }

/* Logs Page Styles */
.logs-stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.logs-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.logs-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.logs-stat-icon svg { width: 24px; height: 24px; }
.logs-stat-icon.success { background: var(--accent-success-bg); color: var(--accent-success); }
.logs-stat-icon.info { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.logs-stat-icon.warning { background: var(--accent-warning-bg); color: var(--accent-warning); }
.logs-stat-icon.error { background: var(--accent-danger-bg); color: var(--accent-danger); }

.logs-stat-content { flex: 1; }
.logs-stat-value { font-size: 24px; font-weight: 600; color: var(--text-primary); line-height: 1.2; }
.logs-stat-label { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

.logs-filters {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 20px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.logs-filter-group { display: flex; flex-direction: column; gap: 6px; }
.logs-filter-label { font-size: 12px; font-weight: 500; color: var(--text-secondary); }
.logs-filter-input { width: 160px; padding: 8px 12px; font-size: 13px; }
.logs-filter-actions { display: flex; gap: 8px; margin-left: auto; }

.logs-ip-cell, .logs-tokens-cell, .logs-duration-cell {
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
    font-size: 12px;
}
.logs-ip-cell { color: var(--text-secondary); }
.logs-duration-cell { color: var(--text-muted); }

.logs-key-cell {
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
    font-size: 11px;
    color: var(--text-muted);
    background: var(--bg-tertiary);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
}

.logs-model-cell { font-size: 12px; color: var(--text-secondary); }

.logs-type-badge, .logs-status-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 500;
}

.logs-type-badge.stream { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.logs-type-badge.sync { background: var(--bg-tertiary); color: var(--text-secondary); }
.logs-status-badge.success { background: var(--accent-success-bg); color: var(--accent-success); }
.logs-status-badge.error { background: var(--accent-danger-bg); color: var(--accent-danger); }

.logs-actions-cell { display: flex; gap: 4px; }

.logs-action-btn {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 6px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.logs-action-btn:hover { background: var(--bg-elevated); color: var(--text-primary); }
.logs-action-btn svg { width: 14px; height: 14px; }

.logs-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    margin-top: 16px;
}

.logs-pagination-info { font-size: 13px; color: var(--text-muted); }
.logs-pagination-controls { display: flex; align-items: center; gap: 12px; }
.logs-page-info { font-size: 13px; color: var(--text-secondary); }

/* Toast */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 320px;
    max-width: 450px;
    animation: toastSlideIn 0.3s ease;
}

@keyframes toastSlideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.toast-icon { width: 20px; height: 20px; flex-shrink: 0; }
.toast.success .toast-icon { color: var(--accent-success); }
.toast.error .toast-icon { color: var(--accent-danger); }
.toast.warning .toast-icon { color: var(--accent-warning); }

.toast-message { flex: 1; font-size: 14px; color: var(--text-primary); }

.toast-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
}

.toast-close:hover { color: var(--text-primary); }

/* Empty State */
.empty-state { text-align: center; padding: 80px 20px; }

.empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    color: var(--text-muted);
    opacity: 0.4;
}

.empty-title { font-size: 20px; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; }
.empty-description { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; max-width: 400px; margin-left: auto; margin-right: auto; }

/* Loading */
.loading-spinner {
    width: 24px;
    height: 24px;
    border: 2px solid var(--border-color);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 9, 11, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: inherit;
}

/* Context Menu */
.context-menu {
    position: fixed;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 8px 0;
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    display: none;
}

.context-menu.active { display: block; }

.context-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.context-menu-item:hover { background: var(--bg-tertiary); color: var(--text-primary); }
.context-menu-item.danger { color: var(--accent-danger); }
.context-menu-item.danger:hover { background: var(--accent-danger-bg); }
.context-menu-item svg { width: 16px; height: 16px; opacity: 0.8; }

.context-menu-divider { height: 1px; background: var(--border-color); margin: 8px 0; }

/* Chat Page Styles */
.chat-container { display: flex; height: 100%; background: var(--bg-primary); }

.chat-sidebar {
    width: 280px;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.chat-sidebar-header { padding: 20px; border-bottom: 1px solid var(--border-color); }
.chat-sidebar-header h3 { font-size: 14px; font-weight: 600; color: var(--text-primary); }

.chat-account-list { flex: 1; overflow-y: auto; padding: 12px; }

.chat-account-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    margin-bottom: 4px;
}

.chat-account-item:hover { background: var(--bg-tertiary); }

.chat-account-item.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(168, 85, 247, 0.08) 100%);
    box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.2);
}

.chat-account-avatar {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    color: white;
    flex-shrink: 0;
}

.chat-account-avatar.google { background: linear-gradient(135deg, #4285f4, #34a853); }
.chat-account-avatar.github { background: linear-gradient(135deg, #24292e, #6e5494); }

.chat-account-info { flex: 1; min-width: 0; }

.chat-account-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-account-meta { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

.chat-main { flex: 1; display: flex; flex-direction: column; min-width: 0; height: 100%; }

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-secondary);
    flex-shrink: 0;
}

.chat-header-info { display: flex; align-items: center; gap: 16px; }
.chat-current-account { font-size: 14px; font-weight: 500; color: var(--text-primary); }

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 0;
}

.chat-welcome {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-muted);
    text-align: center;
}

.chat-welcome svg { margin-bottom: 16px; opacity: 0.5; }
.chat-welcome h3 { font-size: 18px; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; }
.chat-welcome p { font-size: 14px; }

.chat-message { display: flex; gap: 12px; max-width: 85%; }
.chat-message.user { align-self: flex-end; flex-direction: row-reverse; }

.chat-message-avatar {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.chat-message.user .chat-message-avatar {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-purple));
    color: white;
}

.chat-message.assistant .chat-message-avatar { background: var(--bg-tertiary); color: var(--text-secondary); }

.chat-message-content {
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
}

.chat-message.user .chat-message-content {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-purple));
    color: white;
}

.chat-message-content pre {
    background: var(--bg-primary);
    border-radius: var(--radius-sm);
    padding: 12px;
    margin: 8px 0;
    overflow-x: auto;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 13px;
}

.chat-message-content code {
    background: var(--bg-primary);
    padding: 2px 6px;
    border-radius: var(--radius-xs);
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 13px;
}

.chat-message.user .chat-message-content pre,
.chat-message.user .chat-message-content code { background: rgba(0, 0, 0, 0.2); }

.chat-input-area {
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
    flex-shrink: 0;
}

.chat-input-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 12px 16px;
    transition: all var(--transition-fast);
    max-width: 900px;
    margin: 0 auto;
}

.chat-input-wrapper:focus-within {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--accent-primary-glow);
}

.chat-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    resize: none;
    max-height: 150px;
    line-height: 1.5;
}

.chat-input:focus { outline: none; }
.chat-input::placeholder { color: var(--text-muted); }

.chat-send-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-purple));
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.chat-send-btn:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 4px 12px var(--accent-primary-glow);
}

.chat-send-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.chat-send-btn svg { width: 18px; height: 18px; }

.chat-typing {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--text-muted);
    max-width: 200px;
}

.chat-typing-dots { display: flex; gap: 4px; }

.chat-typing-dots span {
    width: 6px;
    height: 6px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: typingDot 1.4s infinite;
}

.chat-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-4px); opacity: 1; }
}

/* Responsive */
@media (max-width: 1400px) {
    .logs-stats-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Log Detail Modal Styles */
.log-detail-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Usage Page Styles */
.usage-filters {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 20px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.usage-filter-group { display: flex; flex-direction: column; gap: 6px; }
.usage-filter-label { font-size: 12px; font-weight: 500; color: var(--text-secondary); }
.usage-filter-input { width: 180px; padding: 8px 12px; font-size: 13px; }
.usage-filter-actions { display: flex; gap: 8px; margin-left: auto; }

.usage-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.usage-summary-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.usage-summary-card.highlight {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(168, 85, 247, 0.05) 100%);
    border-color: rgba(99, 102, 241, 0.3);
}

.usage-summary-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.usage-summary-icon svg { width: 24px; height: 24px; }
.usage-summary-icon.success { background: var(--accent-success-bg); color: var(--accent-success); }
.usage-summary-icon.info { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.usage-summary-icon.warning { background: var(--accent-warning-bg); color: var(--accent-warning); }

.usage-summary-content { flex: 1; }
.usage-summary-value { font-size: 28px; font-weight: 700; color: var(--text-primary); line-height: 1.2; }
.usage-summary-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

.usage-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 20px;
}

.usage-section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.usage-table-wrapper { overflow-x: auto; }

.usage-table { width: 100%; border-collapse: collapse; }

.usage-table th {
    background: var(--bg-tertiary);
    padding: 12px 16px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border-color);
}

.usage-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-primary);
}

.usage-table tr:last-child td { border-bottom: none; }
.usage-table tr:hover td { background: var(--bg-card-hover); }
.model-name-cell { font-weight: 500; }

.key-prefix-cell {
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
    font-size: 12px;
    background: var(--bg-tertiary);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
}

.cost-cell {
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
    font-size: 13px;
    color: var(--text-secondary);
}

.cost-cell.total {
    font-weight: 600;
    color: var(--accent-warning);
}

@media (max-width: 1200px) {
    .usage-summary-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .usage-summary-grid { grid-template-columns: 1fr; }
    .usage-filters { flex-wrap: wrap; }
    .usage-filter-actions { width: 100%; margin-left: 0; margin-top: 8px; }
}

/* Log Detail Modal Styles */

.log-detail-section {
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: 16px;
}

.log-detail-section-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.log-detail-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.log-detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.log-detail-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.log-detail-value {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}

.log-detail-error {
    border: 1px solid var(--accent-danger);
    background: var(--accent-danger-bg);
}

.log-detail-error .log-detail-section-title {
    color: var(--accent-danger);
}

.log-detail-error-content {
    font-size: 13px;
    color: var(--accent-danger);
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
    white-space: pre-wrap;
    word-break: break-all;
}

.log-detail-code-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
    margin-top: 12px;
}

.log-detail-code-label:first-child {
    margin-top: 0;
}

.log-detail-code {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px;
    font-size: 12px;
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
    color: var(--text-secondary);
    overflow-x: auto;
    max-height: 200px;
    white-space: pre-wrap;
    word-break: break-all;
}

@media (max-width: 1024px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.open { transform: translateX(0); }
    .main-content { margin-left: 0; }
    .cards-grid { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
}

@media (max-width: 1000px) {
    .logs-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .logs-filters { flex-wrap: wrap; }
    .logs-filter-actions { width: 100%; margin-left: 0; margin-top: 8px; }
}

@media (max-width: 768px) {
    .header { padding: 0 16px; }
    .header-center { display: none; }
    .content-area { padding: 16px; }
    .cards-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .chat-sidebar { display: none; }
}

/* ============ API Key Limits Styles ============ */

.limits-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.limit-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
}

.limit-label {
    color: var(--text-muted);
    font-size: 10px;
    text-transform: uppercase;
}

.limit-value {
    color: var(--text-secondary);
    font-weight: 500;
}

.limit-value.warning {
    color: var(--accent-warning);
}

.limit-value.danger {
    color: var(--accent-danger);
}

.limits-section-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.form-row {
    display: flex;
    gap: 12px;
}

.usage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.usage-item {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.usage-label {
    font-size: 12px;
    color: var(--text-muted);
}

.usage-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.api-key-limits {
    min-width: 120px;
}
