/* Neptune WAF - Minimalist Design with Horizontal Navigation */
/* Black & Gray Color Palette with Smooth Animations */

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #161616;
    --navbar-bg: #0f0f0f;
    --accent: #ffffff;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --text-muted: #555555;
    --border: #222222;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
    --hover-bg: #1a1a1a;
    --success: #22c55e;
    --danger: #ef4444;
    --warning: #f59e0b;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Initial state - hide dashboard, show login */
#dashboard {
    display: none;
}

#login-page {
    display: flex;
}

/* Dashboard Layout with Horizontal Navbar */
.dashboard {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Hide Vertical Sidebar */
.sidebar {
    display: none;
}

/* Horizontal Navbar */
.navbar {
    background: var(--navbar-bg);
    border-bottom: 1px solid var(--border);
    padding: 0 32px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 100;
    animation: slideDown 0.5s ease-out;
    backdrop-filter: blur(10px);
    background: rgba(15, 15, 15, 0.95);
}

.navbar-brand {
    position: absolute;
    left: 32px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.logo {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--transition);
    cursor: pointer;
}

.logo:hover {
    color: var(--accent);
    transform: translateX(2px);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 6px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.nav-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-item:hover {
    background: var(--hover-bg);
    color: var(--text-primary);
    transform: translateY(-1px);
}

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

.nav-item.active::before {
    width: 80%;
}

.nav-icon {
    font-size: 14px;
    transition: var(--transition);
}

.nav-item:hover .nav-icon {
    transform: rotate(10deg);
}

/* User actions in navbar */
.navbar-actions {
    position: absolute;
    right: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* User Dropdown */
.user-dropdown {
    position: relative;
}

.user-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.user-dropdown-btn:hover {
    background: var(--hover-bg);
    border-color: var(--text-secondary);
}

.dropdown-arrow {
    font-size: 10px;
    transition: transform 0.2s;
}

.user-dropdown-btn.active .dropdown-arrow {
    transform: rotate(180deg);
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
}

.user-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-menu a {
    display: block;
    padding: 10px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.user-dropdown-menu a:hover {
    background: var(--hover-bg);
    color: var(--text-primary);
}

.user-dropdown-menu a:first-child {
    border-radius: 6px 6px 0 0;
}

.user-dropdown-menu a:last-child {
    border-radius: 0 0 6px 6px;
}

.user-name {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.btn-small {
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Satoshi', sans-serif;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn-small::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--hover-bg);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
    z-index: -1;
}

.btn-small:hover {
    background: var(--hover-bg);
    color: var(--text-primary);
    border-color: var(--text-secondary);
    transform: translateY(-1px);
}

.btn-small:hover::before {
    width: 100%;
    height: 100%;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
    background: var(--bg-primary);
    animation: slideUp 0.6s ease-out;
}

.header {
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    animation: slideUp 0.7s ease-out;
}

.header h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-family: 'Satoshi', sans-serif;
}

.header p {
    font-size: 14px;
    color: var(--text-secondary);
}

.page-header {
    margin-bottom: 24px;
}

.page-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'Satoshi', sans-serif;
}

/* Compact Dashboard Layout */
.dashboard-compact {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 32px;
    align-items: start;
}

.stats-compact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 12px;
    height: 100%;
}

/* Smaller stat cards in compact layout */
.stats-compact .stat-card {
    padding: 20px 16px;
    min-height: 120px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stats-compact .stat-header {
    gap: 10px;
    margin-bottom: 0;
    flex: 1;
    display: flex;
    align-items: flex-start;
}

.stats-compact .stat-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
    flex-shrink: 0;
}

.stats-compact .stat-label {
    font-size: 11px;
    letter-spacing: 0.3px;
    line-height: 1.3;
}

.stats-compact .stat-value {
    font-size: 28px;
    font-weight: 700;
    margin-top: 4px;
}

/* Stats Grid (legacy - kept for other pages) */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

/* Responsive layout for compact dashboard */
@media (max-width: 1200px) {
    .dashboard-compact {
        grid-template-columns: 1fr;
    }

    .stats-compact {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: 1fr;
    }
}

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

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px;
    transition: var(--transition);
    animation: scaleIn 0.5s ease-out;
    animation-fill-mode: both;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.02), transparent);
    transition: left 0.8s;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

