/* ================= RESET & BIẾN MÀU SẮC ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

:root {
    --primary-mint: #cdebe3;
    --sidebar-bg: #d5efe7;
    --accent-burgundy: #b52b45;
    --accent-teal: #7fc8b8;
    --gold-yellow: #ffdd00;
    --text-dark: #2c3e50;
    --card-mint: #89d4c5;
}

body {
    background-color: #eaf6f2;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Ẩn giao diện mobile trên màn hình lớn */
.mobile-layout {
    display: none;
}

/* ================= GIAO DIỆN MÁY TÍNH (DESKTOP) ================= */
.desktop-layout {
    display: flex;
    min-height: 100vh;
}

/* --- SIDEBAR TRÁI --- */
.sidebar {
    width: 190px;
    background: linear-gradient(180deg, #b8e2d6 0%, #e1f4ef 100%);
    border-right: 1px solid #a3d5c7;
    display: flex;
    flex-direction: column;
    padding: 10px;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 100;
}

/* Hộp Logo chứa file ảnh logo được bo đều vừa sidebar */
.logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 0;
}

.brand-logo-img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.sidebar-user-card {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    padding: 12px 8px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    margin-bottom: 10px;
}

.avatar-circle {
    width: 48px;
    height: 48px;
    background: #fff;
    border: 2px solid var(--accent-burgundy);
    border-radius: 50%;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--accent-burgundy);
}

.btn-sidebar-login {
    width: 100%;
    padding: 7px;
    background: linear-gradient(180deg, #ffffff 0%, #c4ece2 100%);
    border: 1px solid #7fc8b8;
    border-radius: 6px;
    color: #1b6d5b;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    margin-bottom: 10px;
}

.sidebar-quick-links {
    display: flex;
    justify-content: space-around;
    border-top: 1px solid #d0e8e0;
    padding-top: 8px;
}

.quick-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 11px;
    color: #444;
    cursor: pointer;
}

.quick-item i {
    font-size: 16px;
    margin-bottom: 4px;
    color: #555;
}

