﻿/* =====================================================================
   UEF Tuyển dụng — Bộ giao diện hiện đại (uef-modern.css)
   Mobile-first, responsive. Thay lớp CSS Joomla T3 cũ cho trang ứng viên.
   Nhận diện UEF: xanh #006CB5, cam #FF6600.
   Nạp DUY NHẤT file này (sau font) ở Default.Master — không kèm CSS cũ.
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. Tokens
   --------------------------------------------------------------------- */
:root {
    --uef-blue: #006CB5;
    --uef-blue-700: #00568f;
    --uef-blue-800: #013a63;
    --uef-blue-100: #d8e9f7;
    --uef-blue-50: #eef5fb;
    --uef-orange: #ff6600;
    --uef-orange-600: #e65c00;

    --ink: #1f2a37;
    --muted: #5b6b7b;
    --line: #e3edf5;
    --bg: #f4f8fc;
    --white: #ffffff;

    --ok: #16a34a;
    --danger: #dc2626;
    --warn: #d97706;
    --gold: #ffb800;
    --gold-soft: #fff3d6;

    --r: 14px;
    --r-sm: 9px;
    --r-pill: 999px;

    --sh-sm: 0 1px 3px rgba(2, 32, 71, .07), 0 1px 2px rgba(2, 32, 71, .06);
    --sh: 0 6px 22px rgba(0, 76, 140, .09);
    --sh-lg: 0 18px 48px rgba(0, 50, 100, .16);

    --container: 1180px;
    --nav-h: 56px;

    --font: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --font-display: 'Montserrat', 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ---------------------------------------------------------------------
   2. Reset / base
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body.uef-body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.uef-body {
    /*background-image: url("../images/background-20251112153404-fpyik.svg");*/
    background-size: cover;
    background-origin: content-box;
    background-position: center top;
    background-repeat: repeat;
    background-attachment: scroll;
}

img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }

a { color: var(--uef-blue); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--uef-orange); }

h1, h2, h3, h4, h5 { font-family: var(--font-display); color: var(--uef-blue-800); line-height: 1.22; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(1.6rem, 1.1rem + 2vw, 2.3rem); }
h2 { font-size: clamp(1.35rem, 1rem + 1.4vw, 1.8rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

hr { border: 0; border-top: 1px solid var(--line); margin: 1.5rem 0; }

:focus-visible { outline: 3px solid rgba(0, 108, 181, .45); outline-offset: 2px; border-radius: 4px; }

/* ---------------------------------------------------------------------
   3. Layout helpers
   --------------------------------------------------------------------- */
.uef-container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 16px; }
.uef-main { padding: 26px 0 0px; }
.uef-main .uef-container > * + * { margin-top: 0; }

.surface { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); }

.text-blue { color: var(--uef-blue) !important; }
.text-orange { color: var(--uef-orange) !important; }
.text-red { color: var(--danger) !important; }
.muted { color: var(--muted); }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------------------------------------------------------------------
   4. Header (top bar + banner)
   --------------------------------------------------------------------- */
