/* ============================================================
   STYLE CHUNG - NEON FUTURISTIC BLUE (CLEAN TEXT + OXANIUM FONT)
   ============================================================ */

/* FONT + RESET — Oxanium */
@import url('https://fonts.googleapis.com/css2?family=Oxanium:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: radial-gradient(circle at top, #06203b, #020b14 70%);
    font-family: 'Oxanium', sans-serif;
    color: #d2e7ff;
    line-height: 1.6;
}

/* =============================== */
:root {
    --neon-blue: #00eaff;
    --neon-light: #6af6ff;
    --dark-bg: #041321;
    --panel-bg: rgba(4, 25, 45, 0.55);
}

/* =============================== */
.neon-text {
    color: var(--neon-light);
    text-shadow: none;
}

.section-title {
    margin: 20px 0;
    color: var(--neon-light);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* ===============================
   HEADER / NAVBAR FUTURISTIC
   =============================== */

.neon-header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background: rgba(0, 10, 20, 0.65);
    backdrop-filter: blur(1px);
    box-shadow: 0 0 5px var(--neon-blue);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 1000;
    border-bottom: 2px solid var(--neon-blue);
}

.logo h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--neon-light);
    letter-spacing: 2px;
}

.logo .sub {
    font-size: 13px;
    opacity: 0.75;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-menu a {
    color: var(--neon-light);
    text-decoration: none;
    font-size: 17px;
    padding: 6px 10px;
    transition: 0.3s;
}

.nav-menu a:hover {
    color: #ffffff;
    text-shadow: 0 0 2px var(--neon-blue);
}

/* ============================================================
   USER PANEL — ICON ROBOT (PHONG CÁCH 3)
   ============================================================ */

/* ============================================================
   USER PANEL — Robot bên trái, chữ bên phải
   ============================================================ */

.user-panel {
    display: flex;
    align-items: center;       /* canh giữa theo chiều dọc */
    gap: 14px;                 /* khoảng cách giữa robot và text */
    padding-left: 20px;
    border-left: 1px solid var(--neon-blue);
    height: 80px;
}

/* Avatar icon (robot) */
.icon-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-avatar i {
    font-size: 42px;
    color: var(--neon-light);
    filter: drop-shadow(0 0 6px var(--neon-blue));
}

/* Khung thông tin user */
.user-info {
    display: flex;
    flex-direction: column;    /* 3 dòng chữ xếp dọc */
    justify-content: center;
    line-height: 1.25;
}

.user-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--neon-light);
}

.user-role {
    font-size: 12px;
    opacity: 0.7;
}

.logout-btn,
.login-btn {
    font-size: 12px;
    color: var(--neon-light);
    text-decoration: none;
    margin-top: 4px;
}

.logout-btn:hover,
.login-btn:hover {
    color: #ffffff;
    text-shadow: 0 0 4px var(--neon-blue);
}
/* ===============================
   FOOTER
   =============================== */

.neon-footer {
    margin-top: 60px;
    padding: 25px 0;
    background: rgba(0, 10, 20, 0.7);
    text-align: center;
    border-top: 2px solid var(--neon-blue);
    box-shadow: 0 0 5px var(--neon-blue);
}

.neon-footer h3 {
    color: var(--neon-light);
    font-weight: 700;
}

.neon-footer .copy {
    opacity: 0.6;
    font-size: 14px;
}

/* =============================== */

.panel {
    background: var(--panel-bg);
    border: 2px solid var(--neon-blue);
    border-radius: 10px;
    box-shadow: 0 0 12px var(--neon-blue);
    padding: 20px;
    margin: 20px 0;
    transition: 0.3s;
}

.panel:hover {
    box-shadow: 0 0 18px var(--neon-blue);
}

/* =============================== */

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* =============================== */

.btn-neon {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid var(--neon-blue);
    color: var(--neon-light);
    text-decoration: none;
    border-radius: 6px;
    transition: 0.3s;
    font-weight: 600;
}

.btn-neon:hover {
    background: var(--neon-blue);
    color: #000;
    box-shadow: 0 0 12px var(--neon-blue);
}

/* =============================== */

@media (max-width: 768px) {
    .nav-menu {
        gap: 12px;
    }

    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .logo h2 {
        font-size: 24px;
    }
}
/* =========================================
   LOGO HEADER (SIZE FIXED – PERFECT FIT)
========================================= */

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 80px; /* cùng chiều cao header */
}

/* Logo tự co theo tỉ lệ, luôn cao đúng 70px */
.site-logo {
    height: 70px;       /* Chiều cao cố định */
    width: auto;        /* Tự co theo tỉ lệ ảnh */
    max-width: 100%;    /* Không bao giờ vượt quá vùng chứa */
    object-fit: contain;
    display: block;
    image-rendering: auto;
}

.logo-text h2 {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    color: #00d9ff;
    text-shadow: 0 0 8px #00d9ff;
}

.logo-text .sub {
    font-size: 13px;
    color: #7edcff;
    margin-top: -2px;
    display: block;
}
/* Khung bao logo – cố định chiều cao */
.logo-container {
    height: 70px;      /* cố định chiều cao logo */
    width: auto;
    overflow: hidden;  /* cắt phần dư của ảnh */
    display: flex;
    align-items: center;
}

/* Ảnh tự co theo tỉ lệ nhưng không vượt khung */
.logo-container img {
    height: 100%;      /* tự co theo chiều cao khung */
    width: auto;       /* giữ đúng tỉ lệ ảnh */
    object-fit: contain;
    display: block;
}


