* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #060913;
    color: #e2e8f0;
    overflow: hidden;
    height: 100vh;
}

.dashboard-container {
    padding: 20px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dashboard-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 15px 25px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #334155;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.5);
}

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

.header-left h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #38bdf8;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}

.live-pulse {
    width: 12px;
    height: 12px;
    background-color: #10b981;
    border-radius: 50%;
    animation: pulse 1.6s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.carousel-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ctrl-btn {
    background-color: #1e293b;
    color: white;
    border: 1px solid #334155;
    padding: 8px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: 0.2s;
}

.ctrl-btn:hover {
    background-color: #334155;
    border-color: #475569;
}

.pause-btn {
    background-color: #0284c7;
    border: none;
    min-width: 90px;
    font-weight: bold;
}

.pause-btn.paused {
    background-color: #ef4444;
}

.status-badge {
    font-size: 0.8rem;
    background-color: #0f172a;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid #334155;
    color: #38bdf8;
    font-weight: 500;
}

.gold-text {
    color: #fbbf24;
    font-weight: bold;
    margin-left: 10px;
}

/* Carousel Wrapper & Slides */
.charts-carousel-wrapper {
    position: relative;
    flex-grow: 1;
    margin: 20px 0;
    min-height: 72vh;
}

.chart-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.98);
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out, visibility 0.6s ease-in-out;
}

.chart-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.slide-card {
    background-color: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 16px;
    width: 100%;
    height: 100%;
    padding: 25px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

.card-header h3 {
    font-size: 1.3rem;
    color: #f8fafc;
    margin-bottom: 4px;
}

.card-header p {
    font-size: 0.88rem;
    color: #64748b;
    margin-bottom: 20px;
}

.chart-box {
    position: relative;
    flex-grow: 1;
    width: 100%;
    height: 100%;
}

.chart-box.pie-adjust {
    max-height: 52vh;
    display: flex;
    justify-content: center;
}

/* Bottom Indicators */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding-bottom: 5px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: #334155;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background-color: #38bdf8;
    transform: scale(1.4);
    box-shadow: 0 0 10px #38bdf8;
}