/* Professional Flight Trading Dashboard - Modern Design */

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

:root {
    --primary-dark: #0a1929;
    --primary-blue: #1a365d;
    --primary-blue-light: #2d4a7c;
    --accent-gold: #d4af37;
    --accent-saffron: #ffb347;
    --text-light: #e2e8f0;
    --text-muted: #94a3b8;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    --dark: #0a1929;
    --light: #1a2332;
    --border: rgba(212, 175, 55, 0.2);
    --text: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --gradient-dark: linear-gradient(135deg, #0a1929 0%, #1a365d 50%, #2d4a7c 100%);
    --gradient-gold: linear-gradient(135deg, #d4af37 0%, #ffb347 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--gradient-dark);
    background-attachment: fixed;
    min-height: 100vh;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Impersonation Banner */
.impersonation-banner {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-bottom: 2px solid #f59e0b;
    padding: 12px 20px;
    text-align: center;
    color: #92400e;
    position: sticky;
    top: 0;
    z-index: 1000;
    font-size: 14px;
    box-shadow: var(--shadow);
}

.impersonation-banner i {
    margin-right: 8px;
}

.impersonation-banner a {
    color: #92400e;
    text-decoration: underline;
    font-weight: 600;
    margin: 0 10px;
}

.impersonation-banner a:hover {
    color: #78350f;
}

/* Auth Container */
/* Modern Auth Wrapper - Split Screen Design */
.auth-wrapper {
    display: flex;
    min-height: 100vh;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

/* Left Side - Branding Section */
.auth-branding {
    flex: 1;
    background: linear-gradient(135deg, #1a365d 0%, #2d4a7c 50%, #1a1929 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 50px;
    overflow: hidden;
}

.branding-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    animation: patternMove 20s ease-in-out infinite;
}

@keyframes patternMove {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, -20px) scale(1.1); }
}

.branding-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 500px;
}

.branding-logo {
    margin-bottom: 30px;
}

.logo-circle {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.1) 100%);
    border: 3px solid var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.3),
                inset 0 0 20px rgba(212, 175, 55, 0.1);
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.logo-circle i {
    font-size: 50px;
    color: var(--accent-gold);
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
}

.branding-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--accent-gold);
    margin-bottom: 15px;
    text-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
    letter-spacing: -0.5px;
}

.branding-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    font-weight: 300;
}

.branding-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 50px;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateX(5px);
}

.feature-item i {
    font-size: 24px;
    color: var(--accent-gold);
}

.feature-item span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    font-weight: 500;
}

/* Right Side - Form Section */
.auth-form-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(10, 25, 41, 0.95);
    backdrop-filter: blur(20px);
    position: relative;
}

.auth-form-container {
    width: 100%;
    max-width: 480px;
    background: rgba(26, 54, 93, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 40px rgba(212, 175, 55, 0.1);
    position: relative;
    overflow: hidden;
}

.auth-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold) 0%, transparent 100%);
}

.back-to-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 20px;
    transition: color 0.3s;
}

.back-to-home:hover {
    color: var(--accent-gold);
}

.back-to-home i {
    font-size: 12px;
}

/* Auth Switch Buttons */
.auth-switch {
    display: flex;
    gap: 10px;
    margin-bottom: 35px;
    background: rgba(10, 25, 41, 0.6);
    padding: 6px;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.switch-btn {
    flex: 1;
    padding: 14px 20px;
    border: none;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
}

.switch-btn i {
    font-size: 16px;
}

.switch-btn.active {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.3) 0%, rgba(212, 175, 55, 0.2) 100%);
    color: var(--accent-gold);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.switch-btn:hover:not(.active) {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(26, 54, 93, 0.4);
}

/* Form Header */
.form-header {
    margin-bottom: 30px;
    text-align: center;
}

.form-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 8px;
}

.form-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

.disclaimer-banner {
    background: var(--gradient-gold);
    border: none;
    color: #1a0d00;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: var(--shadow);
}

.disclaimer-banner i {
    font-size: 18px;
    color: #1a0d00;
}

.disclaimer-banner strong {
    font-size: 14px;
    color: #1a0d00;
    font-weight: 800;
}

.disclaimer-banner.fixed {
    position: sticky;
    top: 0;
    z-index: 100;
    margin: 0 0 20px 0;
    border-radius: 0;
    background: linear-gradient(135deg, #d4af37 0%, #ffb347 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Auth Forms */
.auth-form {
    display: none;
    animation: fadeInUp 0.4s ease;
}

.auth-form.active {
    display: block;
}

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

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.form-group label i {
    color: var(--accent-gold);
    font-size: 16px;
    width: 20px;
}

.form-group label small {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

.form-group input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.95);
    color: #1a1929;
    box-sizing: border-box;
    font-weight: 500;
}

.form-group input::placeholder {
    color: #8b9dc3;
    opacity: 0.7;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2),
                0 4px 12px rgba(212, 175, 55, 0.1);
    background: #ffffff;
    transform: translateY(-2px);
}

.btn {
    padding: 14px 28px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

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

.btn-primary {
    background: linear-gradient(135deg, #d4af37 0%, #ffb347 50%, #d4af37 100%);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    color: #1a1929;
    font-weight: 800;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4),
                0 0 15px rgba(212, 175, 55, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5),
                0 0 20px rgba(212, 175, 55, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
    animation-duration: 1.5s;
}

.btn-primary i {
    transition: transform 0.3s;
}

.btn-primary:hover i {
    transform: translateX(5px);
}

.btn-primary i {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.btn-secondary {
    background: rgba(26, 54, 93, 0.8);
    color: var(--text-light);
    border: 2px solid var(--border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(26, 54, 93, 1);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.4);
}

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

.btn-danger:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-icon {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-icon:hover {
    background: rgba(26, 54, 93, 0.5);
    color: var(--accent-gold);
}

.error-message {
    color: var(--danger);
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
    padding: 12px;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    display: none;
}

.error-message.show {
    display: block;
}

/* Dashboard Layout */
.dashboard-container {
    display: flex;
    min-height: 100vh;
    background: var(--light);
    overflow-x: hidden;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: rgba(10, 25, 41, 0.95);
    backdrop-filter: blur(10px);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    box-shadow: var(--shadow);
}

.sidebar-header {
    padding: 25px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 700;
    color: var(--accent-gold);
}

.logo i {
    font-size: 28px;
    color: var(--accent-gold);
}

.sidebar-nav {
    flex: 1;
    padding: 20px 0;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s;
    border-left: 3px solid transparent;
    font-size: 15px;
    font-weight: 500;
}

.nav-item i {
    width: 20px;
    color: var(--text-muted);
}

.nav-item:hover {
    background: rgba(26, 54, 93, 0.5);
    color: var(--accent-gold);
    border-left-color: var(--accent-gold);
}

.nav-item:hover i {
    color: var(--accent-gold);
}

.nav-item.active {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.15) 0%, transparent 100%);
    color: var(--accent-gold);
    border-left-color: var(--accent-gold);
}

.nav-item.active i {
    color: var(--accent-gold);
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid var(--border);
    background: rgba(10, 25, 41, 0.8);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding: 12px;
    background: rgba(26, 54, 93, 0.5);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-size: 18px;
    font-weight: 600;
}

.user-info {
    flex: 1;
}

.user-info strong {
    display: block;
    font-size: 14px;
    color: var(--text-light);
}

.user-info span {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 0;
    background: transparent;
    min-height: 100vh;
    min-width: 0;
}

.top-bar {
    background: rgba(10, 25, 41, 0.95);
    backdrop-filter: blur(10px);
    padding: 25px 30px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
}

.page-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 4px;
}

.page-subtitle {
    font-size: 14px;
    color: var(--text-muted);
}

.currency-selector-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 16px;
}
.currency-label {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
    white-space: nowrap;
}
.currency-label i {
    margin-right: 4px;
    color: var(--accent-gold);
}
.currency-select {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: rgba(26, 54, 93, 0.5);
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    min-width: 100px;
}
.currency-select:hover,
.currency-select:focus {
    border-color: var(--accent-gold);
    outline: none;
}

.quick-stats {
    display: flex;
    gap: 20px;
}

.quick-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(26, 54, 93, 0.5);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.quick-stat i {
    font-size: 24px;
    color: var(--accent-gold);
}

.quick-stat .stat-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
}

.quick-stat .stat-value {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-light);
}