.site-topbar { background: var(--uef-blue-800); color: #cfe3f5; font-size: 13.5px; }
.site-topbar a { color: #fff; }
.site-topbar a:hover { color: var(--uef-orange); }
.site-topbar .uef-container { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; min-height: 38px; padding-block: 5px; }
.site-topbar .tb-contact { display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: center; }
.site-topbar .tb-contact span { display: inline-flex; align-items: center; gap: 6px; }
.site-topbar .tb-user { margin-left: auto; }
/* Khu vực lời chào / đăng nhập (ControlUser.ascx) */
.site-topbar .tb-user a { font-weight: 600; }
.site-topbar .tb-user span { color: #eaf3fb; }

.site-header { background: linear-gradient(180deg, #fff 0%, var(--uef-blue-50) 100%); border-bottom: 1px solid var(--line); }
.site-header .uef-container { padding-block: 14px; }
.site-header .banner-link { display: block; }
.site-banner { width: 100%; display: block; }

/* ---------------------------------------------------------------------
   5. Primary nav + mobile menu
   --------------------------------------------------------------------- */
.site-nav { /*background: linear-gradient(180deg, var(--uef-blue) 0%, var(--uef-blue-700) 100%);*/ position: sticky; top: 0; z-index: 1000; box-shadow: var(--sh); }
.site-nav .uef-container { display: flex; align-items: center; min-height: var(--nav-h); padding-block: 0; }

.nav-brand {
    color: var(--uef-blue-700);
    font-weight: 800;
    letter-spacing: .3px;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 4px;
}
.nav-brand:hover { color: #fff; }
.nav-brand>.brand-logo { width:200px; }
nav.site-nav {
    background-color: rgba(255, 255, 255, 0.8); /* Nền trắng trong suốt */
    backdrop-filter: blur(10px); /* Hiệu ứng mờ */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}
    nav.site-nav .uef-container {
        display: flex;
        justify-content: space-between; /* Đẩy logo và menu ra 2 đầu */
        align-items: center;
        max-width: 1200px; /* Hoặc độ rộng bạn muốn */
        margin: 0 auto;
        height: 100%;
    }
.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px; /* Khoảng cách giữa các mục */
}

    .nav-menu a {
        text-decoration: none;
        color: #1f2a37;
        font-weight: 500;
        transition: color 0.2s;
    }

        .nav-menu a:hover {
            color: #004c8c; /* Màu xanh thương hiệu của bạn */
        }
    .nav-menu a {
        position: relative;
    }

        .nav-menu a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: #004c8c;
            transition: width 0.3s;
        }

        .nav-menu a:hover::after {
            width: 100%;
        }
.nav-toggle { margin-left: auto; display: inline-flex; flex-direction: column; gap: 5px; background: rgba(255,255,255,.12); border: 0; border-radius: var(--r-sm); padding: 11px 12px; cursor: pointer; }
    .nav-toggle span {
        width: 22px;
        height: 2px;
        background: var(--uef-blue);
        border-radius: 2px;
        transition: transform .2s ease, opacity .2s ease;
    }
.site-nav.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-nav.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-menu { list-style: none; margin: 0; padding: 0; }
.nav-menu > li { position: relative; }
.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--uef-blue);
    font-weight: 600;
    padding: 14px 16px;
    line-height: 1;
    border-radius: var(--r-sm);
}
    .nav-link:hover, .nav-menu > li.is-active > .nav-link {
        color: var(--uef-blue-700);
        background: rgba(255, 255, 255, .15);
    }
.nav-link .caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; opacity: .8; }

.nav-dropdown { list-style: none; margin: 0; padding: 6px; background: #fff; border-radius: var(--r-sm); box-shadow: var(--sh-lg); min-width: 220px; }
.nav-dropdown a { display: block; padding: 9px 12px; border-radius: 7px; color: var(--ink); font-weight: 500; }
.nav-dropdown a:hover { background: var(--uef-blue-50); color: var(--uef-blue); }

/* Mobile-first: menu ẩn, mở bằng hamburger */
@media (max-width: 900px) {
    .nav-menu { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; background: var(--uef-blue-50); padding: 8px; gap: 2px; display: none; box-shadow: var(--sh-lg); }
    .site-nav.is-open .nav-menu { display: flex; }
    .nav-menu { display: none; }
    .nav-link { padding: 13px 14px; }
    .nav-dropdown { position: static; box-shadow: none; background: rgba(255,255,255,.08); margin: 2px 0 4px; display: none; }
    .nav-dropdown a { color: #eaf3fb; }
    .nav-dropdown a:hover { background: rgba(255,255,255,.12); color: #fff; }
    li.has-dropdown.is-open > .nav-dropdown { display: block; }
}

/* Desktop: menu ngang, dropdown hover */
@media (min-width: 901px) {
    .nav-toggle { display: none; }
    .nav-menu { display: flex; align-items: center; gap: 2px; margin-left: 8px; }
    .nav-dropdown { position: absolute; left: 0; top: calc(100% + 4px); display: none; }
    li.has-dropdown:hover > .nav-dropdown, li.has-dropdown.is-open > .nav-dropdown { display: block; }
}

/* ---------------------------------------------------------------------
   6. Buttons (gồm map .tsButton, a.nop cũ)
   --------------------------------------------------------------------- */
.btn,
.tsButton,
input[type="submit"].tsButton,
input[type="button"].tsButton,
button.validate,
a.nop {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--font-display); font-weight: 700; font-size: .98rem; line-height: 1.1; letter-spacing: .01em;
    padding: 12px 22px; border-radius: var(--r-pill); border: 1.5px solid transparent;
    cursor: pointer; text-align: center; transition: transform .12s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
    -webkit-appearance: none; appearance: none;
}
.btn:active, .tsButton:active, a.nop:active { transform: translateY(1px); }

.btn-primary,
.tsButton,
input[type="submit"].tsButton,
input[type="button"].tsButton,
button.validate {
    background: linear-gradient(180deg, var(--uef-blue) 0%, var(--uef-blue-700) 100%);
    color: #fff !important; box-shadow: 0 4px 12px rgba(0, 86, 143, .28);
}
.btn-primary:hover,
.tsButton:hover,
button.validate:hover { color: #fff !important; box-shadow: 0 7px 18px rgba(0, 86, 143, .36); filter: brightness(1.05); }

.btn-accent,
a.nop {
    background: linear-gradient(180deg, #ff8a33 0%, var(--uef-orange) 100%);
    color: #fff !important; box-shadow: 0 4px 12px rgba(255, 102, 0, .32);
}
.btn-accent:hover, a.nop:hover { color: #fff !important; box-shadow: 0 7px 18px rgba(255, 102, 0, .42); transform: translateY(-1px); }
a.nop span { color: #fff !important; font-weight: 700; }

.btn-outline { background: #fff; color: var(--uef-blue) !important; border-color: var(--uef-blue-100); }
.btn-outline:hover { background: var(--uef-blue-50); border-color: var(--uef-blue); }

.btn-block { width: 100%; }
.btn-sm { padding: 8px 14px; font-size: .9rem; }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }

/* ---------------------------------------------------------------------
   7. Cards / sections / hero
   --------------------------------------------------------------------- */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); overflow: hidden; }
.card-pad { padding: clamp(18px, 2.6vw, 30px); }
.card-head { padding: 16px 22px; background: var(--uef-blue-50); border-bottom: 1px solid var(--line); font-weight: 700; color: var(--uef-blue-800); }
.card-body { padding: clamp(18px, 2.6vw, 28px); }

.section-title { position: relative; font-size: 1.3rem; color: var(--uef-blue-800); margin: 0 0 1rem; padding-left: 14px; }
.section-title::before { content: ""; position: absolute; left: 0; top: .15em; bottom: .15em; width: 5px; border-radius: 3px; background: var(--uef-orange); }

.hero { background: linear-gradient(135deg, var(--uef-blue) 0%, var(--uef-blue-700) 55%, var(--uef-blue-800) 100%); color: #fff; border-radius: var(--r); padding: clamp(26px, 4vw, 52px); position: relative; overflow: hidden; box-shadow: var(--sh); }
.hero::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; background: radial-gradient(circle, rgba(255,102,0,.35), transparent 70%); }
.hero h1 { color: #fff; margin-bottom: .35em; max-width: 24ch; }
.hero p { color: #dbeafa; font-size: 1.08rem; max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--sh-sm); transition: transform .15s ease, box-shadow .15s ease; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--sh); }
.feature .fi { width: 46px; height: 46px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--uef-blue-50); color: var(--uef-blue); margin-bottom: 12px; }
.feature .fi svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.1rem; margin-bottom: .35em; }
.feature p { color: var(--muted); margin: 0; font-size: .96rem; }

/* Danh sách bước (hình thức dự tuyển) */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li { counter-increment: step; position: relative; padding: 16px 18px 16px 64px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-sm); }
.steps li::before { content: counter(step); position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(180deg, var(--uef-blue), var(--uef-blue-700)); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* Danh sách check (hồ sơ gồm) */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--uef-blue-50); border: 1px solid var(--uef-blue-100); }
.checklist li::after { content: ""; position: absolute; left: 6px; top: .55em; width: 5px; height: 9px; border-right: 2px solid var(--uef-blue); border-bottom: 2px solid var(--uef-blue); transform: rotate(40deg); }

/* Callout / lưu ý */
.callout { border-left: 4px solid var(--uef-orange); background: #fff7f0; border-radius: var(--r-sm); padding: 16px 18px; }
.callout.warn { border-color: var(--warn); background: #fffaf0; }

/* ---------------------------------------------------------------------
   8. Alerts / thông báo
   --------------------------------------------------------------------- */
.alert { border-radius: var(--r-sm); padding: 12px 16px; border: 1px solid; font-size: .96rem; }
.alert-info { background: var(--uef-blue-50); border-color: var(--uef-blue-100); color: var(--uef-blue-800); }
.alert-success { background: #ecfdf3; border-color: #abefc6; color: #067647; }
.alert-danger { background: #fef3f2; border-color: #fecdc9; color: #b42318; }

/* ---------------------------------------------------------------------
   9. Forms
   --------------------------------------------------------------------- */
.form-card { max-width: 480px; margin: 8px auto; }
.form-wide { max-width: 920px; }

.field { margin-bottom: 16px; }
.field > label, label.field-label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; font-size: .95rem; }
.req { color: var(--danger); }

/* Style chung cho input của ASP.NET (textbox render thành <input>) */
.field input[type="text"], .field input[type="password"], .field input[type="email"], .field input[type="tel"],
.uef-form input[type="text"], .uef-form input[type="password"], .uef-form input[type="email"], .uef-form input[type="tel"],
.uef-form select, .uef-form textarea,
.field select, .field textarea,
input.uef-input, select.uef-input, textarea.uef-input {
    width: 100%; font-family: var(--font); font-size: 1rem; color: var(--ink);
    padding: 10px 13px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-sm);
    transition: border-color .15s ease, box-shadow .15s ease; max-width: 100%;
}
.uef-form textarea, .field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .uef-form input:focus, .uef-form select:focus, .uef-form textarea:focus,
input.uef-input:focus, select.uef-input:focus, textarea.uef-input:focus {
    outline: none; border-color: var(--uef-blue); box-shadow: 0 0 0 3px rgba(0, 108, 181, .14);
}
.field input[disabled], .uef-form input[disabled] { background: #f3f6fa; color: var(--muted); }

/* Lưới label/field cho form lớn (hồ sơ/CV) */
.form-grid { display: grid; gap: 14px 20px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .form-grid { grid-template-columns: 200px 1fr; align-items: start; }
    .form-grid > .fg-label { padding-top: 11px; font-weight: 600; }
    .form-grid > .fg-full { grid-column: 1 / -1; }
}
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* File upload đẹp */
input[type="file"].uef-input, .field input[type="file"] { padding: 8px; background: var(--uef-blue-50); border-style: dashed; cursor: pointer; }

/* Khung form căn giữa cho trang auth */
.auth-wrap { max-width: 460px; margin: 10px auto; }
.auth-wrap.wide { max-width: 720px; }

/* Widget đăng nhập (RightConTrol.ascx) */
.login-title { margin: 0 0 14px; font-size: 1.15rem; color: var(--uef-blue-800); }
.login-imgbtn { border: 0; background: none; padding: 0; cursor: pointer; transition: filter .15s ease, transform .12s ease; }
.login-imgbtn:hover { filter: brightness(1.05); transform: translateY(-1px); }
.login-links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 14px 0 0; font-size: .92rem; font-weight: 600; }
.login-greeting { display: grid; gap: 10px; }
.login-greeting .who { padding: 4px 0 6px; border-bottom: 1px solid var(--line); }
.login-greeting .btn { width: 100%; }

/* ---------------------------------------------------------------------
   9b. Hồ sơ/CV (TaiKhoan.aspx) — restyle form table cũ qua CSS,
   trung hòa style inline để giữ nguyên markup + logic jQuery của control.
   --------------------------------------------------------------------- */
.profile-form { max-width: 100%; }
/* tiêu đề mục dùng thẻ <pre> trong control cũ */
.profile-form pre { font-family: var(--font); font-weight: 700; font-size: 1.08rem; color: var(--uef-blue-800); background: none; border: 0; margin: 18px 0 10px; padding: 0 0 8px; white-space: normal; border-bottom: 2px solid var(--uef-blue-50); }
.profile-form pre:first-child { margin-top: 0; }
/* fieldset -> thẻ trắng bo góc (đè viền/inline xám cũ) */
.profile-form fieldset { border: 1px solid var(--line) !important; border-radius: var(--r) !important; background: #fff !important; padding: 16px 18px !important; margin: 0 0 18px !important; }
.profile-form legend { padding: 0 8px; font-weight: 700; color: var(--uef-blue-800); }
/* bảng form -> bố cục mềm, bỏ viền dotted + width cố định inline */
.profile-form table { width: 100% !important; border: 0 !important; border-collapse: collapse; background: transparent !important; }
.profile-form td.tbInfo-row { border: 0 !important; border-bottom: 1px solid var(--line) !important; background: #fff !important; color: var(--ink); font-weight: 400; padding: 9px 10px !important; vertical-align: middle; line-height: 1.5; }
.profile-form td.tbInfo-row.br-L, .profile-form .br-L { border-left: 0 !important; }
.profile-form tr:last-child td.tbInfo-row { border-bottom: 0 !important; }
/* nhãn (ô không chứa input) đậm nhẹ */
.profile-form td.tbInfo-row:not(.br-L) { color: var(--uef-blue-800); font-weight: 600; width: 160px; }
/* input/select/textarea trong hồ sơ: full-width, đè width inline */
.profile-form input[type="text"], .profile-form input[type="password"], .profile-form select { width: 100% !important; max-width: 520px; }
.profile-form textarea { width: 100% !important; max-width: 100%; }
.profile-form .tsButton, .profile-form .btn { width: auto; }
/* mobile: xếp dọc các ô của bảng form */
@media (max-width: 680px) {
    .profile-form table, .profile-form tbody, .profile-form tr, .profile-form td.tbInfo-row { display: block; width: 100% !important; }
    .profile-form td.tbInfo-row { border-bottom: 0 !important; padding: 4px 0 !important; }
    .profile-form td.tbInfo-row:not(.br-L) { width: 100%; }
    .profile-form input[type="text"], .profile-form input[type="password"], .profile-form select { max-width: 100%; }
}

/* ---------------------------------------------------------------------
   10. Tabs (mới .uef-tabs + map legacy ul.tabs / .tabcontents)
   --------------------------------------------------------------------- */
.uef-tabs, ul.tabs { list-style: none; margin: 0 0 -1px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.uef-tabs li a, ul.tabs li a, .uef-tab {
    display: inline-block; cursor: pointer; font-weight: 600; font-size: .95rem; color: var(--uef-blue);
    background: var(--uef-blue-50); border: 1px solid var(--line); border-bottom-color: transparent;
    border-radius: var(--r-sm) var(--r-sm) 0 0; padding: 10px 18px; transition: all .15s ease;
}
.uef-tabs li a:hover, ul.tabs li a:hover, .uef-tab:hover { background: var(--uef-blue-100); }
.uef-tabs li.selected a, ul.tabs li.selected a, .uef-tab.is-active {
    background: linear-gradient(180deg, var(--uef-blue) 0%, var(--uef-blue-700) 100%); color: #fff; border-color: var(--uef-blue);
}
.tabcontents, .uef-tabpanels { border: 1px solid var(--line); border-radius: 0 var(--r) var(--r) var(--r); background: #fff; box-shadow: var(--sh-sm); padding: clamp(16px, 2.4vw, 26px); }

/* ---------------------------------------------------------------------
   11. Accordion (mới .uef-acc + map legacy .mooblock-title / .mooblock-el)
   --------------------------------------------------------------------- */
.mooblock-title, .uef-acc-head {
    cursor: pointer; position: relative; list-style: none;
    color: var(--uef-blue-800); background: #fff; border: 1px solid var(--line);
    border-left: 4px solid var(--uef-orange); border-radius: var(--r-sm);
    padding: 14px 46px 14px 18px; margin: 10px 0 0; font-weight: 600; font-size: 1.06rem;
    transition: background .15s ease, box-shadow .15s ease;
}
.mooblock-title:hover, .uef-acc-head:hover { background: var(--uef-blue-50); box-shadow: var(--sh-sm); }
.mooblock-title::after, .uef-acc-head::after {
    content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px;
    border-right: 2px solid var(--uef-blue); border-bottom: 2px solid var(--uef-blue);
    transform: translateY(-65%) rotate(45deg); transition: transform .2s ease;
}
.mooblock-title.expanded, .mooblock-title.is-open, .uef-acc-head.is-open { background: var(--uef-blue-50); }
.mooblock-title.expanded::after, .mooblock-title.is-open::after, .uef-acc-head.is-open::after { transform: translateY(-30%) rotate(-135deg); }

/* Phần thân: JS điều khiển max-height; CSS lo phần hiển thị */
.mooblock-el, .uef-acc-body { overflow: hidden; }
.uef-acc-body { max-height: 0; transition: max-height .28s ease; }
.uef-acc-body.is-open { max-height: 1500px; }
.mooblock-el .acc-inner, .uef-acc-body .acc-inner { padding: 4px 2px 14px; }

/* ---------------------------------------------------------------------
   12. Bảng chi tiết vị trí — chuyển table cũ thành lưới mềm
   (map .tbInfo-row / .br-L để table Repeater hiện tại vẫn đẹp)
   --------------------------------------------------------------------- */
.detail-table, table.blog { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.mooblock-el table { width: 100% !important; height: auto !important; border: 1px solid var(--line) !important; border-radius: var(--r-sm); border-collapse: collapse; background: #fff; margin-top: 6px; }
.tbInfo-row { border: 0 !important; border-bottom: 1px solid var(--line) !important; padding: 11px 16px !important; vertical-align: top; line-height: 1.55; }
td.tbInfo-row:first-child { width: 190px; font-weight: 600; color: var(--uef-blue-800); background: var(--uef-blue-50); }
.tbInfo-row.br-L, .br-L { border-left: 1px solid var(--line) !important; }
.mooblock-el table tr:last-child .tbInfo-row { border-bottom: 0 !important; }

@media (max-width: 600px) {
    .mooblock-el table, .mooblock-el tbody, .mooblock-el tr, .mooblock-el td { display: block; width: 100% !important; }
    td.tbInfo-row:first-child { width: 100%; background: var(--uef-blue-50); }
    .tbInfo-row.br-L, .br-L { border-left: 0 !important; }
}

/* Định nghĩa kiểu mới (khi viết lại markup chi tiết job) */
.detail-grid { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.detail-grid .row { display: grid; grid-template-columns: 1fr; border-bottom: 1px solid var(--line); }
.detail-grid .row:last-child { border-bottom: 0; }
.detail-grid dt { background: var(--uef-blue-50); color: var(--uef-blue-800); font-weight: 600; padding: 11px 16px; margin: 0; }
.detail-grid dd { padding: 11px 16px; margin: 0; }
@media (min-width: 620px) { .detail-grid .row { grid-template-columns: 200px 1fr; } .detail-grid dt { border-right: 1px solid var(--line); } }

/* ---------------------------------------------------------------------
   13. Bảng dữ liệu / GridView (.adminlist)
   --------------------------------------------------------------------- */
.table-wrap { width: 100%; overflow-x: auto; border-radius: var(--r-sm); border: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
table.adminlist, .uef-table { width: 100%; border-collapse: collapse; background: #fff; font-size: .94rem; }
table.adminlist th, .uef-table th { background: var(--uef-blue); color: #fff; font-weight: 600; text-align: left; padding: 11px 12px; white-space: nowrap; }
table.adminlist td, .uef-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.adminlist tr:nth-child(even) td { background: #f8fbfe; }
table.adminlist tr:hover td { background: var(--uef-blue-50); }
table.adminlist img { border-radius: 6px; }
/* phân trang GridView */
table.adminlist .pgr td, .adminlist td[colspan] a { padding: 4px 8px; }

/* ---------------------------------------------------------------------
   14. Badge nổi bật
   --------------------------------------------------------------------- */
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; line-height: 1; padding: 4px 10px; border-radius: var(--r-pill); }
.badge-noibat { background: var(--uef-orange); color: #fff !important; margin-right: 8px; box-shadow: 0 2px 6px rgba(255, 102, 0, .3); vertical-align: middle; }

/* ---------------------------------------------------------------------
   15. Layout 2 cột nội dung + sidebar (trang việc làm)
   --------------------------------------------------------------------- */
.content-layout { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 992px) { .content-layout.has-side { grid-template-columns: 1fr 300px; } }
#ja-mainbody, .main-col { min-width: 0; }
#ja-right, .side-col { min-width: 0; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-sm); padding: 18px; }

/* tương thích lớp cũ còn sót: trung hòa float/width Joomla */
.wrap, .main, .main-inner1, .column, .ja-box, .ja-colswrap, .ja-moduletable, .moduletable, #ja-container, #ja-current-content, #ja-news, .ja-box-ct {
    width: auto !important; min-width: 0 !important; float: none !important; }
.clearfix::after { content: ""; display: table; clear: both; }

/* tiêu đề module cũ (h3 trong .moduletable) */
.moduletable h3, .ja-moduletable h3 { background: linear-gradient(90deg, var(--uef-blue), var(--uef-blue-700)); color: #fff; border-left: 4px solid var(--uef-orange); border-radius: var(--r-sm); padding: 12px 16px; font-size: 1.15rem; margin: 0 0 14px; }

/* ---------------------------------------------------------------------
   16. Trang chủ (#indexcontent giữ tương thích nếu chưa viết lại)
   --------------------------------------------------------------------- */
#indexcontent { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-sm); padding: clamp(20px, 3vw, 34px) !important; font-size: 1rem; }
#indexcontent ul { margin: 0 0 1rem 1.4rem; }
#indexcontent li { margin-bottom: .35rem; }

/* ---------------------------------------------------------------------
   17. Footer
   --------------------------------------------------------------------- */
.site-footer { background: linear-gradient(180deg, var(--uef-blue-700) 0%, var(--uef-blue-800) 100%); color: #cfe3f5; margin-top: 30px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--uef-orange); }
.site-footer .uef-container { padding-block: 34px 22px; }
.footer-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 12px; }
.footer-contact p { margin: 0 0 8px; line-height: 1.6; }
.footer-contact .ico { display: inline-flex; gap: 8px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 22px; padding-top: 16px; font-size: 13.5px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; align-items: center; }
.footer-bottom a { color: #bcd6ee; }

/* ---------------------------------------------------------------------
   18. Widget liên hệ nổi (Zalo / Fanpage / Hotline / Email)
   --------------------------------------------------------------------- */
#uef-float-contact { position: fixed; right: 16px; bottom: 86px; z-index: 99999; display: flex; flex-direction: column; gap: 12px; }
#uef-float-contact a.ufc-btn { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.28); position: relative; transition: transform .15s ease; }
#uef-float-contact a.ufc-btn:hover { transform: scale(1.1); }
#uef-float-contact a.ufc-btn svg { width: 26px; height: 26px; display: block; }
#uef-float-contact .ufc-zalo { background: #0068ff; animation: ufc-pulse 2s infinite; }
#uef-float-contact .ufc-fb { background: #1877f2; }
#uef-float-contact .ufc-phone { background: #16a34a; }
#uef-float-contact .ufc-mail { background: #ea4335; }
#uef-float-contact .ufc-label { position: absolute; right: 60px; top: 50%; transform: translateY(-50%); white-space: nowrap; background: #222; color: #fff; padding: 6px 11px; border-radius: 6px; font-size: 13px; line-height: 1; opacity: 0; visibility: hidden; transition: opacity .15s ease; }
#uef-float-contact .ufc-label::after { content: ""; position: absolute; right: -5px; top: 50%; transform: translateY(-50%); border-left: 5px solid #222; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
#uef-float-contact a.ufc-btn:hover .ufc-label { opacity: 1; visibility: visible; }
@keyframes ufc-pulse { 0% { box-shadow: 0 0 0 0 rgba(0,104,255,.5); } 70% { box-shadow: 0 0 0 12px rgba(0,104,255,0); } 100% { box-shadow: 0 0 0 0 rgba(0,104,255,0); } }
@media (max-width: 600px) { #uef-float-contact { bottom: 14px; gap: 10px; } #uef-float-contact a.ufc-btn { width: 46px; height: 46px; } }

/* =====================================================================
   20. LỚP MARKETING (phong cách landing CYU) — giữ nhận diện xanh/cam UEF
   eyebrow • section-head • bands full-bleed • stats • num-cards •
   program card có ảnh • gallery • hero 2 cột • CTA band
   ===================================================================== */

/* Nhãn nhỏ phía trên tiêu đề (eyebrow/pill) */
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-display); font-weight: 700; font-size: .76rem;
    letter-spacing: .14em; text-transform: uppercase; color: var(--uef-orange-600);
    background: #fff3ea; border: 1px solid #ffd9bd; padding: 6px 14px; border-radius: var(--r-pill);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--uef-orange); }
.eyebrow.is-blue { color: var(--uef-blue-700); background: var(--uef-blue-50); border-color: var(--uef-blue-100); }
.eyebrow.is-blue::before { background: var(--uef-blue); }

/* Tiêu đề khối kiểu marketing (mặc định canh giữa) */
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(22px, 3.4vw, 40px); }
.section-head.left { text-align: left; margin-inline: 0; }
.section-head h2 {
    font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
    letter-spacing: -.01em; line-height: 1.12; margin: .5em 0 0;
    font-size: clamp(1.5rem, 1rem + 2.4vw, 2.45rem); color: var(--uef-blue-800);
}
.section-head h2 .hl { color: var(--uef-orange); }
.section-head .sub { margin: .7em 0 0; color: var(--muted); font-size: 1.05rem; }
.section-head .rule { width: 66px; height: 4px; border-radius: 3px; margin: 16px auto 0;
    background: linear-gradient(90deg, var(--uef-orange), #ffab57); }
.section-head.left .rule { margin-inline: 0; }

.lead { font-size: 1.1rem; color: var(--muted); }
.text-gold { color: var(--gold) !important; }

/* Dải section full-bleed (an toàn: dùng margin âm, không 100vw → không tràn ngang) */
.uef-main { overflow-x: hidden; overflow-x: clip; }
.band { margin-inline: calc(50% - 50vw); padding-block: clamp(38px, 5.5vw, 76px); }
.band > .band-inner { max-width: var(--container); margin-inline: auto; padding-inline: 16px; }
/* band đầu/cuối ăn sát nav/footer (triệt tiêu padding dọc của .uef-main) */
.uef-main > .uef-container > .band:first-child { margin-top: calc(-1 * 26px); }
.uef-main > .uef-container > .band:last-child { margin-bottom: calc(-1 * 40px); }
.band.tight { padding-block: clamp(26px, 3.6vw, 44px); }
.band-soft { background: linear-gradient(180deg, #eaf3fb 0%, #f4f8fc 100%); }
.band-soft-orange { background: linear-gradient(180deg, #fff5ec 0%, #fffaf5 100%); }
.band-navy { background: linear-gradient(135deg, #014a86 0%, var(--uef-blue-800) 55%, #022b4d 100%); color: #d7e7f6; position: relative; overflow: hidden; }
.band-navy::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px;
    background: radial-gradient(circle, rgba(255,102,0,.28), transparent 70%); pointer-events: none; }
.band-navy .section-head h2, .band-navy h1, .band-navy h2, .band-navy h3 { color: #fff; }
.band-navy .section-head .sub, .band-navy p, .band-navy .lead { color: #c7ddf1; }
.band-navy .eyebrow { color: #ffd9bd; background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.22); }
.band-navy a { color: #fff; }

/* Chỉ số thành tựu (số to) */
.stats { display: grid; gap: 18px 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 880px) { .stats.cols-4 { grid-template-columns: repeat(4, 1fr); } .stats.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.stat { text-align: center; padding: 6px 4px; }
.stat .num { font-family: var(--font-display); font-weight: 800; line-height: 1;
    font-size: clamp(2rem, 1.3rem + 3vw, 3.2rem);
    background: linear-gradient(180deg, var(--uef-orange) 0%, #ff9a4d 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .lab { margin-top: 8px; color: var(--muted); font-weight: 600; font-size: .98rem; }
.band-navy .stat .num { background: linear-gradient(180deg, #ffd166 0%, var(--uef-orange) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.band-navy .stat .lab { color: #bcd6ee; }
.stat + .stat { border-left: 1px solid rgba(0,0,0,.06); }
.band-navy .stat + .stat { border-left-color: rgba(255,255,255,.14); }
@media (max-width: 879px) { .stat:nth-child(odd) { border-left: 0; } }

/* Thẻ đánh số lớn 01–04 (đặc điểm/lý do) */
.numcards { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 560px) { .numcards { grid-template-columns: 1fr; } }
@media (min-width: 980px) { .numcards.cols-4 { grid-template-columns: repeat(4, 1fr); } }
.numcards .nc { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r);
    padding: 26px 20px 20px; box-shadow: var(--sh-sm); overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.numcards .nc:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.numcards .nc::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--uef-blue), var(--uef-orange)); }
.numcards .nc .big { position: absolute; right: 12px; top: 2px; font-family: var(--font-display); font-weight: 800;
    font-size: 2.7rem; line-height: 1; color: var(--uef-blue-100); }
.numcards .nc h3 { position: relative; font-size: 1.08rem; margin: 4px 0 .4em; }
.numcards .nc p { position: relative; margin: 0; color: var(--muted); font-size: .95rem; }

/* Thẻ chương trình / nội dung có ảnh trên */
.pgrid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .pgrid.cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 920px) { .pgrid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
    border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-sm); transition: transform .15s ease, box-shadow .15s ease; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.pcard .ph { aspect-ratio: 16 / 10; overflow: hidden; background: var(--uef-blue-50); }
.pcard .ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease; }
.pcard:hover .ph img { transform: scale(1.06); }
.pcard .bd { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 18px; }
.pcard .bd h3 { margin: 0; font-size: 1.12rem; }
.pcard .bd p { margin: 0; color: var(--muted); font-size: .95rem; }
.pcard .bd .pfoot { margin-top: auto; padding-top: 6px; }
.pcard .ico { width: 48px; height: 48px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(180deg, var(--uef-blue-50), #fff); color: var(--uef-blue); border: 1px solid var(--uef-blue-100); }
.pcard .ico svg { width: 26px; height: 26px; }

/* Gallery ảnh (báo chí / hoạt động) */
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .gallery.cols-4 { grid-template-columns: repeat(4, 1fr); } .gallery.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.gallery .gi { position: relative; display: block; overflow: hidden; border-radius: var(--r-sm);
    aspect-ratio: 4 / 3; box-shadow: var(--sh-sm); border: 1px solid var(--line); }
.gallery .gi img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease; }
.gallery .gi:hover img { transform: scale(1.07); }
.gallery .gi .cap { position: absolute; inset: auto 0 0 0; padding: 22px 12px 9px; color: #fff; font-weight: 600;
    font-size: .85rem; line-height: 1.3; background: linear-gradient(transparent, rgba(2,20,40,.82)); }

/* Hero marketing 2 cột (nâng cấp .hero) */
.hero { padding: clamp(26px, 3.6vw, 56px); }
.hero .eyebrow { color: #fff; background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.28); margin-bottom: 14px; }
.hero h1 { font-family: var(--font-display); font-weight: 800; letter-spacing: -.015em; }
.hero-grid { display: grid; gap: clamp(22px, 3vw, 44px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.12fr .88fr; } }
.hero-media { position: relative; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-lg);
    border: 4px solid rgba(255,255,255,.18); aspect-ratio: 4 / 3; background: rgba(255,255,255,.06); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-media .tag { position: absolute; left: 14px; bottom: 14px; background: var(--uef-orange); color: #fff;
    font-weight: 700; font-size: .85rem; padding: 7px 13px; border-radius: var(--r-pill); box-shadow: 0 6px 16px rgba(255,102,0,.4); }
.hero-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.hero-chips span { display: inline-flex; align-items: center; gap: 7px; font-size: .9rem; font-weight: 600; color: #eaf3fb;
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); padding: 7px 13px; border-radius: var(--r-pill); }
.hero-chips span svg { width: 16px; height: 16px; color: #ffd166; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 12px 30px; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.18); }
.hero-stats .hs .n { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; line-height: 1; color: #fff; }
.hero-stats .hs .t { font-size: .85rem; color: #c7ddf1; margin-top: 4px; }

/* Nút trắng (đặt trên nền navy) */
.btn-white { background: #fff; color: var(--uef-blue-800) !important; box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.btn-white:hover { background: #eef5fb; color: var(--uef-blue-800) !important; transform: translateY(-1px); }

/* Dải CTA cuối trang */
.cta-band { text-align: center; }
.cta-band .section-head { margin-bottom: 18px; }
.cta-band .hero-actions { justify-content: center; }

/* Đồng bộ font hiển thị cho nav + footer + tiêu đề khối cũ */
.nav-brand, .nav-link, .site-footer h4, .moduletable h3, .ja-moduletable h3, .section-title { font-family: var(--font-display); }
.section-title { text-transform: uppercase; letter-spacing: .01em; font-weight: 800; }

/* ---------------------------------------------------------------------
   19. Tiện ích in (ẩn phần điều hướng khi in)
   --------------------------------------------------------------------- */
@media print {
    .site-topbar, .site-nav, .site-footer, #uef-float-contact, .nav-toggle { display: none !important; }
    body.uef-body { background: #fff; }
    .band { margin-inline: 0 !important; padding-block: 12px !important; }
    .band-navy, .band-soft, .band-soft-orange { background: #fff !important; color: #000 !important; }
    .band-navy .section-head h2, .band-navy h2, .band-navy h3, .band-navy p { color: #000 !important; }
}

