/* --- FILE: public/css/main.css --- */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
    --bg: #0A0A0A;
    --bg-elevated: #111111;
    --card: #1E1E1E;
    --card-hover: #252525;
    --accent: #00FFA3;
    --accent-dim: rgba(0, 255, 163, 0.15);
    --accent-glow: rgba(0, 255, 163, 0.3);
    --accent-gradient: linear-gradient(135deg, #00FFA3 0%, #0066FF 100%);
    --text: #FFFFFF;
    --text-secondary: #B0B0B0;
    --danger: #FF4D4D;
    --danger-dim: rgba(255, 77, 77, 0.15);
    --success: #00FFA3;
    --warning: #FFB800;
    --border: rgba(0, 255, 163, 0.1);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;
    --header-height: 64px;
    --banner-height: 40px;
    --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 20px rgba(0, 255, 163, 0.08);
}

/* ===== RESET ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: #33FFB8;
}

img { max-width: 100%; }

/* ===== LAYOUT ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main {
    min-height: calc(100vh - var(--header-height) - 60px);
    padding: 32px 0 48px;
}

body.has-banner .main {
    padding-top: 32px;
}

body.has-banner .header {
    top: var(--banner-height);
}

body.has-banner {
    padding-top: calc(var(--header-height) + var(--banner-height));
}

body:not(.has-banner) {
    padding-top: var(--header-height);
}

/* ===== DEV BANNER ===== */
.dev-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--banner-height);
    background: linear-gradient(135deg, rgba(0, 255, 163, 0.12) 0%, rgba(0, 102, 255, 0.12) 100%);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    color: var(--accent);
    font-weight: 500;
    z-index: 1001;
    backdrop-filter: blur(12px);
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 1000;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}

.logo:hover { color: var(--text); }

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

.nav-link {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link--admin {
    color: var(--accent);
}

.nav-link--logout {
    color: var(--danger);
}

.nav-link--logout:hover {
    color: #ff6b6b;
    background: var(--danger-dim);
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: var(--accent);
    color: #000;
    font-size: 11px;
    font-weight: 700;
    margin-left: 6px;
}

.badge-accent {
    background: var(--accent-dim);
    color: var(--accent);
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
}

/* Mobile menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-xs);
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 8px 20px 16px;
    z-index: 999;
    flex-direction: column;
}

.mobile-nav.open {
    display: flex;
}

body.has-banner .mobile-nav {
    top: calc(var(--header-height) + var(--banner-height));
}

.mobile-nav-link {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.mobile-nav-link:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.mobile-nav-link--logout {
    color: var(--danger);
}

@media (max-width: 768px) {
    .nav { display: none; }
    .mobile-menu-btn { display: block; }
}

/* ===== FOOTER ===== */
.footer {
    border-top: 1px solid var(--border-subtle);
    padding: 20px 0;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    font-size: 13px;
}

/* ===== PAGE HEADER ===== */
.page-header {
    margin-bottom: 32px;
}

.page-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.back-link {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.back-link:hover { color: var(--accent); }

/* ===== CARDS ===== */
.card {
    background: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all var(--transition);
}

.card:hover {
    border-color: rgba(0, 255, 163, 0.18);
    box-shadow: var(--shadow-glow);
}

.card-header {
    padding: 20px 24px 0;
}

.card-header h3 {
    font-size: 16px;
    font-weight: 600;
}

.card-body {
    padding: 20px 24px;
}

.card-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-subtle);
}

