.sec-header {
    width: 100%;
    background-color: var(--color-2);
    position: relative;
    z-index: 100;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Affix state */
.sec-header.is-affix {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.sec-header.is-affix .sec-header__top,
.sec-header.is-affix .sec-header__main {
    display: none;
}

.sec-header__spacer {
    display: none;
    width: 100%;
}

.sec-header__spacer.is-active {
    display: block;
}

/* 1. TOP BAR */
.sec-header .sec-header__top {
    background-color: #113c31;
    padding: 6px 0;
    font-size: 13px;
    line-height: 20px;
}

.sec-header .sec-header__top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.sec-header .sec-header__slogan {
    margin: 0;
    color: var(--color-2);
    font-size: 13px;
    letter-spacing: 0px;
}

.sec-header .sec-header__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-2);
    font-size: 13px;
}

.sec-header .sec-header__hotline {
    color: var(--color-2);
}

.sec-header .sec-header__hotline a {
    color: var(--color-2);
    font-weight: 500;
}

.sec-header .sec-header__hotline a:hover {
    opacity: 0.8;
}

.sec-header .sec-header__meta-sep {
    color: var(--color-2);
    opacity: 0.6;
}

.sec-header .sec-header__lang {
    color: var(--color-2);
    font-weight: 500;
}

/* 2. MAIN MIDDLE BAR */
.sec-header .sec-header__main {
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.sec-header .sec-header__main-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.sec-header .sec-header__brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.sec-header .sec-header__logo {
    width: 70px;
    /* height: 54px; */
    object-fit: contain;
    flex-shrink: 0;
}

.sec-header .sec-header__brand-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: start;
}

.sec-header .sec-header__brand-info h2 {
    font-size: 19px;
    font-weight: 700;
    color: var(--color-3);
    line-height: 24px;
    letter-spacing: 0px;
}

.sec-header .sec-header__brand-info h3 {
    font-size: 11px;
    font-weight: 500;
    line-height: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.7;
}

.sec-header .sec-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.sec-header .sec-header__btn-search {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    background-color: var(--color-2);
    color: var(--color-3);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.sec-header .sec-header__btn-search svg {
    flex-shrink: 0;
}

.sec-header .sec-header__btn-search:hover {
    border-color: var(--color-3);
    color: var(--color-3);
    background-color: rgba(14, 105, 56, 0.05);
}

.sec-header .sec-header__btn-account {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: var(--color-2);
    color: var(--color-3);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    cursor: pointer;
}

.sec-header .sec-header__btn-account svg {
    flex-shrink: 0;
}

.sec-header .sec-header__btn-account:hover {
    border-color: var(--color-3);
    color: var(--color-3);
    background-color: rgba(14, 105, 56, 0.05);
}

.sec-header .sec-header__btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: var(--color-3);
    color: var(--color-2);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.sec-header .sec-header__btn-cta svg {
    flex-shrink: 0;
}

.sec-header .sec-header__btn-cta:hover {
    color: var(--color-2);
    opacity: 0.92;
    transform: translateY(-1px);
}

.sec-header .sec-header__btn-cta--mobile {
    display: none;
}

.sec-header .sec-header__toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    background-color: var(--color-2);
    color: var(--color-3);
    cursor: pointer;
    padding: 0;
}

/* 3. NAVIGATION BAR (Desktop default) */
.sec-header .sec-header__nav-bar {
    background-color: var(--color-2);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.sec-header .sec-header__nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sec-header .sec-header__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.sec-header .sec-header__drawer-head {
    display: none;
}

.sec-header .sec-header__menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 30px;
}

.sec-header .sec-header__menu-item {
    position: relative;
}

.sec-header .sec-header__menu-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 0px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease;
    color: #65736d;
}

