/* ========================================================================
   NEXUS EXCHANGE - Exact test.jsx Recreation
   Version: 1.0
   Pixel-perfect recreation of the React trading interface
   ======================================================================== */

/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ===== CSS VARIABLES - Exact test.jsx Colors ===== */
:root {
    /* Backgrounds - from test.jsx */
    --nx-void: #050509;
    --nx-bg-primary: #0a0b14;
    --nx-bg-secondary: #0e0f1a;
    --nx-bg-input: #161824;
    --nx-bg-elevated: #1e293b;
    
    /* Accent Colors */
    --nx-blue: #3b82f6;
    --nx-blue-light: #60a5fa;
    --nx-indigo: #6366f1;
    
    /* Trading Colors - exact from test.jsx */
    --nx-buy: #10b981;
    --nx-buy-light: #34d399;
    --nx-sell: #f43f5e;
    --nx-sell-light: #fb7185;
    --nx-orange: #f97316;
    --nx-teal: #14b8a6;
    --nx-yellow: #facc15;
    --nx-purple: #a855f7;
    
    /* Text Colors - slate scale */
    --nx-text-white: #ffffff;
    --nx-text-100: #f1f5f9;
    --nx-text-200: #e2e8f0;
    --nx-text-300: #cbd5e1;
    --nx-text-400: #94a3b8;
    --nx-text-500: #64748b;
    --nx-text-600: #475569;
    
    /* Borders */
    --nx-border: rgba(255, 255, 255, 0.05);
    --nx-border-light: rgba(255, 255, 255, 0.03);
    
    /* Fonts */
    --nx-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --nx-font-mono: 'JetBrains Mono', 'SF Mono', monospace;
}

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

html, body {
    font-family: var(--nx-font-sans) !important;
    background: var(--nx-void) !important;
    color: var(--nx-text-200) !important;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow: hidden;
    height: 100vh;
}

::selection {
    background: rgba(59, 130, 246, 0.3);
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--nx-text-600);
    border-radius: 2px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: var(--nx-text-500);
}

/* ===== LAYOUT CONTAINER ===== */
.nexus-app {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background: var(--nx-void);
    overflow: hidden;
}

/* ===== HEADER - Exact test.jsx ===== */
.nexus-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    border-bottom: 1px solid var(--nx-border);
    background: rgba(10, 11, 20, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 50;
}

.nexus-header-left {
    display: flex;
    align-items: center;
    gap: 32px;
}

/* Logo */
.nexus-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    text-decoration: none;
}

.nexus-logo:hover .nexus-logo-icon {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.nexus-logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--nx-blue) 0%, var(--nx-indigo) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.nexus-logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.nexus-logo-text {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(to right, #fff, var(--nx-text-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Nav Links */
.nexus-nav {
    display: none;
    align-items: center;
    gap: 24px;
}

@media (min-width: 768px) {
    .nexus-nav {
        display: flex;
    }
}

.nexus-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--nx-text-400);
    text-decoration: none;
    transition: color 0.2s ease;
}

.nexus-nav a:hover {
    color: var(--nx-text-white);
}

.nexus-nav a.active {
    color: var(--nx-text-white);
}

.nexus-nav a.active:hover {
    color: var(--nx-blue-light);
}

/* Header Right */
.nexus-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* System Status */
.nexus-status {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--nx-border);
    font-size: 12px;
    color: var(--nx-text-300);
}

@media (min-width: 1024px) {
    .nexus-status {
        display: flex;
    }
}

.nexus-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--nx-buy);
    animation: pulse 2s ease-in-out infinite;
}

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

/* Connect Button */
.nexus-btn-connect {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    background: white;
    color: black;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nexus-btn-connect:hover {
    background: var(--nx-text-200);
}

/* Settings Button */
.nexus-btn-settings {
    padding: 8px;
    border-radius: 8px;
    background: transparent;
    border: none;
    color: var(--nx-text-400);
    cursor: pointer;
    transition: all 0.2s ease;
}

.nexus-btn-settings:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--nx-text-white);
}

/* ===== MAIN LAYOUT ===== */
.nexus-main {
    flex: 1;
    display: flex;
    overflow: hidden;
}

/* ===== LEFT SIDEBAR - MarketSidebar ===== */
.nexus-sidebar-left {
    width: 260px;
    display: none;
    flex-direction: column;
    border-right: 1px solid var(--nx-border);
    background: var(--nx-bg-secondary);
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .nexus-sidebar-left {
        display: flex;
    }
}

/* Sidebar Header */
.nexus-sidebar-header {
    padding: 16px;
    border-bottom: 1px solid var(--nx-border);
}

/* Search */
.nexus-search {
    position: relative;
    margin-bottom: 16px;
}

.nexus-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--nx-text-500);
    font-size: 14px;
    transition: color 0.2s ease;
}

.nexus-search:focus-within .nexus-search-icon {
    color: var(--nx-blue-light);
}

.nexus-search input {
    width: 100%;
    background: var(--nx-bg-input);
    border: none;
    border-radius: 8px;
    padding: 10px 12px 10px 36px;
    font-size: 12px;
    color: var(--nx-text-white);
    outline: none;
    transition: all 0.2s ease;
}

