html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    background-color: #1a1a1a;
    color: #e0e0e0;
    min-height: 100vh;
}

.navbar {
    background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.25rem;
}

.card {
    background-color: #252525;
    border: 1px solid #333;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.card-header {
    background-color: #2a2a2a;
    border-bottom: 1px solid #333;
}

.table-dark {
    --bs-table-bg: transparent;
    --bs-table-color: #e0e0e0;
    --bs-table-border-color: #333;
}

.table-hover tbody tr:hover {
    background-color: #333;
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

.btn-outline-light:hover {
    background-color: #333;
}

.form-control, .form-select {
    background-color: #2a2a2a;
    border-color: #444;
    color: #e0e0e0;
}

.form-control:focus, .form-select:focus {
    background-color: #2a2a2a;
    border-color: #0d6efd;
    color: #e0e0e0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-control::placeholder {
    color: #666;
}

.form-check-input {
    background-color: #333;
    border-color: #555;
}

.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.progress {
    background-color: #333;
}

.text-success {
    color: #26a69a !important;
}

.text-danger {
    color: #ef5350 !important;
}

.badge.bg-success {
    background-color: #26a69a !important;
}

.badge.bg-danger {
    background-color: #ef5350 !important;
}

.border-success {
    border-color: #26a69a !important;
}

.border-danger {
    border-color: #ef5350 !important;
}

.border-secondary {
    border-color: #444 !important;
}

.footer {
    background-color: #1a1a1a;
    border-top: 1px solid #333;
}

/* Signal card animations */
.signal-card {
    background-color: #2a2a2a;
    transition: transform 0.2s, box-shadow 0.2s;
}

.signal-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Chart container */
#chart-container {
    background-color: #1a1a1a;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Toast notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1050;
}

.toast {
    background-color: #2a2a2a;
    border: 1px solid #444;
}

.toast-header {
    background-color: #333;
    color: #e0e0e0;
    border-bottom: 1px solid #444;
}