.sec-header .sec-header__menu-arrow {
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.sec-header .sec-header__menu-item:hover .sec-header__menu-arrow {
    transform: rotate(180deg);
}

/* Submenu level 1 (Desktop) */
.sec-header .sec-header__submenu {
    position: absolute;
    top: 100%;
    left: 0;
    /* min-width: 250px; */
    width: max-content;
    max-width: 250px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 8px 0;
    margin: 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1000;
}

.sec-header .sec-header__menu-item:hover>.sec-header__submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sec-header .sec-header__submenu-item {
    position: relative;
}

.sec-header .sec-header__submenu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 20px;
    font-size: 13.5px;
    font-weight: 500;
    color: #334155;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
    line-height: 1.45;
}

.sec-header .sec-header__submenu-link:hover,
.sec-header .sec-header__submenu-item--active>.sec-header__submenu-link {
    background-color: rgba(14, 105, 56, 0.06);
    color: var(--color-3);
    /* padding-left: 24px; */
}

/* Submenu level 2 (Sub-submenu Desktop) */
.sec-header .sec-header__sub-submenu {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 230px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 8px 0;
    margin: 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1001;
}

.sec-header .sec-header__submenu-item:hover>.sec-header__sub-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.sec-header .sec-header__menu-link:hover {
    color: var(--color-3);
}

.sec-header .sec-header__menu-item--active .sec-header__menu-link {
    color: var(--color-3);
}

.sec-header .sec-header__menu-item--active .sec-header__menu-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--color-3);
    border-radius: 4px 4px 0 0;
}

.sec-header .sec-header__side {
    display: flex;
    align-items: center;
}

.sec-header .sec-header__internal-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-3);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.sec-header .sec-header__internal-link:hover {
    color: var(--color-3);
    opacity: 0.8;
}

.sec-header .sec-header__overlay {
    display: none;
}

@media (max-width: 1100px) {
    .sec-header .sec-header__menu {
        gap: 20px;
    }
}

/* ========================================================
   RESPONSIVE (Desktop-first)
   Chỉ 3 breakpoint chuẩn: 1023px, 767px, 480px
======================================================== */

/* TABLET (max-width: 1023px) */
@media (max-width: 1023px) {
    .sec-header.is-affix .sec-header__top {
        display: none;
    }

    .sec-header.is-affix .sec-header__main {
        display: block;
    }

    .sec-header .sec-header__top-inner {
        font-size: 12px;
    }

    .sec-header .sec-header__brand-info h2 {
        font-size: 16px;
        line-height: 20px;
    }

    .sec-header .sec-header__brand-info h3 {
        font-size: 10px;
    }

    .sec-header .sec-header__logo {
        width: 50px;
        /* height: 46px; */
    }

    .sec-header .sec-header__btn-search span {
        display: none;
    }

    .sec-header .sec-header__btn-search,
    .sec-header .sec-header__btn-account {
        padding: 9px;
    }

    .sec-header .sec-header__btn-cta--desktop {
        display: none !important;
    }

    .sec-header .sec-header__toggle {
        display: inline-flex;
    }

    /* Mobile Drawer navigation (shared single HTML) */
    .sec-header .sec-header__nav-bar {
        border-bottom: 0;
    }

    .sec-header .sec-header__nav {
        position: fixed;
        top: 0;
        right: -320px;
        width: 300px;
        max-width: 85%;
        height: 100vh;
        background-color: var(--color-2);
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
        z-index: 1001;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 20px;
        overflow-y: auto;
        transition: right 0.3s ease;
    }

    .sec-header .sec-header__nav.is-open {
        right: 0;
    }

    .sec-header .sec-header__drawer-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 16px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        margin-bottom: 16px;
    }

    .sec-header .sec-header__drawer-title {
        font-size: 16px;
        font-weight: 700;
        color: var(--color-3);
    }

    .sec-header .sec-header__close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        border: 1px solid rgba(0, 0, 0, 0.12);
        background: transparent;
        color: var(--color-1);
        border-radius: 4px;
        cursor: pointer;
        padding: 0;
    }

    .sec-header .sec-header__menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .sec-header .sec-header__menu-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.04);
        font-size: 15px;
    }

    .sec-header .sec-header__menu-arrow {
        /* padding: 4px; */
        margin-left: auto;
        margin: 6px;
    }

    .sec-header .sec-header__submenu {
        position: static;
        box-shadow: none;
        border: none;
        border-left: 2px solid rgba(14, 105, 56, 0.25);
        padding: 4px 0 6px 14px;
        margin: 4px 0 8px 6px;
        background: transparent;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }

    .sec-header .sec-header__menu-item.is-open>.sec-header__submenu {
        display: block;
        width: 100%;
        max-width: unset;
    }

    .sec-header .sec-header__menu-item.is-open>.sec-header__menu-link .sec-header__menu-arrow {
        transform: rotate(180deg);
    }

    .sec-header .sec-header__submenu-link {
        padding: 8px 0;
        font-size: 14px;
    }

    .sec-header .sec-header__menu-item--active .sec-header__menu-link::after {
        display: none;
    }

    .sec-header .sec-header__side {
        margin-top: 16px;
        display: flex;
        flex-direction: column;
        align-items: start;
        gap: 12px;
        /* padding-top: 16px;
        border-top: 1px solid rgba(0, 0, 0, 0.08); */
    }

    .sec-header .sec-header__btn-cta--mobile {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 10px 16px;
    }

    .sec-header .sec-header__internal-link {
        padding: 8px 0;
        order: -1;
    }

    /* Mobile Overlay */
    .sec-header .sec-header__overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .sec-header .sec-header__overlay.is-open {
        opacity: 1;
        visibility: visible;
    }
}