.nexus-search input::placeholder {
    color: var(--nx-text-600);
}

.nexus-search input:focus {
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.5);
}

/* Market Tabs */
.nexus-market-tabs {
    display: flex;
    gap: 16px;
    font-size: 12px;
    font-weight: 700;
}

.nexus-market-tabs button {
    background: none;
    border: none;
    color: var(--nx-text-500);
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
}

.nexus-market-tabs button:hover {
    color: var(--nx-text-300);
}

.nexus-market-tabs button.active {
    color: var(--nx-text-white);
}

.nexus-hot-icon {
    color: var(--nx-orange);
}

/* Market List Header */
.nexus-market-list-header {
    display: flex;
    justify-content: space-between;
    padding: 8px 16px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--nx-text-500);
}

.nexus-market-list-header-right {
    display: flex;
    gap: 16px;
}

/* Market List */
.nexus-market-list {
    flex: 1;
    overflow-y: auto;
}

.nexus-market-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    cursor: pointer;
    border-left: 2px solid transparent;
    transition: all 0.15s ease;
}

.nexus-market-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.nexus-market-item.active {
    background: rgba(255, 255, 255, 0.02);
    border-left-color: var(--nx-blue);
}

.nexus-market-item-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nexus-star {
    color: var(--nx-text-600);
    font-size: 12px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.nexus-star:hover,
.nexus-star.active {
    color: var(--nx-yellow);
}

.nexus-pair-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--nx-text-200);
}

.nexus-pair-vol {
    font-size: 10px;
    color: var(--nx-text-500);
}

.nexus-market-item-right {
    text-align: right;
}

.nexus-market-price {
    font-size: 12px;
    font-family: var(--nx-font-mono);
    color: var(--nx-text-200);
}

.nexus-market-change {
    font-size: 10px;
    font-weight: 500;
}

.nexus-market-change.positive {
    color: var(--nx-buy-light);
}

.nexus-market-change.negative {
    color: var(--nx-sell-light);
}

/* ===== CENTER PANEL ===== */
.nexus-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

/* ===== TICKER BAR ===== */
.nexus-ticker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: var(--nx-bg-primary);
}

.nexus-ticker-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Pair Selector */
.nexus-pair-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px;
    margin-left: -8px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.nexus-pair-selector:hover {
    background: rgba(255, 255, 255, 0.05);
}

.nexus-pair-icons {
    display: flex;
}

.nexus-coin-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: white;
    border: 2px solid var(--nx-bg-primary);
}

.nexus-coin-icon.btc {
    background: var(--nx-orange);
}

.nexus-coin-icon.usdt {
    background: var(--nx-teal);
    margin-left: -8px;
}

.nexus-pair-text h1 {
    font-size: 18px;
    font-weight: 700;
    color: var(--nx-text-white);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nexus-pair-text span {
    font-size: 12px;
    color: var(--nx-text-500);
}

/* Divider */
.nexus-divider {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 8px;
}

/* Price Display */
.nexus-current-price {
    font-size: 24px;
    font-family: var(--nx-font-mono);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nexus-current-price.positive {
    color: var(--nx-buy-light);
}

.nexus-current-price.negative {
    color: var(--nx-sell-light);
}

.nexus-price-change {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--nx-text-400);
}

.nexus-price-change .change {
    font-weight: 500;
}

.nexus-price-change .change.positive {
    color: var(--nx-buy-light);
}

.nexus-price-change .change.negative {
    color: var(--nx-sell-light);
}

.nexus-price-change .label {
    color: var(--nx-text-600);
}

/* Stats */
.nexus-ticker-stats {
    display: none;
    gap: 24px;
}

@media (min-width: 1024px) {
    .nexus-ticker-stats {
        display: flex;
    }
}

.nexus-stat {
    display: flex;
    flex-direction: column;
}

.nexus-stat-value {
    font-size: 14px;
    font-family: var(--nx-font-mono);
    font-weight: 500;
    color: var(--nx-text-300);
}

.nexus-stat-label {
    font-size: 12px;
    color: var(--nx-text-500);
}

/* Timeframe Buttons */
.nexus-timeframes {
    display: flex;
    gap: 4px;
}

.nexus-timeframe-btn {
    padding: 4px 12px;
    border-radius: 4px;
    background: transparent;
    border: none;
    color: var(--nx-text-400);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nexus-timeframe-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nexus-timeframe-btn.active {
    background: rgba(59, 130, 246, 0.1);
    color: var(--nx-blue-light);
}

/* ===== CHART AREA ===== */
.nexus-chart {
    flex: 1;
    position: relative;
    background: var(--nx-bg-primary);
    border-top: 1px solid var(--nx-border);
    border-bottom: 1px solid var(--nx-border);
    min-height: 300px;
}

.nexus-chart-overlay {
    position: absolute;
    top: 16px;
    left: 24px;
    display: flex;
    gap: 16px;
    font-size: 12px;
    font-weight: 700;
    color: var(--nx-text-500);
    z-index: 10;
}

.nexus-ma-yellow {
    color: var(--nx-yellow);
}

.nexus-ma-purple {
    color: var(--nx-purple);
}

/* ===== BOTTOM ORDERS PANEL ===== */
.nexus-orders-panel {
    height: 256px;
    background: var(--nx-bg-primary);
    border-top: 1px solid var(--nx-border);
    display: flex;
    flex-direction: column;
}

.nexus-orders-tabs {
    display: flex;
    gap: 24px;
    padding: 0 24px;
    border-bottom: 1px solid var(--nx-border);
}

.nexus-orders-tab {
    padding: 12px 0;
    background: transparent;
    border: none;
    color: var(--nx-text-500);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease;
}

.nexus-orders-tab:hover {
    color: var(--nx-text-white);
}

.nexus-orders-tab.active {
    color: var(--nx-text-white);
}

.nexus-orders-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--nx-blue);
}

