/* General background and font */
body {
    background-color: #121212 !important;
    color: white !important;
    font-family: 'Segoe UI', sans-serif;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    color: white;
}

/* Labels and radio buttons */
label {
    font-weight: bold;
    color: #e0e0e0;
}

.dash-radio-items label {
    margin-right: 20px;
    color: #e0e0e0;
}

input[type="radio"] {
    accent-color: #1f77b4;
}

/* Graph background */
.js-plotly-plot .plotly {
    background-color: #1e1e1e !important;
}

/* Bootstrap Cards */
.card {
    background-color: #1e1e1e !important;
    color: white !important;
    width: 100% !important;
    margin-bottom: 1rem;
}

.card-header {
    font-weight: bold;
    font-size: 1rem;
    background-color: #2a2a2a !important;
    border-bottom: 1px solid #333;
}

.card-body .card-title {
    font-size: 1.5rem;
}

/* Container, Row, Col */
.container {
    padding-left: 1rem;
    padding-right: 1rem;
}

.row {
    margin: 0;
}

.col {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

/* Muted text */
.text-muted {
    color: #aaaaaa !important;
}

/* Horizontal rule */
hr {
    border-top: 1px solid #333;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* Fix Dash components padding */
.dash-bootstrap .form-check {
    margin-bottom: 0.5rem;
}

/* Inline radio buttons */
.dash-bootstrap .form-check-inline {
    margin-right: 1rem;
}

/* Tooltip */
.dash-tooltip {
    background-color: #2c2c2c !important;
    color: white !important;
    border: 1px solid #444 !important;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #121212;
}
::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #777;
}