/* ==========================================================
   NAXORATRADE - PREMIUM GLASSMORPHIC DARK STYLE SYSTEM
   ========================================================== */

/* Theme Colors & Tokens */
:root {
    --bg-main: #07090e;
    --bg-card: rgba(13, 18, 27, 0.7);
    --bg-card-hover: rgba(20, 27, 41, 0.85);
    --border-color: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(0, 255, 118, 0.3);
    
    /* Glowing Neons */
    --primary-neon: #00f076;
    --primary-neon-glow: rgba(0, 240, 118, 0.35);
    --secondary-neon: #00e5ff;
    --secondary-neon-glow: rgba(0, 229, 255, 0.35);
    --accent-purple: #8e2de2;
    --accent-purple-glow: rgba(142, 45, 226, 0.35);
    --accent-red: #ff3860;
    --accent-red-glow: rgba(255, 56, 96, 0.35);
    
    /* Screenshot Specific Branding Colors */
    --primary-green: #00c05a;
    --accent-red-solid: #ff1d53;
    --accent-yellow: #f59e0b; /* Orange price color from screenshots */
    
    --text-primary: #f5f6fa;
    --text-secondary: #8f9cae;
    --text-muted: #53627c;
    
    --font-family: 'Inter', sans-serif;
    --sidebar-width: 260px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --glow-shadow: 0 0 20px rgba(0, 240, 118, 0.15);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-family);
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-neon);
}

/* Utility Classes */
.hidden { display: none !important; }
.text-green { color: var(--primary-green) !important; }
.text-cyan { color: var(--secondary-neon) !important; }
.text-purple { color: var(--accent-purple) !important; }
.text-accent-red { color: var(--accent-red-solid) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-center { text-align: center; }

.gradient-text {
    background: linear-gradient(135deg, var(--primary-neon) 0%, var(--secondary-neon) 50%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glassmorphism Card Style */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}
.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

/* Buttons */
.btn {
    font-weight: 600;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-neon) 0%, var(--secondary-neon) 100%);
    color: #000;
    box-shadow: 0 4px 15px var(--primary-neon-glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-neon-glow), 0 0 10px var(--secondary-neon-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-neon);
}

.btn-full { width: 100%; }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-sm { padding: 8px 16px; font-size: 12px; }

/* Inputs */
.input-container {
    position: relative;
    margin-bottom: 16px;
    width: 100%;
}
.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}
.input-container input {
    width: 100%;
    padding: 14px 14px 14px 46px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    outline: none;
    font-size: 14px;
    transition: var(--transition);
}
.input-container input:focus {
    border-color: var(--primary-neon);
    background: rgba(255, 255, 255, 0.08);
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
    text-align: left;
}
.input-group label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}
.input-group input, .dropdown-custom {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}
.input-group input:focus, .dropdown-custom:focus {
    border-color: var(--primary-neon);
}

.input-addon-wrap {
    display: flex;
    position: relative;
}
.input-addon-wrap input {
    flex: 1;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.input-addon-wrap .addon {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color);
    border-left: none;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    color: var(--text-secondary);
    font-size: 14px;
}

/* ==========================================================
   LANDING PAGE LAYOUT (BEFORE LOGIN)
   ========================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(7, 9, 14, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 1px;
}
.logo-img {
    height: 28px;
    width: auto;
}
.logo-text {
    background: linear-gradient(135deg, #fff 30%, var(--secondary-neon) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}
.nav-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
}
.nav-menu a:hover { color: var(--primary-neon); }
.nav-actions { display: flex; gap: 16px; }
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    padding: 160px 24px 80px 24px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}
.grid-container {
    display: grid;
    gap: 40px;
    align-items: center;
}
.hero-grid { grid-template-columns: 1.2fr 0.8fr; }
.badge-accent {
    background: rgba(0, 240, 118, 0.1);
    color: var(--primary-neon);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(0, 240, 118, 0.2);
    display: inline-flex;
    margin-bottom: 24px;
}
.hero-content h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}
.hero-desc {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 36px;
}
.hero-buttons { display: flex; gap: 16px; margin-bottom: 48px; }
.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
}
.stat-item h3 {
    font-size: 28px;
    font-weight: 700;
}
.stat-item p {
    color: var(--text-secondary);
    font-size: 13px;
    margin-top: 4px;
}

/* Mockup trading card decoration */
.hero-visual { position: relative; }
.trading-mockup {
    border-radius: 20px;
    border-color: rgba(255, 255, 255, 0.08);
}
.mockup-header {
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
    margin-bottom: 16px;
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: var(--accent-red); }
.dot.yellow { background: var(--accent-yellow); }
.dot.green { background: var(--primary-neon); }
.mockup-title {
    margin-left: 8px;
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 600;
}
.mockup-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.mockup-price { font-size: 24px; font-weight: 700; }
.price-change { font-size: 12px; font-weight: 600; }
.price-change.positive { color: var(--primary-neon); }
.mockup-time {
    font-size: 11px;
    background: rgba(255, 255, 255, 0.06);
    padding: 4px 8px;
    border-radius: 4px;
    color: var(--text-secondary);
}
.mockup-chart-lines {
    height: 140px;
    position: relative;
    border-bottom: 1px dashed var(--border-color);
    margin-bottom: 20px;
    background: linear-gradient(180deg, rgba(0, 240, 118, 0.08) 0%, transparent 100%);
}
.chart-line-decor {
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    height: 80px;
    border-top: 2px solid var(--primary-neon);
    filter: drop-shadow(0 0 8px var(--primary-neon-glow));
    border-radius: 50% 50% 0 0;
}
.mockup-stats { display: flex; justify-content: space-between; }
.m-stat { display: flex; flex-direction: column; gap: 4px; }
.m-stat span { font-size: 11px; color: var(--text-secondary); }
.m-stat strong { font-size: 13px; font-weight: 600; }

