/* ===== RECARGGA SMS - Dark Tech Design System ===== */

:root {
    /* Primary Colors - Cyber Purple/Blue */
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --primary: #6366f1;
    
    /* Secondary Colors */
    --secondary-color: #0ea5e9;
    --secondary-dark: #0284c7;
    --secondary-light: #38bdf8;
    
    /* Accent Colors */
    --accent-pink: #ec4899;
    --accent-orange: #f97316;
    --accent-green: #10b981;
    --accent-red: #ef4444;
    --accent-yellow: #f59e0b;
    
    /* Dark Theme Base */
    --dark-900: #05060f;
    --dark-800: #0a0b14;
    --dark-700: #0f1019;
    --dark-600: #14151f;
    --dark-500: #1a1b2e;
    --dark-400: #22233a;
    --dark-300: #2a2b45;
    
    /* Text on Dark */
    --text-primary: #eef0ff;
    --text-secondary: #a0a3bd;
    --text-muted: #6b6f8d;
    
    --white: #ffffff;
    --black: #000000;
    
    /* Glass Effect - Dark */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    
    /* Card Styles - Dark */
    --card-bg: rgba(15, 16, 25, 0.8);
    --card-border: rgba(255, 255, 255, 0.06);
    --card-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    --card-shadow-hover: 0 8px 40px rgba(99, 102, 241, 0.15);
    
    /* Backgrounds */
    --bg-primary: #05060f;
    --bg-secondary: #0a0b14;
    --bg-tertiary: #0f1019;
    
    /* Borders */
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(99, 102, 241, 0.3);
    
    /* Sidebar */
    --sidebar-width: 280px;
    --sidebar-bg: linear-gradient(180deg, #08091a 0%, #0d0e1e 100%);
    --sidebar-collapsed: 80px;
    
    /* Neon Glows */
    --glow-primary: 0 0 20px rgba(99, 102, 241, 0.3), 0 0 40px rgba(99, 102, 241, 0.1);
    --glow-green: 0 0 20px rgba(16, 185, 129, 0.3);
    --glow-red: 0 0 20px rgba(239, 68, 68, 0.3);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--dark-800);
}

::-webkit-scrollbar-thumb {
    background: var(--dark-300);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
    color: var(--white);
}

.btn-secondary {
    background: var(--dark-600);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--dark-500);
    color: var(--white);
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
    color: var(--white);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.4);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5);
    color: var(--white);
}

.btn-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
    color: var(--white);
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    color: var(--white);
}

.btn-outline-light {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: var(--radius-md);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1.1rem;
}

/* ===== CARDS ===== */
.card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
    transition: all var(--transition-normal);
    overflow: hidden;
    color: var(--text-secondary);
}

.card:hover {
    box-shadow: var(--card-shadow-hover);
    border-color: var(--border-hover);
}

.card-header {
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid var(--card-border);
    padding: 20px 24px;
    font-weight: 600;
    color: var(--text-primary);
}

.card-body {
    padding: 24px;
}

.card-footer {
    background: rgba(255,255,255,0.02);
    border-top: 1px solid var(--card-border);
    padding: 16px 24px;
}

/* Gradient Cards */
.card-gradient-primary {
    background: var(--primary-gradient);
    border: none;
    color: var(--white);
}

.card-gradient-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    color: var(--white);
}

.card-gradient-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border: none;
    color: var(--white);
}

.card-gradient-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border: none;
    color: var(--white);
}

.card-gradient-info {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    border: none;
    color: var(--white);
}

.card-gradient-dark {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: none;
    color: var(--white);
}

/* Glass Card */
.card-glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ===== STAT CARDS ===== */
.stat-card {
    position: relative;
    padding: 24px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    height: 100%;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.stat-card .stat-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    font-size: 24px;
    margin-bottom: 16px;
}

.stat-card .stat-value {
    font-size: clamp(1.25rem, 2.5vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 4px;
    word-break: break-word;
    overflow-wrap: break-word;
}

.stat-card .stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

.stat-card .stat-change {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    margin-top: 8px;
}

/* ===== FORMS ===== */
.form-control {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-size: 1rem;
    transition: all var(--transition-fast);
    background: rgba(255,255,255,0.04);
    color: var(--text-primary);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15), var(--glow-primary);
    outline: none;
    background: rgba(255,255,255,0.06);
    color: var(--text-primary);
}