/* Orders Table */
.nexus-orders-content {
    flex: 1;
    padding: 24px;
    overflow: auto;
}

.nexus-orders-table {
    width: 100%;
    text-align: left;
    font-size: 12px;
    border-collapse: collapse;
}

.nexus-orders-table th {
    padding-bottom: 12px;
    font-weight: 500;
    color: var(--nx-text-500);
    border-bottom: 1px solid var(--nx-border);
}

.nexus-orders-table td {
    padding: 12px 0;
    font-family: var(--nx-font-mono);
    color: var(--nx-text-300);
}

.nexus-orders-table tbody tr {
    transition: background 0.15s ease;
}

.nexus-orders-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.nexus-orders-table .pair {
    font-weight: 700;
    color: var(--nx-text-white);
}

.nexus-orders-table .buy {
    color: var(--nx-buy-light);
}

.nexus-orders-table .sell {
    color: var(--nx-sell-light);
}

.nexus-orders-table .cancel-btn {
    background: none;
    border: none;
    color: var(--nx-text-500);
    cursor: pointer;
    transition: color 0.2s ease;
}

.nexus-orders-table .cancel-btn:hover {
    color: var(--nx-sell-light);
}

/* ===== RIGHT SIDEBAR ===== */
.body-content .nexus-sidebar-right,
.nexus-sidebar-right {
    width: 360px !important;
    min-width: 360px !important;
    max-width: 360px !important;
    display: flex !important;
    flex-direction: column !important;
    border-left: 1px solid var(--nx-border) !important;
    flex-shrink: 0 !important;
    height: calc(100vh - 65px) !important;
    background: var(--nx-bg-secondary) !important;
    position: fixed !important;
    right: 0 !important;
    top: 65px !important;
    z-index: 1000 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

@media (min-width: 1400px) {
    .body-content .nexus-sidebar-right,
    .nexus-sidebar-right {
        width: 400px !important;
        min-width: 400px !important;
        max-width: 400px !important;
    }
}

@media (max-width: 1199px) {
    .body-content .nexus-sidebar-right,
    .nexus-sidebar-right {
        width: 320px !important;
        min-width: 320px !important;
        max-width: 320px !important;
    }
}

@media (max-width: 991px) {
    .body-content .nexus-sidebar-right,
    .nexus-sidebar-right {
        display: none !important;
    }
}

/* ===== ORDER BOOK ===== */
.nexus-orderbook {
    height: 55%;
    display: flex;
    flex-direction: column;
    background: var(--nx-bg-secondary);
    border-bottom: 1px solid var(--nx-border);
}

.nexus-orderbook-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--nx-border);
}

.nexus-orderbook-header h3 {
    font-size: 14px;
    font-weight: 500;
    color: var(--nx-text-300);
    margin: 0;
}

.nexus-orderbook-controls {
    display: flex;
    gap: 4px;
}

.nexus-orderbook-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--nx-text-600);
}

.nexus-orderbook-dot.active {
    background: var(--nx-buy);
}

/* Order Book Columns */
.nexus-orderbook-columns {
    display: flex;
    justify-content: space-between;
    padding: 8px 16px;
    font-size: 12px;
    color: var(--nx-text-500);
}

/* Order Book Content */
.nexus-orderbook-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Asks */
.nexus-orderbook-asks {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    padding-bottom: 4px;
}

/* Price Banner */
.nexus-orderbook-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-top: 1px solid var(--nx-border);
    border-bottom: 1px solid var(--nx-border);
    backdrop-filter: blur(10px);
}

.nexus-orderbook-current {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 700;
    font-family: var(--nx-font-mono);
    color: var(--nx-text-white);
}

.nexus-orderbook-arrow {
    color: var(--nx-buy);
}

.nexus-orderbook-usd {
    font-size: 12px;
    color: var(--nx-text-400);
}

/* Bids */
.nexus-orderbook-bids {
    flex: 1;
    overflow: hidden;
    padding-top: 4px;
}

/* Order Row */
.nexus-order-row {
    display: flex;
    justify-content: space-between;
    padding: 2px 16px;
    font-size: 12px;
    font-family: var(--nx-font-mono);
    cursor: pointer;
    position: relative;
    transition: background 0.1s ease;
}