/* Views */
.view {
    display: none;
    padding: 30px;
    max-width: 100%;
    overflow-x: hidden;
    animation: fadeIn 0.3s ease;
    min-height: calc(100vh - 120px);
    min-width: 0;
}

.view.active {
    display: block;
}

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

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

.view-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 4px;
}

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

/* Airport Departure Board Style */
.departure-board-container {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0a0e27 100%);
    border: 2px solid #2a3f5f;
    border-radius: 8px;
    padding: 0;
    margin-bottom: 25px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), inset 0 0 60px rgba(0, 0, 0, 0.3);
    width: 100%;
    position: relative;
    display: block;
    font-family: 'Courier New', 'Monaco', monospace;
}

.board-header {
    background: linear-gradient(180deg, #1a2332 0%, #0f1419 100%);
    padding: 15px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 3px solid var(--accent-gold);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.board-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 900;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5), 0 0 20px rgba(212, 175, 55, 0.3);
    animation: boardTitleGlow 2s ease-in-out infinite;
}

@keyframes boardTitleGlow {
    0%, 100% { text-shadow: 0 0 10px rgba(212, 175, 55, 0.5), 0 0 20px rgba(212, 175, 55, 0.3); }
    50% { text-shadow: 0 0 15px rgba(212, 175, 55, 0.8), 0 0 30px rgba(212, 175, 55, 0.5); }
}

.board-title i {
    animation: planePulse 2s ease-in-out infinite;
}

@keyframes planePulse {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

.board-time {
    font-size: 16px;
    font-weight: 700;
    color: #00ff88;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.6);
    animation: timeBlink 1s step-end infinite;
}

@keyframes timeBlink {
    0%, 49% { opacity: 1; }
    50%, 99% { opacity: 0.7; }
}

.board-toolbar {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.board-search-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(10, 14, 39, 0.9);
    border: 1px solid #2a3f5f;
    border-radius: 8px;
    padding: 8px 12px;
    min-width: 220px;
}

.board-search-wrap i {
    color: var(--accent-gold);
    font-size: 14px;
}

.board-search {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 14px;
    outline: none;
    width: 100%;
    min-width: 0;
}

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

.board-search-wrap:focus-within {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.board-content-wrapper {
    background: #0a0e27;
    position: relative;
    overflow: hidden;
}

.board-columns-header {
    display: grid;
    grid-template-columns: 100px 120px 100px 1fr 140px 80px 120px;
    gap: 15px;
    padding: 12px 20px;
    background: rgba(26, 35, 58, 0.8);
    border-bottom: 2px solid #2a3f5f;
    font-size: 11px;
    font-weight: 900;
    color: #8b9dc3;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.board-col {
    display: flex;
    align-items: center;
}

.board-col.sortable {
    cursor: pointer;
    user-select: none;
    gap: 4px;
}

.board-col.sortable:hover {
    color: var(--accent-gold);
}

.sort-icon {
    font-size: 10px;
    opacity: 0;
    transition: opacity 0.2s;
}

.board-col.sortable:hover .sort-icon,
.sort-icon.active {
    opacity: 1;
}

.sort-icon.active {
    color: var(--accent-gold);
}

.board-scroll-area {
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
}

.board-scroll-area::-webkit-scrollbar {
    width: 8px;
}

.board-scroll-area::-webkit-scrollbar-track {
    background: #0a0e27;
}

.board-scroll-area::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 4px;
}

.board-content {
    display: flex;
    flex-direction: column;
}

.board-row {
    display: grid;
    grid-template-columns: 100px 120px 100px 1fr 140px 80px 120px;
    gap: 15px;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(42, 63, 95, 0.5);
    transition: all 0.3s ease;
    position: relative;
    background: rgba(10, 14, 39, 0.5);
    animation: rowSlideIn 0.5s ease-out;
}

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

.board-row:hover {
    background: rgba(26, 35, 58, 0.8);
    border-left: 3px solid var(--accent-gold);
    box-shadow: inset 0 0 20px rgba(212, 175, 55, 0.1);
}

.board-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent-gold);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.board-row:hover::before {
    transform: scaleY(1);
}

.board-cell {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #e2e8f0;
    font-weight: 600;
}

.board-cell.time {
    font-family: 'Courier New', monospace;
    font-size: 16px;
    font-weight: 700;
    color: #00ff88;
    text-shadow: 0 0 6px rgba(0, 255, 136, 0.4);
}

.board-cell.airline {
    color: #4a9eff;
    font-weight: 700;
}

.board-cell.flight {
    font-family: 'Courier New', monospace;
    color: #ffd700;
    font-weight: 700;
    letter-spacing: 1px;
}

.board-cell.route {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e2e8f0;
}

.board-cell.route .fi {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.board-cell.route .route-codes {
    font-weight: 700;
    letter-spacing: 1px;
}

.board-cell.route .route-arrow {
    color: var(--accent-gold);
    margin: 0 6px;
    font-size: 12px;
}

.board-cell.status {
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-badge-board {
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Courier New', monospace;
    animation: statusBlink 2s ease-in-out infinite;
}

@keyframes statusBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.status-badge-board.scheduled {
    background: rgba(148, 163, 184, 0.2);
    color: #94a3b8;
    border: 1px solid #94a3b8;
}

.status-badge-board.ontime {
    background: rgba(0, 255, 136, 0.2);
    color: #00ff88;
    border: 1px solid #00ff88;
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.5);
    box-shadow: 0 0 12px rgba(0, 255, 136, 0.3);
}

.status-badge-board.delayed {
    background: rgba(255, 68, 68, 0.3);
    color: #ff4444;
    border: 1px solid #ff4444;
    text-shadow: 0 0 8px rgba(255, 68, 68, 0.6);
    box-shadow: 0 0 12px rgba(255, 68, 68, 0.4);
    animation: delayedBlink 1s ease-in-out infinite;
}

@keyframes delayedBlink {
    0%, 100% { 
        opacity: 1;
        box-shadow: 0 0 12px rgba(255, 68, 68, 0.4);
    }
    50% { 
        opacity: 0.9;
        box-shadow: 0 0 20px rgba(255, 68, 68, 0.6);
    }
}

.status-badge-board.boarding {
    background: rgba(74, 158, 255, 0.3);
    color: #4a9eff;
    border: 1px solid #4a9eff;
    text-shadow: 0 0 8px rgba(74, 158, 255, 0.5);
    box-shadow: 0 0 12px rgba(74, 158, 255, 0.3);
}

.status-badge-board.departed {
    background: rgba(212, 175, 55, 0.3);
    color: #d4af37;
    border: 1px solid #d4af37;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

.status-badge-board.arrived {
    background: rgba(0, 255, 136, 0.3);
    color: #00ff88;
    border: 1px solid #00ff88;
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.5);
}

.status-badge-board.cancelled {
    background: rgba(255, 68, 68, 0.4);
    color: #ff4444;
    border: 2px solid #ff4444;
    text-shadow: 0 0 10px rgba(255, 68, 68, 0.8);
    box-shadow: 0 0 15px rgba(255, 68, 68, 0.5);
    animation: cancelledPulse 1.5s ease-in-out infinite;
}

@keyframes cancelledPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 15px rgba(255, 68, 68, 0.5);
    }
    50% { 
        transform: scale(1.02);
        box-shadow: 0 0 25px rgba(255, 68, 68, 0.7);
    }
}

.delay-info-board {
    font-size: 10px;
    color: #ff4444;
    margin-left: 6px;
    font-weight: 700;
}

.board-cell.gate {
    font-family: 'Courier New', monospace;
    color: #ffd700;
    font-weight: 700;
    font-size: 15px;
    text-shadow: 0 0 6px rgba(255, 215, 0, 0.4);
}

.board-cell.price {
    font-family: 'Courier New', monospace;
    color: var(--accent-gold);
    font-weight: 900;
    font-size: 16px;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
    letter-spacing: 1px;
}

/* Animated background effect */
.departure-board-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(42, 63, 95, 0.03) 2px,
            rgba(42, 63, 95, 0.03) 4px
        );
    pointer-events: none;
    z-index: 1;
}

.board-content {
    position: relative;
    z-index: 2;
}

/* Scroll animation */
@keyframes scrollUp {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-100%);
    }
}

.board-content.auto-scroll {
    animation: scrollUp 30s linear infinite;
}

