﻿:root {
    --primary: #0b3c5d;
    --secondary: #328cc1;
    --accent: #f4a261;
    --bg: #f4f7fb;
    --text: #1f2937;
}

body {
    background: linear-gradient(120deg,#eef2f7,#f9fbff);
    font-family: 'Segoe UI', sans-serif;
    color: var(--text);
}

/* ===== HEADER ===== */
.header {
    background: linear-gradient(135deg,#328cc1,#1d4ed8);
    color: #fff;
    padding: 16px 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,.15);
}

.logo {
    height: 90px;
    max-width: 100%;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,.25));
}

.header-title {
    font-size: 25px;
    font-weight: 600;
    line-height: 1.3;
}

.header-subtitle {
    font-size: 19px;
    color: yellow;
}

.nav-chip {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.85rem;
    transition: .3s;
    white-space: nowrap;
}

    .nav-chip:hover {
        background: rgba(255,255,255,.2);
        transform: translateY(-1px);
    }

.page-wrap {
    padding: 24px;
}

/* ===== GLASS CARD ===== */
.glass {
    background: rgba(255,255,255,.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(15,23,42,.15);
}

.logout-chip {
    cursor: pointer;
    background: #dc354500;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

    .logout-chip:hover {
        background: #bb2d3b;
    }

/* ===== MOBILE OPTIMIZATION ===== */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .header-left {
        flex-direction: column;
    }

    .logo {
        height: 70px;
        margin-bottom: 8px;
    }

    .header-title {
        font-size: 1.05rem;
    }

    .header-subtitle {
        font-size: 0.85rem;
    }

    .nav-right {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }

    .page-wrap {
        padding: 16px;
    }
}