.stat-card:hover {
    background: var(--hover-bg);
    border-color: var(--text-muted);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

/* Remove gradient backgrounds for colored cards */
.stat-card.pink,
.stat-card.blue,
.stat-card.purple,
.stat-card.success,
.stat-card.danger,
.stat-card.warning {
    background: var(--bg-card);
    border-color: var(--border);
}

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

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: var(--hover-bg);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Simplify stat icon colors */
.stat-card.pink .stat-icon,
.stat-card.blue .stat-icon,
.stat-card.purple .stat-icon {
    background: var(--hover-bg);
    box-shadow: none;
}

.stat-card.success .stat-icon {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.2);
    color: var(--success);
}

.stat-card.danger .stat-icon {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
    color: var(--danger);
}

.stat-card.warning .stat-icon {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.2);
    color: var(--warning);
}

.stat-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    font-family: 'Satoshi', sans-serif;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    font-family: 'Satoshi', sans-serif;
    transition: var(--transition);
}

.stat-card:hover .stat-value {
    transform: scale(1.05);
}

/* Chart Card */
.chart-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
    transition: var(--transition);
    animation: slideUp 0.8s ease-out;
}

.chart-card:hover {
    border-color: var(--text-muted);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

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

.chart-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'Satoshi', sans-serif;
}

.chart-subtitle {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.time-filter {
    padding: 6px 12px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 500;
    font-family: 'Satoshi', sans-serif;
    transition: var(--transition);
}

.time-filter:hover {
    background: var(--hover-bg);
    border-color: var(--text-secondary);
}

/* Table */
.table-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px;
    overflow: hidden;
    animation: slideUp 0.9s ease-out;
}

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

.table-card {
    overflow-x: auto;
}

/* Clean table styling without pseudo-elements */
.clean-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
}

.clean-table thead tr {
    border-bottom: 1px solid var(--border);
}

.clean-table th {
    padding: 16px;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: transparent;
}

.clean-table tbody tr {
    border-bottom: 1px solid var(--glass-border);
    transition: background 0.2s;
    /* NO ::before pseudo-element - this prevents column misalignment */
}

.clean-table tbody tr:hover {
    background: var(--hover-bg);
}

.clean-table td {
    padding: 16px;
    color: var(--text-secondary);
    font-size: 14px;
}

thead {
    border-bottom: 1px solid var(--border);
}

th {
    padding: 12px 16px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    font-family: 'Satoshi', sans-serif;
}

td {
    padding: 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 13px;
    transition: var(--transition);
}

tr:last-child td {
    border-bottom: none;
}

/* Column styles for better alignment */
.clean-table td:first-child,
.clean-table th:first-child {
    padding-left: 16px;
}

.clean-table td:last-child,
.clean-table th:last-child {
    padding-right: 16px;
}

/* Remove ALL pseudo-elements from clean tables */
.clean-table tbody tr::before,
.clean-table tbody tr::after {
    content: none !important;
    display: none !important;
}

.clean-table tbody tr:hover td {
    color: var(--text-primary);
}