.ticker-header {
    background: rgba(10, 25, 41, 0.9);
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 2px solid var(--accent-gold);
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ticker-header .btn-icon {
    margin-left: auto;
    color: var(--accent-gold);
    padding: 6px 10px;
    border-radius: 6px;
    transition: all 0.3s;
}

.ticker-header .btn-icon:hover {
    background: rgba(212, 175, 55, 0.2);
    transform: rotate(180deg);
}

.ticker-header .btn-icon i.fa-spin {
    animation: spin 1s linear infinite;
}

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

.ticker-header i {
    color: var(--accent-gold);
    animation: pulse 2s infinite;
    font-size: 18px;
}

.ticker-status {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    background: rgba(16, 185, 129, 0.2);
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid var(--success);
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--success);
    animation: blink 1.5s infinite;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.ticker-scroll {
    overflow: visible;
    position: relative;
    padding: 20px;
    background: rgba(10, 25, 41, 0.2);
    width: 100%;
    display: block;
}

.ticker-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    padding: 0;
    animation: none;
    white-space: normal;
}

.ticker-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 20px;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.8) 0%, rgba(10, 25, 41, 0.6) 100%);
    backdrop-filter: blur(8px);
    border-radius: 14px;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.ticker-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.ticker-item:hover {
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.95) 0%, rgba(10, 25, 41, 0.8) 100%);
    border-color: var(--accent-gold);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4);
}

.ticker-item:hover::before {
    transform: scaleX(1);
}

.ticker-route {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text-light);
    font-size: 15px;
    width: 100%;
    margin-bottom: 8px;
}

.ticker-route .fi {
    width: 28px;
    height: 21px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ticker-route .fi.fi-2x {
    width: 36px;
    height: 27px;
}

.ticker-route > span:not(.fi) {
    font-weight: 700;
    color: var(--text-light);
    font-size: 16px;
    letter-spacing: 0.5px;
}

.ticker-route i.fa-arrow-right {
    margin: 0 8px;
    color: var(--accent-gold);
    font-size: 14px;
    flex-shrink: 0;
    opacity: 0.8;
}

.ticker-price {
    font-weight: 800;
    color: var(--accent-gold);
    font-size: 24px;
    text-align: left;
    width: 100%;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.5px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--border);
}

.ticker-change {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 4px;
    padding: 4px 10px;
    border-radius: 6px;
    width: fit-content;
}

.ticker-change.up {
    color: var(--success);
    background: rgba(16, 185, 129, 0.15);
}

.ticker-change.down {
    color: var(--danger);
    background: rgba(239, 68, 68, 0.15);
}

/* Flight Status Styles */
.flight-status-item {
    position: relative;
}

.flight-status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    width: 100%;
}

.flight-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-scheduled {
    background: rgba(148, 163, 184, 0.2);
    color: var(--text-muted);
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.status-ontime {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
    border: 1px solid var(--success);
}

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

.status-boarding {
    background: rgba(59, 130, 246, 0.2);
    color: var(--info);
    border: 1px solid var(--info);
}

.status-departed {
    background: rgba(212, 175, 55, 0.2);
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
}

.status-arrived {
    background: rgba(16, 185, 129, 0.3);
    color: var(--success);
    border: 1px solid var(--success);
}

.status-cancelled {
    background: rgba(107, 114, 128, 0.3);
    color: var(--text-muted);
    border: 1px solid var(--text-muted);
}

.delay-badge {
    background: rgba(239, 68, 68, 0.3);
    color: var(--danger);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
}

.flight-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-muted);
}

.flight-airline,
.flight-time,
.gate-info {
    display: flex;
    align-items: center;
    gap: 6px;
}

.flight-airline i,
.flight-time i,
.gate-info i {
    color: var(--accent-gold);
    font-size: 11px;
    width: 14px;
}

.gate-info {
    color: var(--accent-gold);
    font-weight: 600;
}

.ticker-change {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
}

.ticker-change.up {
    color: var(--success);
}

.ticker-change.down {
    color: var(--danger);
}

.price-change-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 8px;
    opacity: 0;
    transition: opacity 0.3s;
}

.price-change-indicator.show {
    opacity: 1;
}

.price-change-indicator.up {
    color: var(--success);
}

.price-change-indicator.down {
    color: var(--danger);
}

.price-change-indicator i {
    font-size: 10px;
}

.stat-value-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat-value {
    transition: all 0.3s ease;
}

.stat-value.updated {
    animation: priceFlash 0.6s ease;
}

@keyframes priceFlash {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); color: var(--accent-gold); }
    100% { transform: scale(1); }
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: rgba(26, 54, 93, 0.6);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s;
    border-left: 4px solid;
    border: 1px solid var(--border);
    min-height: 120px;
}

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

.stat-card.primary {
    border-left-color: var(--accent-gold);
}

.stat-card.success {
    border-left-color: var(--success);
}

.stat-card.info {
    border-left-color: var(--info);
}

.stat-card.warning {
    border-left-color: var(--accent-saffron);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
}

.stat-card.primary .stat-icon {
    background: var(--gradient-gold);
    color: var(--primary-dark);
}

.stat-card.success .stat-icon {
    background: var(--success);
}

.stat-card.info .stat-icon {
    background: var(--info);
}

.stat-card.warning .stat-icon {
    background: var(--warning);
}

.stat-content {
    flex: 1;
}

.stat-content h3 {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 6px;
    line-height: 1.2;
}

.stat-value-wrapper {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

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

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.dashboard-card {
    background: rgba(26, 54, 93, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

.dashboard-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(212, 175, 55, 0.3);
}

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

.card-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-header h3 i {
    color: var(--accent-gold);
}

.card-body {
    padding: 25px;
    flex: 1;
    overflow-y: auto;
    max-height: 400px;
}

.card-body::-webkit-scrollbar {
    width: 6px;
}

.card-body::-webkit-scrollbar-track {
    background: rgba(10, 25, 41, 0.3);
    border-radius: 3px;
}

.card-body::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 3px;
}

.card-body::-webkit-scrollbar-thumb:hover {
    background: var(--accent-saffron);
}

.loading-state {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
}

.loading-state i {
    font-size: 24px;
    margin-bottom: 10px;
    display: block;
    color: var(--accent-gold);
}

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

.flight-card {
    background: rgba(26, 54, 93, 0.6);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 1px solid var(--border);
}

.flight-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-gold);
    background: rgba(26, 54, 93, 0.8);
}

.flight-card.price-updated {
    animation: cardPulse 0.8s ease;
}

@keyframes cardPulse {
    0% { box-shadow: var(--shadow); }
    50% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.5); }
    100% { box-shadow: var(--shadow); }
}

.flight-price-change {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    margin-left: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    animation: fadeInUp 0.5s ease;
}

.flight-price-change.up {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.flight-price-change.down {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger);
}

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

.auto-refresh-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
}

.auto-refresh-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--accent-gold);
}

