:root {
    --bg-main: #020617;
    --bg-sidebar: #0f172a;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --primary: #00d1ff;
    --primary-glow: rgba(0, 209, 255, 0.4);
    --hover: rgba(255, 255, 255, 0.05);
    --border: rgba(51, 65, 85, 0.5);
    --card-bg: #111827;
    --up: #00ca96;
    --down: #ff3b5e;
    --white: #ffffff;
    --header-bg: #0f172a;
}

body.light-theme {
    --bg-main: #f8fafc;
    --bg-sidebar: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --primary: #0284c7;
    --primary-glow: rgba(2, 132, 199, 0.2);
    --hover: #f1f5f9;
    --border: #e2e8f0;
    --card-bg: #ffffff;
    --header-bg: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

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

.app-layout {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 260px;
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.brand {
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background 0.2s;
}

.brand:hover {
    background: var(--hover);
}

.brand-logo-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.brand-info {
    display: flex;
    flex-direction: column;
}

.brand-version {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: -2px;
}


.side-nav {
    flex: 1;
    overflow-y: auto;
    padding: 0 12px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    text-decoration: none;
    color: var(--text-muted);
    border-radius: 12px;
    margin-bottom: 6px;
    transition: all 0.2s;
    font-weight: 500;
}

.nav-item:hover {
    background: var(--hover);
    color: var(--text-main);
}

.nav-item.active {
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(78, 91, 166, 0.2);
}

.nav-spacer {
    height: 40px;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.top-bar {
    height: 80px;
    background: var(--header-bg);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Added for toggle button */
    padding: 0 40px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.theme-switch-btn {
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.theme-switch-btn img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.theme-switch-btn:hover img {
    transform: scale(1.15);
}

body.light-theme .theme-switch-btn img {
    filter: brightness(0.2);
    /* Darken icon in light mode */
}

/* Removed old hover/theme specific styles for non-existent border */

.status-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.status-line {
    display: flex;
    align-items: center;
    gap: 12px;
}

.active-file-info,
.update-info {
    font-size: 0.82rem;
    font-weight: 600;
}

.active-file-info .label,
.update-info .label {
    color: var(--text-muted);
    font-weight: 400;
    margin-right: 4px;
}

.active-file-info .file-label {
    color: var(--primary);
    font-weight: 800;
}

.update-info {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.status-badge {
    font-size: 0.75rem;
    padding: 8px 16px;
    border-radius: 24px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.connect {
    background: #e7fcf5;
    color: var(--up);
    border: 1px solid #c3f6e8;
}

.status-badge.disconnect {
    background: #fff2f4;
    color: var(--down);
    border: 1px solid #ffe1e6;
}

/* Risk Badges */
.risk-badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.risk-low {
    background: #e6fffa;
    color: #00ca96;
    border: 1px solid #b2f5ea;
}

.risk-mid {
    background: #fffaf0;
    color: #faad14;
    border: 1px solid #feebc8;
}

.risk-high {
    background: #fff5f5;
    color: #ff3b5e;
    border: 1px solid #fed7d7;
}

.dashboard-grid {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 1500px;
    margin: 0 auto;
    width: 100%;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    color: var(--text-main);
}

.balance-main h2 {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -1.2px;
    margin-bottom: 2px;
}

.change-info {
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

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

.chart-area {
    height: 200px;
    margin-top: 32px;
}

.distribution-row {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 32px;
}

.mini-list-container {
    height: 320px;
    margin-top: 24px;
    overflow-y: auto;
    padding-right: 8px;
}

.mini-list-container::-webkit-scrollbar {
    width: 4px;
}

.mini-list-container::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

.alloc-item {
    margin-bottom: 20px;
}

.alloc-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.85rem;
    font-weight: 700;
}

.alloc-label {
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.alloc-value {
    color: var(--text-muted);
}

.alloc-bar-bg {
    width: 100%;
    height: 8px;
    background: var(--hover);
    border-radius: 10px;
    overflow: hidden;
}

.alloc-bar-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 10px;
    transition: width 0.5s ease-out;
}

.alloc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.table-card {
    padding: 0;
    overflow: hidden;
}

.table-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid var(--border);
}

.table-header-row h3 {
    padding: 0 !important;
}

/* Drag and Drop & Edit Only Styles */
.edit-only {
    display: none !important;
}

.editing-active .edit-only {
    display: table-cell !important;
}

.drag-handle {
    cursor: grab;
    color: var(--text-muted);
    font-size: 1.2rem;
    text-align: center;
    user-select: none;
}

.drag-handle:active {
    cursor: grabbing;
}

tr.dragging {
    opacity: 0.5;
    background: var(--bg-main) !important;
    border: 2px dashed var(--primary);
}

tr.drag-over {
    border-top: 2px solid var(--primary);
}

.editable-cell:focus {
    outline: 2px solid var(--primary);
    background: rgba(24, 144, 255, 0.05);
    border-radius: 4px;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 800px;
}

.bg-success {
    background: #52c41a !important;
    color: white !important;
    font-weight: 800;
    text-align: center;
}

.bg-danger {
    background: #ff4d4f !important;
    color: white !important;
    font-weight: 800;
    text-align: center;
}

.bg-warning {
    background: #faad14 !important;
    color: white !important;
    font-weight: 800;
    text-align: center;
}

.bg-orange {
    background: #fa8c16 !important;
    color: white !important;
    font-weight: 800;
    text-align: center;
}

th {
    text-align: left;
    padding: 12px 16px;
    color: #1890ff;
    font-size: 0.9rem;
    font-weight: 700;
    border: 1px solid #e8e8e8;
    background: #fafafa;
}

td {
    padding: 10px 16px;
    border: 1px solid #e8e8e8;
    font-size: 0.95rem;
    vertical-align: middle;
}

.table-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.editing-active .table-card {
    border: 2px solid var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
}

.editing-active .editable-cell {
    background: rgba(0, 209, 255, 0.03);
}

.btn-text {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 8px;
    transition: 0.2s;
}

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

.table-container {
    overflow-x: auto;
    padding: 20px;
    background: white;
}

table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e8e8e8;
}

.editable-cell {
    cursor: text;
    border-radius: 6px;
    transition: 0.2s;
    padding: 4px 8px;
    margin: -4px -8px;
}

.editable-cell:hover {
    background: var(--hover);
}

.editable-cell:focus {
    background: white;
    outline: 2px solid var(--primary);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

/* Sleek Compact About Modal Styles */
.about-sleek-compact {
    background: #0d1117;
    color: #c9d1d9;
    max-width: 440px;
    padding: 32px;
    border: 1px solid #30363d;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    border-radius: 16px;
    overflow: hidden !important;
    /* Force no scroll */
}

.close-x-btn {
    position: absolute;
    right: 16px;
    top: 12px;
    background: transparent;
    border: none;
    color: #8b949e;
    font-size: 1.5rem;
    cursor: pointer;
    transition: 0.2s;
    line-height: 1;
}

.close-x-btn:hover {
    color: #58a6ff;
}

.about-main-layout {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-bottom: 24px;
}

.sleek-avatar-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 209, 255, 0.3);
    border: 2px solid var(--primary);
}

.about-right {
    text-align: left;
}

.brand-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 2px;
}

.brand-tagline {
    font-size: 0.8rem;
    color: #8b949e;
    margin-bottom: 12px;
}

.name-display {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
}

.role-display {
    font-size: 0.85rem;
    color: #8b949e;
    margin-bottom: 16px;
}

.compact-links {
    display: flex;
    gap: 12px;
}

.mini-link {
    font-size: 0.8rem;
    color: #58a6ff;
    text-decoration: none;
    font-weight: 600;
    background: #161b22;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #30363d;
    transition: 0.2s;
}

.mini-link:hover {
    background: #1f242c;
    border-color: #58a6ff;
    color: #ffffff;
}

.compact-footer {
    border-top: 1px solid #30363d;
    padding-top: 16px;
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 0.75rem;
    color: #8b949e;
}

.dot-sep {
    color: #30363d;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Database Manager View */
.database-view-container {
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 72px);
    background: radial-gradient(circle at 50% 10%, rgba(88, 166, 255, 0.05), transparent);
}

.db-manager-card {
    width: 100%;
    max-width: 600px;
    text-align: center;
}

.db-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 32px;
}

.db-option-card {
    background: var(--glass);
    border: 1px solid var(--border);
    padding: 30px 20px;
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.db-option-card:hover {
    background: var(--hover);
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--primary-glow);
}

.db-option-card .opt-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}

.db-option-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
}