/* MOBILE (max-width: 767px) */
@media (max-width: 767px) {
    .sec-header .sec-header__slogan {
        display: none;
    }

    .sec-header .sec-header__top-inner {
        justify-content: center;
    }

    .sec-header .sec-header__brand-info h3,
    .sec-header .sec-header__brand-info h2 {
        display: none;
    }

    .sec-header .sec-header__main {
        padding: 10px 0;
    }

    .sec-header .sec-header__brand-info h2 {
        font-size: 14px;
        line-height: 18px;
    }

    .sec-header .sec-header__logo {
        /* width: 38px; */
        /* height: 40px; */
    }

    .sec-header .sec-header__btn-cta--mobile {
        padding: 8px 12px;
        font-size: 13px;
    }

    .sec-header .sec-header__btn-cta--mobile svg {
        display: inline-block;
    }
}

/* SMALL MOBILE (max-width: 480px) */
@media (max-width: 480px) {
    .sec-header .sec-header__brand-info h2 {
        font-size: 13px;
        line-height: 16px;
    }

    .sec-header .sec-header__brand {
        gap: 8px;
    }

    .sec-header .sec-header__logo {
        /* width: 32px; */
        /* height: 34px; */
    }

    .sec-header .sec-header__actions {
        gap: 8px;
    }

    .sec-header .sec-header__btn-cta--mobile {
        padding: 9px 12px;
    }

    .sec-header .sec-header__btn-search,
    .sec-header .sec-header__btn-account {
        padding: 8px 10px;
        height: 40px;
    }
}

/* ========================================================
   MODAL ĐĂNG KÝ HỘI VIÊN (.sec-modal-member)
   - Scope phân cấp chuẩn
   - Biến màu: var(--color-1), var(--color-2), var(--color-3), var(--color-4), var(--color-5)
   - Đơn vị px nguyên, 3 breakpoint chuẩn
======================================================== */