.nexus-order-row:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Depth Bar */
.nexus-depth-bar {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    opacity: 0.3;
    transition: width 0.5s ease;
}

.nexus-order-row.ask .nexus-depth-bar {
    background: rgba(244, 63, 94, 0.2);
}

.nexus-order-row.bid .nexus-depth-bar {
    background: rgba(16, 185, 129, 0.2);
}

.nexus-order-price {
    position: relative;
    z-index: 1;
}

.nexus-order-row.ask .nexus-order-price {
    color: var(--nx-sell-light);
}

.nexus-order-row.bid .nexus-order-price {
    color: var(--nx-buy-light);
}

.nexus-order-amount {
    position: relative;
    z-index: 1;
    color: var(--nx-text-400);
    text-align: right;
}

/* ===== TRADE FORM ===== */
.nexus-trade-form {
    height: 45%;
    display: flex;
    flex-direction: column;
    background: var(--nx-bg-secondary);
    padding: 16px;
}

/* Buy/Sell Toggle */
.nexus-trade-toggle {
    display: flex;
    padding: 4px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin-bottom: 24px;
}

.nexus-trade-toggle button {
    flex: 1;
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    background: transparent;
    color: var(--nx-text-500);
}

.nexus-trade-toggle button:hover {
    color: var(--nx-text-300);
}

.nexus-trade-toggle button.active.buy {
    background: var(--nx-buy);
    color: white;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.nexus-trade-toggle button.active.sell {
    background: var(--nx-sell);
    color: white;
    box-shadow: 0 0 20px rgba(244, 63, 94, 0.3);
}

/* Order Type Tabs */
.nexus-order-types {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.nexus-order-types button {
    background: none;
    border: none;
    font-size: 12px;
    font-weight: 500;
    color: var(--nx-text-400);
    cursor: pointer;
    padding: 0;
    transition: color 0.2s ease;
}

.nexus-order-types button:hover {
    color: var(--nx-text-white);
}

.nexus-order-types button.active {
    color: var(--nx-blue-light);
}

/* Input Fields */
.nexus-input-group {
    margin-bottom: 16px;
}

.nexus-input-wrapper {
    background: var(--nx-bg-input);
    border-radius: 8px;
    padding: 8px 12px;
    border: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.nexus-input-wrapper:focus-within {
    border-color: rgba(59, 130, 246, 0.5);
}

.nexus-input-header {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--nx-text-500);
    margin-bottom: 4px;
}

.nexus-input-wrapper input {
    width: 100%;
    background: transparent;
    border: none;
    font-family: var(--nx-font-mono);
    font-size: 14px;
    color: var(--nx-text-white);
    outline: none;
}

.nexus-input-wrapper input::placeholder {
    color: var(--nx-text-600);
}

/* Slider */
.nexus-slider {
    margin: 24px 0;
    padding: 0 4px;
}

.nexus-slider-track {
    height: 4px;
    background: var(--nx-text-600);
    border-radius: 2px;
    position: relative;
}

.nexus-slider-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: var(--nx-text-500);
    border-radius: 2px;
    width: 25%;
}

.nexus-slider-thumb {
    position: absolute;
    left: 25%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
}

.nexus-slider-thumb:hover {
    transform: translate(-50%, -50%) scale(1.25);
}

.nexus-slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--nx-text-500);
}

/* Available Balance */
.nexus-available {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-family: var(--nx-font-mono);
    color: var(--nx-text-400);
    margin-bottom: 16px;
}

.nexus-available .value {
    color: var(--nx-text-white);
}

/* Action Button */
.nexus-trade-btn {
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nexus-trade-btn:hover {
    transform: scale(1.02);
}

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

.nexus-trade-btn.buy {
    background: linear-gradient(135deg, var(--nx-buy) 0%, var(--nx-buy-light) 100%);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.2);
}

.nexus-trade-btn.sell {
    background: linear-gradient(135deg, var(--nx-sell) 0%, var(--nx-sell-light) 100%);
    box-shadow: 0 0 30px rgba(244, 63, 94, 0.2);
}

/* Recent Trades Mini */
.nexus-recent-trades {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--nx-border);
}

.nexus-recent-trades h4 {
    font-size: 12px;
    font-weight: 500;
    color: var(--nx-text-500);
    margin-bottom: 12px;
}

.nexus-recent-trade-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-family: var(--nx-font-mono);
    margin-bottom: 4px;
}

.nexus-recent-trade-row .price.buy {
    color: var(--nx-buy-light);
}

.nexus-recent-trade-row .price.sell {
    color: var(--nx-sell-light);
}

.nexus-recent-trade-row .amount {
    color: var(--nx-text-400);
}

.nexus-recent-trade-row .time {
    color: var(--nx-text-600);
}

/* ===== NO LOGIN STATE ===== */
.nexus-no-login {
    text-align: center;
    padding: 20px;
    color: var(--nx-text-400);
}

.nexus-no-login a {
    color: var(--nx-blue-light);
    text-decoration: none;
    font-weight: 600;
}

.nexus-no-login a:hover {
    text-decoration: underline;
}

