@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');
@import url('https://api.fontshare.com/v2/css?f[]=cabinet-grotesk@400,500,700,800&display=swap');

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

*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --primary: #0A0F1E;
    --accent: #00D4AA;
    --surface: #141927;
    --surface-hover: #1a2235;
    --text: #F0F4FF;
    --text-muted: #6B7A99;
    --danger: #FF4D6D;
    --success: #00E096;
    --warning: #FFB347;
    --background: linear-gradient(135deg, #0A0F1E 0%, #0D1526 100%);
    --glass: rgba(20, 25, 39, 0.7);
    --glass-border: rgba(0, 212, 170, 0.15);
    --glow: 0 0 30px rgba(0, 212, 170, 0.3);
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: linear-gradient(rgba(10, 15, 30, 0.85), rgba(10, 15, 30, 0.85)), url('../images/main-bg.jpg') center/cover no-repeat fixed;
    min-height: 100vh;
    color: var(--text);
    width: 100%;
    overflow-x: hidden;
}

/* Mobile fixes for admin sidebar - override conflicting !important styles */
@media (max-width: 767px) {
    body.admin-page .sidebar {
        transform: translateX(-100%) !important;
        transition: transform 0.3s ease !important;
        z-index: 1000 !important;
    }
    
    body.admin-page .sidebar.show {
        transform: translateX(0) !important;
    }
    
    body.admin-page .main-content {
        margin-left: 0 !important;
        padding: 1rem !important;
    }
}

/* Noise texture overlay - only for non-admin pages */
body:not(.admin-page)::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
}

/* Admin background - override noise overlay */
body.admin-page::before {
    display: none !important;
}

/* Admin page background */
body.admin-page {
    background: #0A0F1E url('https://images.unsplash.com/photo-1557683316-973673baf926?w=1920') center / cover no-repeat fixed !important;
}

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

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

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cabinet Grotesk', sans-serif;
    font-weight: 700;
}

.font-mono {
    font-family: 'JetBrains Mono', monospace;
}

/* Navbar */
.navbar {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar-brand {
    font-family: 'Cabinet Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand i {
    color: var(--accent);
    text-shadow: var(--glow);
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--text);
    background: var(--surface);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--accent);
    color: var(--primary);
    box-shadow: 0 4px 20px rgba(0, 212, 170, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 212, 170, 0.4);
}

.btn-success {
    background: var(--success);
    color: var(--primary);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 224, 150, 0.3);
}

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

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 77, 109, 0.3);
}

.btn-warning {
    background: var(--warning);
    color: var(--primary);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--glass-border);
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0, 212, 170, 0.1);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Cards */
.card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: rgba(0, 212, 170, 0.3);
    box-shadow: var(--glow);
}

.card-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.2);
}

.card-body {
    padding: 1.5rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
    border: 2px solid var(--glass-border);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    background: var(--surface);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(0, 212, 170, 0.1);
}

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

.form-control:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Alerts */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid transparent;
    animation: slideIn 0.3s ease;
}

.alert-success {
    background: rgba(0, 224, 150, 0.15);
    color: var(--success);
    border-color: rgba(0, 224, 150, 0.3);
}

.alert-danger {
    background: rgba(255, 77, 109, 0.15);
    color: var(--danger);
    border-color: rgba(255, 77, 109, 0.3);
}

.alert-warning {
    background: rgba(255, 179, 71, 0.15);
    color: var(--warning);
    border-color: rgba(255, 179, 71, 0.3);
}

.alert-info {
    background: rgba(0, 212, 170, 0.15);
    color: var(--accent);
    border-color: rgba(0, 212, 170, 0.3);
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(10, 15, 30, 0.95) 0%, rgba(13, 21, 38, 0.95) 100%);
    padding: 6rem 0;
    color: var(--text);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    max-width: 80vw;
    height: 600px;
    max-height: 80vw;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.15) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    max-width: 60vw;
    height: 400px;
    max-height: 60vw;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite 2s;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-title {
    font-family: 'Cabinet Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 500px;
}

/* Stats */
.stat-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: var(--glow);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    background: rgba(0, 212, 170, 0.15);
    color: var(--accent);
}

.stat-value {
    font-family: 'Cabinet Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
}

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

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Balance Card */
.balance-card {
    background: linear-gradient(135deg, var(--accent) 0%, #00a88a 100%);
    border-radius: var(--radius-lg);
    padding: 2rem;
    color: var(--primary);
    position: relative;
    overflow: hidden;
}

.balance-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.balance-card::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.balance-amount {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2.5rem;
    font-weight: 700;
}

.balance-label {
    opacity: 0.9;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Table */
.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.table th,
.table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}

.table th {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    background: var(--surface);
}

.table tbody tr {
    transition: all 0.2s ease;
}

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

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
    text-transform: capitalize;
}

.badge-success {
    background: rgba(0, 224, 150, 0.15);
    color: var(--success);
}

.badge-danger {
    background: rgba(255, 77, 109, 0.15);
    color: var(--danger);
}

.badge-warning {
    background: rgba(255, 179, 71, 0.15);
    color: var(--warning);
}