.sec-modal-member {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.sec-modal-member.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.sec-modal-member .sec-modal-member__backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 60, 49, 0.72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.sec-modal-member .sec-modal-member__dialog {
    position: relative;
    z-index: 2;
    background-color: var(--color-2);
    width: 100%;
    max-width: 520px;
    max-height: calc(100vh - 40px);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    overflow-y: auto;
    transform: translateY(20px) scale(0.98);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.sec-modal-member.is-open .sec-modal-member__dialog {
    transform: translateY(0) scale(1);
}

.sec-modal-member .sec-modal-member__header {
    position: relative;
    padding: 24px 28px 18px;
    border-bottom: 1px solid rgba(17, 60, 49, 0.08);
    background: linear-gradient(135deg, rgba(7, 91, 67, 0.04) 0%, rgba(209, 237, 146, 0.1) 100%);
}

.sec-modal-member .sec-modal-member__title {
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    color: var(--color-3);
    margin: 0 0 6px 0;
    padding-right: 36px;
}

.sec-modal-member .sec-modal-member__subtitle {
    font-size: 13px;
    line-height: 18px;
    color: #4b635c;
    margin: 0;
}

.sec-modal-member .sec-modal-member__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background-color: var(--color-2);
    color: #555;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
    padding: 0;
}

.sec-modal-member .sec-modal-member__close:hover {
    background-color: var(--color-3);
    color: var(--color-2);
    border-color: var(--color-3);
    transform: rotate(90deg);
}

.sec-modal-member .sec-modal-member__body {
    padding: 24px 28px 28px;
}

.sec-modal-member .sec-modal-member__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sec-modal-member .sec-modal-member__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sec-modal-member .sec-modal-member__label {
    font-size: 13px;
    font-weight: 600;
    color: #2c3e38;
}

.sec-modal-member .sec-modal-member__label .req {
    color: #e53935;
    margin-left: 2px;
}

.sec-modal-member .sec-modal-member__input,
.sec-modal-member .sec-modal-member__textarea {
    width: 100%;
    font-size: 14px;
    line-height: 20px;
    padding: 10px 14px;
    border-radius: 6px;
    border: 1px solid #c9d8d3;
    background-color: #fbfdfc;
    color: #111;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.sec-modal-member .sec-modal-member__input:focus,
.sec-modal-member .sec-modal-member__textarea:focus {
    outline: none;
    border-color: var(--color-3);
    background-color: var(--color-2);
    box-shadow: 0 0 0 3px rgba(7, 91, 67, 0.12);
}

.sec-modal-member .sec-modal-member__textarea {
    resize: vertical;
    min-height: 88px;
}

.sec-modal-member .sec-modal-member__btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    background-color: var(--color-3);
    color: var(--color-2);
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
    margin-top: 4px;
}

.sec-modal-member .sec-modal-member__btn-submit:hover {
    background-color: #054835;
    opacity: 0.95;
    transform: translateY(-1px);
}

.sec-modal-member .sec-modal-member__btn-submit svg {
    flex-shrink: 0;
}

.sec-modal-member .sec-modal-member__note {
    font-size: 12px;
    line-height: 16px;
    color: #6b847d;
    text-align: center;
    margin: 4px 0 0;
}

/* Thông báo gửi thành công (frontend) */
.sec-modal-member .sec-modal-member__success {
    display: none;
    text-align: center;
    padding: 24px 16px;
}

.sec-modal-member .sec-modal-member__success-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background-color: rgba(7, 91, 67, 0.1);
    color: var(--color-3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sec-modal-member .sec-modal-member__success-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-3);
    margin: 0 0 8px;
}

.sec-modal-member .sec-modal-member__success-desc {
    font-size: 14px;
    line-height: 20px;
    color: #4b635c;
    margin: 0 0 20px;
}

.sec-modal-member .sec-modal-member__success-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    background-color: var(--color-3);
    color: var(--color-2);
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.sec-modal-member .sec-modal-member__success-btn:hover {
    opacity: 0.9;
}

/* RESPONSIVE MODAL */
@media (max-width: 480px) {
    .sec-modal-member {
        padding: 12px;
    }

    .sec-modal-member .sec-modal-member__header {
        padding: 20px 20px 14px;
    }

    .sec-modal-member .sec-modal-member__body {
        padding: 18px 20px 24px;
    }

    .sec-modal-member .sec-modal-member__title {
        font-size: 18px;
        line-height: 24px;
    }
}