/* ===== UTILITY CLASSES ===== */
.text-buy { color: var(--nx-buy-light) !important; }
.text-sell { color: var(--nx-sell-light) !important; }
.text-muted { color: var(--nx-text-500) !important; }
.font-mono { font-family: var(--nx-font-mono) !important; }

/* ========================================================================
   OVERRIDES FOR EXISTING EXCHANGE COMPONENTS
   ======================================================================== */

/* ===== BODY CONTENT LAYOUT ===== */
/* Override CSS Grid from custom.css with Flexbox */
.body-content,
.body-content.nexus-main {
    display: flex !important;
    flex-direction: row !important;
    flex: 1 !important;
    overflow: hidden !important;
    height: calc(100vh - 65px) !important;
    width: 100% !important;
    position: relative !important;
    /* Override CSS Grid properties */
    grid-template-columns: unset !important;
    grid-template-rows: unset !important;
    gap: 0 !important;
    padding: 0 !important;
}

/* Reset grid-area for all children */
.body-content > * {
    grid-area: unset !important;
    -ms-grid-row: unset !important;
    -ms-grid-column: unset !important;
}

/* Order the elements: left sidebar, center, right sidebar */
.body-content .nexus-sidebar-left {
    order: 1 !important;
}

.body-content .nexus-center {
    order: 2 !important;
    overflow: hidden !important;
}

/* Right sidebar should be direct child of body-content, not nested */
.body-content > .nexus-sidebar-right,
.nexus-sidebar-right {
    order: 3 !important;
    position: fixed !important;
    right: 0 !important;
    top: 65px !important;
    height: calc(100vh - 65px) !important;
    z-index: 100 !important;
}

/* Account box at bottom */
.body-content .nexus-bottom-panel,
.body-content .account-box {
    order: 5 !important;
}

/* Force left sidebar to show */
.body-content .nexus-sidebar-left,
.nexus-sidebar-left {
    display: flex !important;
    width: 260px !important;
    min-width: 260px !important;
    max-width: 260px !important;
    flex-shrink: 0 !important;
    flex-direction: column !important;
    background: var(--nx-bg-secondary) !important;
    border-right: 1px solid var(--nx-border) !important;
    height: 100% !important;
    overflow: hidden !important;
}

@media (max-width: 1199px) {
    .body-content .nexus-sidebar-left,
    .nexus-sidebar-left {
        display: none !important;
    }
}

/* Force center panel layout */
.body-content .nexus-center,
.nexus-center {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    overflow: hidden !important;
    height: 100% !important;
    margin-right: 360px !important; /* Account for fixed right sidebar */
}

@media (min-width: 1400px) {
    .body-content .nexus-center,
    .nexus-center {
        margin-right: 400px !important; /* Account for wider right sidebar */
    }
}

@media (max-width: 1199px) {
    .body-content .nexus-center,
    .nexus-center {
        margin-right: 320px !important; /* Account for narrower right sidebar */
    }
}

@media (max-width: 991px) {
    .body-content .nexus-center,
    .nexus-center {
        margin-right: 0 !important; /* No right sidebar on mobile */
    }
}

/* ===== CHART CONTENT ===== */
.chart-content,
.nexus-center .chart-content {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    background: var(--nx-bg-primary) !important;
    border: none !important;
    overflow: hidden !important;
    grid-area: unset !important;
    min-width: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

/* TradingView Chart Container */
#tv_chart_container,
.chart-content #tv_chart_container {
    flex: 1 !important;
    min-height: 400px !important;
    width: 100% !important;
    display: block !important;
}

/* Original Chart Container */
#chart_div,
.chart-content #chart_div {
    flex: 1 !important;
    min-height: 400px !important;
    width: 100% !important;
}

/* Chart container */
.chart-content .chart-wrap,
.chart-content #tv_chart_container,
.chart-content #chart_div {
    flex: 1 !important;
    min-height: 300px !important;
    background: var(--nx-bg-primary) !important;
}

/* ===== ORDERBOOK OVERRIDES ===== */
.nexus-sidebar-right .orderbook,
.orderbook {
    width: 100% !important;
    min-width: unset !important;
    max-width: unset !important;
    height: 45% !important;
    max-height: 45% !important;
    display: flex !important;
    flex-direction: column !important;
    background: var(--nx-bg-secondary) !important;
    border-left: none !important;
    border-bottom: 1px solid var(--nx-border) !important;
    overflow: hidden !important;
    position: relative !important;
    flex-shrink: 0 !important;
}

/* Tab content should fit in orderbook */
.orderbook .tab-content,
.orderbook #myTabContent2 {
    height: calc(100% - 45px) !important;
    overflow: hidden !important;
}

.orderbook #order-book {
    height: 100% !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Orderbook Nav */
.orderbook .orderbook-nav_wrap {
    padding: 12px 16px !important;
    border-bottom: 1px solid var(--nx-border) !important;
    background: transparent !important;
}

.orderbook .orderbook-nav_wrap .nav-tabs {
    border: none !important;
    gap: 16px !important;
}

