/* Fuzora Gold Mine — Brand Color Palette (Pearl White, Metallic Gold, Deep Espresso, Royal Purple) */
:root {
    --fuz-bg: #fdfaf5;
    --fuz-surface: #ffffff;
    --fuz-espresso: #3b1f0e;
    --fuz-espresso-dark: #261207;
    --fuz-gold: #d97706;
    --fuz-gold-bright: #f59e0b;
    --fuz-gold-light: #fef3c7;
    --fuz-purple: #6d28d9;
    --fuz-border: rgba(217, 119, 6, 0.25);
}

body {
    background-color: var(--fuz-bg) !important;
    color: var(--fuz-espresso-dark);
}

.sidebar-gradient {
    background: linear-gradient(180deg, #ffffff 0%, #fdf8ef 100%) !important;
    border-right: 1px solid rgba(217, 119, 6, 0.22) !important;
}

.sidebar-link.active {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.14) 0%, rgba(254, 243, 199, 0.5) 100%) !important;
    color: var(--fuz-espresso) !important;
    border: 1px solid rgba(217, 119, 6, 0.35) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    font-weight: 700 !important;
}

.sidebar-link.active i {
    color: var(--fuz-gold) !important;
}

.header-wallet-pill {
    background: linear-gradient(135deg, #2b160a 0%, #4a2511 100%) !important;
    border: 1.5px solid rgba(245, 158, 11, 0.6) !important;
}

.btn-golden-calc,
.btn-gold-primary {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(254, 240, 138, 0.45) !important;
    box-shadow: 0 6px 18px rgba(217, 119, 6, 0.3) !important;
}

.btn-golden-calc:hover,
.btn-gold-primary:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #b45309 100%) !important;
    color: #ffffff !important;
}

.text-gold {
    color: var(--fuz-gold) !important;
}

.fuz-espresso-pill {
    background: linear-gradient(135deg, #3b1f0e 0%, #5b21b6 100%);
    color: #fef3c7;
    border: 1px solid rgba(251, 191, 36, 0.5);
}


/* Clean Hover Lift on Stats Cards */
.row.g-3.mb-4 > div > .rounded-4.border,
.fuz-stat-card {
    position: relative !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
}

.row.g-3.mb-4 > div > .rounded-4.border:hover,
.fuz-stat-card:hover {
    transform: translateY(-2px);
    border-color: rgba(217, 119, 6, 0.45) !important;
    box-shadow: 0 8px 20px rgba(217, 119, 6, 0.12) !important;
}


/* Premium Flash Shine Animation on Stats Cards & Hero Cards */
.row.g-3.mb-4 > div > .rounded-4.border,
.fuz-stat-card {
    overflow: hidden !important;
}

.row.g-3.mb-4 > div > .rounded-4.border::after,
.fuz-stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -130%;
    width: 55%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(251, 191, 36, 0.22) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-22deg);
    animation: fuzFlashSweep 3.8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.row.g-3.mb-4 > div > .rounded-4.border > *,
.fuz-stat-card > * {
    position: relative;
    z-index: 1;
}

@keyframes fuzFlashSweep {
    0% { left: -130%; }
    45% { left: 145%; }
    100% { left: 145%; }
}

/* Premium Button Click & Hover Micro-Interactions */
.btn,
.sidebar-link {
    position: relative;
    overflow: hidden;
    transition: transform 0.16s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease, background 0.2s ease !important;
}

.btn:active,
.sidebar-link:active {
    transform: scale(0.96) !important;
}

.btn-golden-calc::after,
.btn-gold-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-20deg);
    transition: left 0.55s ease;
    pointer-events: none;
}

.btn-golden-calc:hover::after,
.btn-gold-primary:hover::after {
    left: 140%;
}

/* Smooth Panel Entrance & Luxury Borders */
main > div > .container-fluid {
    animation: fuzFadeSlideIn 0.28s ease-out;
}

@keyframes fuzFadeSlideIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.bg-white.rounded-4.border {
    border-color: rgba(217, 119, 6, 0.18) !important;
    box-shadow: 0 6px 24px rgba(59, 31, 14, 0.04) !important;
}

/* Keep responsive tables single-line on mobile with smooth horizontal scroll */
.table-responsive {
    -webkit-overflow-scrolling: touch;
}

.table-responsive .table th,
.table-responsive .table td {
    white-space: nowrap;
}