/* ========================================================
   MODAL TÀI KHOẢN: ĐĂNG NHẬP / ĐĂNG KÝ (.sec-modal-auth)
======================================================== */

.sec-modal-auth {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.sec-modal-auth.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.sec-modal-auth .sec-modal-auth__backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 60, 49, 0.72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.sec-modal-auth .sec-modal-auth__dialog-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 520px;
    margin: auto;
    transform: translateY(20px) scale(0.98);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.sec-modal-auth.is-open .sec-modal-auth__dialog-wrap {
    transform: translateY(0) scale(1);
}

.sec-modal-auth .sec-modal-auth__dialog {
    position: relative;
    background-color: var(--color-2);
    width: 100%;
    max-height: calc(100vh - 100px);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    overflow-y: auto;
}

/* Nút Đóng đặt trên cao hơn sec-modal-auth__header */
.sec-modal-auth .sec-modal-auth__close {
    position: absolute;
    bottom: calc(100% + 12px);
    right: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
    padding: 0;
    z-index: 10;
}

.sec-modal-auth .sec-modal-auth__close:hover {
    background-color: #ffffff;
    color: var(--color-1);
    border-color: #ffffff;
    transform: rotate(90deg);
}

/* Tabs header */
.sec-modal-auth .sec-modal-auth__header {
    position: relative;
    border-bottom: 1px solid rgba(17, 60, 49, 0.08);
    background-color: #fbfdfc;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
}

.sec-modal-auth .sec-modal-auth__nav-tabs {
    display: flex;
    flex: 1;
    padding-right: 0;
}

.sec-modal-auth .sec-modal-auth__tab {
    flex: 1;
    padding: 18px 20px;
    font-size: 15px;
    font-weight: 700;
    color: #617d74;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
    text-align: center;
}

.sec-modal-auth .sec-modal-auth__tab:hover {
    color: var(--color-3);
    background-color: rgba(7, 91, 67, 0.03);
}

.sec-modal-auth .sec-modal-auth__tab.is-active {
    color: var(--color-3);
    border-bottom-color: var(--color-3);
    background-color: var(--color-2);
}

/* Modal Body & Panes */
.sec-modal-auth .sec-modal-auth__body {
    padding: 24px 28px 28px;
}

.sec-modal-auth .sec-modal-auth__pane {
    display: none;
}

.sec-modal-auth .sec-modal-auth__pane.is-active {
    display: block;
    animation: authFadeIn 0.25s ease forwards;
}

@keyframes authFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sec-modal-auth .sec-modal-auth__intro {
    margin-bottom: 20px;
}

.sec-modal-auth .sec-modal-auth__title {
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    color: var(--color-3);
    margin: 0 0 6px 0;
}

.sec-modal-auth .sec-modal-auth__desc {
    font-size: 13px;
    line-height: 18px;
    color: #556e66;
    margin: 0;
}

.sec-modal-auth .sec-modal-auth__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sec-modal-auth .sec-modal-auth__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sec-modal-auth .sec-modal-auth__label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sec-modal-auth .sec-modal-auth__label {
    font-size: 13px;
    font-weight: 600;
    color: #2c3e38;
}

.sec-modal-auth .sec-modal-auth__label .req {
    color: #e53935;
    margin-left: 2px;
}

.sec-modal-auth .sec-modal-auth__link-forgot {
    font-size: 12px;
    color: var(--color-3);
    text-decoration: none;
    font-weight: 500;
}

.sec-modal-auth .sec-modal-auth__link-forgot:hover {
    text-decoration: underline;
}

.sec-modal-auth .sec-modal-auth__input {
    width: 100%;
    font-size: 14px;
    line-height: 20px;
    padding: 10px 14px;
    border-radius: 6px;
    border: 1px solid #c9d8d3;
    background-color: #fbfdfc;
    color: #111;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.sec-modal-auth .sec-modal-auth__input:focus {
    outline: none;
    border-color: var(--color-3);
    background-color: var(--color-2);
    box-shadow: 0 0 0 3px rgba(7, 91, 67, 0.12);
}

.sec-modal-auth .sec-modal-auth__password-wrap {
    position: relative;
    width: 100%;
}

.sec-modal-auth .sec-modal-auth__password-wrap .sec-modal-auth__input {
    padding-right: 42px;
}

.sec-modal-auth .sec-modal-auth__password-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #7d968e;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.sec-modal-auth .sec-modal-auth__password-toggle:hover {
    color: var(--color-3);
}