.orderbook .orderbook-nav_wrap .nav-link {
    background: transparent !important;
    border: none !important;
    color: var(--nx-text-500) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    padding: 4px 0 !important;
    position: relative !important;
}

.orderbook .orderbook-nav_wrap .nav-link.active {
    color: var(--nx-text-white) !important;
}

.orderbook .orderbook-nav_wrap .nav-link.active::after {
    content: '' !important;
    position: absolute !important;
    bottom: -4px !important;
    left: 0 !important;
    right: 0 !important;
    height: 2px !important;
    background: var(--nx-blue) !important;
}

/* Order View Buttons (Mixed/Green/Red) */
#order-buttons {
    padding: 8px 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

#orders {
    display: flex !important;
    gap: 4px !important;
}

.order-view-btn {
    width: 24px !important;
    height: 24px !important;
    padding: 4px !important;
    background: var(--nx-bg-input) !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.order-view-btn.active {
    background: var(--nx-bg-elevated) !important;
}

.order-view-btn .order-icon-lines {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    align-items: center !important;
    justify-content: center !important;
}

.order-line {
    height: 2px !important;
    border-radius: 1px !important;
}

.order-line-red {
    background: var(--nx-sell) !important;
    width: 12px !important;
}

.order-line-green {
    background: var(--nx-buy) !important;
    width: 12px !important;
}

.order-line-small {
    width: 8px !important;
}

/* Orderbook Table */
.orderbook-wrap {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    height: 100% !important;
}

/* Orderbook scrollable content - limit height */
.orderbook-list,
.sell-book,
.buy-book {
    flex: 1 !important;
    max-height: 70px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

/* Orderbook Ticker - center price display */
.orderbook-ticker {
    position: relative !important;
    z-index: 10 !important;
    background: var(--nx-bg-card) !important;
    padding: 10px 12px !important;
    border-top: 1px solid var(--nx-border) !important;
    border-bottom: 1px solid var(--nx-border) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.orderbook-ticker .contract-price {
    font-size: 18px !important;
    font-weight: 700 !important;
    font-family: var(--nx-font-mono) !important;
    color: var(--nx-text-100) !important;
}

.orderbook-ticker .contract-price.status-buy {
    color: var(--nx-buy) !important;
}

.orderbook-ticker .contract-price.status-sell {
    color: var(--nx-sell) !important;
}

/* Limit orderbook rows */
.orderbook-wrap ul li,
.orderbook-wrap .order-item {
    padding: 4px 8px !important;
    font-size: 12px !important;
}

/* Orderbook table rows */
.orderbook-list_table tbody tr {
    font-size: 12px !important;
}

.orderbook-list_table tbody tr td {
    padding: 3px 8px !important;
}

.orderbook-list_table {
    width: 100% !important;
    margin: 0 !important;
}

.orderbook-list_table thead th {
    background: var(--nx-bg-secondary) !important;
    color: var(--nx-text-500) !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    padding: 8px 12px !important;
    border: none !important;
    letter-spacing: 0.03em !important;
}

.orderbook-list {
    flex: 1 !important;
    overflow-y: auto !important;
    max-height: 150px !important;
}

.orderbook-list_table tbody tr {
    cursor: pointer !important;
    position: relative !important;
}

.orderbook-list_table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05) !important;
}

.orderbook-list_table tbody td {
    font-size: 12px !important;
    font-family: var(--nx-font-mono) !important;
    padding: 3px 12px !important;
    border: none !important;
    position: relative !important;
    z-index: 1 !important;
}

/* Depth visualization bars */
.orderbook-list_ask tbody tr {
    background: linear-gradient(to left, rgba(244, 63, 94, 0.15), transparent) !important;
}

.orderbook-list_bid tbody tr {
    background: linear-gradient(to left, rgba(16, 185, 129, 0.15), transparent) !important;
}

.orderbook-list_ask tbody td:first-child {
    color: var(--nx-sell-light) !important;
}

.orderbook-list_bid tbody td:first-child {
    color: var(--nx-buy-light) !important;
}

/* Orderbook Ticker (Price Banner) */
.orderbook-ticker {
    padding: 8px 16px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border-top: 1px solid var(--nx-border) !important;
    border-bottom: 1px solid var(--nx-border) !important;
    backdrop-filter: blur(10px) !important;
}

.orderbook-ticker .contract-price {
    font-size: 18px !important;
    font-weight: 700 !important;
    font-family: var(--nx-font-mono) !important;
    color: var(--nx-text-white) !important;
}

.orderbook-ticker .contract-price.status-buy {
    color: var(--nx-buy-light) !important;
}

.orderbook-ticker .contract-price.status-sell {
    color: var(--nx-sell-light) !important;
}

.orderbook-ticker .arrow-icon {
    font-size: 14px !important;
}

/* ===== PLACE ORDER CONTAINER ===== */
.nexus-sidebar-right .place-order_container,
.place-order_container {
    width: 100% !important;
    min-width: unset !important;
    max-width: unset !important;
    height: 55% !important;
    max-height: 55% !important;
    display: flex !important;
    flex-direction: column !important;
    background: var(--nx-bg-secondary) !important;
    border-left: none !important;
    border-top: 1px solid var(--nx-border) !important;
    padding: 12px 16px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

/* Make trade form more compact */
.place-order_form {
    padding: 0 !important;
}

.place-order_form .form-group {
    margin-bottom: 10px !important;
}

.place-order_form .btn {
    padding: 10px 16px !important;
}

/* Slider compact */
.place-order_form .range-slider-box {
    margin: 10px 0 !important;
}

.place-order_header {
    display: none !important;
}

.place-order_form {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Buy/Sell Toggle - test.jsx style */
.order-form-tabs,
#myTab3 {
    display: flex !important;
    padding: 4px !important;
    background: rgba(0, 0, 0, 0.3) !important;
    border-radius: 10px !important;
    margin-bottom: 20px !important;
    border: none !important;
    gap: 0 !important;
}

.order-form-tabs .nav-item,
#myTab3 .nav-item {
    flex: 1 !important;
}

.order-form-tabs .nav-link,
#myTab3 .nav-link {
    width: 100% !important;
    padding: 12px 16px !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    background: transparent !important;
    color: var(--nx-text-500) !important;
}