.db-option-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Modals & Controls */
.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(78, 91, 166, 0.2);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(78, 91, 166, 0.3);
}

.btn-primary:disabled {
    background: var(--border);
    color: var(--text-muted);
    cursor: not-allowed;
    box-shadow: none;
}

.btn-secondary {
    background: white;
    border: 1px solid var(--border);
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

.btn-secondary:hover {
    background: var(--hover);
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 30, 0.7);
    backdrop-filter: blur(12px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.modal-content {
    width: 100%;
    max-width: 600px;
    background: var(--bg-sidebar);
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    animation: zoomIn 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
    margin: auto;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

@keyframes zoomIn {
    from {
        scale: 0.95;
        opacity: 0;
    }

    to {
        scale: 1;
        opacity: 1;
    }
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-main);
}

.form-group input {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    transition: 0.2s;
}

.form-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(78, 91, 166, 0.1);
    outline: none;
}

.delete-btn {
    color: #cbd5e0;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    transition: 0.2s;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.delete-btn:hover {
    color: var(--down);
    background: #fff5f7;
}

@media (max-width: 1100px) {
    .distribution-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 72px;
        z-index: 100;
        border-right: none;
        border-top: 1px solid var(--border);
    }

    .brand,
    .search-box,
    .nav-spacer {
        display: none;
    }

    .side-nav {
        flex-direction: row;
        padding: 0 10px;
        height: 100%;
        align-items: center;
    }

    .nav-item {
        margin: 0;
        flex: 1;
        justify-content: center;
        height: 50px;
        font-size: 0.8rem;
        padding: 0;
    }

    .nav-item .icon {
        font-size: 1.2rem;
    }

    .main-content {
        padding-bottom: 72px;
    }

    .dashboard-grid {
        padding: 20px;
    }
}