/* Buttons */
.btn {
    padding: 10px 20px;
    background: var(--text-primary);
    border: none;
    border-radius: 4px;
    color: var(--bg-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Satoshi', sans-serif;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.btn:hover {
    background: var(--text-secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.btn:hover::before {
    width: 300%;
    height: 300%;
}

.btn-add {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Satoshi', sans-serif;
    transition: var(--transition);
}

.btn-add:hover {
    background: var(--hover-bg);
    border-color: var(--text-secondary);
    transform: translateY(-2px);
}

/* Badge */
.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-family: 'Satoshi', sans-serif;
    transition: var(--transition);
    white-space: nowrap;
    vertical-align: middle;
    min-width: 50px;
    text-align: center;
}

.badge:hover {
    transform: scale(1.05);
}

/* Ensure proper table cell alignment */
td {
    vertical-align: middle;
}

/* Prevent content from breaking table layout */
td strong {
    display: inline-block;
    vertical-align: middle;
}

/* Ensure buttons in tables are aligned */
td button {
    vertical-align: middle;
}

.badge.critical {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.badge.high {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.badge.medium {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.badge.low {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

/* Action Buttons */
.btn-unblock, .btn-settings, .btn-delete {
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Satoshi', sans-serif;
    transition: var(--transition);
    border: 1px solid;
    background: transparent;
}

.btn-unblock {
    color: var(--success);
    border-color: rgba(34, 197, 94, 0.3);
}

.btn-unblock:hover {
    background: rgba(34, 197, 94, 0.1);
    transform: translateY(-1px);
}

.btn-settings {
    color: var(--text-secondary);
    border-color: var(--border);
}

.btn-settings:hover {
    background: var(--hover-bg);
    color: var(--text-primary);
    transform: translateY(-1px);
}

.btn-delete {
    color: var(--danger);
    border-color: rgba(239, 68, 68, 0.3);
}

.btn-delete:hover {
    background: rgba(239, 68, 68, 0.1);
    transform: translateY(-1px);
}

/* Pulse Animation for Live Data */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* Mode Toggle Card */
.mode-toggle-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    animation: slideUp 0.6s ease-out;
}

.mode-toggle-card:hover {
    border-color: var(--text-muted);
}

.mode-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mode-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--success);
    animation: pulse 2s infinite;
}

.mode-indicator.blocking {
    background: var(--danger);
    animation: pulse 2s infinite;
}

.mode-indicator.audit {
    background: var(--success);
}

.mode-text {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'Satoshi', sans-serif;
}

.mode-subtext {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.mode-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mode-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    font-family: 'Satoshi', sans-serif;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    transition: var(--transition);
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background: var(--text-secondary);
    transition: var(--transition);
    border-radius: 50%;
}

input:checked + .slider {
    background: var(--hover-bg);
    border-color: var(--text-secondary);
}

input:checked + .slider:before {
    transform: translateX(20px);
    background: var(--text-primary);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease-out;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px;
    max-width: 600px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    animation: scaleIn 0.3s ease-out;
}

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

.modal-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'Satoshi', sans-serif;
}

.close {
    font-size: 24px;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.close:hover {
    color: var(--text-primary);
    transform: rotate(90deg);
}

/* Form Elements in Modals */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
    font-family: 'Satoshi', sans-serif;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 8px 12px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-primary);
    font-size: 13px;
    font-family: 'Satoshi', sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--text-secondary);
    background: var(--hover-bg);
    box-shadow: 0 0 0 3px rgba(136, 136, 136, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 0 16px;
        height: auto;
        flex-direction: column;
        align-items: stretch;
        padding: 12px 16px;
    }

    .navbar-brand {
        width: 100%;
        flex-direction: column;
        gap: 12px;
    }

    .nav-menu {
        width: 100%;
        flex-wrap: wrap;
        margin-left: 0;
        gap: 4px;
    }

    .navbar-search {
        width: 100%;
        margin: 12px 0;
        max-width: none;
    }

    .navbar-actions {
        width: 100%;
        justify-content: flex-end;
        gap: 8px;
    }

    .main-content {
        padding: 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .mode-toggle-card {
        flex-direction: column;
        gap: 16px;
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
    transition: var(--transition);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Login Page Specific (will override inline styles) */
.login-container {
    background: var(--bg-primary) !important;
}

.login-box {
    background: var(--bg-card) !important;
    border: 1px solid var(--border) !important;
    box-shadow: none !important;
    animation: scaleIn 0.5s ease-out;
}

/* Loading Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 50%;
    border-top-color: var(--accent);
    animation: spin 1s linear infinite;
}

