.dashboard-card {
    background-color: rgba(30, 41, 59, 0.9);
    border: 1px solid #334155;
    border-radius: 0.75rem;
    padding: 0.875rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease-in-out;
}

.dashboard-card:hover {
    border-color: #475569;
}

.card-header {
    font-size: 0.75rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(51, 65, 85, 0.8);
    padding-bottom: 0.375rem;
}

.card-badge {
    background-color: #1e293b;
    color: #cbd5e1;
    font-size: 0.625rem;
    font-weight: 800;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    border: 1px solid #475569;
}

.card-source {
    font-size: 0.5625rem;
    font-weight: 700;
    color: #60a5fa;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.period-btn {
    padding: 0.375rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    background-color: #1e293b;
    color: #cbd5e1;
    border: 1px solid #475569;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
}

.period-btn:hover {
    background-color: #334155;
}

.period-btn.active {
    background-color: #2563eb;
    color: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: #0f172a; }
::-webkit-scrollbar-thumb { background: #334155; border-radius: 2px; }