/* --- Dashboard Banner --- */
.promo-banner {
    grid-column: 1 / -1;
    padding: 0 !important;
    overflow: hidden;
    height: 180px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    margin-bottom: 5px;
    /* Tiny adjustment to balance flow */
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.promo-banner:hover .banner-img {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .promo-banner {
        height: 120px;
    }
}

/* --- Database Manager Slogan Section --- */
.db-header-content {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.db-illustration {
    width: 100%;
    max-width: 500px;
    height: 180px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s ease;
}

.db-illustration:hover {
    transform: translateY(-5px) scale(1.02);
}

@media (max-width: 768px) {
    .db-illustration {
        height: 120px;
    }
}

/* Database View Custom Layout */
.db-view-flex {
    display: flex;
    gap: 40px;
    padding: 40px;
    align-items: flex-start;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
}

.db-manager-card {
    flex: 1.2;
    max-width: 700px;
}

.db-slogan-panel {
    flex: 1;
    display: flex;
    justify-content: center;
    position: sticky;
    top: 120px;
}

.db-side-slogan {
    width: 100%;
    max-width: 550px;
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 20px var(--primary-glow);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.db-side-slogan:hover {
    transform: scale(1.15) rotate(-5deg) translateY(-20px);
}

@media (max-width: 1100px) {
    .db-view-flex {
        flex-direction: column;
        align-items: center;
    }

    .db-slogan-panel {
        position: static;
        width: 100%;
    }

    .db-side-slogan {
        max-width: 100%;
    }
}

/* --- Global Market Panel (Terminal Style) --- */
.dashboard-top-section {
    grid-column: 1 / -1;
    display: flex;
    gap: 25px;
    margin-bottom: 15px;
    align-items: stretch;
}

.summary-card {
    flex: 1.4;
    min-height: 220px !important;
    display: flex;
    flex-direction: column;
    padding: 24px 32px !important;
}

.summary-flex-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    gap: 20px;
}

.balance-main {
    flex: 1;
}

.chart-area {
    flex: 1.5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    position: relative;
    min-height: 0;
}

#balanceChart {
    width: 100% !important;
    height: 100% !important;
    max-height: 200px;
}

.live-market-panel {
    flex: 0.6;
    background: #121519;
    border: 1px solid #2d333b;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    min-height: 250px;
}

.panel-inner {
    padding: 16px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    color: #ffd700;
}

.header-icon {
    font-size: 1rem;
}

.header-title {
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: capitalize;
}

.market-list {
    display: flex;
    flex-direction: column;
}

.market-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    /* Reduced from 10-12px for compactness */
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: background 0.2s;
}