/* Ticker Section */
.ticker-section {
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    padding: 14px 0;
}
.ticker-wrap {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.ticker-item {
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ticker-item span { color: var(--text-secondary); }
.loading-text { font-size: 11px; color: var(--text-muted); }

/* Markets Section */
.markets-section { padding: 100px 24px; max-width: 1200px; margin: 0 auto; }
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 52px auto;
}
.section-header h2 { font-size: 36px; font-weight: 800; margin-bottom: 16px; }
.section-header p { color: var(--text-secondary); font-size: 15px; }

.markets-table-card { padding: 0; overflow: hidden; }
.markets-table { width: 100%; border-collapse: collapse; text-align: left; }
.markets-table th {
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-color);
    font-size: 12px;
    text-transform: uppercase;
    color: var(--text-secondary);
    font-weight: 600;
}
.markets-table td { padding: 18px 24px; border-bottom: 1px solid var(--border-color); font-size: 14px; }
.markets-table tbody tr { transition: var(--transition); }
.markets-table tbody tr:hover { background: rgba(255, 255, 255, 0.015); }

/* Plans Section */
.plans-section { padding: 80px 24px; max-width: 1200px; margin: 0 auto; }
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}
.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 20px;
}
.plan-badge {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 20px;
}
.plan-card h3 { font-size: 22px; margin-bottom: 16px; }
.plan-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    width: 100%;
    padding-bottom: 20px;
}
.plan-price .roi {
    font-size: 40px;
    font-weight: 800;
    color: var(--primary-neon);
    text-shadow: 0 0 10px var(--primary-neon-glow);
}
.plan-price .period { color: var(--text-secondary); font-size: 13px; }
.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    margin-bottom: 32px;
    font-size: 13px;
}
.plan-features li { display: flex; align-items: center; gap: 10px; color: var(--text-secondary); }
.plan-features strong { color: var(--text-primary); }

.premium-card { border-color: var(--primary-neon); box-shadow: var(--glow-shadow); }
.plan-badge-top {
    position: absolute;
    top: -12px;
    right: 24px;
    background: var(--primary-neon);
    color: #000;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 12px;
}

/* Why choose us */
.about-section { padding: 100px 24px; max-width: 1200px; margin: 0 auto; border-top: 1px solid var(--border-color); }
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.about-card {
    text-align: center;
    padding: 32px 24px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    background: rgba(13, 18, 27, 0.4);
    transition: var(--transition);
}
.about-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.12); }
.about-icon {
    font-size: 32px;
    color: var(--primary-neon);
    margin-bottom: 20px;
    filter: drop-shadow(0 0 6px var(--primary-neon-glow));
}
.about-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.about-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* FAQ Section */
.faq-section { max-width: 1200px; margin: 80px auto; padding: 0 24px; }
.faq-controls { display: flex; flex-direction: column; gap: 24px; margin-bottom: 40px; }
.faq-search-wrap { position: relative; width: 100%; max-width: 480px; }
.faq-search-wrap .search-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-secondary); font-size: 14px; }
.faq-search-wrap input { width: 100%; padding: 14px 16px 14px 44px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border-color); border-radius: 12px; color: #fff; font-size: 14px; outline: none; transition: var(--transition); }
.faq-search-wrap input:focus { border-color: var(--primary-neon); background: rgba(255, 255, 255, 0.06); }