.sec-modal-auth .sec-modal-auth__grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.sec-modal-auth .sec-modal-auth__options {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sec-modal-auth .sec-modal-auth__checkbox-simple {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #4b635c;
    cursor: pointer;
    user-select: none;
}

.sec-modal-auth .sec-modal-auth__checkbox-simple input {
    cursor: pointer;
    accent-color: var(--color-3);
}

/* Nút tích hội viên nổi bật */
.sec-modal-auth .sec-modal-auth__member-card {
    background: linear-gradient(135deg, rgba(7, 91, 67, 0.05) 0%, rgba(209, 237, 146, 0.12) 100%);
    border: 1px solid rgba(7, 91, 67, 0.18);
    border-radius: 8px;
    padding: 12px 14px;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.sec-modal-auth .sec-modal-auth__member-card:hover {
    border-color: var(--color-3);
}

.sec-modal-auth .sec-modal-auth__member-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    margin: 0;
}

.sec-modal-auth .sec-modal-auth__member-checkbox input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.sec-modal-auth .sec-modal-auth__checkbox-box {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 1.5px solid #7d968e;
    background-color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    color: transparent;
}

.sec-modal-auth .sec-modal-auth__member-checkbox input:checked+.sec-modal-auth__checkbox-box {
    background-color: var(--color-3);
    border-color: var(--color-3);
    color: #fff;
}

.sec-modal-auth .sec-modal-auth__member-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sec-modal-auth .sec-modal-auth__member-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--color-3);
}

.sec-modal-auth .sec-modal-auth__badge-hot {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    background-color: var(--color-4);
    color: var(--color-5);
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.sec-modal-auth .sec-modal-auth__member-sub {
    font-size: 12px;
    line-height: 16px;
    color: #556e66;
}

/* Nút Submit */
.sec-modal-auth .sec-modal-auth__btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    background-color: var(--color-3);
    color: var(--color-2);
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
    margin-top: 4px;
}

.sec-modal-auth .sec-modal-auth__btn-submit:hover {
    background-color: #054835;
    opacity: 0.95;
    transform: translateY(-1px);
}

.sec-modal-auth .sec-modal-auth__switch {
    text-align: center;
    font-size: 13px;
    color: #617d74;
    margin-top: 4px;
}

.sec-modal-auth .sec-modal-auth__link-switch {
    color: var(--color-3);
    font-weight: 700;
    text-decoration: underline;
    margin-left: 4px;
    cursor: pointer;
}

.sec-modal-auth .sec-modal-auth__link-switch:hover {
    color: #054835;
}

/* Success notification */
.sec-modal-auth .sec-modal-auth__success {
    display: none;
    text-align: center;
    padding: 24px 16px;
}

.sec-modal-auth .sec-modal-auth__success-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background-color: rgba(7, 91, 67, 0.1);
    color: var(--color-3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sec-modal-auth .sec-modal-auth__success-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-3);
    margin: 0 0 8px;
}

.sec-modal-auth .sec-modal-auth__success-desc {
    font-size: 14px;
    line-height: 20px;
    color: #4b635c;
    margin: 0 0 20px;
}

.sec-modal-auth .sec-modal-auth__success-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    background-color: var(--color-3);
    color: var(--color-2);
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.sec-modal-auth .sec-modal-auth__success-btn:hover {
    opacity: 0.9;
}

