﻿/* External Dashboard CSS */
.dash-wrapper {
    padding: 25px;
    background: #f1f5f9;
}

.dash-title {
    font-size: 30px;
    font-weight: 900;
    margin-bottom: 5px;
    color: #0f172a;
}

.dash-sub {
    font-size: 16px;
    color: #475569;
    margin-bottom: 25px;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    padding: 22px;
    border-radius: 20px;
    color: white;
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    transition: 0.3s;
}

    .stat-card:hover {
        transform: translateY(-6px);
    }

    .stat-card h3 {
        font-size: 18px;
        opacity: 0.9;
    }

    .stat-card p {
        font-size: 32px;
        margin-top: 10px;
        font-weight: 800;
    }

.blue {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
}

.cyan {
    background: linear-gradient(135deg, #0891b2, #06b6d4);
}

yellow {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

.red {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.lower-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.panel {
    background: white;
    border-radius: 20px;
    padding: 25px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 6px 12px rgba(0,0,0,0.08);
}

.panel-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.graph-box {
    height: 240px;
    background: #e2e8f0;
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #475569;
    font-size: 20px;
    font-weight: 600;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
}

.quick-btn {
    padding: 14px;
    background: #0284c7;
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 17px;
    cursor: pointer;
    transition: 0.2s;
}

    .quick-btn:hover {
        background: #0369a1;
    }

@media (max-width: 900px) {
    .lower-grid {
        grid-template-columns: 1fr;
    }
}