.order-form-tabs .nav-link:hover,
#myTab3 .nav-link:hover {
    color: var(--nx-text-300) !important;
}

/* Buy tab active */
.order-form-tabs .nav-link.active[aria-controls="buy"],
#buy-tab.active,
#myTab3 .nav-link.active#buy-tab {
    background: var(--nx-buy) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4) !important;
}

/* Sell tab active */
.order-form-tabs .nav-link.active[aria-controls="sell"],
#sell-tab.active,
#myTab3 .nav-link.active#sell-tab {
    background: var(--nx-sell) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.4) !important;
}

/* Order Type Tabs (Limit/Market) */
.order-type-tabs {
    display: flex !important;
    gap: 16px !important;
    margin-bottom: 16px !important;
    padding: 0 !important;
    border: none !important;
    list-style: none !important;
}

.order-type-tabs .nav-item {
    margin: 0 !important;
}

.order-type-tabs .nav-link {
    background: none !important;
    border: none !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    color: var(--nx-text-400) !important;
    cursor: pointer !important;
    padding: 0 !important;
    transition: color 0.2s ease !important;
}

.order-type-tabs .nav-link:hover {
    color: var(--nx-text-white) !important;
}

.order-type-tabs .nav-link.active {
    color: var(--nx-blue-light) !important;
    background: none !important;
}

/* Balance Display */
.buy-sell-order > .my-3 {
    font-size: 12px !important;
    color: var(--nx-text-400) !important;
    font-family: var(--nx-font-mono) !important;
    margin-bottom: 16px !important;
}

.buy-sell-order > .my-3 span:last-child {
    color: var(--nx-text-white) !important;
}

/* Input Group Form */
.input-group-form {
    background: var(--nx-bg-input) !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    border: 1px solid transparent !important;
    margin-bottom: 12px !important;
    transition: border-color 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.input-group-form:focus-within {
    border-color: rgba(59, 130, 246, 0.5) !important;
}

.input-group-form__text {
    font-size: 12px !important;
    color: var(--nx-text-500) !important;
    min-width: 50px !important;
}

.input-group-form .form-control {
    flex: 1 !important;
    background: transparent !important;
    border: none !important;
    font-family: var(--nx-font-mono) !important;
    font-size: 14px !important;
    color: var(--nx-text-white) !important;
    padding: 4px 0 !important;
    outline: none !important;
    box-shadow: none !important;
}

.input-group-form .form-control::placeholder {
    color: var(--nx-text-600) !important;
}

.input-group-form__text--currency {
    font-size: 12px !important;
    color: var(--nx-text-500) !important;
    font-weight: 500 !important;
}

/* Slider */
.slider.slider-horizontal {
    width: 100% !important;
    height: 20px !important;
}

.slider-track {
    height: 4px !important;
    background: var(--nx-text-600) !important;
    border-radius: 2px !important;
}

.slider-selection {
    background: var(--nx-text-500) !important;
}

.slider-handle {
    width: 12px !important;
    height: 12px !important;
    background: white !important;
    border: none !important;
    margin-top: -4px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.slider-tick-label {
    font-size: 10px !important;
    color: var(--nx-text-500) !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
}

/* Fee/Total Info */
.form-group.no-gutters .row,
.form-group.row.no-gutters {
    margin: 0 !important;
}

.form-group.no-gutters .row > div,
.form-group.row.no-gutters > div {
    padding: 4px 0 !important;
}

.font-size-12 {
    font-size: 12px !important;
    color: var(--nx-text-400) !important;
}

.font-size-12.text-right,
.text-right.font-size-12 {
    text-align: right !important;
    font-family: var(--nx-font-mono) !important;
    color: var(--nx-text-300) !important;
}

/* Buy/Sell Buttons */
.btn-success,
.btn.btn-success {
    width: 100% !important;
    padding: 14px 24px !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: white !important;
    background: linear-gradient(135deg, var(--nx-buy) 0%, var(--nx-buy-light) 100%) !important;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.2) !important;
    transition: all 0.2s ease !important;
    margin-top: 16px !important;
}

.btn-success:hover {
    transform: scale(1.02) !important;
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.3) !important;
}