/* ===== STATS ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

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

.stat-card:hover {
    border-color: rgba(0, 255, 163, 0.2);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.stat-card--clickable {
    cursor: pointer;
    text-decoration: none;
    color: var(--text);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--accent-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.stat-value {
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ===== SERVICES ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.service-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service-card:hover {
    border-color: rgba(0, 255, 163, 0.2);
    box-shadow: var(--shadow-glow);
}

.service-card--active {
    border-color: rgba(0, 255, 163, 0.25);
}

.service-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.service-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--accent-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent);
}

.service-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 2px;
}

.service-url {
    font-size: 12px;
    word-break: break-all;
}

.service-card-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.service-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-dot--active { background: var(--accent); box-shadow: 0 0 8px var(--accent-glow); }
.status-dot--pending { background: var(--warning); }
.status-dot--none { background: var(--text-secondary); opacity: 0.5; }

.service-status--active { color: var(--accent); }
.service-status--pending { color: var(--warning); }
.service-status--none { color: var(--text-secondary); }

.service-card-actions {
    padding-top: 4px;
}

.inline-form { display: inline; }

/* ===== SECTION ===== */
.section-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-block {
    margin-bottom: 32px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.section-header .section-title {
    margin-bottom: 0;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    background: var(--accent-gradient);
    color: #000;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn:hover {
    transform: scale(1.03);
    box-shadow: 0 0 24px var(--accent-glow);
    color: #000;
}

.btn:active {
    transform: scale(0.98);
}

.btn-full {
    width: 100%;
}

.btn-small {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: var(--radius-xs);
}

.btn-danger {
    background: var(--danger);
}

.btn-danger:hover {
    box-shadow: 0 0 24px rgba(255, 77, 77, 0.3);
}

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

.btn-secondary:hover {
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: none;
    transform: none;
}

.btn-text {
    background: none;
    border: none;
    color: var(--accent);
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    padding: 4px;
    transition: color var(--transition);
}

.btn-text:hover {
    color: #33FFB8;
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 20px;
}

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-dim);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.code-input {
    text-align: center;
    font-size: 28px !important;
    letter-spacing: 12px;
    font-weight: 700;
}

/* Quick amounts */
.quick-amounts {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.quick-amount-btn {
    padding: 8px 16px;
    border-radius: var(--radius-xs);
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition);
}

.quick-amount-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Filters */
.filters-form {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    flex-wrap: wrap;
}

.filters-form .form-group {
    flex: 1;
    min-width: 180px;
    margin-bottom: 0;
}

.filters-form .btn {
    margin-bottom: 0;
    flex-shrink: 0;
}

/* ===== ALERTS ===== */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}

.alert-error {
    background: var(--danger-dim);
    color: var(--danger);
    border: 1px solid rgba(255, 77, 77, 0.2);
}

.alert-success {
    background: var(--accent-dim);
    color: var(--accent);
    border: 1px solid rgba(0, 255, 163, 0.2);
}

/* ===== TABLES ===== */
.table-wrapper {
    overflow-x: auto;
}

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

.data-table th,
.data-table td {
    padding: 12px 16px;
    text-align: left;
    font-size: 14px;
    border-bottom: 1px solid var(--border-subtle);
    white-space: nowrap;
}

.data-table th {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--bg-elevated);
}

.data-table tbody tr {
    transition: background var(--transition);
}

.data-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

/* ===== STATUS BADGES ===== */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: var(--radius-xs);
    font-size: 12px;
    font-weight: 600;
}

.status-badge--active {
    background: var(--accent-dim);
    color: var(--accent);
}

.status-badge--pending {
    background: rgba(255, 184, 0, 0.15);
    color: var(--warning);
}

.status-badge--blocked {
    background: var(--danger-dim);
    color: var(--danger);
}

.role-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: var(--radius-xs);
    font-size: 12px;
    font-weight: 600;
}

.role-badge--admin {
    background: var(--accent-dim);
    color: var(--accent);
}

.role-badge--user {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
}

/* ===== AUTH ===== */
.auth-body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.auth-body.has-banner {
    padding-top: var(--banner-height);
}

.auth-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 32px;
}

.auth-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.auth-logo h1 {
    font-size: 22px;
    font-weight: 700;
}

.auth-card h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 24px;
}

.auth-form {
    margin-top: 4px;
}

.auth-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-secondary);
}

/* ===== BALANCE ===== */
.balance-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

.balance-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0, 255, 163, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.balance-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.balance-value {
    font-size: 48px;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.balance-currency {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Topup form */
.topup-form .form-group {
    margin-bottom: 16px;
}

/* ===== SESSIONS ===== */
.sessions-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.session-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: all var(--transition);
}

.session-card:hover {
    border-color: rgba(0, 255, 163, 0.18);
}

.session-card--current {
    border-color: rgba(0, 255, 163, 0.3);
    background: rgba(0, 255, 163, 0.03);
}

.session-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.session-icon {
    flex-shrink: 0;
}

.session-info {
    min-width: 0;
}

.session-browser {
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    margin-bottom: 2px;
}

/* ===== NOTIFICATIONS ===== */
.notifications-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.notification-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all var(--transition);
}