.form-control-lg {
    padding: 16px 20px;
    font-size: 1.1rem;
}

.form-label {
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-text {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.input-group {
    position: relative;
}

.input-group .form-control {
    padding-left: 48px;
}

.input-group-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    z-index: 5;
}

.form-select {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-size: 1rem;
    transition: all var(--transition-fast);
    background-color: var(--dark-600);
    color: var(--text-primary);
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a0a3bd' d='M6 8.825L0.575 3.4 1.4 2.575 6 7.175 10.6 2.575 11.425 3.4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 36px;
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
    outline: none;
    background-color: var(--dark-500);
}

.form-select option {
    background-color: var(--dark-600);
    color: var(--text-primary);
    padding: 8px 12px;
}

.form-select option:checked,
.form-select option:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* ===== ALERTS ===== */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-md);
    border: none;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(8px);
}

.alert-success {
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
    border-left: 4px solid #10b981;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
    border-left: 4px solid #ef4444;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.12);
    color: #fbbf24;
    border-left: 4px solid #f59e0b;
}

.alert-info {
    background: rgba(14, 165, 233, 0.12);
    color: #38bdf8;
    border-left: 4px solid #0ea5e9;
}

/* ===== BADGES ===== */
.badge {
    padding: 6px 12px;
    font-weight: 500;
    font-size: 0.75rem;
    border-radius: var(--radius-full);
}

.badge-primary {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
}

.badge-success {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.badge-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.badge-warning {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.badge-info {
    background: rgba(14, 165, 233, 0.1);
    color: #0284c7;
}

.badge-dark {
    background: var(--dark-600);
    color: var(--white);
}

/* ===== TABLES ===== */
.table {
    margin-bottom: 0;
    color: var(--text-secondary);
    --bs-table-bg: transparent;
    --bs-table-color: var(--text-secondary);
}

.table thead th {
    background: rgba(255,255,255,0.02);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    padding: 16px;
}

.table tbody td {
    padding: 16px;
    vertical-align: middle;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
}

.table tbody tr:hover {
    background: rgba(99, 102, 241, 0.04);
}

.table-striped tbody tr:nth-of-type(odd) {
    background: rgba(255,255,255,0.015);
}

/* ===== PAGINATION ===== */
.pagination {
    gap: 4px;
}

.page-link {
    border: none;
    border-radius: var(--radius-md) !important;
    padding: 10px 16px;
    color: var(--text-secondary);
    background: rgba(255,255,255,0.03);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.page-link:hover {
    background: var(--primary-color);
    color: var(--white);
}

.page-item.active .page-link {
    background: var(--primary-gradient);
    border: none;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

/* ===== DASHBOARD LAYOUT ===== */
.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    background: var(--sidebar-bg);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-normal);
    overflow-y: auto;
}

.sidebar-header {
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-header .logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-header .logo-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
}

.sidebar-header .logo-text {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 700;
}

.sidebar-header .logo-text span {
    color: var(--primary-light);
}

.sidebar-nav {
    list-style: none;
    padding: 16px 12px;
    flex: 1;
}

.sidebar-nav .nav-item {
    margin-bottom: 4px;
}

.sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    font-weight: 500;
}

.sidebar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.sidebar-nav .nav-link.active {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.sidebar-nav .nav-link i {
    width: 24px;
    text-align: center;
    font-size: 1.1rem;
}

.sidebar-nav .nav-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 16px 0;
}

.sidebar-nav .nav-header {
    padding: 8px 16px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
}

.sidebar-footer {
    padding: 16px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Main Content */
.main-content {
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    min-width: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg-primary);
    overflow-x: hidden;
}

/* Top Navbar */
.top-navbar {
    background: rgba(5, 6, 15, 0.85);
    backdrop-filter: blur(20px);
    padding: 16px 32px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    gap: 16px;
}

.top-navbar .navbar-search {
    max-width: 400px;
    position: relative;
}

.top-navbar .navbar-search .form-control {
    padding-left: 44px;
    background: rgba(255,255,255,0.04);
    border-color: var(--border);
    color: var(--text-primary);
}

.top-navbar .navbar-search .form-control:focus {
    background: rgba(255,255,255,0.06);
    border-color: var(--primary-color);
}

.top-navbar .navbar-search i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.top-navbar .navbar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}

.balance-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: var(--white);
    border-radius: var(--radius-full);
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.user-dropdown .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-weight: 500;
    border: 1px solid var(--border);
}