.auto-refresh-toggle label {
    font-size: 14px;
    color: var(--text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

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

.flight-card h3 {
    color: var(--accent-gold);
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.price-update-time {
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.flight-price-wrapper {
    position: relative;
}

.route {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 12px;
}

.route-flag {
    display: inline-flex;
    align-items: center;
    margin-right: 4px;
}

.route-code {
    font-weight: 600;
    margin: 0 4px;
}

.route-arrow {
    margin: 0 8px;
    color: var(--accent-gold);
    font-size: 14px;
}

.route-with-flags {
    display: flex;
    align-items: center;
    gap: 8px;
}

.route-with-flags .fi {
    margin-right: 4px;
}

/* Ticker route styles are now consolidated above */

.flight-info {
    margin-bottom: 20px;
}

.flight-info .route {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 12px;
}

.flight-info .detail {
    color: var(--text-muted);
    margin: 6px 0;
    font-size: 14px;
}

.flight-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-gold);
    margin: 20px 0;
    padding: 15px;
    background: rgba(10, 25, 41, 0.5);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-align: center;
}

.flight-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.flight-actions .btn {
    flex: 1;
}

/* Trades */
.trades-container {
    background: rgba(26, 54, 93, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.trades-tabs {
    display: flex;
    gap: 10px;
    background: rgba(10, 25, 41, 0.5);
    padding: 4px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

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

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

.trades-table th {
    background: rgba(10, 25, 41, 0.8);
    color: var(--accent-gold);
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--border);
}

.trades-table td {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    color: var(--text-light);
}

.trades-table tr:hover {
    background: rgba(26, 54, 93, 0.5);
}

.profit-positive {
    color: var(--success);
    font-weight: 600;
}

.profit-negative {
    color: var(--danger);
    font-weight: 600;
}

/* Vault */
/* Prepaid Card Styles - Actual Visa Card Size */
/* Standard credit card dimensions: 85.60mm × 53.98mm (3.375" × 2.125") */
/* Aspect ratio: 1.586:1 */
.prepaid-card {
    background: linear-gradient(135deg, #1a365d 0%, #2d4a7c 50%, #1a1929 100%);
    border: 2px solid var(--accent-gold);
    border-radius: 12px; /* Standard card corner radius */
    padding: 18px 22px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5),
                0 0 20px rgba(212, 175, 55, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    width: 340px; /* 85.60mm ≈ 340px at 96 DPI */
    height: 214px; /* 53.98mm ≈ 214px at 96 DPI */
    max-width: 100%;
    aspect-ratio: 1.586 / 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0 auto;
}

/* Crypto logos background pattern */
.crypto-bg-symbols {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

/* Ensure crypto symbols don't interfere with footer */
.crypto-bg-symbols::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 35%;
    background: linear-gradient(to top, rgba(10, 25, 41, 0.9) 0%, transparent 100%);
    z-index: 1;
}

.crypto-symbol {
    font-weight: 700;
    text-shadow: 0 0 15px currentColor;
    filter: blur(0.5px);
    animation: cryptoFloat 8s ease-in-out infinite;
}

.crypto-symbol:nth-child(1) { animation-delay: 0s; }
.crypto-symbol:nth-child(2) { animation-delay: 1s; }
.crypto-symbol:nth-child(3) { animation-delay: 2s; }
.crypto-symbol:nth-child(4) { animation-delay: 3s; }
.crypto-symbol:nth-child(5) { animation-delay: 4s; }
.crypto-symbol:nth-child(6) { animation-delay: 5s; }
.crypto-symbol:nth-child(7) { animation-delay: 6s; }
.crypto-symbol:nth-child(8) { animation-delay: 7s; }

@keyframes cryptoFloat {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
        opacity: 0.12;
    }
    50% { 
        transform: translate(5px, -5px) scale(1.1);
        opacity: 0.18;
    }
}

/* Additional crypto gradient overlays */
.prepaid-card {
    background-image: 
        /* Bitcoin gradient */
        radial-gradient(circle at 15% 25%, rgba(247, 147, 26, 0.06) 0%, transparent 60%),
        /* Ethereum gradient */
        radial-gradient(circle at 85% 30%, rgba(98, 126, 234, 0.06) 0%, transparent 60%),
        /* Tether gradient */
        radial-gradient(circle at 25% 75%, rgba(38, 161, 122, 0.06) 0%, transparent 60%),
        /* Ripple gradient */
        radial-gradient(circle at 75% 70%, rgba(0, 0, 0, 0.06) 0%, transparent 60%),
        /* TON gradient */
        radial-gradient(circle at 50% 50%, rgba(0, 136, 204, 0.06) 0%, transparent 60%),
        /* TRON gradient */
        radial-gradient(circle at 60% 20%, rgba(239, 0, 39, 0.06) 0%, transparent 60%),
        /* BCH gradient */
        radial-gradient(circle at 30% 50%, rgba(242, 169, 0, 0.06) 0%, transparent 60%),
        /* SUI gradient */
        radial-gradient(circle at 80% 80%, rgba(102, 126, 234, 0.06) 0%, transparent 60%);
    background-blend-mode: overlay;
}

.prepaid-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    animation: cardGlow 3s ease-in-out infinite;
    z-index: 0;
}

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

.prepaid-card > * {
    position: relative;
    z-index: 1;
}

/* Ensure footer text is always visible */
.card-footer * {
    position: relative;
    z-index: 4;
}

.card-balance,
.card-currency {
    position: relative;
    z-index: 4;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

.card-logo {
    font-size: 22px;
    color: var(--accent-gold);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.8),
                 0 0 20px rgba(212, 175, 55, 0.5);
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.6));
}

.card-chip {
    font-size: 26px;
    color: var(--accent-gold);
    opacity: 0.9;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.8),
                 0 0 20px rgba(212, 175, 55, 0.5);
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.6));
}

.card-number {
    font-family: 'Courier New', monospace;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    margin: 12px 0;
    text-align: center;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-number-line {
    display: block;
}

.card-hologram-lines {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(212, 175, 55, 0.4) 20%, 
        rgba(212, 175, 55, 0.6) 50%, 
        rgba(212, 175, 55, 0.4) 80%, 
        transparent 100%);
    margin: 8px 0;
    opacity: 0.5;
    z-index: 1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
    padding-top: 16px;
    position: relative;
    z-index: 10;
    background: 
        linear-gradient(to top, rgba(10, 25, 41, 1) 0%, rgba(10, 25, 41, 0.98) 30%, rgba(26, 54, 93, 0.95) 60%, rgba(10, 25, 41, 0.9) 100%);
    padding-bottom: 10px;
    border-top: 2px solid rgba(212, 175, 55, 0.7);
    margin-top: 12px;
    box-shadow: 
        0 -4px 16px rgba(0, 0, 0, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.card-balance {
    flex: 1;
    position: relative;
    z-index: 11;
}

.card-currency {
    position: relative;
    z-index: 11;
}

.card-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff !important;
    margin-bottom: 8px;
    font-weight: 900;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 1),
        0 4px 8px rgba(0, 0, 0, 1),
        0 0 20px rgba(212, 175, 55, 0.9),
        0 0 30px rgba(212, 175, 55, 0.7),
        0 0 40px rgba(212, 175, 55, 0.5);
    background: rgba(0, 0, 0, 0.8) !important;
    padding: 4px 10px;
    border-radius: 5px;
    display: inline-block;
    border: 2px solid rgba(212, 175, 55, 0.6);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.8),
        0 0 15px rgba(212, 175, 55, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 12;
}

.card-amount {
    font-size: 30px;
    font-weight: 900;
    color: #ffffff !important;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 1),
        0 4px 8px rgba(0, 0, 0, 1),
        0 0 25px rgba(212, 175, 55, 1),
        0 0 35px rgba(212, 175, 55, 0.8),
        0 0 45px rgba(212, 175, 55, 0.6);
    line-height: 1.1;
    background: rgba(0, 0, 0, 0.85) !important;
    padding: 6px 12px;
    border-radius: 7px;
    display: inline-block;
    border: 2px solid rgba(212, 175, 55, 0.7);
    box-shadow: 
        0 3px 10px rgba(0, 0, 0, 0.9),
        0 0 20px rgba(212, 175, 55, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 12;
}

.card-currency {
    text-align: right;
}

.card-value {
    font-size: 20px;
    font-weight: 900;
    color: #ffffff !important;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 1),
        0 4px 8px rgba(0, 0, 0, 1),
        0 0 20px rgba(212, 175, 55, 0.9),
        0 0 30px rgba(212, 175, 55, 0.7),
        0 0 40px rgba(212, 175, 55, 0.5);
    background: rgba(0, 0, 0, 0.8) !important;
    padding: 4px 10px;
    border-radius: 5px;
    display: inline-block;
    border: 2px solid rgba(212, 175, 55, 0.6);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.8),
        0 0 15px rgba(212, 175, 55, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 12;
}

.card-powered-by {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 8px;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8),
                 0 0 10px rgba(212, 175, 55, 0.3);
    z-index: 3;
}

.card-powered-by strong {
    color: #ffffff;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9),
                 0 0 15px rgba(212, 175, 55, 0.5);
}

.card-status {
    position: absolute;
    top: 10px;
    right: 10px;
}

.card-status .status-badge {
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 7px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-width: 1px;
    border-style: solid;
}

.card-status .status-badge.status-active {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid #10b981;
}

.card-status .status-badge.status-suspended {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border: 1px solid #f59e0b;
}

.card-status .status-badge.status-expired {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid #ef4444;
}

.vault-content {
    display: grid;
    gap: 20px;
}

.vault-balance-card {
    background: var(--gradient-gold);
    padding: 40px;
    border-radius: 16px;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: var(--shadow-lg);
}

.vault-icon {
    width: 80px;
    height: 80px;
    background: rgba(10, 25, 41, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--primary-dark);
}

.vault-info h3 {
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-dark);
    opacity: 0.8;
    margin-bottom: 8px;
}

