/* ============================
   GLOBAL RESET & BASE STYLES
   ============================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", Arial, sans-serif;
    background: linear-gradient(135deg, #e8f0ff, #f7faff);
    color: #222;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ============================
   NAVIGATION BAR
   ============================ */
.navbar {
    display: flex;
    gap: 24px;
    padding: 18px 24px;
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: opacity 0.25s ease;
}

.navbar a:hover {
    opacity: 0.6;
}

/* ============================
   DASHBOARD HERO
   ============================ */
.dashboard-hero img {
    width: 100%;
    max-height: 260px;
    object-fit: cover;
    border-radius: 14px;
    margin: 24px auto;
    display: block;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* ============================
   STATS GRID
   ============================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    padding: 24px;
}

/* ============================
   STAT CARDS (Glassmorphism)
   ============================ */
.stat-card {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(18px);
    border-radius: 16px;
    padding: 22px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.stat-card h3 {
    margin-top: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.stat-card p {
    margin-top: 6px;
    font-size: 1rem;
    font-weight: 500;
    color: #444;
}

/* ============================
   ICONS
   ============================ */
.stat-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 10px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

/* ============================
   BUTTONS (Reusable)
   ============================ */
.btn {
    display: inline-block;
    padding: 12px 20px;
    background: #3a6cf4;
    color: white;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.25s ease, transform 0.25s ease;
}

.btn:hover {
    background: #2f5bdd;
    transform: translateY(-2px);
}

/* ============================
   LAYOUT UTILITIES
   ============================ */
.center {
    text-align: center;
}

.hidden {
    display: none;
}

/* ============================
   MOBILE RESPONSIVE
   ============================ */
@media (max-width: 600px) {
    .navbar {
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
    }

    .stat-card {
        padding: 18px;
    }

    .stat-icon {
        width: 52px;
        height: 52px;
    }
}