.user-dropdown .dropdown-toggle::after {
    display: none;
}

.user-dropdown .user-avatar {
    width: 36px;
    height: 36px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
}

.user-dropdown .dropdown-menu {
    background: var(--dark-600);
    border: 1px solid var(--border);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    border-radius: var(--radius-md);
    padding: 8px;
    min-width: 200px;
}

.user-dropdown .dropdown-item {
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
}

.user-dropdown .dropdown-item:hover {
    background: rgba(255,255,255,0.05);
    color: var(--text-primary);
}

.user-dropdown .dropdown-item.text-danger:hover {
    background: rgba(239, 68, 68, 0.1);
}

/* ===== DASHBOARD GRID SYSTEM ===== */
.dash-grid {
    display: grid;
    gap: 20px;
    width: 100%;
}

.dash-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.dash-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.dash-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.dash-grid-7-5 {
    grid-template-columns: 7fr 5fr;
}

.dash-grid-8-4 {
    grid-template-columns: 8fr 4fr;
}

@media (max-width: 1024px) {
    .dash-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .dash-grid-7-5,
    .dash-grid-8-4 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .dash-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .dash-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .dash-grid {
        gap: 12px;
    }
}

@media (max-width: 576px) {
    .dash-grid-3,
    .dash-grid-4 {
        grid-template-columns: 1fr;
    }
    .dash-grid-2 {
        grid-template-columns: 1fr;
    }
}

/* Page Content */
.page-content {
    padding: 32px;
    flex: 1;
}

.page-header {
    margin-bottom: 32px;
}

.page-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.page-header .breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.page-header .breadcrumb-item {
    color: var(--text-muted);
}

.page-header .breadcrumb-item.active {
    color: var(--primary-color);
}

/* ===== ADMIN SIDEBAR ===== */
.admin-sidebar {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}

.admin-sidebar .sidebar-header {
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

.admin-sidebar .logo-icon {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

/* ===== AUTH PAGES ===== */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

.auth-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 50%);
    animation: authBgPulse 15s ease-in-out infinite;
}

.auth-wrapper::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
    animation: authBgPulse 20s ease-in-out infinite reverse;
}

@keyframes authBgPulse {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(5%, 5%) rotate(5deg); }
}

.auth-container {
    width: 100%;
    max-width: 440px;
    position: relative;
    z-index: 1;
}

.auth-card {
    background: rgba(15, 16, 25, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.auth-card .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.auth-card .logo-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--white);
}

.auth-card .logo-text {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

.auth-card .logo-text span {
    color: var(--primary-color);
}

.auth-card h2 {
    text-align: center;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.auth-card .subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}

.auth-divider span {
    padding: 0 16px;
    color: var(--gray-400);
    font-size: 0.875rem;
}

/* ===== LANDING PAGE ===== */
.landing-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition-normal);
}

.landing-navbar.scrolled {
    background: rgba(5, 6, 15, 0.9);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid var(--border);
}

.landing-navbar.scrolled .nav-link {
    color: var(--text-secondary) !important;
}

.landing-navbar.scrolled .navbar-brand {
    color: var(--text-primary) !important;
}

.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #05060f 0%, #0a0b14 50%, #0f1019 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 40% 40%, rgba(236, 72, 153, 0.1) 0%, transparent 40%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-content h1 span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-features {
    display: flex;
    gap: 24px;
    margin-top: 40px;
}

.hero-features .feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
}

.hero-features .feature i {
    color: var(--accent-green);
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-phone {
    width: 320px;
    height: 640px;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border-radius: 40px;
    border: 8px solid #374151;
    position: relative;
    overflow: hidden;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
    margin: 0 auto;
}

.hero-phone::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 24px;
    background: #0f0f23;
    border-radius: 20px;
}

.hero-phone-content {
    padding: 60px 20px 20px;
}

.hero-phone-notification {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
    animation: slideIn 0.5s ease;
}

.hero-phone-notification .notif-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.hero-phone-notification .notif-icon {
    width: 32px;
    height: 32px;
    background: var(--accent-green);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.hero-phone-notification .notif-app {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.hero-phone-notification .notif-code {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 4px;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 40px 32px;
    border-radius: var(--radius-xl);
    background: var(--card-bg);
    border: 1px solid var(--border);
    transition: all var(--transition-normal);
    backdrop-filter: blur(8px);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--glow-primary);
    border-color: var(--border-hover);
}

.feature-card .feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.feature-card .feature-icon.primary {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
}

.feature-card .feature-icon.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-green);
}