.badge-primary {
    background: rgba(0, 212, 170, 0.15);
    color: var(--accent);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 30, 0.9);
    backdrop-filter: blur(10px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

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

.modal-content {
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 100%;
    animation: slideUp 0.3s ease;
}

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

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

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--glass-border);
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.25rem;
    cursor: pointer;
    transition: color 0.2s;
}

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

/* Sidebar */
.sidebar {
    width: 260px;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-right: 1px solid var(--glass-border);
    position: fixed;
    height: 100vh;
    padding: 1.5rem 0;
    overflow-y: auto;
}

.sidebar-brand {
    padding: 0 1.5rem 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 1rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    font-weight: 500;
}

.sidebar-link:hover {
    background: var(--surface);
    color: var(--text);
}

.sidebar-link.active {
    background: rgba(0, 212, 170, 0.1);
    color: var(--accent);
    border-left-color: var(--accent);
}

.sidebar-link i {
    width: 20px;
    text-align: center;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 260px;
    padding: 2rem;
    background: var(--primary);
    min-height: 100vh;
}

/* Page Header */
.page-header {
    margin-bottom: 2rem;
}

.page-title {
    font-family: 'Cabinet Grotesk', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
}

.page-subtitle {
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* Action Bar */
.action-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

/* Search Box */
.search-box {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 0.5rem 1rem 0.5rem 2.5rem;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    background: var(--surface);
    color: var(--text);
}

.search-box input:focus {
    outline: none;
    border-color: var(--accent);
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

/* Filter Select */
.filter-select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    border-color: var(--accent);
}

/* Action Grid */
.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.action-btn:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: var(--glow);
}

.action-btn i {
    font-size: 1.5rem;
}

/* Transaction Type */
.transaction-type {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.transaction-type.deposit,
.transaction-type.credit {
    color: var(--success);
}

.transaction-type.withdrawal,
.transaction-type.debit,
.transaction-type.transfer {
    color: var(--danger);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Pagination */
.pagination {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-muted);
    transition: all 0.2s;
    border: 1px solid var(--glass-border);
}

.pagination a:hover {
    background: var(--surface);
    border-color: var(--accent);
    color: var(--accent);
}

.pagination .active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary);
}

/* Spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--glass-border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

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

/* Loading */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* Animations */
@keyframes countUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-in {
    animation: countUp 0.5s ease forwards;
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, var(--surface) 25%, var(--surface-hover) 50%, var(--surface) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Utilities */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--accent); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.d-flex { display: flex; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Auth Container */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: var(--background);
    position: relative;
}

.auth-container::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 20%;
    width: 300px;
    max-width: 60vw;
    height: 300px;
    max-height: 60vw;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.auth-container::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: 20%;
    width: 200px;
    max-width: 50vw;
    height: 200px;
    max-height: 50vw;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.08) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite 2s;
}

.auth-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    max-width: 400px;
    width: 100%;
    padding: 2.5rem;
    position: relative;
    z-index: 1;
}

.auth-logo {
    font-family: 'Cabinet Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    text-align: center;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.auth-logo i {
    color: var(--accent);
    text-shadow: var(--glow);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--glass-border);
}

/* Footer */
.footer {
    background: var(--surface);
    color: var(--text-muted);
    padding: 3rem 0;
    margin-top: auto;
    border-top: 1px solid var(--glass-border);
}

/* Responsive */
@media (max-width: 768px) {
    html, body {
        width: 100%;
        overflow-x: hidden;
    }
    
    .container,
    .card,
    .row,
    .section,
    .quick-stats,
    .stat-card,
    .hero,
    .balance-card,
    .auth-container,
    .auth-card {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    .quick-stats {
        grid-template-columns: 1fr !important;
        padding: 0 !important;
    }
    
    .stat-card {
        padding: 1rem !important;
    }
    
    img {
        max-width: 100%;
        height: auto;
    }
    
    .hero::before,
    .hero::after,
    .auth-container::before,
    .auth-container::after,
    .balance-card::before,
    .balance-card::after {
        max-width: 100%;
        max-height: 100%;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .sidebar.show {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
        width: auto;
        max-width: 100%;
    }
    
    body.admin-page .main-content {
        width: auto !important;
        max-width: none !important;
    }
    
    .stat-card {
        margin-bottom: 1rem;
    }
    
    .table {
        font-size: 0.75rem;
    }
    
    .table th,
    .table td {
        padding: 0.5rem;
    }
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    display: none;
    z-index: 100;
    padding: 0.5rem 0;
}

.dropdown-menu.show {
    display: block;
    animation: slideIn 0.2s ease;
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s;
}

.dropdown-item:hover {
    background: var(--surface-hover);
    color: var(--text);
}

/* Toast */
.toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toast {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    background: var(--surface);
    border: 1px solid var(--glass-border);
    animation: slideIn 0.3s ease;
    min-width: 250px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: opacity 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.toast-success {
    border-color: var(--success);
    border-left: 4px solid var(--success);
}

.toast-error {
    border-color: var(--danger);
    border-left: 4px solid var(--danger);
}

.toast-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.toast-message {
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--text);
}

.toast-message strong {
    color: #fff;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.1) 0%, rgba(0, 224, 150, 0.05) 100%);
    margin: 2rem 0;
    border-radius: var(--radius-lg);
}

/* Admin page background - placed last to ensure override */
body.admin-page {
    background: #00ff0 !important;
}