.btn-danger,
.btn.btn-danger {
    width: 100% !important;
    padding: 14px 24px !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: white !important;
    background: linear-gradient(135deg, var(--nx-sell) 0%, var(--nx-sell-light) 100%) !important;
    box-shadow: 0 0 30px rgba(244, 63, 94, 0.2) !important;
    transition: all 0.2s ease !important;
    margin-top: 16px !important;
}

.btn-danger:hover {
    transform: scale(1.02) !important;
    box-shadow: 0 0 40px rgba(244, 63, 94, 0.3) !important;
}

/* No Login State */
.no-login {
    text-align: center !important;
    padding: 20px !important;
    color: var(--nx-text-400) !important;
}

.no-login a {
    color: var(--nx-blue-light) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

.no-login a:hover {
    text-decoration: underline !important;
}

/* ===== BOTTOM PANEL ===== */
.nexus-bottom-panel,
.account-box {
    background: var(--nx-bg-primary) !important;
    border-top: 1px solid var(--nx-border) !important;
    z-index: 40 !important;
    margin-right: 360px !important; /* Account for fixed right sidebar */
}

@media (min-width: 1400px) {
    .nexus-bottom-panel,
    .account-box {
        margin-right: 400px !important;
    }
}

@media (max-width: 1199px) {
    .nexus-bottom-panel,
    .account-box {
        margin-right: 320px !important;
    }
}

@media (max-width: 991px) {
    .nexus-bottom-panel,
    .account-box {
        margin-right: 0 !important;
    }
}

/* ===== ACCOUNT BOX (Bottom Orders Panel) ===== */
.account-box {
    background: var(--nx-bg-primary) !important;
    border: none !important;
    border-top: 1px solid var(--nx-border) !important;
    border-radius: 0 !important;
    margin: 0 !important;
    height: 256px !important;
}

.account-box .nav-tabs {
    background: transparent !important;
    border-bottom: 1px solid var(--nx-border) !important;
    padding: 0 24px !important;
    border-radius: 0 !important;
    gap: 24px !important;
}

.account-box .nav-tabs .nav-link {
    background: transparent !important;
    border: none !important;
    color: var(--nx-text-500) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    padding: 12px 0 !important;
    position: relative !important;
}

.account-box .nav-tabs .nav-link:hover {
    color: var(--nx-text-white) !important;
}

.account-box .nav-tabs .nav-link.active {
    color: var(--nx-text-white) !important;
}

.account-box .nav-tabs .nav-link.active::after {
    content: '' !important;
    position: absolute !important;
    bottom: -1px !important;
    left: 0 !important;
    right: 0 !important;
    height: 2px !important;
    background: var(--nx-blue) !important;
}

.account-box .tab-content {
    padding: 24px !important;
    overflow: auto !important;
}

/* Table in account box */
.account-box .table {
    color: var(--nx-text-300) !important;
}

.account-box .table thead th {
    background: transparent !important;
    color: var(--nx-text-500) !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    padding: 0 0 12px 0 !important;
    border-bottom: 1px solid var(--nx-border) !important;
}

.account-box .table td {
    font-size: 12px !important;
    font-family: var(--nx-font-mono) !important;
    padding: 12px 0 !important;
    border: none !important;
    color: var(--nx-text-300) !important;
}

.account-box .table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.05) !important;
}

/* ===== RESPONSIVE LAYOUT ===== */
@media (max-width: 1199px) {
    .nexus-sidebar-left {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .orderbook,
    .place-order_container {
        display: none !important;
    }
    
    .nexus-center {
        width: 100% !important;
    }
}

@media (max-width: 767px) {
    .nexus-ticker {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
        padding: 12px 16px !important;
    }
    
    .nexus-ticker-stats {
        display: none !important;
    }
    
    .nexus-timeframes {
        display: none !important;
    }
    
    .account-box {
        height: auto !important;
        min-height: 200px !important;
    }
}

/* ===== MOBILE NAVIGATION BOTTOM BAR ===== */
#mobile-navigation {
    background: var(--nx-bg-secondary) !important;
    border-top: 1px solid var(--nx-border) !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4) !important;
}

#mobile-navigation .nav-item {
    color: var(--nx-text-500) !important;
}

#mobile-navigation .nav-item:hover,
#mobile-navigation .nav-item.active {
    color: var(--nx-blue-light) !important;
}

/* ===== FOOTER ===== */
.footer {
    display: none !important;
}

/* ===== ANIMATIONS ===== */
@keyframes priceFlashUp {
    0%, 100% { background: transparent; }
    50% { background: rgba(16, 185, 129, 0.2); }
}

@keyframes priceFlashDown {
    0%, 100% { background: transparent; }
    50% { background: rgba(244, 63, 94, 0.2); }
}

.price-up {
    animation: priceFlashUp 0.3s ease !important;
}

.price-down {
    animation: priceFlashDown 0.3s ease !important;
}