.feature-card .feature-icon.warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-orange);
}

.feature-card .feature-icon.info {
    background: rgba(14, 165, 233, 0.1);
    color: var(--secondary-color);
}

.feature-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Services Grid */
.services-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
}

.service-item {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 24px 16px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all var(--transition-fast);
    cursor: pointer;
    backdrop-filter: blur(8px);
}

.service-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--glow-primary);
    border-color: var(--border-hover);
}

.service-item i {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.service-item .name {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.875rem;
}

.service-item .price {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.875rem;
    margin-top: 8px;
}

/* Pricing Section */
.pricing-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.pricing-card {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    padding: 40px;
    border: 1px solid var(--border);
    transition: all var(--transition-normal);
    height: 100%;
    backdrop-filter: blur(8px);
}

.pricing-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-8px);
    box-shadow: var(--glow-primary);
}

.pricing-card.featured {
    background: var(--primary-gradient);
    border: none;
    color: var(--white);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-card .price span {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.7;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0b14 0%, #14151f 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 0% 100%, rgba(99, 102, 241, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 100% 0%, rgba(139, 92, 246, 0.2) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background: var(--dark-900);
    padding: 60px 0 30px;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
}

.footer h5 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 20px;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition-fast);
}

.footer ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 40px;
    text-align: center;
}

/* ===== SERVICE CARDS (Dashboard) ===== */
.service-card-dashboard {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border);
    transition: all var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card-dashboard:hover {
    transform: translateY(-4px);
    box-shadow: var(--glow-primary);
    border-color: var(--border-hover);
}

.service-card-dashboard .service-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 16px;
}

.service-card-dashboard .service-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.service-card-dashboard .service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.service-card-dashboard .btn {
    margin-top: auto;
}

/* ===== ORDER CARDS ===== */
.order-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 20px;
    border: 1px solid var(--border);
    margin-bottom: 16px;
    backdrop-filter: blur(8px);
}

.order-card .order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.order-card .order-id {
    font-weight: 600;
    color: var(--text-primary);
}