.vault-amount {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.vault-info p {
    font-size: 14px;
    color: var(--primary-dark);
    opacity: 0.7;
}

/* Portfolio */
.portfolio-container {
    display: grid;
    gap: 20px;
}

/* Chart Modal */
.chart-modal {
    animation: fadeIn 0.3s ease;
}

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

.chart-modal-content {
    background: rgba(26, 54, 93, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: 20px;
    max-width: 900px;
    width: 90%;
    box-shadow: var(--shadow-lg);
}

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

.chart-header h3 {
    color: var(--accent-gold);
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chart-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.chart-stat {
    text-align: center;
}

.chart-stat .stat-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chart-stat .stat-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-light);
}

/* Trading Terminal */
.terminal-container {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 120px);
    max-height: calc(100vh - 120px);
    background: rgba(10, 25, 41, 0.5);
    border-radius: 16px;
    overflow-y: auto;
    overflow-x: hidden;
}

.terminal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(10, 25, 41, 0.8);
    border-bottom: 1px solid var(--border);
}

.terminal-symbol-selector {
    display: flex;
    align-items: center;
    gap: 15px;
}

.flight-selector {
    padding: 8px 15px;
    background: rgba(26, 54, 93, 0.6);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 14px;
    min-width: 200px;
    cursor: pointer;
}

.flight-selector:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.symbol-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.symbol-name {
    font-weight: 600;
    color: var(--text-light);
    font-size: 16px;
}

.symbol-price {
    font-weight: 700;
    color: var(--accent-gold);
    font-size: 18px;
}

.symbol-change {
    font-size: 14px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
}

.symbol-change.positive {
    color: var(--success);
    background: rgba(16, 185, 129, 0.15);
}

.symbol-change.negative {
    color: var(--danger);
    background: rgba(239, 68, 68, 0.15);
}

.terminal-toolbar {
    display: flex;
    align-items: center;
    gap: 15px;
}

.timeframe-selector {
    display: flex;
    gap: 5px;
    background: rgba(10, 25, 41, 0.6);
    padding: 4px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.tf-btn {
    padding: 6px 12px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s;
}

.tf-btn:hover {
    color: var(--text-light);
    background: rgba(26, 54, 93, 0.5);
}

.tf-btn.active {
    background: var(--gradient-gold);
    color: var(--primary-dark);
}

.ohlc-display {
    display: flex;
    gap: 20px;
    padding: 12px 20px;
    background: rgba(10, 25, 41, 0.6);
    border-bottom: 1px solid var(--border);
}

.ohlc-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ohlc-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

.ohlc-value {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 600;
}

.terminal-chart-container {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    min-height: 400px;
    max-height: 450px;
    position: relative;
}

.chart-wrapper {
    flex: 1;
    position: relative;
    background: rgba(10, 25, 41, 0.5);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin: 10px;
    overflow: hidden;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
}

#candlestick-chart {
    width: 100%;
    height: 100%;
    cursor: crosshair;
}

.chart-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 10;
}

.volume-chart {
    height: 100px;
    background: rgba(10, 25, 41, 0.5);
    border-top: 1px solid var(--border);
}

#volume-chart {
    width: 100%;
    height: 100%;
}

.terminal-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 25px;
    background: rgba(10, 25, 41, 0.8);
    border-top: 2px solid var(--border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    flex: 0 0 auto;
    min-height: auto;
}