.notification-item:hover {
    border-color: rgba(0, 255, 163, 0.18);
}

.notification-item--unread {
    border-color: rgba(0, 255, 163, 0.25);
    background: rgba(0, 255, 163, 0.03);
}

.notification-dot-wrapper {
    padding-top: 6px;
    flex-shrink: 0;
    width: 12px;
}

.notification-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    display: block;
}

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

.notification-content h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.notification-content p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.5;
}

.mark-read-btn {
    flex-shrink: 0;
    align-self: center;
}

/* ===== NOTIFICATION MODAL ===== */
.notification-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    animation: fadeIn 0.3s ease forwards;
    padding: 20px;
}

.notification-modal {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    max-width: 480px;
    width: 100%;
    overflow: hidden;
    transform: translateY(20px);
    animation: slideUp 0.3s ease forwards;
}

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

.notification-modal-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
}

.notification-modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color var(--transition);
}

.notification-modal-close:hover { color: var(--text); }

.notification-modal-body {
    padding: 24px;
}

.notification-modal-body h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.notification-modal-body p {
    color: var(--text-secondary);
    line-height: 1.6;
}

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

/* ===== ADMIN ===== */
.admin-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 32px;
}

.admin-nav-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: all var(--transition);
    color: var(--text);
}

.admin-nav-card:hover {
    border-color: rgba(0, 255, 163, 0.25);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
    color: var(--text);
}

.admin-nav-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.admin-nav-card p {
    font-size: 13px;
}

/* Detail grid */
.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

.detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 14px;
    gap: 12px;
}

.detail-row:last-child { border-bottom: none; }

.action-btns {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

/* ===== TOGGLE SWITCH ===== */
.toggle-group {
    margin-bottom: 20px;
}

.toggle-label {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    cursor: pointer;
}

.toggle-label input {
    display: none;
}

.toggle-switch {
    width: 44px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
    transition: background var(--transition);
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--text-secondary);
    transition: all var(--transition);
}

.toggle-label input:checked + .toggle-switch {
    background: var(--accent-dim);
}

.toggle-label input:checked + .toggle-switch::after {
    left: 22px;
    background: var(--accent);
}

.toggle-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.toggle-text strong {
    font-size: 14px;
    font-weight: 600;
}

.toggle-text .text-secondary {
    font-size: 13px;
}

/* ===== MAINTENANCE PAGE ===== */
.maintenance-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: var(--bg);
}

.maintenance-card {
    text-align: center;
    max-width: 480px;
}

.maintenance-card svg {
    margin-bottom: 24px;
    opacity: 0.8;
}

.maintenance-card h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.maintenance-card p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 8px;
}

/* ===== UTILITIES ===== */
.text-secondary { color: var(--text-secondary); }
.text-accent { color: var(--accent); }
.text-danger { color: var(--danger); }

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .page-title {
        font-size: 22px;
    }

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

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

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

    .auth-card {
        padding: 32px 24px;
    }

    .balance-value {
        font-size: 36px;
    }

    .session-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .session-card-actions {
        align-self: flex-end;
    }

    .filters-form {
        flex-direction: column;
    }

    .filters-form .form-group {
        min-width: 100%;
    }

    .notification-item {
        flex-direction: column;
        gap: 8px;
    }

    .mark-read-btn {
        align-self: flex-end;
    }

    .admin-nav-grid {
        grid-template-columns: 1fr;
    }

    .data-table th,
    .data-table td {
        padding: 10px 12px;
        font-size: 13px;
    }
}

@media (max-width: 375px) {
    .container {
        padding: 0 16px;
    }

    .auth-card {
        padding: 28px 20px;
    }

    .card-body {
        padding: 16px 20px;
    }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ===== SELECTION ===== */
::selection {
    background: var(--accent-dim);
    color: var(--accent);
}