/* =========================
   GLOBAL BACKGROUND
   ========================= */

html, body {
    min-height: 100%;
}

body {
    background:
        radial-gradient(circle at top center,
            rgba(255,255,255,0.075) 0%,
            rgba(255,255,255,0.03) 16%,
            rgba(255,255,255,0.00) 42%
        ),
        linear-gradient(180deg, #020304 0%, #050608 100%) !important;
    color: #c9d1d9;
}

/* allow body gloss to show through */
main {
    background: transparent !important;
}

/* =========================
   SIDEBAR
   ========================= */

.sidebar {
    background:
        radial-gradient(circle at top left,
            rgba(255,255,255,0.05) 0%,
            rgba(255,255,255,0.015) 18%,
            rgba(255,255,255,0.00) 40%
        ),
        linear-gradient(180deg, #030405 0%, #050608 100%) !important;
    border-right: 1px solid rgba(255,255,255,0.05) !important;
    box-shadow: 6px 0 22px rgba(0,0,0,0.60);
}

/* =========================
   CARDS
   ========================= */

.card {
    background:
        radial-gradient(circle at top center,
            rgba(255,255,255,0.05) 0%,
            rgba(255,255,255,0.015) 20%,
            rgba(255,255,255,0.00) 45%
        ),
        linear-gradient(180deg, #11161d 0%, #0a0e13 100%) !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
    border-radius: 14px;
    box-shadow:
        0 14px 34px rgba(0,0,0,0.72),
        inset 0 1px 0 rgba(255,255,255,0.06);
    overflow: hidden;
    position: relative;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 14px;
    right: 14px;
    height: 1px;
    background: rgba(255,255,255,0.14);
}

.card:hover {
    transform: translateY(-2px);
    box-shadow:
        0 18px 42px rgba(0,0,0,0.82),
        0 0 14px rgba(245,176,65,0.12);
    transition: all 0.2s ease;
}

/* =========================
   CARD HEADER
   ========================= */

.card-header {
    background:
        radial-gradient(circle at top center,
            rgba(255,255,255,0.04) 0%,
            rgba(255,255,255,0.01) 18%,
            rgba(255,255,255,0.00) 40%
        ),
        linear-gradient(180deg, #10151b 0%, #090d12 100%) !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    color: #f5b041 !important;
    font-weight: 700;
}

/* =========================
   CHART PANEL
   ========================= */

#equity-chart {
    background:
        radial-gradient(circle at top center,
            rgba(255,255,255,0.04) 0%,
            rgba(255,255,255,0.01) 20%,
            rgba(255,255,255,0.00) 45%
        ),
        linear-gradient(180deg, #10151b 0%, #090d12 100%);
    border-radius: 12px;
}

/* =========================
   ACCENT COLORS
   ========================= */

.text-warning {
    color: #f5b041 !important;
}

/* =========================
   PROGRESS BAR
   ========================= */

.progress {
    background: #080c10;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 10px;
}

.progress-bar {
    background: linear-gradient(90deg, #f7811d, #ffd700);
    color: #000 !important;
    font-weight: 700;
}

/* =========================
   TABLES
   ========================= */

.table-dark {
    --bs-table-bg: #0d1217;
    --bs-table-striped-bg: #131920;
    --bs-table-hover-bg: #1a212a;
    --bs-table-border-color: rgba(255,255,255,0.06);
}

/* =========================
   NAVIGATION
   ========================= */

.nav-link {
    border-radius: 10px;
    transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(245,176,65,0.14);
    color: #f5b041 !important;
}

/* =========================
   BUTTONS
   ========================= */

.btn {
    transition: all 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 14px rgba(245,176,65,0.30);
}

/* =========================
   ALERTS
   ========================= */

.alert {
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}