.btn-promo {
    background: #fff;
    border: 1px solid #cdebe3;
    border-radius: 8px;
    padding: 9px;
    font-size: 11px;
    font-weight: 700;
    color: #555;
    cursor: pointer;
    margin-bottom: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.sidebar-menu {
    list-style: none;
    flex: 1;
    overflow-y: auto;
}

.sidebar-menu li {
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #4a5568;
    border-radius: 6px;
    margin-bottom: 3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
}

.sidebar-menu li i {
    width: 16px;
    text-align: center;
}

.sidebar-menu li.active,
.sidebar-menu li:hover {
    background: linear-gradient(90deg, #b52b45 0%, #d84b67 100%);
    color: #fff;
}

.sidebar-footer {
    padding-top: 10px;
    border-top: 1px solid #bce0d5;
    font-size: 11px;
}

.lang-select {
    background: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    cursor: pointer;
}

.vn-flag {
    background: #da251d;
    color: #ffff00;
    padding: 1px 4px;
    border-radius: 2px;
    font-size: 10px;
}

.live-clock {
    color: #c08080;
    font-size: 10px;
    text-align: center;
}

/* --- NỘI DUNG CHÍNH BÊN PHẢI --- */
.main-wrapper {
    margin-left: 190px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #d3efe8 0%, #f4fbf9 100%);
}

.top-bar {
    height: 48px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.marquee-box {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    max-width: 72%;
    font-size: 13px;
    color: #555;
}

.marquee-box i {
    color: #2b7a78;
}

.news-label {
    white-space: nowrap;
    font-weight: 600;
    color: #3aafa9;
}

.top-auth-btns {
    display: flex;
    gap: 10px;
}

.btn-register {
    background: var(--accent-burgundy);
    color: #fff;
    border: none;
    padding: 7px 22px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
}

.btn-login {
    background: #dcf2ec;
    color: #2b7a78;
    border: 1px solid #9ad3c6;
    padding: 7px 22px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
}

/* --- BANNER SLIDER TỰ ĐỘNG TRƯỢT NGANG CHUYỂN CẢNH (DESKTOP) --- */
.hero-slider {
    position: relative;
    height: 380px;
    background: #112d4e;
    overflow: hidden;
}

.slider-container {
    display: flex;
    height: 100%;
    width: 600%; /* Đủ cho 6 slide */
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide-item {
    width: 16.666%; /* 1 phần 6 chiều rộng */
    height: 100%;
    flex-shrink: 0;
}

.slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.35);
    cursor: pointer;
    font-size: 18px;
    color: #fff;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.slider-arrow:hover {
    background: rgba(0, 0, 0, 0.7);
}

.slider-arrow.prev { left: 24px; }
.slider-arrow.next { right: 24px; }

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dots .dot.active {
    background: #ffd05b;
    width: 24px;
    border-radius: 6px;
}

/* --- 6 THẺ DANH MỤC GAME --- */
.category-cards-section {
    padding: 25px 40px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    max-width: 1100px;
    margin: 0 auto;
}

.cat-card {
    width: 100%;
    /* Khung hiển thị đúng tỷ lệ của 1 nửa tấm ảnh (200x268) */
    aspect-ratio: 200 / 268;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cat-card img {
    width: 100%;
    /* Chiều cao gấp đôi khung để chứa cả nửa trên và nửa dưới */
    height: 200%;
    object-fit: cover;
    display: block;
    /* Mặc định hiển thị nửa trên (nút CHƠI NGAY màu xanh) */
    transform: translateY(0);
}

/* Khi di chuột vào: thẻ nhấc nhẹ lên và nhảy sang nửa ảnh dưới (nút CHƠI NGAY màu vàng) */
.cat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.cat-card:hover img {
    transform: translateY(-50%);
}
/* --- TIÊU ĐỀ & SUB-TABS --- */
.hot-games-section {
    padding: 10px 40px 40px;
    text-align: center;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.section-heading h2 {
    font-size: 24px;
    font-weight: 900;
    background: linear-gradient(90deg, #111, #b52b45);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.line-decor {
    width: 60px;
    height: 2px;
    background: #7fc8b8;
    position: relative;
}

.provider-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.p-tab {
    background: #fff;
    border: 1px solid #d0e8e0;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: #444;
    cursor: pointer;
    transition: 0.2s;
}

.p-tab.active,
.p-tab:hover {
    background: var(--accent-burgundy);
    color: #fff;
    border-color: var(--accent-burgundy);
}


/* ================= GIAO DIỆN ĐIỆN THOẠI (MOBILE RESPONSIVE) ================= */
@media (max-width: 768px) {
    .desktop-layout {
        display: none;
    }

    .mobile-layout {
        display: block;
        max-width: 480px;
        margin: 0 auto;
        background: #f2faf8;
        min-height: 100vh;
        padding-bottom: 70px;
    }

    /* Header Mobile */
    .m-header {
        height: 52px;
        background: linear-gradient(90deg, #fdebd0, #f9e79f, #d4efdf);
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 12px;
        position: sticky;
        top: 0;
        z-index: 99;
        box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    }

    .m-menu-btn, .m-mail-btn {
        background: rgba(255,255,255,0.8);
        border: 1px solid #ccc;
        width: 34px;
        height: 34px;
        border-radius: 6px;
        font-size: 18px;
        color: #333;
        cursor: pointer;
    }

    .m-logo {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .m-year {
        font-weight: 900;
        color: #d35400;
        font-size: 18px;
    }

    .m-brand-logo-img {
        max-height: 44px;
        width: auto;
        object-fit: contain;
    }

    /* SLIDER TỰ ĐỘNG TRƯỢT NGANG VÒNG LẶP (MOBILE) */
    .m-hero-slider {
        position: relative;
        height: 180px;
        background: #112d4e;
        overflow: hidden;
    }

    .m-slider-container {
        display: flex;
        height: 100%;
        width: 600%; /* Đủ cho 6 slide */
        transition: transform 0.5s ease-in-out;
    }

    .m-slide-item {
        width: 16.666%;
        height: 100%;
        flex-shrink: 0;
    }

    .m-slide-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .m-slider-dots {
        position: absolute;
        bottom: 8px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 6px;
        z-index: 10;
    }

    .m-slider-dots .dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.4);
        cursor: pointer;
    }

    .m-slider-dots .dot.active {
        background: #ffd05b;
        width: 16px;
        border-radius: 4px;
    }

    /* Tin tức chạy chữ */
    .m-news-bar {
        background: #fff;
        display: flex;
        align-items: center;
        padding: 6px 10px;
        font-size: 12px;
        border-bottom: 1px solid #e0e0e0;
    }

    .m-news-title {
        font-weight: 800;
        color: #2c3e50;
        white-space: nowrap;
        margin-right: 8px;
        font-size: 11px;
    }

    /* --- 1. KHU VỰC NẠP RÚT & ĐĂNG NHẬP --- */
    .m-action-panel {
        /* Nền vát chéo 2 tông màu xanh giống bản gốc */
        background: linear-gradient(110deg, #a7dcd1 0%, #a7dcd1 36%, #88cfc2 36.2%, #88cfc2 100%);
        padding: 12px 14px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .m-auth-col {
        display: flex;
        flex-direction: column;
        gap: 7px;
        width: 34%;
    }

    .m-btn-auth {
        background: rgba(255, 255, 255, 0.25);
        border: 1px solid #3d5a54;
        padding: 5px 0;
        border-radius: 6px; /* Bo góc nhẹ giống hình 2 */
        font-size: 11px;
        font-weight: 600;
        color: #2c3e50;
        cursor: pointer;
    }

    .m-Quick-col {
        display: flex;
        justify-content: space-around;
        align-items: flex-end;
        width: 64%;
    }

    .m-q-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 9.5px;
        font-weight: 700;
        color: #2c3e50;
        cursor: pointer;
    }

    .m-q-img {
        height: 40px;
        width: auto;
        object-fit: contain;
        margin-bottom: 5px;
        filter: drop-shadow(0 2px 3px rgba(0,0,0,0.1));
    }

    /* --- 2. THANH TRƯỢT DANH MỤC NGANG --- */
    .m-category-nav {
        display: flex;
        gap: 10px;
        padding: 14px 12px;
        overflow-x: auto;
        background: #fff;
    }

    .m-category-nav::-webkit-scrollbar {
        display: none;
    }

    .m-cat-item {
        min-width: 58px;
        height: 76px;
        background: linear-gradient(180deg, #d3ece6 0%, #8cd0c3 100%);
        border-radius: 14px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        padding: 8px 4px 10px;
        cursor: pointer;
        flex-shrink: 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.12);
        border: none;
    }

    .m-cat-item img {
        width: 38px;
        height: 38px;
        object-fit: contain;
    }

    .m-cat-item span {
        font-size: 9.5px;
        font-weight: 700;
        color: #2c3e50;
        text-align: center;
    }

    /* Khi chọn (Active): Chữ chuyển sang màu vàng rực như Hình 2 */
    .m-cat-item.active span {
        color: #ffea00;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    }

    /* Thanh gạch xám ngăn cách dưới danh mục */
    .m-divider-bar {
        height: 4px;
        background: #888888;
        width: 86%;
        margin-bottom: 4px;
    }

    /* --- 3. LƯỚI GAME 2 CỘT MOBILE --- */
    .m-game-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        padding: 12px 16px;
        background: #fff;
    }

    .m-game-card {
        position: relative;
        background: linear-gradient(180deg, #9ad8cd 0%, #82c8bc 100%);
        border-radius: 8px;
        height: 102px;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
        cursor: pointer;
        overflow: hidden;
    }

    /* Hình 5 (chứa sẵn logo JL + chữ FISH HUNTER + nhân vật) phủ toàn bộ thẻ */
    .m-game-bg {
        width: 100%;
        height: 100%;
        object-fit: contain;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
    }

    /* Tên game tiếng Việt nằm ở khoảng trống giữa Logo hãng và chữ FISH HUNTER */
    .m-game-name {
        position: absolute;
        top: 46%;
        left: 4%;
        width: 44%;
        text-align: center;
        font-size: 10px;
        font-weight: 600;
        color: #333;
        line-height: 1.15;
        z-index: 2;
    }

    /* Nhãn "vào trò chơi" đặt ở góc dưới bên phải */
    .m-enter-btn {
        position: absolute;
        bottom: 3px;
        right: 3px;
        background: linear-gradient(90deg, rgba(215, 238, 233, 0.85), rgba(255, 255, 255, 0.95));
        color: #333;
        font-size: 9.5px;
        font-weight: 500;
        padding: 1px 7px;
        border-radius: 8px;
        z-index: 2;
        box-shadow: 0 1px 2px rgba(0,0,0,0.15);
    }

    /* Thanh Bottom Nav cố định */
    .m-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        max-width: 480px;
        margin: 0 auto;
        height: 58px;
        background: linear-gradient(90deg, #9ad3c6, #7fc8b8);
        display: flex;
        justify-content: space-around;
        align-items: center;
        border-top: 1px solid #6ab5a5;
        z-index: 100;
    }

    .m-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: #164a41;
        font-size: 9px;
        font-weight: 700;
        gap: 4px;
    }

    .m-nav-item i {
        font-size: 18px;
    }

    .m-nav-item.active {
        color: #000;
    }
}
/* ================= CSS CHO MODAL MÁY TÍNH (HÌNH 1 & 2) ================= */
.d-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.d-modal-overlay.show {
    display: flex;
}

.d-modal-box {
    background: #fdf6d8;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    max-height: 95vh;
    overflow-y: auto;
}

.d-reg-box {
    width: 820px;
    padding: 25px 40px 30px;
}

.d-login-box {
    width: 440px;
    padding: 30px 35px;
}

.d-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2.5px solid #009688;
    background: transparent;
    color: #009688;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.d-reg-logo img {
    height: 55px;
    margin-bottom: 12px;
}

.d-login-logo {
    text-align: center;
    margin-bottom: 20px;
}

.d-login-logo img {
    height: 75px;
}

.d-reg-subtitle {
    font-size: 16px;
    color: #111;
    margin-bottom: 20px;
}

.d-reg-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    position: relative;
}

/* Đường kẻ dọc ngăn cách 2 cột ở Form Đăng ký Desktop */
.d-reg-grid::after {
    content: "";
    position: absolute;
    top: 5px;
    bottom: 15px;
    left: 50%;
    width: 1px;
    background: #333;
}

.d-input-group {
    margin-bottom: 16px;
}

.d-input-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #111;
    margin-bottom: 5px;
}

.d-input-group label i {
    color: #ff0000;
    margin-right: 4px;
}

.d-input-wrap {
    position: relative;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    height: 34px;
    display: flex;
    align-items: center;
}

.d-input-wrap input {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    padding: 0 32px 0 10px;
    font-size: 13px;
    border-radius: 4px;
}

.d-input-wrap i {
    position: absolute;
    right: 10px;
    color: #777;
    cursor: pointer;
}

.d-input-group small {
    display: block;
    font-size: 10.5px;
    color: #7f8c8d;
    margin-top: 4px;
    line-height: 1.3;
}

/* Form Đăng nhập Desktop (Hình 2) */
.d-login-group {
    margin-bottom: 16px;
}

.d-login-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #000;
    margin-bottom: 6px;
}

.d-login-input {
    position: relative;
    background: #fff;
    border: 1.5px solid #222;
    border-radius: 5px;
    height: 44px;
    display: flex;
    align-items: center;
}

.d-login-input input {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    padding: 0 38px 0 12px;
    font-size: 14px;
    border-radius: 5px;
}

.d-login-input i {
    position: absolute;
    right: 12px;
    color: #777;
    font-size: 18px;
    cursor: pointer;
}

/* Phần chân Modal Desktop */
.d-reg-bottom, .d-login-center {
    text-align: center;
    margin-top: 22px;
}

.warp-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(90deg, #fff3a1, #ffdd00, #fff3a1);
    border: 2px solid #d4ac0d;
    padding: 4px 18px;
    border-radius: 20px;
    font-weight: 900;
    font-size: 20px;
    color: #000;
    margin-bottom: 6px;
}

.warp-icon {
    background: #2980b9;
    color: #fff;
    font-size: 13px;
    padding: 2px 5px;
    border-radius: 4px;
}

.warp-num {
    color: #e84393;
    letter-spacing: 1px;
}

.warp-note {
    font-size: 11px;
    color: #111;
    margin-bottom: 12px;
}

.d-agree-line {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    margin-bottom: 18px;
    cursor: pointer;
}

.d-agree-line a {
    color: #ff0000;
    text-decoration: none;
    margin-left: 6px;
}

.d-reg-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-d-submit-reg {
    background: #b82b46;
    color: #fff;
    border: none;
    padding: 10px 36px;
    border-radius: 25px;
    font-size: 15px;
    cursor: pointer;
}

.btn-d-switch-login {
    background: transparent;
    color: #009688;
    border: 1.5px solid #009688;
    padding: 10px 42px;
    border-radius: 25px;
    font-size: 15px;
    cursor: pointer;
}

.btn-d-submit-login {
    background: transparent;
    color: #26a69a;
    border: 1.5px solid #26a69a;
    padding: 10px 55px;
    border-radius: 25px;
    font-size: 18px;
    margin-bottom: 18px;
    cursor: pointer;
}

.d-to-reg-link {
    display: block;
    color: #ff0000;
    font-size: 13.5px;
    text-decoration: none;
    margin-top: 8px;
}


/* ================= CSS CHO MODAL ĐIỆN THOẠI (HÌNH 3 & 4) ================= */
.m-auth-modal {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 3000;
    display: none;
    flex-direction: column;
    overflow-y: auto;
    max-width: 480px;
    margin: 0 auto;
}

.m-auth-modal.show {
    display: flex;
}

.m-auth-header {
    position: relative;
    text-align: center;
    padding: 25px 0 15px;
}

.m-auth-close {
    position: absolute;
    top: 12px;
    right: 15px;
    background: none;
    border: none;
    font-size: 26px;
    color: #c44569;
    cursor: pointer;
}

.m-auth-logo {
    height: 72px;
    object-fit: contain;
}

.m-auth-tabs {
    display: flex;
    border-bottom: 2px solid #b52b45;
}

.m-tab-btn {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    font-size: 15px;
    font-weight: 800;
    color: #e6b0bc;
    cursor: pointer;
    position: relative;
}

.m-tab-btn.active {
    color: #b52b45;
}

.m-tab-arrow {
    display: none;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #b52b45;
}

.m-tab-btn.active .m-tab-arrow {
    display: block;
}

.m-auth-body {
    background: #c5e3d8;
    padding: 20px 22px;
}

.m-auth-form {
    display: none;
}

.m-auth-form.active {
    display: block;
}

/* Tab Đăng Nhập Mobile (Hình 3) */
.m-pill-input {
    background: #fff;
    border-radius: 6px;
    height: 44px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    margin-bottom: 14px;
}

.m-left-ic {
    color: #b52b45;
    font-size: 16px;
    width: 24px;
}

.m-pill-input input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 13px;
    color: #333;
}

.m-pill-input input::placeholder {
    color: #c46d7e;
}

.m-forgot-txt {
    font-size: 12px;
    color: #b52b45;
    margin-right: 8px;
    cursor: pointer;
}

.m-right-ic {
    color: #b52b45;
    font-size: 17px;
    cursor: pointer;
}

.m-btn-submit-login {
    width: 100%;
    height: 42px;
    background: #87ccc1;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
    cursor: pointer;
}

.m-warp {
    width: 90%;
    justify-content: center;
    margin: 0 auto 8px;
    display: flex;
}

.m-warp-desc {
    text-align: center;
    font-size: 11.5px;
    color: #4a3a3a;
    margin-bottom: 10px;
}

.m-switch-prompt {
    text-align: center;
    font-size: 12px;
    color: #4a2828;
    cursor: pointer;
}

/* Tab Đăng Ký Mobile (Hình 4) */
.m-reg-field {
    margin-bottom: 14px;
}

.m-reg-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #4a1c24;
    margin-bottom: 5px;
}