.faq-filter-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.faq-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; background: rgba(255, 255, 255, 0.02); border: 1px solid var(--border-color); border-radius: 30px; color: var(--text-secondary); font-size: 13px; font-weight: 500; cursor: pointer; border: 1px solid var(--border-color); transition: var(--transition); }
.faq-pill:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.faq-pill.active { background: var(--accent-yellow); color: #000; border-color: var(--accent-yellow); font-weight: 600; }
.pill-count { font-size: 10px; background: rgba(0, 0, 0, 0.2); padding: 2px 6px; border-radius: 10px; color: inherit; }
.faq-pill.active .pill-count { background: rgba(0, 0, 0, 0.1); }

.faq-list { display: flex; flex-direction: column; gap: 16px; }
.faq-item { background: var(--bg-card); backdrop-filter: blur(12px); border: 1px solid var(--border-color); border-radius: 16px; overflow: hidden; transition: var(--transition); }
.faq-item:hover { border-color: rgba(255, 255, 255, 0.15); transform: translateY(-1px); }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; cursor: pointer; }
.faq-question h3 { font-size: 15px; font-weight: 600; color: var(--text-primary); margin: 0; line-height: 1.4; display: flex; align-items: center; gap: 12px; }
.faq-question h3::before { content: "\203A"; font-weight: 900; color: var(--accent-yellow); font-size: 18px; transition: transform 0.3s; display: inline-block; margin-right: 4px; }
.faq-item.active .faq-question h3::before { transform: rotate(90deg); }
.faq-question .chevron { color: var(--text-secondary); transition: transform 0.3s; font-size: 12px; }
.faq-item.active .chevron { transform: rotate(180deg); }

.faq-answer-wrap { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; }
.faq-answer { padding: 0 24px 20px 24px; color: var(--text-secondary); font-size: 13px; line-height: 1.6; border-top: 1px solid rgba(255, 255, 255, 0.02); padding-top: 16px; }
.faq-tags { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.faq-tag { font-size: 9px; text-transform: uppercase; letter-spacing: 0.5px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.06); padding: 2px 8px; border-radius: 4px; color: var(--text-muted); }

