
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(24,29,39,0.85);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInModal 0.3s;
}
.modal-content {
    background: #23293a;
    border-radius: 18px;
    box-shadow: 0 4px 32px #38bdf822;
    padding: 36px 32px 28px 32px;
    min-width: 320px;
    max-width: 95vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: popInModal 0.4s cubic-bezier(.4,2,.6,1);
}
.success-modal {
    border: 2.5px solid #22c55e;
}
.success-tick-animation {
    margin-bottom: 18px;
    animation: tickPop 0.7s cubic-bezier(.4,2,.6,1);
}
.success-message {
    color: #22c55e;
    font-size: 1.25em;
    font-weight: 900;
    text-align: center;
    margin-bottom: 2px;
    letter-spacing: 0.5px;
}
.otp-modal {
    border: 2.5px solid #3b82f6;
}
.otp-title {
    color: #3b82f6;
    font-size: 1.15em;
    font-weight: 800;
    margin-bottom: 8px;
}
.otp-instructions {
    color: #b0b8c9;
    font-size: 1em;
    margin-bottom: 10px;
}
.otp-input {
    font-size: 1.3em;
    padding: 8px 18px;
    border-radius: 8px;
    border: 1.5px solid #3b82f6;
    margin-bottom: 10px;
    text-align: center;
    background: #181d27;
    color: #fff;
    letter-spacing: 8px;
    width: 160px;
    outline: none;
    font-family: 'Poppins', Arial, sans-serif;
}
.otp-timer {
    color: #22c55e;
    font-size: 1.1em;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
}
.otp-btn {
    background: linear-gradient(90deg, #3b82f6 0%, #38bdf8 100%);
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    padding: 8px 22px;
    margin: 4px 8px 0 8px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
}
.otp-btn.otp-resend {
    background: #23293a;
    color: #3b82f6;
    border: 1.2px solid #3b82f6;
}
.otp-btn.otp-resend:hover {
    background: #3b82f6;
    color: #fff;
}
.otp-error {
    color: #ef4444;
    font-size: 0.98em;
    margin-top: 8px;
    font-weight: 700;
    text-align: center;
}
@keyframes fadeInModal {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
@keyframes popInModal {
    0% { opacity: 0; transform: scale(0.85); }
    100% { opacity: 1; transform: scale(1); }
}
@keyframes tickPop {
    0% { opacity: 0; transform: scale(0.7); }
    80% { opacity: 1; transform: scale(1.15); }
    100% { opacity: 1; transform: scale(1); }
}
/* --- End Modal Overlay & Animated Modals --- */
/* --- Shorter Ticker Bar for Dashboard Home --- */
.short-ticker-bar {
    min-height: 28px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 8px !important;
}
.short-ticker-bar .ticker-item {
    min-width: 70px !important;
    font-size: 0.92em !important;
    padding: 0 6px !important;
}
/* --- End Shorter Ticker Bar --- */
/* --- Floating Welcome User Box --- */
.welcome-user-floating {
    position: fixed;
    top: 18px;
    right: 32px;
    z-index: 100;
    background: linear-gradient(90deg, #23293a 60%, #3b82f6 100%);
    color: #fff;
    font-weight: 900;
    font-size: 1.08em;
    padding: 8px 22px;
    border-radius: 18px;
    box-shadow: 0 2px 12px #3b82f633;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 4px #38bdf822;
    border: 1.5px solid #38bdf8;
    animation: fadeInWelcome 0.7s cubic-bezier(.4,2,.6,1);
}
@keyframes fadeInWelcome {
    0% { opacity: 0; transform: translateY(-20px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
/* --- End Floating Welcome User Box --- */
/* --- Premium Navbar & Tabs --- */
.premium-navbar {
    background: rgba(24,29,39,0.98);
    box-shadow: 0 4px 32px #000a;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    height: 64px;
    position: relative;
    z-index: 10;
}
.premium-tabs {
    display: flex;
    gap: 18px;
    align-items: center;
}
.premium-tab {
    color: #b0b8c9;
    font-weight: 700;
    font-size: 1.05em;
    padding: 7px 18px;
    border-radius: 8px;
    background: none;
    text-decoration: none;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
    display: flex;
    align-items: center;
    gap: 7px;
    position: relative;
}
.premium-tab.active, .premium-tab:hover {
    background: linear-gradient(90deg, #3b82f6 0%, #38bdf8 100%);
    color: #fff;
    box-shadow: 0 2px 8px #3b82f633;
}
.logout-tab {
    background: #23293a;
    color: #ef4444;
    border: 1.2px solid #ef4444;
    margin-left: 10px;
}
.logout-tab:hover {
    background: #ef4444;
    color: #fff;
}
.welcome-user {
    color: #38bdf8;
    font-weight: 900;
    font-size: 1.08em;
    margin-right: 12px;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 4px #38bdf822;
}
/* --- Animated Background --- */
.animated-bg {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at 60% 20%, #3b82f633 0%, transparent 60%),
                radial-gradient(ellipse at 20% 80%, #38bdf822 0%, transparent 70%),
                linear-gradient(120deg, #23293a 0%, #181d27 100%);
    animation: bg-move 16s ease-in-out infinite alternate;
}
@keyframes bg-move {
    0% { background-position: 60% 20%, 20% 80%, 0 0; }
    100% { background-position: 65% 25%, 25% 85%, 100% 100%; }
}
/* --- End Premium Navbar & Animated BG --- */
/* --- Premium Account Cards & Chart Styles --- */
.account-cards-animated-grid {
    display: flex;
    gap: 18px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    margin: 0 0 18px 0;
}
.account-card-animated {
    background: linear-gradient(135deg, #23293a 60%, #1a2236 100%);
    border-radius: 12px;
    box-shadow: 0 2px 10px #38bdf822, 0 1px 4px #3b82f655;
    padding: 14px 22px 10px 22px;
    min-width: 120px;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.22s cubic-bezier(.4,2,.6,1), box-shadow 0.22s;
    border: 1.2px solid #3b82f6;
    animation: card-fade-in 0.7s cubic-bezier(.4,2,.6,1);
}
.account-card-animated:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 6px 18px #38bdf866, 0 1.5px 8px #3b82f688;
}
.account-card-label {
    color: #b0b8c9;
    font-size: 0.98em;
    font-weight: 700;
    margin-bottom: 2px;
    letter-spacing: 0.4px;
}
.account-card-value {
    font-size: 1.25em;
    font-weight: 900;
    color: #3b82f6;
    margin-top: 2px;
    letter-spacing: 0.5px;
    transition: color 0.22s, text-shadow 0.22s;
    text-shadow: 0 1px 4px #3b82f622;
}
.account-card-animated:hover .account-card-value {
    color: #60a5fa;
    text-shadow: 0 2px 8px #60a5fa88;
}
.premium-chart-container {
    background: var(--sidebar-bg, #1a2236);
    border-radius: 14px;
    box-shadow: 0 2px 10px #38bdf822;
    padding: 18px 18px 8px 18px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    animation: card-fade-in 0.8s cubic-bezier(.4,2,.6,1);
}
/* --- End Premium Account Cards & Chart Styles --- */
/* --- Animated Market Snapshot Styles --- */
.market-snapshot-animated-grid {
    display: flex;
    gap: 22px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    margin: 0 0 10px 0;
}
/* --- Animated Market Snapshot Styles (smaller, blue) --- */
/* --- Animated Market Snapshot Styles (extra small) --- */
.market-snapshot-card {
    background: linear-gradient(135deg, #23293a 60%, #1a2236 100%);
    border-radius: 9px;
    box-shadow: 0 1px 4px #38bdf822, 0 1px 2px #3b82f655;
    padding: 4px 8px 3px 8px;
    min-width: 56px;
    min-height: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.18s cubic-bezier(.4,2,.6,1), box-shadow 0.18s;
    border: 1px solid #3b82f6;
    animation: card-fade-in 0.5s cubic-bezier(.4,2,.6,1);
}
.market-snapshot-card:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 6px 18px #38bdf866, 0 1.5px 8px #3b82f688;
}
 .snapshot-icon {
    font-size: 1em;
    margin-bottom: 2px;
    color: #3b82f6;
    filter: drop-shadow(0 1px 2px #3b82f644);
    transition: color 0.14s, filter 0.14s;
}
.market-snapshot-card:hover .snapshot-icon {
    color: #60a5fa;
    filter: drop-shadow(0 2px 8px #60a5fa88);
}
.snapshot-label {
    color: #b0b8c9;
    font-size: 0.82em;
    font-weight: 700;
    margin-bottom: 0px;
    letter-spacing: 0.2px;
}
.snapshot-value {
    font-size: 0.98em;
    font-weight: 900;
    color: #3b82f6;
    margin-top: 0px;
    letter-spacing: 0.2px;
    transition: color 0.16s, text-shadow 0.16s;
    text-shadow: 0 1px 2px #3b82f622;
}
.market-snapshot-card:hover .snapshot-value {
    color: #60a5fa;
    text-shadow: 0 2px 8px #60a5fa88;
}
@keyframes card-fade-in {
    0% { opacity: 0; transform: translateY(30px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
/* --- End Animated Market Snapshot Styles --- */
/* --- Index Ticker Bar Styles --- */
/* --- Index Ticker Bar Styles (compact) --- */
.ticker-bar {
    width: 100%;
    background: var(--sidebar-bg, #1a2236);
    overflow: hidden;
    border-radius: 10px;
    margin: 0 0 12px 0;
    box-shadow: 0 2px 8px #38bdf822;
    border: 1.2px solid var(--accent2, #3b82f6);
    min-height: 32px;
    display: flex;
    align-items: center;
    position: relative;
}
.ticker-bar-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    white-space: nowrap;
    animation: ticker-scroll 18s linear infinite;
}
@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.98em;
    font-weight: 700;
    padding: 0 10px;
    border-right: 1px solid #2c3654;
    min-width: 90px;
}
.ticker-item:last-child {
    border-right: none;
}
.ticker-label {
    color: var(--accent2, #3b82f6);
    font-weight: 900;
    margin-right: 2px;
}
.ticker-value {
    font-weight: 900;
    font-size: 1em;
}
/* Utility color classes used by templates */
.color-gold { color: #ffd700 !important; }
.color-up { color: #22c55e !important; }
.color-down { color: #ef4444 !important; }
.color-neutral { color: #b0b8c9 !important; }

/* News sentiment border classes */
.news-sentiment-good { border-left: 6px solid #22c55e; }
.news-sentiment-bad { border-left: 6px solid #ef4444; }
.news-sentiment-neutral { border-left: 6px solid #f59e42; }

/* Calendar day color classes */
.calendar-day-up { background: #22c55e !important; }
.calendar-day-down { background: #ef4444 !important; }
.calendar-day-neutral { background: #b0b8c9 !important; }
.calendar-day-animated { width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1em;color:#fff;font-weight:700;box-shadow:0 1px 4px #23272f22;position:relative; }
/* --- End Index Ticker Bar Styles (compact) --- */
/* --- End Index Ticker Bar Styles --- */
.dashboard-section {
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: 0 2px 12px #38bdf822;
    margin: 18px 0;
    padding: 14px 18px 10px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
}
.dashboard-section h2 {
    color: var(--accent2);
    font-size: 1.1em;
    font-weight: 900;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sidebar-icon-btn,
.watchlist-remove,
.watchlist-add-form button,
.quick-trade-form button,
.snapshot-main-btn,
.action-btn,
.premium-btn,
.premium-action,
.trades-table-section button,
.notification-center-header button {
    background: var(--accent2) !important;
    color: #23293a !important;
    border: none !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px #fbbf2422 !important;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s !important;
    cursor: pointer;
}
.sidebar-icon-btn:hover,
.watchlist-remove:hover,
.watchlist-add-form button:hover,
.quick-trade-form button:hover,
.snapshot-main-btn:hover,
.action-btn:hover,
.premium-btn:hover,
.premium-action:hover,
.trades-table-section button:hover,
.notification-center-header button:hover {
    background: #ffe066 !important;
    color: #23293a !important;
    box-shadow: 0 4px 18px #fbbf2444 !important;
    transform: scale(1.05);
}
.sidebar-icon-btn.active {
    background: #ffe066 !important;
    color: #23293a !important;
}
.watchlist-widget th, .orderbook-widget th {
    color: var(--accent2) !important;
    font-weight: 700;
    border-bottom: 1.5px solid var(--accent2);
}
.watchlist-widget td.up { color: var(--success); font-weight: 700; }
.watchlist-widget td.down { color: var(--danger); font-weight: 700; }
.notification-center-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.1em;
    font-weight: 900;
    color: var(--accent2);
    margin-bottom: 10px;
}
.notification-list li {
    background: var(--sidebar-bg);
    border-radius: 8px;
    padding: 8px 10px;
    color: var(--text);
    font-size: 1em;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 1px 4px #38bdf822;
}
.sidebar-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
    border: 2px solid var(--accent2);
    box-shadow: 0 2px 8px #38bdf822;
    margin-top: 6px;
}
/* Layout polish: compact, organized, balanced */
.main-content, .premium-main-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 8px;
}
.dashboard-section, .trades-table-section, .premium-features {
    margin-bottom: 12px;
}
.trades-table-section table {
    margin-bottom: 0;
}
.trades-table-section h2 {
    color: var(--accent2);
    font-size: 1.1em;
    font-weight: 900;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.trades-table th, .trades-table td {
    padding: 6px 8px;
    font-size: 0.98em;
}
.trades-table th {
    color: var(--accent2);
    font-weight: 700;
    border-bottom: 1.5px solid var(--accent2);
}
.trades-table {
    border-radius: 10px;
    overflow: hidden;
    background: var(--sidebar-bg);
    box-shadow: 0 1.5px 6px #38bdf822;
}
@media (max-width: 900px) {
    .main-content, .premium-main-content { padding: 0 2vw; }
    .dashboard-section { padding: 8px 2vw; }
}
.dashboard-section {
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: 0 2px 12px #38bdf822;
    margin: 24px 0;
    padding: 18px 24px 14px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.dashboard-section h2 {
    color: var(--accent2);
    font-size: 1.2em;
    font-weight: 900;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.watchlist-widget {
    background: var(--sidebar-bg);
    border-radius: 12px;
    box-shadow: 0 1.5px 6px #38bdf822;
    padding: 12px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.watchlist-widget table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 8px;
}
.watchlist-widget th, .watchlist-widget td {
    padding: 6px 10px;
    text-align: left;
    font-size: 1em;
}
.watchlist-widget th {
    color: var(--accent);
    font-weight: 700;
    border-bottom: 1.5px solid var(--accent2);
}
.watchlist-widget td.up { color: var(--success); font-weight: 700; }
.watchlist-widget td.down { color: var(--danger); font-weight: 700; }
.watchlist-remove {
    background: none;
    border: none;
    color: var(--danger);
    font-size: 1.1em;
    cursor: pointer;
    transition: color 0.18s;
}
.watchlist-remove:hover { color: #fff; background: var(--danger); border-radius: 50%; }
.watchlist-add-form {
    display: flex;
    gap: 8px;
}
.watchlist-add-form input {
    flex: 1;
    border-radius: 8px;
    border: 1.5px solid var(--accent2);
    padding: 6px 10px;
    font-size: 1em;
    background: var(--primary-bg);
    color: var(--text);
}
.watchlist-add-form button {
    background: var(--accent2);
    color: #23293a;
    border: none;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 1em;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
}
.watchlist-add-form button:hover { background: var(--accent); color: #fff; }
.mini-chart-widget {
    background: var(--sidebar-bg);
    border-radius: 12px;
    box-shadow: 0 1.5px 6px #38bdf822;
    padding: 12px 18px;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#miniChartCanvas {
    width: 100% !important;
    height: 120px !important;
    max-width: 400px;
}
.orderbook-widget {
    background: var(--sidebar-bg);
    border-radius: 12px;
    box-shadow: 0 1.5px 6px #38bdf822;
    padding: 12px 18px;
    overflow-x: auto;
}
.orderbook-widget table {
    width: 100%;
    border-collapse: collapse;
}
.orderbook-widget th, .orderbook-widget td {
    padding: 6px 10px;
    text-align: center;
    font-size: 1em;
}
.orderbook-widget th {
    color: var(--accent);
    font-weight: 700;
    border-bottom: 1.5px solid var(--accent2);
}
.quick-trade-form {
    display: flex;
    gap: 8px;
    background: var(--sidebar-bg);
    border-radius: 12px;
    box-shadow: 0 1.5px 6px #38bdf822;
    padding: 12px 18px;
    align-items: center;
}
.quick-trade-form input, .quick-trade-form select {
    border-radius: 8px;
    border: 1.5px solid var(--accent2);
    padding: 6px 10px;
    font-size: 1em;
    background: var(--primary-bg);
    color: var(--text);
}
.quick-trade-form button {
    background: var(--accent2);
    color: #23293a;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 1em;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
    display: flex;
    align-items: center;
    gap: 6px;
}
.quick-trade-form button:hover { background: var(--accent); color: #fff; }
.notification-center-modal {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: #0008;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.notification-center-content {
    background: var(--card-bg);
    color: var(--text);
    border-radius: 18px;
    box-shadow: 0 4px 24px #38bdf822;
    padding: 32px 28px 18px 28px;
    min-width: 340px;
    max-width: 95vw;
}
.notification-center-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.2em;
    font-weight: 900;
    color: var(--accent2);
    margin-bottom: 18px;
}
.notification-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.notification-list li {
    background: var(--sidebar-bg);
    border-radius: 8px;
    padding: 10px 14px;
    color: var(--text);
    font-size: 1em;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 1px 4px #38bdf822;
}
.sidebar-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
    border: 2px solid var(--accent2);
    box-shadow: 0 2px 8px #38bdf822;
    margin-top: 8px;
}
@media (max-width: 900px) {
    .dashboard-section { padding: 10px 4vw; }
    .notification-center-content { min-width: 220px; padding: 18px 8px 10px 8px; }
}
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@900&family=Orbitron:wght@700&display=swap');
:root {
    --primary-bg: #000000;
    --card-bg: #000000;
    --sidebar-bg: #000000;
    --accent: #1e90ff;
    --accent2: #38bdf8;
    --danger: #ef4444;
    --success: #22c55e;
    --gold: #ffd700;
    --text: #f5f7fa;
    --text-muted: #b0b8c9;
    --radius: 16px;
    --shadow: 0 8px 32px 0 #38bdf822, 0 2px 8px #fbbf2422;
}
body, html {
    min-height: 100vh;
    background: var(--primary-bg);
    color: var(--text);
    font-family: 'Inter', Arial, sans-serif;
}
body.dark-theme {
    background: #23293a;
    color: #f7faff;
}
header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(24,29,39,0.98);
    padding: 0 32px;
    height: 70px;
    box-shadow: 0 4px 32px #000a;
}
.logo {
    height: 44px;
}
/* .logo.animated-logo ruleset removed because it was empty */

/* Moved out from .logo.animated-logo for valid CSS */
.sidebar-icon-btn,
.watchlist-remove,
.watchlist-add-form button,
.quick-trade-form button,
.snapshot-main-btn,
.action-btn,
.premium-btn,
.premium-action,
.trades-table-section button,
.notification-center-header button {
    background: var(--accent) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px #1e90ff33 !important;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s !important;
    cursor: pointer;
}
.sidebar-icon-btn:hover,
.watchlist-remove:hover,
.watchlist-add-form button:hover,
.quick-trade-form button:hover,
.snapshot-main-btn:hover,
.action-btn:hover,
.premium-btn:hover,
.premium-action:hover,
.trades-table-section button:hover,
.notification-center-header button:hover {
    background: #38bdf8 !important;
    color: #fff !important;
    box-shadow: 0 4px 18px #38bdf844 !important;
    transform: scale(1.05);
}
.sidebar-icon-btn.active {
    background: #38bdf8 !important;
    color: #fff !important;
}
.watchlist-widget th, .orderbook-widget th {
    color: var(--accent) !important;
    font-weight: 700;
    border-bottom: 1.5px solid var(--accent);
}
.trades-table-section h2 {
    color: var(--accent);
    font-size: 1.1em;
    font-weight: 900;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.trades-table th {
    color: var(--accent);
    font-weight: 700;
    border-bottom: 1.5px solid var(--accent);
}
.hero p {
    font-size: 1.3em;
    margin-bottom: 28px;
    color: #b0b8c9;
}
.cta {
    display: inline-block;
    background: linear-gradient(90deg, #00e6d0 0%, #4f8cff 100%);
    color: #fff;
    font-weight: 900;
    padding: 14px 36px;
    border-radius: 12px;
    margin-right: 16px;
    text-decoration: none;
    font-size: 1.1em;
    box-shadow: 0 2px 8px #4f8cff33;
    transition: background 0.18s, transform 0.18s;
}
.cta.secondary {
    background: #23293a;
    color: #00e6d0;
    border: 2px solid #00e6d0;
}
.cta:hover {
    background: linear-gradient(90deg, #4f8cff 0%, #00e6d0 100%);
    transform: translateY(-2px) scale(1.04);
}
.hero-img {
    width: 480px;
    border-radius: 18px;
    box-shadow: 0 4px 32px #4f8cff33;
}
.features-preview {
    padding: 60px 10vw 40px 10vw;
    background: #181d27;
    border-radius: 18px;
    margin: 40px 0;
}
.features-preview h2 {
    font-size: 2em;
    font-weight: 900;
    margin-bottom: 36px;
    color: #00e6d0;
}
.features-list {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.feature {
    background: #23293a;
    border-radius: 14px;
    padding: 28px 22px;
    flex: 1 1 220px;
    min-width: 220px;
    box-shadow: 0 2px 12px #4f8cff22;
    text-align: center;
}
.feature i {
    font-size: 2.2em;
    color: #ffd700;
    margin-bottom: 12px;
}
.feature h3 {
    font-size: 1.2em;
    font-weight: 800;
    margin-bottom: 10px;
    color: #4f8cff;
}
.feature p {
    color: #b0b8c9;
    font-size: 1em;
}
.testimonials {
    padding: 40px 10vw;
    background: #23293a;
    border-radius: 18px;
    margin: 40px 0;
}
.testimonials h2 {
    color: #ffd700;
    font-size: 1.5em;
    font-weight: 900;
    margin-bottom: 24px;
}
.testimonial-list {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}
.testimonial {
    background: #181d27;
    border-radius: 12px;
    padding: 24px 18px;
    flex: 1 1 220px;
    min-width: 220px;
    color: #fff;
    box-shadow: 0 2px 12px #4f8cff11;
}
.testimonial span {
    color: #00e6d0;
    font-weight: 700;
    display: block;
    margin-top: 14px;
}
footer {
    background: #181d27;
    color: #b0b8c9;
    text-align: center;
    padding: 24px 0 12px 0;
    font-size: 1em;
    border-radius: 0 0 18px 18px;
    margin-top: 40px;
}
/* Premium animated brand where Trade and Dynamic collide */
.animated-collide-brand {
    display: inline-block;
    position: relative;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    height: 2em;
    overflow: hidden;
}

.trade-part, .dynamic-part {
    display: inline-block;
    position: relative;
    padding: 0 0.15em;
    background: linear-gradient(90deg, #3b82f6 0%, #38bdf8 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-family: inherit;
    font-weight: 800;
    font-size: 1em;
    z-index: 1;
    animation: tradeSlide 1.6s cubic-bezier(.68,-0.55,.27,1.55) forwards;
}

.dynamic-part {
 display: inline-block;
    position: relative;
    padding: 0 0.15em;
    background: linear-gradient(90deg, #3b82f6 0%, #38bdf8 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-family: inherit;
    font-weight: 800;
    font-size: 1em;
    z-index: 1;
    animation: tradeSlide 1.6s cubic-bezier(.68,-0.55,.27,1.55) forwards;
}

@keyframes tradeSlide {
    0% { transform: translateX(-60px) scale(0.8); opacity: 0; }
    60% { transform: translateX(0) scale(1.1); opacity: 1; }
    80% { transform: translateX(0) scale(1.2); opacity: 1; }
    100% { transform: translateX(0) scale(1); opacity: 1; }
}
@keyframes dynamicSlide {
    0% { transform: translateX(60px) scale(0.8); opacity: 0; }
    60% { transform: translateX(0) scale(1.1); opacity: 1; }
    80% { transform: translateX(0) scale(1.2); opacity: 1; }
    100% { transform: translateX(0) scale(1); opacity: 1; }
}

/* Collision effect */
.animated-collide-brand .trade-part {
    animation-timing-function: cubic-bezier(.68,-0.55,.27,1.55);
}
.animated-collide-brand .dynamic-part {
    animation-timing-function: cubic-bezier(.68,-0.55,.27,1.55);
}

/* Optional: subtle glow on collision */
.animated-collide-brand .trade-part,
.animated-collide-brand .dynamic-part {
    text-shadow: 0 0 12px #38bdf855, 0 2px 8px #22c55e33;
}
.premium-brand {
    display: inline-block;
    font-family: 'Montserrat', 'Inter', Arial, sans-serif;
    font-size: 1.7rem;
    font-weight: 900;
    letter-spacing: 2px;
    position: relative;
    background: none;
    height: 2em;
    vertical-align: middle;
}

.brand-gradient {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(90deg, #3b82f6 0%, #38bdf8 40%, #22c55e 80%, #fbbf24 100%);
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 0 2px 8px #38bdf855, 0 0px 12px #22c55e33;
    animation: gradientMove 2.5s linear infinite;
    font-family: inherit;
    font-weight: 900;
    font-size: 1em;
    margin-right: 0.15em;
    filter: drop-shadow(0 2px 6px #38bdf8aa);
}

.brand-gradient.dynamic {
    animation-delay: 1.2s;
    margin-left: 0.15em;
}

.brand-letter {
    display: inline-flex;
    align-items: center;
    margin: 0 2px;
    font-size: 1em;
    font-weight: 900;
    position: relative;
    transition: transform 0.2s;
    animation: letterPop 0.8s cubic-bezier(.68,-0.55,.27,1.55);
}

.brand-letter i {
    margin-right: 3px;
    font-size: 1em;
    vertical-align: middle;
    color: #fbbf24;
    animation: iconFlash 1.5s infinite alternate;
}

@keyframes gradientMove {
    0% {background-position: 0% 50%;}
    50% {background-position: 100% 50%;}
    100% {background-position: 0% 50%;}
}
@keyframes letterPop {
    0% {transform: scale(0.7); opacity: 0;}
    80% {transform: scale(1.2); opacity: 1;}
    100% {transform: scale(1); opacity: 1;}
}
@keyframes iconFlash {
    0% {color: #6040b0;}
    100% {color: #22c55e;}
}

.premium-brand:hover .brand-letter {
    transform: scale(1.15) rotate(-5deg);
    text-shadow: 0 4px 18px #9de2b699, 0 2px 12px #fbbf2444;
}
.brand-unique {
    display: inline-flex;
    align-items: center;
    font-size: 2rem;
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 500;
    letter-spacing: 2px;
    position: relative;
    height: 2em;
    vertical-align: middle;
    overflow: hidden;
}

.brand-trade, .brand-dynamic {
    display: inline-block;
    background: linear-gradient(90deg, #3b82f6 0%, #38bdf8 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-family: inherit;
    font-weight: 900;
    text-shadow: 0 2px 8px #38bdf855;
    animation: collideIn 1.2s cubic-bezier(.68,-0.55,.27,1.55) forwards, vanishSand 2.5s 1.2s linear forwards, reappearText 1.2s 3.7s cubic-bezier(.68,-0.55,.27,1.55) forwards;
}

.brand-dynamic {
    background: linear-gradient(90deg, #fbbf24 0%, #22c55e 100%);
    animation-delay: 0.2s, 1.4s, 3.9s;
}

@keyframes collideIn {
    0% { transform: translateX(-60px) scale(0.8); opacity: 0; }
    60% { transform: translateX(0) scale(1.1); opacity: 1; }
    100% { transform: translateX(0) scale(1); opacity: 1; }
}
@keyframes vanishSand {
    0% { filter: blur(0px); opacity: 1; letter-spacing: 2px; }
    60% { filter: blur(2px); opacity: 0.7; letter-spacing: 6px; }
    80% { filter: blur(8px); opacity: 0.2; letter-spacing: 12px; }
    100% { filter: blur(18px); opacity: 0; letter-spacing: 20px; }
}
@keyframes reappearText {
    0% { filter: blur(18px); opacity: 0; letter-spacing: 20px; }
    60% { filter: blur(8px); opacity: 0.2; letter-spacing: 12px; }
    80% { filter: blur(2px); opacity: 0.7; letter-spacing: 6px; }
    100% { filter: blur(0px); opacity: 1; letter-spacing: 2px; }
}

.brand-separator {
    color: #22c55e;
    font-size: 1.5em;
    font-weight: 900;
    margin: 0 0.3em;
    position: relative;
    animation: separatorPulse 1.5s infinite alternate;
}

.sparkle-bar {
    display: inline-block;
    width: 8px;
    height: 1.5em;
    background: linear-gradient(180deg, #fbbf24 0%, #38bdf8 100%);
    border-radius: 4px;
    margin: 0 2px;
    box-shadow: 0 0 8px #fbbf24, 0 0 18px #38bdf8;
    animation: sparkleBarAnim 1.2s infinite alternate;
}

@keyframes separatorPulse {
    0% { color: #22c55e; }
    100% { color: #38bdf8; }
}
@keyframes sparkleBarAnim {
    0% { opacity: 0.7; box-shadow: 0 0 8px #fbbf24, 0 0 18px #38bdf8; }
    100% { opacity: 1; box-shadow: 0 0 18px #fbbf24, 0 0 32px #38bdf8; }
}
.brand-symbol-d i {
    color: #1e3c72;
    margin-right: 2px;
    font-size: 1.1em;
    vertical-align: middle;
    animation: symbolPop 1.2s cubic-bezier(.68,-0.55,.27,1.55);
}
.brand-symbol-y i {
    color: #1e3c72;
    margin-right: 2px;
    font-size: 1.1em;
    vertical-align: middle;
    animation: symbolPop 1.2s 0.3s cubic-bezier(.68,-0.55,.27,1.55);
}
.brand-yne {
    color: #4f8cff !important; /* Light royal blue */
    font-weight: 500;
    font-size: 2rem;
    letter-spacing: 2px;
    font-family: 'Poppins', Arial, sans-serif;
    margin-left: 0.2em;
    display: inline-flex;
    align-items: center;
}
.brand-trad {
    color: #23272f !important;
    font-weight: 500;
    font-size: 2rem;
    letter-spacing: 2px;
    font-family: 'Poppins', Arial, sans-serif;
    display: inline-flex;
    align-items: center;
}
.brand-symbol-d svg, .brand-symbol-y svg {
    height: 2rem;
    width: 1.5rem;
    vertical-align: middle;
    margin: 0 2px;
    transition: transform 0.2s;
}
.brand-symbol-d svg:hover, .brand-symbol-y svg:hover {
    transform: scale(1.12) rotate(-3deg);
    filter: drop-shadow(0 2px 8px #4f8cff88);
}
.brand-fight-d, .brand-fight-y {
    display: inline-block;
    position: relative;
    font-size: 2rem;
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 500;
    transition: color 0.3s, transform 0.3s;
}
.brand-fight-d {
    color: #23272f;
}
.brand-fight-y {
    color: #4f8cff;
}

/* Animation: D and Y "fight" with swinging arms */
.fight-animate-d {
    animation: fightD 2.2s cubic-bezier(.68,-0.55,.27,1.55);
}
.fight-animate-y {
    animation: fightY 2.2s cubic-bezier(.68,-0.55,.27,1.55);
}
@keyframes fightD {
    0% { transform: translateX(0) rotate(0deg);}
    20% { transform: translateX(10px) rotate(-15deg);}
    40% { transform: translateX(-10px) rotate(15deg);}
    60% { transform: translateX(12px) rotate(-20deg);}
    80% { transform: translateX(-12px) rotate(20deg);}
    100% { transform: translateX(0) rotate(0deg);}
}
@keyframes fightY {
    0% { transform: translateX(0) rotate(0deg);}
    20% { transform: translateX(-10px) rotate(15deg);}
    40% { transform: translateX(10px) rotate(-15deg);}
    60% { transform: translateX(-12px) rotate(20deg);}
    80% { transform: translateX(12px) rotate(-20deg);}
    100% { transform: translateX(0) rotate(0deg);}
}

/* After fight, both letters return to normal */
.fight-normal-d {
    color: #23272f;
    transform: none;
}
.fight-normal-y {
    color: #4f8cff;
    transform: none;
}

/* Optional: Add "arms" as pseudo-elements during fight */
.fight-animate-d::after {
    content: '';
    position: absolute;
    top: 0.7em;
    left: 1.1em;
    width: 0.7em;
    height: 0.15em;
    background: #23272f;
    border-radius: 0.1em;
    transform: rotate(30deg);
    animation: armSwingD 2.2s;
}
.fight-animate-y::after {
    content: '';
    position: absolute;
    top: 0.7em;
    left: -0.7em;
    width: 0.7em;
    height: 0.15em;
    background: #4f8cff;
    border-radius: 0.1em;
    transform: rotate(-30deg);
    animation: armSwingY 2.2s;
}
@keyframes armSwingD {
    0% {transform: rotate(30deg);}
    20% {transform: rotate(60deg);}
    40% {transform: rotate(10deg);}
    60% {transform: rotate(70deg);}
    80% {transform: rotate(0deg);}
    100% {transform: rotate(30deg);}
}
@keyframes armSwingY {
    0% {transform: rotate(-30deg);}
    20% {transform: rotate(-60deg);}
    40% {transform: rotate(-10deg);}
    60% {transform: rotate(-70deg);}
    80% {transform: rotate(0deg);}
    100% {transform: rotate(-30deg);}
}
.feature-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px #2a529822;
    padding: 1.5rem 1.2rem;
    margin-bottom: 1.5rem;
    transition: box-shadow 0.2s;
}
.feature-card:hover {
    box-shadow: 0 8px 32px #11998e33;
}
.feature-card h3 {
    color: #11998e;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-family: 'Poppins', Arial, sans-serif;
}
.feature-card p {
    color: #23272f;
    font-size: 1rem;
    margin-bottom: 0.7rem;
}
.feature-link {
    color: #4f8cff;
    text-decoration: underline;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.2s;
}
.feature-link:hover {
    color: #11998e;
}
.quick-btn.compact {
    padding: 8px 12px;
    font-size: 1em;
    border-radius: 8px;
    min-width: 38px;
    min-height: 38px;
}
.quick-actions.compact {
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
@media (max-width: 700px) {
    .quick-btn.compact {
        padding: 8px;
        font-size: 1.1em;
        min-width: 32px;
        min-height: 32px;
    }
}
@media (max-width: 900px) {
    .hero, .features-preview, .testimonials {
        padding: 40px 2vw;
    }
    .hero {
        flex-direction: column;
        text-align: center;
    }
    .hero-img {
        width: 90vw;
        margin-top: 24px;
    }
    .features-list, .testimonial-list {
        flex-direction: column;
        gap: 18px;
    }
}
body.dark-theme .card-bg,
body.dark-theme .sidebar-bg,
body.dark-theme .header-bar,
body.dark-theme .metric-card,
body.dark-theme .chart-card,
body.dark-theme .trades-table-section,
body.dark-theme .logs-section {
    background: #23293a !important;
    color: #f7faff !important;
}
body.dark-theme .trades-table th {
    background: #23293a !important;
    color: #00e6d0 !important;
}
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.5vw;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
    gap: 2vw;
}
.navbar-links {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    justify-content: flex-start;
    flex: 1;
    min-width: 0;
    margin-left: 10vw;
}
.navbar-auth {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-left: 15vw;
    justify-content: flex-start;
    flex-shrink: 0;
}
.premium-btn-nav {
    background: linear-gradient(90deg,#11998e 0%,#4f8cff 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 0.4em 1em;
    font-size: 0.9em;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(59,130,246,0.13);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    font-family: 'Poppins', Arial, sans-serif;
    display: flex;
    align-items: center;
    gap: 0.5em;
    outline: none;
    white-space: nowrap;
}
.premium-btn-nav.login-btn {
    background: linear-gradient(90deg,#4f8cff 0%,#11998e 100%);
}
.premium-btn-nav.signup-btn {
    background: linear-gradient(90deg,#11998e 0%,#38ef7d 100%);
}
.premium-btn-nav:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 32px #4f8cff44;
    z-index: 2;
}
.premium-btn-nav:active {
    transform: scale(0.97);
    box-shadow: 0 2px 8px #11998e22;
}
.action-btn {
    background: linear-gradient(120deg, #f7faff 0%, #e3f0ff 100%);
    color: #0052cc;
    border: 1.5px solid #e3e8f0;
    border-radius: 14px;
    padding: 13px 36px;
    font-weight: 800;
    font-size: 1.13em;
    box-shadow: 0 2px 12px #0052cc22, 0 1.5px 4px #00e6d022;
    cursor: pointer;
    margin-top: 14px;
    letter-spacing: 0.7px;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
    outline: none;
    position: relative;
    overflow: hidden;
}
.action-btn:hover, .action-btn:focus {
    background: linear-gradient(120deg, #e3f0ff 0%, #f7faff 100%);
    color: #00e6d0;
    box-shadow: 0 4px 18px #00e6d044, 0 2px 8px #0052cc22;
    transform: translateY(-2px) scale(1.045);
}
.action-btn:active {
    background: #00e6d0;
    color: #fff;
    box-shadow: 0 2px 8px #0052cc33;
    transform: scale(0.98);
}
.action-btn.danger {
    background: linear-gradient(90deg,#ff5252 0%,#ffb3b3 100%);
    color: #fff;
    border: 1.5px solid #ffb3b3;
}
.action-btn.danger:hover, .action-btn.danger:focus {
    background: linear-gradient(90deg,#ffb3b3 0%,#ff5252 100%);
    color: #fff;
}
.quick-btn {
    background: linear-gradient(120deg, #f7faff 0%, #e3f0ff 100%);
    color: #0052cc;
    border: 1.5px solid #e3e8f0;
    border-radius: 10px;
    padding: 9px 20px;
    font-weight: 700;
    cursor: pointer;
    font-size: 1em;
    box-shadow: 0 2px 12px #0052cc22, 0 1.5px 4px #00e6d022;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
    outline: none;
    position: relative;
    overflow: hidden;
}
.quick-btn:hover, .quick-btn:focus {
    background: linear-gradient(120deg, #e3f0ff 0%, #f7faff 100%);
    color: #00e6d0;
    box-shadow: 0 4px 18px #00e6d044, 0 2px 8px #0052cc22;
    transform: translateY(-1.5px) scale(1.04);
}
.quick-btn:active {
    background: #00e6d0;
    color: #fff;
    box-shadow: 0 2px 8px #0052cc33;
    transform: scale(0.98);
}

/* --- Premium Dashboard Styles (migrated from automation.html) --- */
.premium-sidebar {
    position: fixed;
    left: 0; top: 0; bottom: 0;
    width: 70px;
    background: var(--sidebar-bg);
    box-shadow: 2px 0 16px #000a;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 100;
    padding-top: 18px;
    gap: 0;
}
.premium-sidebar .sidebar-top {
    margin-bottom: 18px;
}
.premium-logo {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #fff;
    object-fit: contain;
    box-shadow: 0 2px 12px #38bdf822;
    border: 2px solid #23293a;
    padding: 3px;
    display: block;
    margin: 0 auto;
}
.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 12px;
}
.sidebar-icon-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--card-bg);
    color: var(--accent);
    border: none;
    box-shadow: 0 2px 8px #38bdf822;
    font-size: 1.45em;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
    cursor: pointer;
    position: relative;
}
.sidebar-icon-btn:hover, .sidebar-icon-btn.active {
    background: var(--accent2);
    color: #23293a;
    box-shadow: 0 4px 18px #38bdf833;
    transform: scale(1.08);
}
.sidebar-bottom {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 18px;
}

.premium-main-content {
    margin-left: 70px;
    min-height: 100vh;
    background: var(--primary-bg);
    display: flex;
    flex-direction: column;
}
.premium-header {
    background: var(--card-bg);
    box-shadow: var(--shadow);
    padding: 0 32px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 2px solid var(--accent2);
}
.premium-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 2em;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--accent);
    text-shadow: 0 2px 8px #38bdf822;
}
.brand-gradient {
    background: linear-gradient(90deg, #3b82f6 0%, #38bdf8 40%, #22c55e 80%, #fbbf24 100%);
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    animation: gradientMove 2.5s linear infinite;
    font-weight: 900;
    font-size: 1em;
    filter: drop-shadow(0 2px 6px #38bdf8aa);
}
@keyframes gradientMove {
    0% {background-position: 0% 50%;}
    50% {background-position: 100% 50%;}
    100% {background-position: 0% 50%;}
}
.brand-separator {
    color: #22c55e;
    font-size: 1.5em;
    font-weight: 900;
    margin: 0 0.3em;
    animation: separatorPulse 1.5s infinite alternate;
}
@keyframes separatorPulse {
    0% { color: #22c55e; }
    100% { color: #38bdf8; }
}
.brand-yne {
    color: #4f8cff;
    font-weight: 700;
    font-size: 1.1em;
    letter-spacing: 2px;
    font-family: 'Poppins', Arial, sans-serif;
    margin-left: 0.2em;
    display: inline-flex;
    align-items: center;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.premium-action {
    margin: 0;
    padding: 8px 18px;
    font-size: 1em;
    border-radius: 10px;
    font-weight: 700;
    background: linear-gradient(120deg, #f7faff 0%, #e3f0ff 100%);
    color: #0052cc;
    border: 1.5px solid #e3e8f0;
    box-shadow: 0 2px 12px #0052cc22, 0 1.5px 4px #00e6d022;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.premium-action:hover, .premium-action:focus {
    background: linear-gradient(120deg, #e3f0ff 0%, #f7faff 100%);
    color: #00e6d0;
    box-shadow: 0 4px 18px #00e6d044, 0 2px 8px #0052cc22;
    transform: translateY(-2px) scale(1.045);
}
.premium-action:active {
    background: #00e6d0;
    color: #fff;
    box-shadow: 0 2px 8px #0052cc33;
    transform: scale(0.98);
}

.premium-snapshot-btns {
    display: flex;
    gap: 18px;
    justify-content: center;
    align-items: center;
    margin: 24px 0 10px 0;
}
.premium-btn {
    background: linear-gradient(120deg, #f7faff 0%, #e3f0ff 100%);
    color: #0052cc;
    border: 1.5px solid #e3e8f0;
    border-radius: 10px;
    padding: 10px 22px;
    font-weight: 700;
    font-size: 1em;
    box-shadow: 0 2px 12px #0052cc22, 0 1.5px 4px #00e6d022;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.premium-btn:hover, .premium-btn:focus {
    background: linear-gradient(120deg, #e3f0ff 0%, #f7faff 100%);
    color: #00e6d0;
    box-shadow: 0 4px 18px #00e6d044, 0 2px 8px #0052cc22;
    transform: translateY(-1.5px) scale(1.04);
}
.premium-btn:active {
    background: #00e6d0;
    color: #fff;
    box-shadow: 0 2px 8px #0052cc33;
    transform: scale(0.98);
}

.premium-dashboard-main {
    max-width: 1400px;
    margin: 36px auto 0 auto;
    padding: 0 18px 36px 18px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.premium-summary-bar {
    gap: 0;
    margin-bottom: 0;
}
.premium-metrics-row {
    display: flex;
    flex-direction: row;
    gap: 14px;
    margin-bottom: 0;
    justify-content: center;
    align-items: stretch;
}
.premium-metric-card {
    background: #23293a;
    border-radius: 16px;
    box-shadow: 0 4px 24px #38bdf822, 0 2px 8px #fbbf2422;
    border: 2px solid #23293a;
    padding: 16px 18px 12px 18px;
    min-width: 0;
    position: relative;
    transition: box-shadow 0.18s, transform 0.18s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}
.premium-metric-card:hover {
    box-shadow: 0 8px 32px #38bdf888, 0 4px 16px #fbbf2444;
    transform: translateY(-2px) scale(1.04);
}
.premium-metric-icon {
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    margin-bottom: 4px;
}
.premium-notification-bar {
    background: #23293a;
    color: var(--accent2);
    border-radius: 12px;
    padding: 10px 18px;
    margin-bottom: 12px;
    font-weight: 600;
    box-shadow: 0 2px 8px #38bdf855;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1em;
}
.premium-footer {
    background: #181d27;
    color: #b0b8c9;
    text-align: center;
    padding: 18px 0;
    font-size: 1em;
    letter-spacing: 0.5px;
    margin-top: auto;
    border-radius: 0 0 18px 18px;
}
.premium-link {
    color: #fbbf24;
    text-decoration: none;
    font-weight: 600;
}
.premium-link:hover {
    color: #38bdf8;
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 1100px) {
    .premium-dashboard-main { padding: 0 2vw; }
    .premium-metrics-row { flex-direction: column; gap: 10px; }
    .premium-snapshot-btns { flex-direction: column; gap: 12px; margin: 14px 0 8px 0; }
}
@media (max-width: 900px) {
    .premium-main-content { margin-left: 54px; }
    .premium-sidebar { width: 54px; }
    .premium-header { padding: 0 2vw; height: auto; flex-direction: column; align-items: flex-start; gap: 10px; }
    .premium-brand { gap: 8px; font-size: 1.3em; }
    .premium-snapshot-btns { flex-direction: column; gap: 10px; margin: 10px 0 6px 0; }
    .premium-metrics-row { flex-direction: column; gap: 8px; }
    .premium-metric-card { padding: 10px 8px 8px 8px; }
}
@media (max-width: 600px) {
    .premium-main-content { margin-left: 0; }
    .premium-sidebar { display: none; }
    .premium-header { padding: 0 1vw; }
    .premium-brand { gap: 6px; font-size: 1em; }
    .premium-snapshot-btns { flex-direction: column; gap: 6px; margin: 6px 0 2px 0; }
    .premium-metrics-row { flex-direction: column; gap: 6px; }
    .premium-metric-card { padding: 6px 4px 4px 4px; }
    .premium-footer { font-size: 0.9em; padding: 8px 0; }
}

/* Icon classes for strategy cards (premium look) */
.icon-orb { color: #38bdf8; background: #23293a; border-radius:50%; padding:7px; }
.icon-gapandgo { color: #fbbf24; background: #23293a; border-radius:50%; padding:7px; }
.icon-gapfade { color: #22c55e; background: #23293a; border-radius:50%; padding:7px; }
.icon-gapandgodownside { color: #ef4444; background: #23293a; border-radius:50%; padding:7px; }
.icon-gapfadeupside { color: #4f8cff; background: #23293a; border-radius:50%; padding:7px; }
.icon-vwap { color: #00e6d0; background: #23293a; border-radius:50%; padding:7px; }
.icon-supportbreakout { color: #fbbf24; background: #23293a; border-radius:50%; padding:7px; }
.icon-breakdowncontinuation { color: #ef4444; background: #23293a; border-radius:50%; padding:7px; }
.icon-shortcoveringrally { color: #22c55e; background: #23293a; border-radius:50%; padding:7px; }
.icon-adv { color: #38bdf8; background: #23293a; border-radius:50%; padding:7px; }
.icon-trendpullback { color: #fbbf24; background: #23293a; border-radius:50%; padding:7px; }
.icon-volbreakout { color: #ef4444; background: #23293a; border-radius:50%; padding:7px; }
.icon-supertrend { color: #00e6d0; background: #23293a; border-radius:50%; padding:7px; }
.icon-hhll { color: #4f8cff; background: #23293a; border-radius:50%; padding:7px; }
.icon-pullback { color: #22c55e; background: #23293a; border-radius:50%; padding:7px; }
.icon-zscore { color: #38bdf8; background: #23293a; border-radius:50%; padding:7px; }
.icon-squeeze { color: #fbbf24; background: #23293a; border-radius:50%; padding:7px; }
.icon-rsmomentum { color: #ef4444; background: #23293a; border-radius:50%; padding:7px; }
.icon-bbmr { color: #38bdf8; background: #23293a; border-radius:50%; padding:7px; }
.icon-vwapmr { color: #22c55e; background: #23293a; border-radius:50%; padding:7px; }
.icon-stochmr { color: #4f8cff; background: #23293a; border-radius:50%; padding:7px; }
.icon-osmr { color: #38bdf8; background: #23293a; border-radius:50%; padding:7px; }
.icon-multitfma { color: #fbbf24; background: #23293a; border-radius:50%; padding:7px; }
.icon-crossassetvoldiv { color: #22c55e; background: #23293a; border-radius:50%; padding:7px; }
.icon-liquidityvacuum { color: #38bdf8; background: #23293a; border-radius:50%; padding:7px; }

/* Premium snapshot card, grid, and metric styles */
.premium-snapshot-card {
    background: linear-gradient(120deg, #181d27 60%, #23293a 100%);
    border-radius: 16px;
    box-shadow: 0 6px 32px #38bdf818, 0 2px 8px #fbbf2422;
    border: 2px solid #23293a;
    padding: 20px 24px 14px 24px;
    animation: fadeIn 0.7s cubic-bezier(.68,-0.55,.27,1.55);
}
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(16px); }
    100% { opacity: 1; transform: translateY(0); }
}
.premium-snapshot-card h2 {
    color: var(--accent2);
    font-weight: 900;
    letter-spacing: 1px;
    font-size: 1.18em;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.snapshot-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px 18px;
    margin-top: 8px;
}
.snapshot-metric-premium {
    background: #23293a;
    border-radius: 12px;
    box-shadow: 0 2px 12px #38bdf822;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1em;
    font-weight: 600;
    border: 1.5px solid #23293a;
    transition: box-shadow 0.18s, transform 0.18s;
    position: relative;
    animation: popInMetric 0.7s cubic-bezier(.68,-0.55,.27,1.55);
}
.snapshot-metric-premium:hover {
    box-shadow: 0 6px 24px #38bdf844;
    transform: translateY(-2px) scale(1.04);
}
@keyframes popInMetric {
    0% { transform: scale(0.7); opacity: 0; }
    80% { transform: scale(1.08); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}
.news-row-premium {
  background: linear-gradient(120deg,rgba(255,255,255,0.38) 60%,rgba(56,189,248,0.18) 100%);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px #38bdf822, 0 1.5px 0 #2563eb22 inset;
  border-radius: 18px;
  margin: 0 16px 12px 16px;
  transition: box-shadow .22s, background .22s, transform .18s;
}
.news-row-premium:hover {
  box-shadow: 0 8px 40px #38bdf822;
  background: linear-gradient(120deg,rgba(56,189,248,0.28) 0%,rgba(255,255,255,0.42) 100%);
  transform: scale(1.018);
}
.source-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 8px #6366f122;
  background: #fff;
}

/* ...other dashboard-specific styles can be added here as needed... */