.m-reg-field label i {
    color: #4a1c24;
    margin-right: 4px;
}

.m-reg-input-box {
    background: #fff;
    border-radius: 8px;
    height: 40px;
    display: flex;
    align-items: center;
    padding: 0 12px;
}

.m-reg-input-box input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 13px;
}

.m-reg-input-box i {
    color: #b52b45;
    font-size: 17px;
    cursor: pointer;
}

.m-captcha-code {
    background: #e8e2c5;
    color: #2c3e50;
    font-weight: 900;
    font-family: monospace;
    font-size: 16px;
    padding: 3px 8px;
    letter-spacing: 2px;
    margin-right: 8px;
    border-radius: 4px;
}

.m-reg-field small {
    display: block;
    font-size: 11px;
    color: #63706b;
    margin-top: 4px;
    line-height: 1.3;
}

.m-reg-agree {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #4a1c24;
    margin: 15px 0;
}

.m-btn-submit-reg {
    width: 100%;
    height: 44px;
    background: #9bd3c9;
    color: #d17889;
    border: none;
    border-radius: 6px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
}

/* Chân trang Modal Mobile */
.m-auth-footer {
    padding: 22px 15px 30px;
    text-align: center;
    background: #fff;
}

.m-footer-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 22px;
}

.m-footer-btns button {
    background: #fff;
    border: 1px solid #4a1c24;
    color: #4a1c24;
    padding: 9px 18px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.m-copyright {
    font-size: 12px;
    color: #5a2e2e;
}