/* Still Help Section */
.still-help-section { max-width: 1200px; margin: 40px auto 80px auto; padding: 0 24px; }
.still-help-card { background: #fffbeb; border: 1px solid #fef3c7; border-radius: 20px; padding: 40px; text-align: center; color: #1e293b; }
.still-help-card h3 { font-size: 24px; font-weight: 800; color: #0f172a; margin-bottom: 8px; }
.still-help-card p { font-size: 14px; color: #475569; margin-bottom: 24px; }
.still-help-card .btn-primary { background: var(--accent-yellow); color: #000; border: none; font-weight: 700; box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2); }
.still-help-card .btn-primary:hover { background: #d97706; transform: translateY(-1px); }

/* Footer Update */
.footer { background: #07090e; border-top: 1px solid var(--border-color); padding: 80px 24px 40px 24px; }
.footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 2fr; gap: 64px; margin-bottom: 64px; }
.footer-brand { display: flex; flex-direction: column; gap: 20px; }
.footer-brand p { color: var(--text-secondary); font-size: 13px; line-height: 1.6; max-width: 320px; }
.footer-columns-wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; color: var(--accent-yellow); margin-bottom: 20px; letter-spacing: 0.5px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a { text-decoration: none; color: var(--text-secondary); font-size: 13px; transition: var(--transition); }
.footer-col ul a:hover { color: var(--primary-neon); }
.footer-bottom { text-align: center; border-top: 1px solid var(--border-color); padding-top: 32px; }
.footer-bottom p { font-size: 11px; color: var(--text-muted); line-height: 1.5; }


/* ==========================================================
   USER DASHBOARD LAYOUT (RESTORED SIDEBAR SYSTEM)
   ========================================================== */
.dashboard-layout { display: flex; min-height: 100vh; width: 100%; }

.db-sidebar {
    width: var(--sidebar-width);
    background: #0b0e14;
    border-right: 1px solid var(--border-color);
    padding: 24px;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 10;
    transition: var(--transition);
}
.db-logo-section { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; margin-bottom: 32px; }
.db-user-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 28px;
}
.user-avatar { font-size: 32px; }
.user-details h4 { font-size: 13px; font-weight: 600; }
.kyc-badge { font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 4px; display: inline-block; margin-top: 4px; }
.status-pending { background: rgba(255, 188, 0, 0.1); color: #ffbc00; }
.status-approved { background: rgba(0, 240, 118, 0.1); color: var(--primary-neon); }
.status-rejected { background: rgba(255, 56, 96, 0.1); color: var(--accent-red); }

.sidebar-nav { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.sidebar-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 13px;
    transition: var(--transition);
}
.sidebar-link:hover { color: var(--text-primary); background: rgba(255, 255, 255, 0.03); }
.sidebar-link.active {
    background: rgba(0, 240, 118, 0.08);
    color: var(--primary-neon);
    font-weight: 600;
    border-left: 3px solid var(--primary-neon);
}
.sidebar-footer { border-top: 1px solid var(--border-color); padding-top: 20px; }

/* Dashboard Main panel */
.db-main { flex: 1; margin-left: var(--sidebar-width); padding: 32px; min-height: 100vh; background: #080a0f; }
.db-topbar { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border-color); padding-bottom: 20px; margin-bottom: 32px; }
.db-title-wrap h2 { font-size: 24px; font-weight: 800; }
.db-title-wrap .subtitle { font-size: 12px; color: var(--text-secondary); margin-top: 4px; display: block; }
.quick-balance-box { text-align: right; }
.quick-balance-box span { font-size: 11px; color: var(--text-secondary); }
.quick-balance-box strong { font-size: 20px; font-weight: 700; display: block; margin-top: 2px; }

.mobile-sidebar-toggle { display: none; background: transparent; border: none; color: var(--text-primary); font-size: 20px; cursor: pointer; }

/* Balances Grid */
.balance-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-bottom: 32px; }
.balance-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 140px; }
.balance-card .b-label { font-size: 12px; color: var(--text-secondary); text-transform: uppercase; font-weight: 500; }
.balance-card .b-value { font-size: 32px; font-weight: 800; margin: 10px 0; }
.balance-card .b-subtext { font-size: 11px; color: var(--text-secondary); }
.main-wallet {
    border-color: rgba(0, 240, 118, 0.15);
    background: linear-gradient(135deg, rgba(13, 18, 27, 0.9) 0%, rgba(0, 240, 118, 0.02) 100%);
}
.card-action-row { display: flex; gap: 8px; margin-top: 10px; }

/* Double layouts */
.db-double-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; margin-bottom: 32px; }
.block-card { height: 100%; }
.block-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 20px; border-bottom: 1px solid var(--border-color); padding-bottom: 12px; }

.market-quick-list { display: flex; flex-direction: column; gap: 12px; }
.market-quick-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
}
.mq-left { display: flex; align-items: center; gap: 12px; }
.mq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--secondary-neon);
    font-size: 11px;
}
.mq-details span { font-size: 12px; font-weight: 600; display: block; }
.mq-details small { font-size: 10px; color: var(--text-secondary); }
.mq-right { text-align: right; }
.mq-price { font-size: 13px; font-weight: 600; display: block; }
.mq-change { font-size: 10px; font-weight: 600; }

/* Blank states */
.blank-state { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 160px; text-align: center; }
.blank-icon { font-size: 32px; color: var(--text-muted); margin-bottom: 14px; }
.blank-state p { font-size: 12px; color: var(--text-secondary); margin-bottom: 16px; max-width: 240px; }

.active-plan-status { background: rgba(255, 255, 255, 0.015); border: 1px dashed var(--border-color); border-radius: 12px; padding: 16px; }
.plan-status-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; border-bottom: 1px dashed var(--border-color); padding-bottom: 12px; }
.badge-status { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 12px; }
.plan-meters { display: flex; flex-direction: column; gap: 12px; }
.meter-labels { display: flex; justify-content: space-between; font-size: 12px; }
.meter-progress { width: 100%; height: 6px; background: rgba(255, 255, 255, 0.05); border-radius: 3px; overflow: hidden; }
.progress-bar-fill {
    height: 100%;
    background: var(--primary-neon);
    border-radius: 3px;
    box-shadow: 0 0 8px var(--primary-neon);
    transition: width 1s linear;
}
.table-scroll-container { overflow-x: auto; width: 100%; }

/* Recent Tx list */
.recent-transactions-card { margin-top: 24px; }
.recent-transactions-card h3 { font-size: 16px; margin-bottom: 16px; }


/* ==========================================================
   LIVE TRADE SECTION (MERGED WITH SCREENSHOT CONTROLS)
   ========================================================== */
.trade-grid { display: grid; grid-template-columns: 1fr 340px; gap: 20px; }
.trade-chart-column { display: flex; flex-direction: column; gap: 20px; }
.chart-container-card { padding: 16px; }
.chart-controls { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }

/* Custom grey pill dropdown for asset */
.pair-selector-wrap-relative { position: relative; }
.pair-pill-trigger {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
    transition: var(--transition);
}
.pair-pill-trigger:hover { background: rgba(255, 255, 255, 0.08); }
.pair-icon-circle {
    width: 20px;
    height: 20px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}
.custom-pair-dropdown {
    position: absolute;
    top: 110%;
    left: 0;
    background: #0f172a;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    width: 150px;
    z-index: 100;
}
.dropdown-pair-item { padding: 10px 16px; font-size: 13px; font-weight: 600; cursor: pointer; transition: var(--transition); }
.dropdown-pair-item:hover { background: rgba(255, 255, 255, 0.05); }

.metrics-row { display: flex; gap: 6px; }
.metric-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 11px;
    color: var(--text-secondary);
}

.tradingview-widget-container { height: 380px; width: 100%; background: rgba(0, 0, 0, 0.3); border-radius: 8px; overflow: hidden; }
.tradingview-widget-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; color: var(--text-secondary); gap: 12px; font-size: 13px; }

/* Time intervals bottom bar */
.chart-controls-bar { display: flex; align-items: center; gap: 8px; }
.time-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition);
}
.time-btn.active, .time-btn:hover { background: rgba(255,255,255,0.08); color: var(--text-primary); }
.divider-v { width: 1px; height: 18px; background: var(--border-color); margin: 0 4px; }
.chart-tool-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    width: 28px;
    height: 28px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--text-secondary);
}
.chart-tool-btn:hover { background: rgba(255,255,255,0.08); }

/* Right Execution Sidebar */
.trade-sidebar-column { display: flex; flex-direction: column; gap: 20px; }
.trade-execution-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.execution-header { border-bottom: 1px solid var(--border-color); padding-bottom: 14px; }
.exec-asset-name { font-size: 12px; color: var(--text-secondary); font-weight: 600; display: block; margin-bottom: 4px; }
.exec-current-price { font-size: 32px; font-weight: 700; color: var(--accent-yellow); }

.execution-form { display: flex; flex-direction: column; gap: 16px; }

/* Param Card adjusters */
.parameter-card { display: flex; flex-direction: column; gap: 8px; }
.parameter-label { font-size: 11px; font-weight: 600; color: var(--text-secondary); }
.adjuster-row {
    display: flex;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    height: 40px;
}
.adjust-btn {
    width: 44px;
    background: transparent;
    border: none;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition);
}
.adjust-btn:hover { background: rgba(255, 255, 255, 0.06); }
.param-input {
    flex: 1;
    border: none;
    background: transparent;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    outline: none;
}

.calc-details-list { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--border-color); padding-top: 16px; }
.calc-row { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-secondary); }
.calc-row strong { color: var(--text-primary); }