.order-card .order-service {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.order-card .order-phone {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'Courier New', monospace;
    background: rgba(255,255,255,0.03);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    border: 1px solid var(--border);
}

.order-card .order-sms {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: var(--white);
    padding: 16px;
    border-radius: var(--radius-md);
    text-align: center;
    margin-bottom: 16px;
}

.order-card .order-sms .sms-label {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-bottom: 4px;
}

.order-card .order-sms .sms-code {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 6px;
    font-family: 'Courier New', monospace;
}

/* ===== STATUS BADGES ===== */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.pending {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.status-badge.active {
    background: rgba(14, 165, 233, 0.1);
    color: #0284c7;
}

.status-badge.completed {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.status-badge.cancelled {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.status-badge.expired {
    background: rgba(107, 114, 128, 0.1);
    color: #9ca3af;
}

.status-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

/* ===== USER MANAGEMENT ===== */
.user-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
    transition: all var(--transition-fast);
    backdrop-filter: blur(8px);
}

.user-card:hover {
    box-shadow: var(--card-shadow-hover);
    border-color: var(--border-hover);
}

.user-card .user-avatar-lg {
    width: 64px;
    height: 64px;
    background: var(--primary-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
}

.user-card .user-info {
    flex: 1;
}

.user-card .user-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.user-card .user-email {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.user-card .user-stats {
    display: flex;
    gap: 24px;
}

.user-card .user-stat {
    text-align: center;
}

.user-card .user-stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.user-card .user-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.user-card .user-actions {
    display: flex;
    gap: 8px;
}

/* Banned User Style */
.user-card.banned {
    background: rgba(239, 68, 68, 0.06);
    border-color: rgba(239, 68, 68, 0.2);
}

.user-card.banned .user-avatar-lg {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

/* ===== MODAL STYLES ===== */
.modal-content {
    background: var(--dark-600);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    color: var(--text-secondary);
}

.modal-header {
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
}

.modal-title {
    font-weight: 600;
    color: var(--text-primary);
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    border-top: 1px solid var(--border);
    padding: 16px 24px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease;
}

.animate-slide-up {
    animation: slideUp 0.5s ease;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* ===== LOADING STATES ===== */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--dark-300);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.skeleton {
    background: linear-gradient(90deg, var(--dark-400) 25%, var(--dark-300) 50%, var(--dark-400) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: var(--radius-sm);
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ===== RESPONSIVE ===== */

/* --- Tablet & small desktop (≤1024px) — sidebar collapses --- */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
    }
    .sidebar.show {
        transform: translateX(0);
    }
    .main-content {
        margin-left: 0;
        width: 100%;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .page-content {
        padding: 24px;
    }
    .page-header {
        margin-bottom: 24px;
    }
}

/* --- Tablet portrait (≤768px) --- */
@media (max-width: 768px) {
    .page-content {
        padding: 20px;
    }
    .top-navbar {
        padding: 10px 16px;
    }
    .page-header {
        margin-bottom: 20px;
    }
    .page-header h1 {
        font-size: 1.35rem;
    }
    .page-header p {
        font-size: .8rem;
    }
    .stat-card {
        padding: 16px;
    }
    .stat-card .stat-value {
        font-size: clamp(1.1rem, 4vw, 1.5rem);
    }
    .stat-card .stat-icon {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
    .card-body {
        padding: 16px;
    }
    .card-header {
        padding: 14px 16px;
    }
    .card-footer {
        padding: 12px 16px;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-phone {
        width: 260px;
        height: 520px;
    }
    .auth-card {
        padding: 28px 20px;
    }
    .user-card {
        flex-direction: column;
        text-align: center;
    }
    .user-card .user-stats {
        margin-top: 16px;
    }
    .user-card .user-actions {
        margin-top: 16px;
    }
    /* Tables: smaller text, padding */
    .table thead th {
        padding: 10px 8px;
        font-size: .75rem;
    }
    .table tbody td {
        padding: 10px 8px;
        font-size: .85rem;
    }
    /* Buttons: smaller on mobile */
    .btn {
        padding: 8px 14px;
        font-size: .85rem;
    }
    .btn-sm {
        padding: 5px 10px;
        font-size: .78rem;
    }
    .btn-lg {
        padding: 12px 22px;
        font-size: 1rem;
    }
    /* Balance badge compact */
    .balance-badge {
        padding: 7px 14px;
        font-size: .85rem;
    }
    /* User dropdown compact */
    .user-dropdown .dropdown-toggle {
        padding: 6px 10px;
        gap: 8px;
        font-size: .85rem;
    }
    .user-dropdown .user-avatar {
        width: 30px;
        height: 30px;
        font-size: .8rem;
    }
    /* Page header flex wrap */
    .page-header.d-flex {
        gap: 12px !important;
    }
    .page-header .d-flex.gap-2 {
        flex-wrap: wrap;
    }
    /* Form controls */
    .form-control, .form-select {
        font-size: .9rem;
        padding: 10px 14px;
    }
    .form-control-lg {
        padding: 12px 16px;
        font-size: 1rem;
    }
    /* Modals */
    .modal-dialog {
        margin: 12px;
    }
}

/* --- Mobile (≤576px) --- */
@media (max-width: 576px) {
    .page-content {
        padding: 16px;
    }
    .top-navbar {
        padding: 8px 12px;
        gap: 8px;
    }
    .page-header h1 {
        font-size: 1.15rem;
    }
    .page-header {
        margin-bottom: 16px;
    }
    .stat-card {
        padding: 14px;
    }
    .stat-card .stat-icon {
        width: 38px;
        height: 38px;
        font-size: 1rem;
        margin-bottom: 8px;
    }
    .stat-card .stat-label {
        font-size: .78rem;
    }
    .card-body {
        padding: 12px;
    }
    /* Table font even smaller */
    .table thead th {
        padding: 8px 6px;
        font-size: .7rem;
        letter-spacing: 0;
    }
    .table tbody td {
        padding: 8px 6px;
        font-size: .8rem;
    }
    /* Hide non-essential columns on very small screens */
    .table .d-none-xs {
        display: none !important;
    }
    /* Sidebar header compact */
    .sidebar-header {
        padding: 16px;
    }
    .sidebar-header .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    .sidebar-header .logo-text {
        font-size: 1.1rem;
    }
    .sidebar-nav {
        padding: 12px 8px;
    }
    .sidebar-nav .nav-link {
        padding: 10px 12px;
        font-size: .9rem;
    }
}

/* --- Very small mobile (≤480px) --- */
@media (max-width: 480px) {
    .hero-features {
        flex-direction: column;
        gap: 12px;
    }
    .balance-badge {
        padding: 6px 10px;
        font-size: .78rem;
        gap: 5px;
    }
    .balance-badge span {
        max-width: 80px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    /* Stack page-header action buttons */
    .page-header .d-flex.gap-2 > .btn,
    .page-header .d-flex.gap-2 > a {
        font-size: .78rem;
        padding: 6px 10px;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: var(--primary-gradient);
}

.bg-gradient-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.bg-gradient-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.shadow-glow-primary {
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.3);
}

.shadow-glow-success {
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.3);
}

.rounded-xl {
    border-radius: var(--radius-xl);
}

.hover-lift {
    transition: transform var(--transition-normal);
}

.hover-lift:hover {
    transform: translateY(-4px);
}

/* Fix stat cards row layout - prevent clipping */
.stagger-children {
    overflow: visible;
}


/* ===== DARK THEME OVERRIDES ===== */
.text-muted { color: var(--text-muted) !important; }
.text-dark { color: var(--text-primary) !important; }
h1, h2, h3, h4, h5, h6 { color: var(--text-primary); }
.fw-medium, .fw-bold, .fw-semibold, strong { color: var(--text-primary); }
hr { border-color: var(--border); opacity: 0.5; }
.list-group-item {
    background: rgba(255,255,255,0.02);
    border-color: var(--border);
    color: var(--text-secondary);
}
.list-group-item:hover {
    background: rgba(99, 102, 241, 0.06);
}
.btn-close { filter: invert(1) grayscale(100%) brightness(200%); }
.input-group-text {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    color: var(--text-muted);
}
.btn-outline-secondary {
    border-color: var(--border);
    color: var(--text-secondary);
}
.btn-outline-secondary:hover {
    background: rgba(255,255,255,0.06);
    border-color: var(--text-muted);
    color: var(--text-primary);
}
.form-check-label { color: var(--text-secondary); }

/* Stat card dark theme */
.stat-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all var(--transition-normal);
}
.stat-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--glow-primary);
}
.stat-card .stat-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.stat-card .stat-value {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: var(--text-primary);
    word-break: break-word;
    overflow-wrap: break-word;
}
.stat-card .stat-label {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Cyber grid lines background */
.cyber-bg {
    position: relative;
}
.cyber-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}
.cyber-bg > * { position: relative; z-index: 1; }

/* Glow text */
.glow-text {
    text-shadow: 0 0 10px rgba(99, 102, 241, 0.5), 0 0 20px rgba(99, 102, 241, 0.3);
}

/* Pulse dot animation */
@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}
.pulse-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-green);
    animation: pulseDot 2s ease-in-out infinite;
}

/* Chart container */
.chart-container {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    backdrop-filter: blur(12px);
}

/* Transaction item dark */
.transaction-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

/* Bootstrap overrides for dark */
.bg-light { background-color: rgba(255,255,255,0.03) !important; }
.bg-white { background-color: var(--card-bg) !important; }
.border { border-color: var(--border) !important; }
.border-bottom { border-bottom-color: var(--border) !important; }
.border-top { border-top-color: var(--border) !important; }
.shadow-sm { box-shadow: var(--card-shadow) !important; }

/* Nav tabs dark */
.nav-tabs { border-bottom-color: var(--border); }
.nav-tabs .nav-link {
    color: var(--text-muted);
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.nav-tabs .nav-link:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,0.03);
    border-color: transparent;
}
.nav-tabs .nav-link.active {
    background: var(--card-bg);
    color: var(--primary-color);
    border: 1px solid var(--border);
    border-bottom-color: transparent;
}

/* Nav pills dark */
.nav-pills .nav-link {
    color: var(--text-muted);
    border-radius: var(--radius-md);
}
.nav-pills .nav-link:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,0.04);
}
.nav-pills .nav-link.active {
    background: var(--primary-color);
    color: var(--white);
}

/* Timeline dark */
.timeline-item {
    position: relative;
    padding-left: 30px;
    padding-bottom: 24px;
    border-left: 2px solid var(--border);
}
.timeline-item:last-child { border-left-color: transparent; }
.timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 2px solid var(--bg-primary);
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}
.empty-state i {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.empty-state h5 { color: var(--text-primary); }
.empty-state p { color: var(--text-muted); }