.market-item:last-child {
    border-bottom: none;
}

.m-coin {
    display: flex;
    align-items: center;
    gap: 12px;
}

.coin-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.btc-bg {
    background: #f7931a;
    color: #fff;
}

.eth-bg {
    background: #627eea;
    color: #fff;
    font-size: 1.2rem;
}

/* ETF Specific Icons */

/* Ethereum ETF Generic */

.m-name {
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    color: #fff;
}

.m-stats {
    text-align: right;
    display: flex;
    align-items: center;
    gap: 10px;
}

.m-price {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    font-family: monospace;
}

.m-pct {
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 55px;
}

/* Sentiment Widget Styles */
.sentiment-widget {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    gap: 15px;
}

.fng-gauge {
    width: 200px;
    height: 100px;
    background: linear-gradient(to right, #e74c3c 0%, #f1c40f 50%, #2ecc71 100%);
    border-radius: 100px 100px 0 0;
    position: relative;
    overflow: hidden;
}

.fng-gauge::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 70px;
    background: #1a1d23;
    border-radius: 70px 70px 0 0;
}

.needle {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 4px;
    height: 80px;
    background: #fff;
    transform-origin: bottom center;
    transform: rotate(-90deg);
    /* 0 strength */
    transition: transform 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.gauge-labels {
    position: absolute;
    bottom: 5px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 12px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    z-index: 3;
}

#fng-value {
    font-size: 1.2rem;
    color: #fff;
    transform: translateY(-5px);
}

.sentiment-label {
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffd700;
}

/* Analytics Layout Simplification */
.analytics-row {
    display: flex;
    gap: 40px;
    align-items: center;
    padding: 10px 0;
}

.analytics-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Funding Widget V2 Adjustments */
.funding-widget-v2 {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.funding-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 0.95rem;
}

.f-label {
    color: var(--text-muted);
    font-weight: 600;
}

.f-value {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 800;
}

.f-value.up {
    color: #2ecc71;
}

.f-value.down {
    color: #e74c3c;
}

.m-pct.up {
    color: var(--up);
}

.m-pct.down {
    color: var(--down);
}

/* Price Flash Animation */
.price-flash {
    animation: flash-yellow 0.8s ease-out;
}

@keyframes flash-yellow {
    0% {
        color: #ffd700;
        text-shadow: 0 0 10px #ffd700;
    }

    100% {
        color: #fff;
        text-shadow: none;
    }
}

@media (max-width: 1200px) {
    .dashboard-top-section {
        flex-direction: column;
    }

    .summary-card,
    .live-market-panel {
        flex: 1;
        width: 100%;
    }
}