.trade-buttons-container { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.btn-trade-buy, .btn-trade-sell {
    width: 100%;
    padding: 12px 0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    color: #ffffff;
    transition: var(--transition);
}
.btn-trade-buy { background: var(--primary-green); box-shadow: 0 4px 12px rgba(0, 192, 90, 0.2); }
.btn-trade-buy:hover { background: #00a04b; transform: translateY(-1px); }
.btn-trade-sell { background: var(--accent-red-solid); box-shadow: 0 4px 12px rgba(255, 29, 83, 0.2); }
.btn-trade-sell:hover { background: #d61443; transform: translateY(-1px); }

/* Positions */
.active-positions-card h3 { font-size: 15px; margin-bottom: 12px; }

/* Order Book Component */
.order-book-card h4 { font-size: 14px; margin-bottom: 12px; border-bottom: 1px solid var(--border-color); padding-bottom: 8px; }
.order-book-grids { display: flex; flex-direction: column; }
.ob-mid-price { display: flex; justify-content: space-between; align-items: center; padding: 8px 4px; background: rgba(255, 255, 255, 0.02); margin: 6px 0; border-radius: 4px; font-size: 12px; font-weight: 700; }
.ob-list { display: flex; flex-direction: column; gap: 4px; }
.ob-row { display: flex; justify-content: space-between; font-size: 11px; font-family: monospace; padding: 2px 4px; position: relative; z-index: 1; }
.ob-row .ob-bg-bar { position: absolute; right: 0; top: 0; height: 100%; z-index: -1; }
.ob-asks .ob-price { color: var(--accent-red-solid); }
.ob-bids .ob-price { color: var(--primary-green); }


/* ==========================================================
   DEPOSIT & WITHDRAW PANELS
   ========================================================== */
.max-width-card-wrap { max-width: 600px; margin: 0 auto; }
.deposit-panel, .withdrawal-panel { border-radius: 20px; }
.deposit-panel h3, .withdrawal-panel h3 { margin-bottom: 8px; }
.deposit-panel .description, .withdrawal-panel .description { font-size: 12px; color: var(--text-secondary); margin-bottom: 24px; }

.address-wallet-area {
    display: flex;
    gap: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}
.qr-code-box { flex-shrink: 0; }
.qr-code-placeholder {
    width: 100px;
    height: 100px;
    background: #fff;
    border-radius: 8px;
    padding: 8px;
    background-image: 
        radial-gradient(circle, #000 30%, transparent 35%),
        radial-gradient(circle, #000 30%, transparent 35%),
        radial-gradient(circle, #000 30%, transparent 35%);
    background-position: 10px 10px, 60px 10px, 10px 60px;
    background-size: 25px 25px;
    background-repeat: no-repeat;
    position: relative;
}
.qr-code-placeholder::before {
    content: '';
    position: absolute;
    top: 38px;
    left: 38px;
    width: 24px;
    height: 24px;
    background: var(--bg-main);
    border-radius: 4px;
    border: 2px solid #000;
}
.wallet-address-box { display: flex; flex-direction: column; justify-content: space-between; flex-grow: 1; }
.wallet-address-box .label { font-size: 11px; color: var(--text-secondary); }
.wallet-address-copy-row { display: flex; gap: 8px; margin: 6px 0; }
.wallet-address-copy-row input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    padding: 8px 12px;
    font-size: 12px;
    outline: none;
    font-family: monospace;
}
.alert-text { font-size: 10px; color: #ffbc00; line-height: 1.4; }

/* Referral Link Card */
.referral-hero-card {
    background: linear-gradient(135deg, rgba(13, 18, 27, 0.8) 0%, rgba(142, 45, 226, 0.05) 100%);
    border-color: rgba(142, 45, 226, 0.15);
    margin-bottom: 24px;
}
.referral-hero-card p { font-size: 13px; color: var(--text-secondary); margin: 10px 0 20px 0; }
.referral-link-generator {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 16px;
    border: 1px solid var(--border-color);
}
.referral-link-generator label { font-size: 11px; color: var(--text-secondary); }

.referred-users-card h3 { font-size: 16px; margin-bottom: 16px; }

/* History logs */
.flex-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 16px; }
.filter-controls { display: flex; background: rgba(255, 255, 255, 0.03); border-radius: 6px; padding: 4px; border: 1px solid var(--border-color); }
.filter-tab {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition);
}
.filter-tab.active { background: rgba(255, 255, 255, 0.08); color: var(--primary-neon); }

/* badging table status */
.badge-tbl { font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 20px; display: inline-block; }


/* ==========================================================
   ADMIN SIMULATOR BACK-OFFICE
   ========================================================== */
.admin-alert-bar {
    background: linear-gradient(90deg, rgba(142, 45, 226, 0.15) 0%, transparent 100%);
    border-color: rgba(142, 45, 226, 0.25);
    margin-bottom: 24px;
}
.admin-alert-bar h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.admin-alert-bar p { font-size: 12px; color: var(--text-secondary); }

/* Admin Sub-tabs Navigation */
.admin-subtabs-row { display: flex; gap: 8px; background: rgba(255,255,255,0.03); border: 1px solid var(--border-color); padding: 4px; border-radius: 8px; margin-bottom: 20px; }
.admin-subtab-btn { flex: 1; background: transparent; border: none; color: var(--text-secondary); padding: 10px; font-size: 12px; font-weight: 700; cursor: pointer; border-radius: 6px; transition: var(--transition); }
.admin-subtab-btn.active { background: var(--primary-neon); color: #000; }

.admin-top-controls-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 20px; margin-bottom: 24px; }
.admin-control-card h4 { font-size: 15px; border-bottom: 1px solid var(--border-color); padding-bottom: 10px; margin-bottom: 16px; }
.input-row-flex { display: flex; gap: 16px; }
.input-row-flex .input-group { flex: 1; }
.admin-fast-buttons { display: flex; flex-direction: column; gap: 10px; }
.admin-requests-card { margin-top: 20px; }
.admin-requests-card h4 { font-size: 14px; margin-bottom: 16px; }

/* Admin Live Chats grids */
.admin-chat-grid-layout { display: grid; grid-template-columns: 240px 1fr; gap: 20px; height: 420px; overflow: hidden; border-radius: 10px; border: 1px solid var(--border-color); }
.admin-chat-users-list { background: rgba(255,255,255,0.02); border-right: 1px solid var(--border-color); display: flex; flex-direction: column; }
.admin-chat-users-list h5 { padding: 14px; font-size: 12px; border-bottom: 1px solid var(--border-color); }
.conversations-holder { overflow-y: auto; flex: 1; }
.admin-chat-user-pill { padding: 12px 14px; cursor: pointer; border-bottom: 1px solid var(--border-color); transition: var(--transition); }
.admin-chat-user-pill:hover { background: rgba(255,255,255,0.03); }
.admin-chat-user-pill.active { background: rgba(0, 240, 118, 0.08); color: var(--primary-neon); }
.admin-chat-user-pill strong { font-size: 12px; display: block; }
.admin-chat-user-pill span { font-size: 10px; color: var(--text-secondary); }

.admin-chat-thread-box { display: flex; flex-direction: column; background: rgba(0, 0, 0, 0.1); }
.admin-chat-header-user { padding: 14px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; }
.admin-chat-header-user strong { font-size: 13px; }
.admin-chat-header-user span { font-size: 11px; }

.admin-chat-messages { flex: 1; padding: 16px; overflow-y: auto; background: rgba(0, 0, 0, 0.2); display: flex; flex-direction: column; gap: 12px; }
.empty-chat-log { display: flex; height: 100%; justify-content: center; align-items: center; font-size: 12px; color: var(--text-muted); }
.admin-chat-input-wrap { display: flex; padding: 14px; border-top: 1px solid var(--border-color); gap: 10px; }
.admin-chat-input-wrap input { flex: 1; padding: 10px 14px; background: rgba(255,255,255,0.04); border: 1px solid var(--border-color); border-radius: 6px; font-size: 13px; color: #fff; outline: none; }


/* ==========================================================
   MODALS AND DIALOGS
   ========================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.modal-card {
    max-width: 440px;
    width: 100%;
    position: relative;
    border-radius: 20px;
    text-align: center;
}
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
}
.modal-close:hover { color: var(--text-primary); }

.auth-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    padding: 4px;
    margin: 16px 0 24px 0;
    border: 1px solid var(--border-color);
}
.auth-tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    transition: var(--transition);
}
.auth-tab-btn.active { background: rgba(255, 255, 255, 0.08); color: var(--primary-neon); }

.forgot-pass-wrap { display: flex; justify-content: space-between; align-items: center; font-size: 12px; margin-bottom: 24px; color: var(--text-secondary); }
.remember-me { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.forgot-link { color: var(--secondary-neon); text-decoration: none; }
.forgot-link:hover { text-decoration: underline; }

.terms-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 11px;
    color: var(--text-secondary);
    text-align: left;
    margin-bottom: 24px;
    line-height: 1.4;
    cursor: pointer;
}
.terms-label input { margin-top: 2px; }


/* ==========================================================
   FLOATING CUSTOMER CHAT WIDGET
   ========================================================== */
.floating-chat-trigger {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #ffbc00; /* Yellow floating button from screenshot */
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(255, 188, 0, 0.4);
    z-index: 1000;
    transition: var(--transition);
}
.floating-chat-trigger:hover { transform: scale(1.05); }
.chat-badge-alert {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--accent-red);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffbc00;
}

.chat-widget-panel {
    position: fixed;
    bottom: 96px;
    right: 24px;
    width: 340px;
    height: 480px;
    background: #0f172a;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-widget-header {
    background: #090d16;
    color: #ffffff;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}
.agent-avatar-status { display: flex; align-items: center; gap: 10px; }
.agent-avatar-status .avatar-c {
    width: 32px;
    height: 32px;
    background: #ffbc00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #000;
}
.agent-avatar-status h4 { font-size: 13px; font-weight: 700; }
.status-indicator-live { font-size: 10px; color: var(--primary-neon); display: flex; align-items: center; gap: 4px; }
.pulse-dot {
    width: 6px;
    height: 6px;
    background: var(--primary-neon);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 1.5s infinite;
}
.chat-close-btn { background: transparent; border: none; color: #cbd5e1; font-size: 16px; cursor: pointer; }

/* Quick social contacts in chat */
.chat-social-quick-bar {
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid var(--border-color);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 600;
}
.social-badge {
    text-decoration: none;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 9px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.social-badge.whatsapp { background: #25d366; }
.social-badge.telegram { background: #0088cc; }

/* Chat box messaging stream */
.chat-messages-container {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    background: rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.chat-msg { display: flex; flex-direction: column; max-width: 80%; }
.chat-msg.agent { align-self: flex-start; }
.chat-msg.user { align-self: flex-end; }
.msg-bubble { padding: 10px 14px; border-radius: 10px; font-size: 12px; line-height: 1.5; }
.chat-msg.agent .msg-bubble {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-top-left-radius: 2px;
}
.chat-msg.user .msg-bubble {
    background: var(--primary-neon);
    color: #000;
    border-top-right-radius: 2px;
    font-weight: 600;
}
.msg-time { font-size: 9px; color: var(--text-muted); margin-top: 4px; padding: 0 4px; }
.chat-msg.user .msg-time { text-align: right; }

.chat-input-bar {
    display: flex;
    border-top: 1px solid var(--border-color);
    padding: 10px;
    background: #0b0e14;
}
.chat-input-bar input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    color: #fff;
    font-size: 12px;
    padding: 0 10px;
}
.chat-input-bar button {
    background: transparent;
    border: none;
    color: var(--secondary-neon);
    font-size: 16px;
    cursor: pointer;
    padding: 0 8px;
}

/* ==========================================================
   SYSTEM TOAST SECURITY NOTIFICATIONS
   ========================================================== */
.system-notification {
    position: fixed;
    top: 80px;
    right: 24px;
    background: #0f172a;
    border: 2px solid var(--secondary-neon);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    border-radius: 8px;
    padding: 14px 20px;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 600;
    transition: transform 0.4s ease, opacity 0.3s;
}
.system-notification.hidden {
    transform: translateY(-50px);
    opacity: 0;
    pointer-events: none;
}
.system-notification.otp-type {
    border-color: var(--primary-neon);
    background: rgba(0, 240, 118, 0.05);
}

.live-notification {
    position: fixed;
    bottom: 24px;
    left: 24px;
    background: rgba(13, 18, 27, 0.95);
    border: 1px solid var(--primary-neon);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), var(--glow-shadow);
    border-radius: 10px;
    padding: 12px 18px;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s;
    font-size: 12px;
}
.live-notification.hidden { transform: translateY(100px); opacity: 0; pointer-events: none; }
.notification-icon { font-size: 16px; color: var(--primary-neon); }
.noti-user { font-weight: 700; }
.noti-amount { font-weight: 700; color: var(--primary-neon); }


/* Pulse animation */
@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 240, 118, 0.4); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(0, 240, 118, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 240, 118, 0); }
}

/* ==========================================================
   MY WALLET SUB-TABS LAYOUT
   ========================================================== */
.wallet-layout-wrap {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
}
.wallet-sub-sidebar {
    border-right: 1px solid var(--border-color);
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.wallet-sub-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}
.wallet-sub-link:hover {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
}
.wallet-sub-link.active {
    background: rgba(0, 240, 118, 0.08);
    color: var(--primary-neon);
    font-weight: 600;
    border-left: 3px solid var(--primary-neon);
}
.wallet-sub-content {
    flex: 1;
}

.wallet-balances-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}
.w-balance-card {
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
    padding: 20px;
    border-radius: 12px;
}
.w-balance-card.main-val {
    border-color: rgba(0, 240, 118, 0.15);
    background: linear-gradient(135deg, rgba(13, 18, 27, 0.9) 0%, rgba(0, 240, 118, 0.02) 100%);
}
.w-balance-card span {
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 500;
}
.w-balance-card h2 {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary-neon);
    margin: 8px 0;
    text-shadow: 0 0 10px var(--primary-neon-glow);
}
.w-balance-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 8px 0;
}
.w-balance-card .help-text {
    font-size: 10px;
    color: var(--text-muted);
}
.section-desc {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .wallet-layout-wrap {
        grid-template-columns: 1fr;
    }
    .wallet-sub-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 14px;
        flex-direction: row;
        overflow-x: auto;
    }
}


/* ==========================================================
   RESPONSIVE DESIGN MEDIA QUERIES
   ========================================================== */
@media (max-width: 1024px) {
    .trade-workspace { grid-template-columns: 1fr; }
    .trade-grid { grid-template-columns: 1fr; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-content h1 { font-size: 38px; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .admin-top-controls-grid { grid-template-columns: 1fr; }
    .navbar .nav-menu { display: none; }
    .mobile-menu-btn { display: block; }
}

@media (max-width: 768px) {
    .db-sidebar { transform: translateX(-100%); box-shadow: 10px 0 30px rgba(0,0,0,0.5); }
    .db-sidebar.active { transform: translateX(0); }
    .db-main { margin-left: 0; padding: 16px; }
    .mobile-sidebar-toggle { display: block; }
    .db-topbar { gap: 16px; }
    .footer-container { grid-template-columns: 1fr; }
}