/* RESPONSIVE AUTH MODAL */
@media (max-width: 480px) {
    .sec-modal-auth {
        padding: 52px 12px 16px;
    }

    .sec-modal-auth .sec-modal-auth__close {
        bottom: calc(100% + 8px);
        right: 0;
        width: 32px;
        height: 32px;
    }

    .sec-modal-auth .sec-modal-auth__tab {
        padding: 14px 12px;
        font-size: 14px;
    }

    .sec-modal-auth .sec-modal-auth__body {
        padding: 20px 18px 24px;
    }

    .sec-modal-auth .sec-modal-auth__grid-2 {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .sec-modal-auth .sec-modal-auth__title {
        font-size: 18px;
        line-height: 24px;
    }
}

/* ========================================================
   HEADER USER ACCOUNT DROPDOWN (.sec-header__user-wrap)
======================================================== */
.sec-header .sec-header__user-wrap {
    position: relative;
}

.sec-header .sec-header__btn-account--user {
    cursor: pointer;
    gap: 8px;
}

.sec-header .sec-header__user-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--color-3, #0e6938);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 11px;
    overflow: hidden;
    flex-shrink: 0;
}

.sec-header .sec-header__user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sec-header .sec-header__user-name {
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sec-header .sec-header__user-arrow {
    flex-shrink: 0;
}

.sec-header .sec-header__user-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: 220px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    border: 1px solid #e2e8f0;
    padding: 6px 0;
    z-index: 9999;
}

.sec-header .sec-header__user-info {
    padding: 10px 14px;
    border-bottom: 1px solid #f1f5f9;
}

.sec-header .sec-header__user-info-name {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sec-header .sec-header__user-info-email {
    font-size: 12px;
    color: #64748b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sec-header .sec-header__user-badge-wrap {
    margin-top: 4px;
}

.sec-header .sec-header__user-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 9999px;
    font-size: 10px;
    line-height: 14px;
}

.sec-header .sec-header__user-badge--approved {
    background: #dcfce7;
    color: #15803d;
    font-weight: 700;
}

.sec-header .sec-header__user-badge--pending {
    background: #fef3c7;
    color: #b45309;
    font-weight: 700;
}

.sec-header .sec-header__user-badge--default {
    background: #f1f5f9;
    color: #64748b;
    font-weight: 600;
}

.sec-header .sec-header__user-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    font-size: 13px;
    color: #334155;
    text-decoration: none;
    transition: background 0.15s ease;
}

.sec-header .sec-header__user-link:hover {
    background: #f8fafc;
}

.sec-header .sec-header__user-link--logout {
    color: #ef4444;
    border-top: 1px solid #f1f5f9;
}

.sec-header .sec-header__user-link--logout:hover {
    background: #fef2f2;
}

/* Menu Not-Clickable items cursor */
.sec-header .sec-header__menu-link--not-clickable,
.sec-header .sec-header__submenu-link--not-clickable {
    cursor: default;
}

/* ========================================================
   MODAL XÁC NHẬN HỘI VIÊN (.sec-modal-member-confirm)
======================================================== */
.sec-modal-member-confirm {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.sec-modal-member-confirm__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.sec-modal-member-confirm__dialog {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    padding: 28px 24px 24px;
    text-align: center;
    z-index: 1;
}

.sec-modal-member-confirm__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    color: #64748b;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.sec-modal-member-confirm__close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.sec-modal-member-confirm__icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sec-modal-member-confirm__title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px;
    line-height: 1.4;
}

.sec-modal-member-confirm__desc {
    font-size: 14px;
    color: #475569;
    margin: 0 0 24px;
    line-height: 1.6;
}

.sec-modal-member-confirm__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* Alert error inside auth modal */
.sec-modal-auth .sec-modal-auth__alert {
    display: none;
    padding: 10px 14px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: #b91c1c;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 14px;
}