.order-panel {
    background: rgba(26, 54, 93, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.order-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    background: rgba(10, 25, 41, 0.6);
    padding: 4px;
    border-radius: 10px;
    border: 1px solid var(--border);
}

.order-tab {
    flex: 1;
    padding: 14px 20px;
    background: rgba(10, 25, 41, 0.8);
    border: 2px solid var(--border);
    border-radius: 8px;
    color: var(--text-light);
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

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

.order-tab:hover::before {
    width: 300px;
    height: 300px;
}

.order-tab:hover {
    color: var(--accent-gold);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.order-tab.active {
    transform: translateY(-2px) !important;
    font-weight: 800 !important;
    z-index: 10;
    position: relative;
    border-width: 2px !important;
}

.order-tab.active::before {
    display: none !important;
}

.order-tab[data-type="buy"].active {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #10b981 100%) !important;
    background-size: 200% 200% !important;
    animation: gradientShift 3s ease infinite !important;
    color: white !important;
    border-color: #10b981 !important;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.5),
                0 0 20px rgba(16, 185, 129, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.order-tab[data-type="sell"].active {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #ef4444 100%) !important;
    background-size: 200% 200% !important;
    animation: gradientShift 3s ease infinite !important;
    color: white !important;
    border-color: #ef4444 !important;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.5),
                0 0 20px rgba(239, 68, 68, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.order-form .form-group {
    margin-bottom: 18px;
}

.order-form .form-group:last-of-type {
    margin-bottom: 20px;
}

.order-form .btn-block {
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 800;
    margin-top: 10px;
    background: linear-gradient(135deg, #d4af37 0%, #ffb347 50%, #d4af37 100%);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    color: var(--primary-dark);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4),
                0 0 20px rgba(212, 175, 55, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.order-form .btn-block::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.order-form .btn-block:hover::before {
    width: 400px;
    height: 400px;
}

.order-form .btn-block:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(212, 175, 55, 0.5),
                0 0 30px rgba(212, 175, 55, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
    animation-duration: 1.5s;
}

.order-form .btn-block:active {
    transform: translateY(-1px);
}

.order-form .btn-block i {
    font-size: 18px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.order-form .btn-block:hover i {
    transform: scale(1.1) rotate(5deg);
}

.order-form .form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

.order-form input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(10, 25, 41, 0.8);
    border: 2px solid var(--border);
    border-radius: 10px;
    color: var(--text-light);
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.order-form input:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(10, 25, 41, 0.9);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.order-form input[readonly] {
    background: rgba(10, 25, 41, 0.6);
    cursor: not-allowed;
    opacity: 0.8;
}

.active-orders-panel {
    background: rgba(26, 54, 93, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.active-orders-panel h4 {
    color: var(--accent-gold);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.active-orders-panel h4 i {
    font-size: 20px;
    filter: drop-shadow(0 2px 4px rgba(212, 175, 55, 0.3));
}

.orders-list {
    max-height: 300px;
    overflow-y: auto;
}

.order-item {
    padding: 12px;
    background: rgba(10, 25, 41, 0.5);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-item.buy {
    border-left: 3px solid var(--success);
}

.order-item.sell {
    border-left: 3px solid var(--danger);
}

.order-item-info {
    flex: 1;
}

.order-item-info strong {
    display: block;
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 4px;
}

.order-item-info span {
    font-size: 12px;
    color: var(--text-muted);
}

.order-item-price {
    font-weight: 700;
    color: var(--accent-gold);
    font-size: 16px;
}

.empty-state {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .terminal-panel {
        grid-template-columns: 1fr;
    }
    
    .terminal-container {
        min-height: calc(100vh - 120px);
        max-height: calc(100vh - 120px);
        overflow-y: auto;
    }
    
    .terminal-chart-container {
        max-height: 350px;
    }
    
    .ticker-content {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 12px;
    }
}

@media (max-width: 900px) {
    .ticker-content {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
    
    .sidebar {
        width: 240px;
    }
    
    .main-content {
        margin-left: 240px;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    width: 45px;
    height: 45px;
    background: var(--accent-gold);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
}

.mobile-menu-toggle:hover {
    background: rgba(212, 175, 55, 0.9);
    transform: scale(1.05);
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: #1a1929;
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Sidebar Close Button (Mobile) */
.sidebar-close {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 35px;
    height: 35px;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid var(--accent-gold);
    border-radius: 50%;
    color: var(--accent-gold);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s;
}

.sidebar-close:hover {
    background: var(--accent-gold);
    color: #1a1929;
}

@media (max-width: 768px) {
    /* Auth Page Mobile - Stack Layout */
    .auth-wrapper {
        flex-direction: column;
    }
    
    .auth-branding {
        flex: 0 0 auto;
        padding: 40px 30px;
        min-height: auto;
    }
    
    .logo-circle {
        width: 90px;
        height: 90px;
    }
    
    .logo-circle i {
        font-size: 40px;
    }
    
    .branding-title {
        font-size: 32px;
        margin-bottom: 10px;
    }
    
    .branding-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .branding-features {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 30px;
    }
    
    .feature-item {
        flex: 1 1 calc(50% - 5px);
        padding: 12px 15px;
        gap: 10px;
    }
    
    .feature-item i {
        font-size: 20px;
    }
    
    .feature-item span {
        font-size: 13px;
    }
    
    .auth-form-section {
        flex: 1;
        padding: 30px 20px;
    }
    
    .auth-form-container {
        padding: 30px 25px;
        border-radius: 20px;
    }
    
    .form-header h2 {
        font-size: 26px;
    }
    
    .form-header p {
        font-size: 14px;
    }
    
    .switch-btn {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group input {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .mobile-menu-toggle {
        display: flex;
        top: 15px;
        left: 15px;
        width: 40px;
        height: 40px;
        z-index: 1001;
    }
    
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        z-index: 1000;
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.5);
        width: 280px;
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .sidebar-close {
        display: flex;
    }
    
    .main-content {
        margin-left: 0;
        padding-top: 70px;
        padding-left: 0;
        padding-right: 0;
    }
    
    /* Overlay when sidebar is open */
    .sidebar.open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        z-index: -1;
        animation: fadeIn 0.3s;
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
    
    .top-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 20px 15px;
        padding-top: 15px;
        position: relative;
    }
    
    .top-bar-left {
        width: 100%;
        padding-left: 55px;
    }
    
    .page-title {
        font-size: 22px;
        margin-bottom: 2px;
    }
    
    .page-subtitle {
        font-size: 13px;
    }
    
    .top-bar-right {
        width: 100%;
    }
    
    .quick-stats {
        width: 100%;
        flex-direction: row;
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .quick-stat {
        flex: 1 1 calc(50% - 5px);
        min-width: 140px;
        padding: 10px 15px;
        gap: 10px;
    }
    
    .quick-stat i {
        font-size: 20px;
    }
    
    .quick-stat .stat-label {
        font-size: 11px;
    }
    
    .quick-stat .stat-value {
        font-size: 14px;
        font-weight: 700;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* View padding on mobile */
    .view {
        padding: 20px 15px;
    }
    
    .view-header {
        margin-bottom: 20px;
    }
    
    .view-header h2 {
        font-size: 20px;
    }
    
    /* Dashboard cards mobile */
    .dashboard-card {
        padding: 20px 15px;
        margin-bottom: 15px;
    }
    
    .stat-card {
        padding: 18px 15px;
    }
    
    .stat-card-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .stat-card-label {
        font-size: 12px;
        margin-bottom: 6px;
    }
    
    .stat-card-value {
        font-size: 22px;
    }
    
    /* Content sections */
    .section-header {
        margin-bottom: 15px;
    }
    
    .section-header h3 {
        font-size: 18px;
    }
    
    /* Tables mobile - wrapper scrolls horizontally */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        margin: 0 -15px 15px;
        padding: 0 15px;
    }
    
    .table-responsive table {
        min-width: 400px;
        font-size: 13px;
    }
    
    table {
        font-size: 13px;
    }
    
    /* Buttons mobile */
    .btn {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .btn-sm {
        padding: 8px 14px;
        font-size: 12px;
    }
    
    .flights-grid {
        grid-template-columns: 1fr;
    }
    
    .live-ticker-container {
        margin-bottom: 20px;
    }
    
    .ticker-header {
        padding: 12px 15px;
        font-size: 12px;
    }
    
    .ticker-scroll {
        padding: 15px;
    }
    
    .ticker-content {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .ticker-item {
        padding: 15px;
        gap: 10px;
    }
    
    .ticker-route {
        font-size: 14px;
        gap: 8px;
    }
    
    .ticker-route > span:not(.fi) {
        font-size: 14px;
    }
    
    .ticker-price {
        font-size: 20px;
    }
    
    /* Departure Board Mobile Styles */
    .departure-board-container {
        border-radius: 6px;
    }
    
    .board-header {
        flex-wrap: wrap;
        gap: 10px;
        padding: 12px 15px;
    }
    
    .board-title {
        font-size: 14px;
        letter-spacing: 2px;
    }
    
    .board-time {
        font-size: 14px;
    }
    
    .board-columns-header {
        display: none; /* Hide header on mobile */
    }
    
    .board-row {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 15px;
        border-left: 3px solid var(--accent-gold);
    }
    
    .board-cell {
        display: grid;
        grid-template-columns: 100px 1fr;
        gap: 10px;
        padding: 4px 0;
        font-size: 13px;
    }
    
    .board-cell.time::before { content: 'TIME: '; }
    .board-cell.airline::before { content: 'AIRLINE: '; }
    .board-cell.flight::before { content: 'FLIGHT: '; }
    .board-cell.route::before { content: 'ROUTE: '; }
    .board-cell.status::before { content: 'STATUS: '; }
    .board-cell.gate::before { content: 'GATE: '; }
    .board-cell.price::before { content: 'PRICE: '; }
    
    .board-cell::before {
        font-size: 10px;
        color: #8b9dc3;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 700;
    }
    
    .board-cell.time {
        font-size: 16px;
    }
    
    .board-cell.price {
        font-size: 16px;
    }
    
    .status-badge-board {
        font-size: 10px;
        padding: 5px 10px;
    }
    
    /* Prepaid Card Responsive */
    .prepaid-card {
        width: 100%;
        max-width: 340px;
        height: auto;
        min-height: 214px;
    }
    
    .card-number {
        font-size: 16px;
        letter-spacing: 2px;
        padding: 8px 10px;
    }
    
    .card-amount {
        font-size: 20px;
    }
    
    .card-logo {
        font-size: 20px;
    }
    
    .card-chip {
        font-size: 24px;
    }
    
    .card-label {
        font-size: 8px;
    }
    
    .card-value {
        font-size: 12px;
    }
    
    /* Wallet Mobile */
    .wallet-container {
        padding: 20px 15px;
    }
    
    .wallet-tabs {
        gap: 8px;
        margin-bottom: 20px;
    }
    
    .wallet-tab {
        padding: 14px 16px;
        font-size: 13px;
    }
    
    /* Profile Mobile */
    .profile-container {
        padding: 15px;
    }
    
    .profile-form-container {
        padding: 20px 15px;
    }
    
    /* Support Mobile */
    .support-container {
        padding: 15px;
    }
    
    .ticket-card {
        padding: 15px;
    }
    
    .ticket-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    /* Trading Terminal Mobile Enhancements */
    .terminal-container {
        border-radius: 12px;
    }
    
    .terminal-header {
        padding: 12px 15px;
        flex-wrap: wrap;
    }
    
    .symbol-info {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .symbol-name {
        font-size: 14px;
    }
    
    .symbol-price {
        font-size: 16px;
    }
    
    .ohlc-display {
        flex-wrap: wrap;
        padding: 10px 15px;
    }
    
    .ohlc-item {
        flex: 1 1 calc(33.333% - 10px);
        min-width: 100px;
    }
    
    .ohlc-label {
        font-size: 10px;
    }
    
    .ohlc-value {
        font-size: 12px;
    }
}

/* Large Screens (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1600px;
    }
    
    .dashboard-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .terminal-panel {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        padding: 30px;
    }
    
    .order-panel,
    .active-orders-panel {
        padding: 30px;
    }
    
    .ticker-content {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .flights-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .card {
        padding: 30px;
    }
}

/* Extra Large Screens (1920px and up) */
@media (min-width: 1920px) {
    .container {
        max-width: 1800px;
    }
    
    .dashboard-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .flights-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .terminal-container {
        max-width: 1600px;
        margin: 0 auto;
    }
}

/* Tablet Styles for Departure Board */
@media (max-width: 1024px) and (min-width: 769px) {
    .board-columns-header,
    .board-row {
        grid-template-columns: 90px 100px 90px 1fr 120px 70px 100px;
        gap: 10px;
        padding: 12px 15px;
    }
    
    .board-cell {
        font-size: 12px;
    }
    
    .board-cell.time {
        font-size: 14px;
    }
    
    .board-cell.price {
        font-size: 14px;
    }
}

/* ========================================
   WALLET (DEPOSIT/WITHDRAW) STYLES
   ======================================== */

.wallet-container {
    background: rgba(26, 54, 93, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px;
    margin-top: 20px;
}

.wallet-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    background: transparent;
    padding: 0;
    border: none;
}

.wallet-tab {
    flex: 1;
    padding: 18px 28px;
    background: rgba(10, 25, 41, 0.8);
    border: 2px solid var(--border);
    border-radius: 12px;
    color: var(--text-light);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.wallet-tab:hover::before {
    left: 100%;
}

.wallet-tab i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.wallet-tab:hover {
    color: var(--accent-gold);
    background: rgba(26, 54, 93, 0.9);
    border-color: var(--accent-gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.wallet-tab:hover i {
    transform: scale(1.1);
}

.wallet-tab.active {
    background: linear-gradient(135deg, #d4af37 0%, #ffb347 50%, #d4af37 100%);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    color: var(--primary-dark);
    border-color: var(--accent-gold);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5), 
                0 0 20px rgba(212, 175, 55, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    font-weight: 800;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.wallet-tab.active i {
    transform: scale(1.15);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.wallet-tab.active::after {
    display: none;
}

.wallet-content {
    min-height: 400px;
}

.wallet-form-container {
    background: rgba(10, 25, 41, 0.8);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 35px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
}

.wallet-form-container h3 {
    color: var(--accent-gold);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wallet-form-container h3 i {
    font-size: 28px;
}

.wallet-form-container .form-group {
    margin-bottom: 24px;
}

.wallet-form-container label {
    display: block;
    color: var(--text-light);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.wallet-form-container input[type="number"],
.wallet-form-container input[type="text"],
.wallet-form-container select {
    width: 100%;
    padding: 14px 18px;
    background: rgba(26, 54, 93, 0.6);
    border: 2px solid var(--border);
    border-radius: 10px;
    color: var(--text-light);
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    outline: none;
}

.wallet-form-container input[type="number"]:focus,
.wallet-form-container input[type="text"]:focus,
.wallet-form-container select:focus {
    border-color: var(--accent-gold);
    background: rgba(26, 54, 93, 0.8);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.wallet-form-container input::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.wallet-form-container select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23d4af37' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 45px;
}

/* Currency Select with Icons */
.currency-select-wrapper {
    position: relative;
    width: 100%;
}

.currency-select-display {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(10, 25, 41, 0.8);
    border: 2px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.currency-select-display:hover {
    border-color: var(--accent-gold);
    background: rgba(26, 54, 93, 0.8);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.currency-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.currency-text {
    flex: 1;
    color: var(--text-light);
    font-weight: 600;
    font-size: 15px;
}

.currency-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 8px;
    background: rgba(26, 54, 93, 0.95);
    border: 2px solid var(--border);
    border-radius: 10px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.currency-dropdown::-webkit-scrollbar {
    width: 6px;
}

.currency-dropdown::-webkit-scrollbar-track {
    background: rgba(10, 25, 41, 0.5);
    border-radius: 10px;
}

.currency-dropdown::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 10px;
}

.currency-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.currency-option:last-child {
    border-bottom: none;
}

.currency-option:hover {
    background: rgba(212, 175, 55, 0.1);
}

.currency-option img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.currency-option span {
    flex: 1;
    color: var(--text-light);
    font-weight: 500;
    font-size: 14px;
}

.wallet-form-container .btn-block {
    width: 100%;
    padding: 18px 24px;
    font-size: 16px;
    font-weight: 800;
    margin-top: 20px;
    background: linear-gradient(135deg, #d4af37 0%, #ffb347 50%, #d4af37 100%);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    color: var(--primary-dark);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4),
                0 0 20px rgba(212, 175, 55, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wallet-form-container .btn-block::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.wallet-form-container .btn-block:hover::before {
    width: 400px;
    height: 400px;
}

.wallet-form-container .btn-block:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 35px rgba(212, 175, 55, 0.5),
                0 0 30px rgba(212, 175, 55, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
    animation-duration: 1.5s;
}

.wallet-form-container .btn-block:active {
    transform: translateY(-2px);
}

.wallet-form-container .btn-block i {
    font-size: 18px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.wallet-form-container .btn-block:hover i {
    transform: scale(1.1) rotate(5deg);
}

/* Transactions List */
.transactions-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.transaction-item {
    background: rgba(10, 25, 41, 0.8);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.transaction-item:hover {
    background: rgba(26, 54, 93, 0.6);
    border-color: var(--accent-gold);
    transform: translateX(5px);
}

.transaction-type {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.transaction-type.deposit {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
    border: 1px solid var(--success);
}

.transaction-type.withdrawal {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger);
    border: 1px solid var(--danger);
}

.transaction-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.transaction-amount {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-light);
}

.transaction-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
}

.transaction-status.status-waiting {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning);
    border: 1px solid var(--warning);
}

.transaction-status.status-confirmed,
.transaction-status.status-finished {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
    border: 1px solid var(--success);
}

.transaction-status.status-failed {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger);
    border: 1px solid var(--danger);
}

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

/* ========================================
   PROFILE STYLES
   ======================================== */

.profile-container {
    background: rgba(26, 54, 93, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px;
    margin-top: 20px;
}

.profile-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.profile-form-container h3 {
    color: var(--accent-gold);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border);
}

.profile-form-container hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 30px 0;
}

.profile-form-container .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.profile-form-container .form-group {
    margin-bottom: 20px;
}

.profile-form-container label {
    display: block;
    color: var(--text-light);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.profile-form-container input[type="text"],
.profile-form-container input[type="email"],
.profile-form-container input[type="tel"],
.profile-form-container input[type="date"],
.profile-form-container textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(10, 25, 41, 0.8);
    border: 2px solid var(--border);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 14px;
    transition: all 0.3s ease;
    outline: none;
}

.profile-form-container input:focus,
.profile-form-container textarea:focus {
    border-color: var(--accent-gold);
    background: rgba(26, 54, 93, 0.6);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

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

/* ========================================
   SUPPORT STYLES
   ======================================== */

.support-container {
    background: rgba(26, 54, 93, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px;
    margin-top: 20px;
}

.tickets-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ticket-item {
    background: rgba(10, 25, 41, 0.8);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ticket-item:hover {
    background: rgba(26, 54, 93, 0.6);
    border-color: var(--accent-gold);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

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

.ticket-id {
    font-weight: 700;
    color: var(--accent-gold);
    font-size: 14px;
}

.ticket-status {
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ticket-status.status-open {
    background: rgba(59, 130, 246, 0.2);
    color: var(--info);
    border: 1px solid var(--info);
}

.ticket-status.status-in_progress {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning);
    border: 1px solid var(--warning);
}

.ticket-status.status-resolved {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
    border: 1px solid var(--success);
}

.ticket-status.status-closed {
    background: rgba(148, 163, 184, 0.2);
    color: var(--text-muted);
    border: 1px solid var(--text-muted);
}

.ticket-subject {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 10px;
}

.ticket-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: var(--text-muted);
}

.ticket-category {
    text-transform: uppercase;
    font-weight: 600;
}

.ticket-details {
    padding: 20px;
}

.ticket-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
}

.ticket-message {
    background: rgba(10, 25, 41, 0.6);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 3px solid var(--accent-gold);
}

.ticket-message strong {
    color: var(--accent-gold);
    display: block;
    margin-bottom: 10px;
}

.ticket-replies {
    margin-top: 25px;
}

.ticket-replies h4 {
    color: var(--accent-gold);
    margin-bottom: 15px;
    font-size: 16px;
}

.reply-item {
    background: rgba(10, 25, 41, 0.6);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 12px;
    border-left: 3px solid var(--primary-blue-light);
}

.reply-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.reply-author strong {
    color: var(--accent-gold);
    font-size: 14px;
}

.reply-author span {
    font-size: 12px;
    color: var(--text-muted);
}

.reply-message {
    color: var(--text-light);
    line-height: 1.6;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 25, 41, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: rgba(26, 54, 93, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    position: relative;
}

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

.modal-header h3 {
    color: var(--accent-gold);
    font-size: 22px;
    font-weight: 700;
}

.modal-body {
    padding: 10px 0;
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(10, 25, 41, 0.8);
    border: 2px solid var(--border);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 14px;
    transition: all 0.3s ease;
    outline: none;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-gold);
    background: rgba(26, 54, 93, 0.6);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

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

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

.empty-state i {
    font-size: 48px;
    color: var(--accent-gold);
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state p {
    font-size: 16px;
    margin-bottom: 20px;
}

/* Error Message */
.error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--danger);
    color: var(--danger);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    margin: 20px 0;
}

/* Loading State */
.loading-state {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
}

.loading-state i {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--accent-gold);
}

/* ========================================
   COMPREHENSIVE RESPONSIVE STYLES
   ======================================== */

/* Extra Small Devices (phones, 480px and down) */
@media (max-width: 480px) {
    /* Dashboard */
    .dashboard-header h1 {
        font-size: 24px;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .stat-card .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .stat-card .stat-value {
        font-size: 24px;
    }
    
    .stat-card .stat-label {
        font-size: 11px;
    }
    
    /* Trading Terminal */
    .terminal-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 12px 15px;
    }
    
    .terminal-symbol-selector {
        width: 100%;
    }
    
    .flight-selector {
        width: 100%;
        min-width: auto;
    }
    
    .terminal-toolbar {
        width: 100%;
        flex-wrap: wrap;
    }
    
    .timeframe-selector {
        width: 100%;
    }
    
    .ohlc-display {
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px 15px;
    }
    
    .ohlc-item {
        flex: 1 1 calc(50% - 5px);
        min-width: 120px;
    }
    
    .terminal-panel {
        grid-template-columns: 1fr;
        padding: 15px;
        gap: 15px;
    }
    
    .order-tabs {
        gap: 8px;
        padding: 3px;
    }
    
    .order-tab {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    /* Forms */
    .wallet-form-container,
    .profile-form-container {
        padding: 20px 15px;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    /* Tables */
    .trades-table {
        font-size: 12px;
    }
    
    .trades-table th,
    .trades-table td {
        padding: 10px 8px;
    }
    
    /* Cards */
    .card {
        padding: 15px;
    }
    
    .card-header h3 {
        font-size: 16px;
    }
    
    /* Buttons */
    .btn {
        padding: 12px 20px;
        font-size: 13px;
    }
    
    .btn-block {
        padding: 14px 20px;
    }
    
    /* Top Bar */
    .top-bar {
        padding: 12px 15px;
    }
    
    .user-menu {
        font-size: 12px;
    }
    
    /* Disclaimer Banner */
    .disclaimer-banner {
        padding: 12px 15px;
        font-size: 11px;
        gap: 8px;
        margin-bottom: 15px;
    }
    
    .disclaimer-banner i {
        font-size: 16px;
    }
    
    .disclaimer-banner strong {
        font-size: 12px;
    }
}

/* Extra Small Devices (phones, 480px and down) */
@media (max-width: 480px) {
    .mobile-menu-toggle {
        top: 12px;
        left: 12px;
        width: 36px;
        height: 36px;
        padding: 6px;
    }
    
    .mobile-menu-toggle span {
        height: 2.5px;
    }
    
    .main-content {
        padding-top: max(60px, env(safe-area-inset-top));
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }
    
    .top-bar {
        padding: 15px 12px;
        padding-top: max(12px, env(safe-area-inset-top));
    }
    
    .mobile-menu-toggle {
        top: max(12px, env(safe-area-inset-top));
        left: max(12px, env(safe-area-inset-left));
    }
    
    .top-bar-left {
        padding-left: 48px;
    }
    
    .page-title {
        font-size: 20px;
    }
    
    .page-subtitle {
        font-size: 12px;
    }
    
    .quick-stats {
        flex-direction: column;
        gap: 8px;
    }
    
    .quick-stat {
        flex: 1 1 100%;
        min-width: 100%;
        padding: 10px 12px;
    }
    
    .view {
        padding: 15px 12px;
    }
    
    .dashboard-card,
    .stat-card {
        padding: 15px 12px;
        margin-bottom: 12px;
    }
    
    .stat-card-value {
        font-size: 20px;
    }
    
    .stat-card-icon {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }
    
    .btn:not(.btn-inline) {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    /* Full-width buttons only when block or in column context */
    .view .btn-block,
    .auth-form .btn-primary,
    .form-actions .btn {
        width: 100%;
    }
    
    .disclaimer-banner {
        padding: 10px 12px;
        font-size: 10px;
        flex-wrap: wrap;
    }
    
    .disclaimer-banner i {
        font-size: 14px;
    }
    
    .disclaimer-banner strong {
        font-size: 11px;
    }
    
    /* Auth Page Extra Small Mobile */
    .auth-branding {
        padding: 30px 20px;
    }
    
    .logo-circle {
        width: 80px;
        height: 80px;
    }
    
    .logo-circle i {
        font-size: 35px;
    }
    
    .branding-title {
        font-size: 28px;
    }
    
    .branding-subtitle {
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    .branding-features {
        flex-direction: column;
        gap: 8px;
        margin-top: 25px;
    }
    
    .feature-item {
        flex: 1 1 100%;
        padding: 10px 12px;
    }
    
    .auth-form-section {
        padding: 20px 15px;
    }
    
    .auth-form-container {
        padding: 25px 20px;
        border-radius: 16px;
    }
    
    .form-header h2 {
        font-size: 24px;
    }
    
    .switch-btn {
        padding: 10px 14px;
        font-size: 13px;
        gap: 8px;
    }
    
    .switch-btn i {
        font-size: 14px;
    }
    
    .form-group label {
        font-size: 13px;
    }
    
    .form-group input {
        padding: 11px 14px;
        font-size: 14px;
    }
    
    .btn-primary {
        padding: 12px 18px;
        font-size: 14px;
    }
}

/* Small Devices (phones, 768px and down) */
/* Deposit Modal */
.deposit-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 25, 41, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
    padding: 20px;
}

.deposit-modal-content {
    background: rgba(26, 54, 93, 0.95);
    border: 2px solid var(--accent-gold);
    border-radius: 20px;
    padding: 30px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    max-height: 90vh;
    overflow-y: auto;
}

.deposit-modal-content h2 {
    color: var(--accent-gold);
    margin: 0 0 25px 0;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.deposit-modal-content .close-btn {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 24px;
    cursor: pointer;
    padding: 5px 10px;
    transition: all 0.3s;
}

.deposit-modal-content .close-btn:hover {
    color: var(--accent-gold);
    transform: rotate(90deg);
}

.deposit-qr-container {
    background: rgba(10, 25, 41, 0.8);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.deposit-qr-code {
    width: 250px;
    height: 250px;
    border: 3px solid var(--accent-gold);
    border-radius: 12px;
    padding: 10px;
    background: white;
    margin: 0 auto 20px;
}

.deposit-address-container {
    margin-bottom: 15px;
}

.deposit-address-container label {
    display: block;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.deposit-address-input {
    display: flex;
    gap: 10px;
    align-items: center;
}

.deposit-address-input input {
    flex: 1;
    padding: 12px;
    background: rgba(10, 25, 41, 0.9);
    border: 2px solid var(--border);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 13px;
    font-family: 'Courier New', monospace;
    word-break: break-all;
}

.deposit-address-input button {
    padding: 12px 20px;
    background: var(--gradient-gold);
    color: var(--primary-dark);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s;
}

.deposit-address-input button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.deposit-address-input button.copied {
    background: var(--success);
}

.deposit-warning {
    background: rgba(212, 175, 55, 0.1);
    border-left: 3px solid var(--accent-gold);
    padding: 12px;
    border-radius: 6px;
    margin-top: 15px;
}

.deposit-warning-header {
    color: var(--accent-gold);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.deposit-warning-text {
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.5;
}

/* Transaction Item Enhancements */
.transaction-item {
    background: rgba(26, 54, 93, 0.6);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.transaction-item:hover {
    background: rgba(26, 54, 93, 0.8);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.transaction-item.deposit {
    border-left: 4px solid var(--success);
}

.transaction-item.withdrawal {
    border-left: 4px solid var(--danger);
}

.transaction-address {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.transaction-address-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.transaction-address-value {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: var(--text-light);
    word-break: break-all;
    background: rgba(10, 25, 41, 0.5);
    padding: 8px 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.transaction-address-value code {
    flex: 1;
    word-break: break-all;
}

.transaction-qr-toggle {
    background: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 11px;
    transition: all 0.3s;
}

.transaction-qr-toggle:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
}

.transaction-qr-code {
    margin-top: 12px;
    text-align: center;
    padding: 15px;
    background: rgba(10, 25, 41, 0.5);
    border-radius: 8px;
}

.transaction-qr-code img {
    width: 200px;
    height: 200px;
    border: 2px solid var(--accent-gold);
    border-radius: 8px;
    padding: 8px;
    background: white;
}

/* Cancel Transaction Button */
.cancel-transaction-btn {
    padding: 8px 16px;
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger);
    border: 1px solid var(--danger);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cancel-transaction-btn:hover {
    background: rgba(239, 68, 68, 0.3);
    border-color: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.cancel-transaction-btn:active {
    transform: translateY(0);
}

.cancel-transaction-btn i {
    font-size: 14px;
}

/* Responsive Wallet */
@media (max-width: 768px) {
    .wallet-tabs {
        flex-direction: column;
    }
    
    .wallet-form-container {
        padding: 20px;
    }
    
    .profile-form-container .form-row {
        grid-template-columns: 1fr;
    }
    
    .transaction-item {
        flex-direction: column;
        align-items: flex-start;
    }
}
