/* ================= RESET & CẤU HÌNH CHUNG ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

:root {
    --green-header: #058c42;
    --green-dark: #072c18;
    --green-pill: #2a9d5c;
    --yellow-main: #f9d71c;
    --text-white: #ffffff;
}

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

.container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ================= HEADER MÁY TÍNH (DESKTOP) CHUẨN BẢN GỐC ================= */
.desktop-header {
    /* Nền Gradient xanh lá liền mạch từ trái qua phải giống hệt ảnh 1 */
    background: linear-gradient(90deg, #025b2a 0%, #05823e 50%, #089e4b 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 8px 0 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.header-wrapper {
    max-width: 1100px; /* Gom khung vừa vặn vào giữa giống tỉ lệ ảnh 1 */
    margin: 0 auto;
    padding: 0 15px;
}

/* --- DÒNG TRÊN (TOP BAR) --- */
.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.top-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: bold;
    color: #ffffff;
}

/* Quả chuông trắng + chấm đỏ số 1 */
.bell-box {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.bell-box i {
    color: #ffffff;
    font-size: 18px;
}

.bell-count {
    position: absolute;
    top: -5px;
    right: -6px;
    background: #ff0000;
    color: #ffffff;
    font-size: 9px;
    font-weight: bold;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cụm Hỗ trợ + Cờ + Nút Đăng nhập/Đăng ký */
.top-right {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 45px; /* Đẩy nhẹ vào trong để khớp vị trí với thanh menu bên dưới */
}

.support-top {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Icon bong bóng chat màu vàng có chữ Hi */
.hi-chat-icon {
    background: #ffea00;
    color: #025b2a;
    font-size: 10px;
    font-weight: 900;
    padding: 3px 6px;
    border-radius: 10px 10px 10px 2px;
    line-height: 1;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.support-text {
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
}

/* Cờ Việt Nam tròn đỏ sao vàng */
.vn-flag-circle {
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: #da251d;
    color: #ffff00;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Nút ĐĂNG NHẬP màu trắng xám, chữ đen */
.btn-login {
    background: linear-gradient(180deg, #ffffff 0%, #e4e4e4 100%);
    color: #111111;
    border: none;
    padding: 6px 15px;
    border-radius: 3px;
    font-weight: 800;
    font-size: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
}

.btn-login i {
    font-size: 9px;
    color: #333;
}

/* Nút ĐĂNG KÝ màu vàng cam gradient, chữ đen */
.btn-register {
    background: linear-gradient(180deg, #ffec4d 0%, #f5b916 100%);
    color: #111111;
    border: none;
    padding: 6px 24px;
    border-radius: 3px;
    font-weight: 800;
    font-size: 11px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
}

/* --- DÒNG DƯỚI (LOGO & MENU ICON) --- */
.nav-inner {
    display: flex;
    align-items: flex-end; /* Căn đáy để logo và hàng menu nằm ngang hàng nhau giống ảnh 1 */
    justify-content: space-between;
}

/* Sửa lại dòng này để cả PC và Mobile đều nhận kích thước Logo (đặc biệt là file .svg) */
.logo img {
    height: 56px;
    width: auto;
    display: block;
}

.m-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.m-logo img {
    height: 42px; /* Chiều cao chuẩn vừa vặn trên thanh Header Mobile */
    width: auto;
    display: block;
}

.m-logo .logo-text {
    font-size: 36px;
}

.logo-text {
    font-size: 48px;
    font-weight: 900;
    font-style: italic;
    color: #ffffff;
    letter-spacing: -1.5px;
    line-height: 0.9;
}

.logo-text span {
    color: #ffea00;
}

.logo-text small {
    font-size: 20px;
    color: #ffffff;
    font-style: normal;
    letter-spacing: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 13px;
    padding-bottom: 2px;
}

.nav-links li a {
    font-size: 11.5px;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.nav-links li a:hover {
    opacity: 0.85;
}

/* Icon Ngôi nhà phát sáng viền vàng giống ảnh 1 */
.nav-home i {
    font-size: 24px;
    color: #ffffff;
    filter: drop-shadow(0 0 5px #ffea00);
}

/* Icon Điện thoại */
.nav-mobile-icon i {
    font-size: 22px;
    color: #ffffff;
}

/* Khung bọc các Icon có gắn nhãn MỚI / HOT trên đỉnh */
.icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

/* Nhãn MỚI / HOT màu đỏ nằm đè ngay trên đầu Icon */
.badge-tag {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: #ed1c24;
    color: #ffffff;
    font-size: 8px;
    font-weight: 900;
    padding: 1px 3px;
    border-radius: 2px;
    line-height: 1.1;
    z-index: 2;
    white-space: nowrap;
}

/* Icon Thể Thao Ảo (TV + bóng đá nhỏ) */
.tv-ball-icon {
    position: relative;
}
.tv-ball-icon .sub-ball {
    position: absolute;
    font-size: 11px;
    top: 3px;
    left: 5px;
    background: #047a3a;
    border-radius: 50%;
}

/* Icon Lá bài Casino */
.cards-custom-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 22px;
    background: #ffffff;
    color: #05823e;
    border-radius: 2px;
    font-size: 14px;
    font-weight: bold;
    transform: rotate(-8deg);
    box-shadow: 2px 1px 0 rgba(255,255,255,0.6);
}

/* Icon 777 Quay Hũ */
.slot-777-icon {
    display: inline-flex;
    background: #ffffff;
    color: #05823e;
    border-radius: 3px;
    padding: 1px 2px;
    gap: 1px;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.1;
}
.slot-777-icon span {
    border-right: 1px solid #05823e;
    padding: 0 1px;
}
.slot-777-icon span:last-child {
    border-right: none;
}

/* Icon Trò Chơi (Vòng tròn trắng có hình rồng) & Khuyến Mãi (Vòng tròn $) */
.circle-outline-icon {
    width: 22px;
    height: 22px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.dollar-icon {
    font-size: 13px;
    font-weight: 900;
}

/* Icon Xổ Số (3 quả bóng tròn xếp tam giác 6 - 1 - 8) */
.lotto-balls-icon {
    position: relative;
    width: 24px;
    height: 22px;
    display: inline-block;
}
.lotto-balls-icon b {
    position: absolute;
    width: 11px;
    height: 11px;
    background: #ffffff;
    color: #05823e;
    border-radius: 50%;
    font-size: 7.5px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.lotto-balls-icon b:nth-child(1) { top: 0; left: 6px; }
.lotto-balls-icon b:nth-child(2) { bottom: 0; left: 0; }
.lotto-balls-icon b:nth-child(3) { bottom: 0; right: 0; }

/* Ẩn Header Mobile trên màn hình PC */
.mobile-header {
    display: none;
}

/* ================= BANNER SLIDER TÁCH RIÊNG PC & MOBILE ================= */
.banner-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
}

/* Mặc định trên Máy tính: Hiện banner PC, ẩn banner Mobile */
.desktop-slider {
    display: block;
}

.mobile-slider {
    display: none;
}

.slider-track {
    display: flex;
    width: 100%;
}

.slide {
    min-width: 100%;
    position: relative;
    user-select: none;
}

.desktop-slider .slide img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    display: block;
}

.mobile-banner-caption {
    display: none;
}

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

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: #ffffff;
    transform: scale(1.15);
}

/* ================= NỘI DUNG CHÍNH ================= */
.main-content {
    padding: 15px 0 40px;
}

/* Thanh thông báo */
.notice-bar {
    display: flex;
    align-items: center;
    background: #0b582b;
    border-radius: 20px;
    padding: 6px 15px;
    margin-bottom: 18px;
    font-size: 13px;
}

.notice-label {
    color: var(--yellow-main);
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 6px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap;
}

.notice-marquee {
    overflow: hidden;
    white-space: nowrap;
    flex: 1;
    margin-left: 15px;
}

.notice-marquee p {
    display: inline-block;
    animation: marquee 18s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Bộ lọc Pills (ALL, EPL, UEFA...) */
.section-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.pill-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pill {
    background: var(--green-pill);
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 13px;
    cursor: pointer;
    transition: 0.2s;
}

.pill.active, .pill:hover {
    background: var(--yellow-main);
    color: #000;
}

.desktop-arrows {
    display: flex;
    gap: 8px;
}

.arrow-btn {
    background: #0d4a26;
    color: #4ade80;
    border: 1px solid #15803d;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
}

/* Danh sách Trận đấu */
.matches-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.match-card {
    background: #ffffff;
    color: #222;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.match-time {
    font-size: 12px;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
}

.match-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    margin-bottom: 15px;
}

.team {
    flex: 1;
}

.team-logo {
    width: 48px;
    height: 48px;
    margin: 0 auto 6px;
    border-radius: 50%;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.team-name {
    font-size: 12px;
    font-weight: 600;
    color: #555;
    display: block;
}

.vs-box {
    padding: 0 6px;
}

.vs-circle {
    width: 38px;
    height: 38px;
    border-radius: 6px;
    background: #f8d7da;
    color: #222;
    font-weight: 900;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 4px;
}

.league-sub {
    font-size: 10px;
    color: #999;
    font-weight: bold;
}

.match-odds {
    display: flex;
    gap: 12px;
}

.odd-btn {
    flex: 1;
    border: 1px solid #6b7280;
    border-radius: 18px;
    padding: 6px 14px;
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #555;
    cursor: pointer;
}

.odd-btn:hover {
    border-color: var(--green-header);
    background: #f0fdf4;
}

/* ================= KHU VỰC GAME WINNERS ================= */
.green-progress-line {
    height: 5px;
    background: #15803d;
    border-radius: 3px;
    margin-bottom: 15px;
    width: 100%;
}

/* Chia lưới thành 8 cột trên máy tính giống hệt ảnh mẫu */
.winners-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
    margin-bottom: 30px;
}

.winner-card {
    background: #042413; /* Nền xanh đậm lót bên dưới thẻ */
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.winner-card img {
    width: 100%;
    height: 155px; /* Chiều cao ảnh game vừa vặn tỉ lệ 8 cột */
    object-fit: cover;
    display: block;
}

.winner-info {
    padding: 6px 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10.5px;
    font-weight: bold;
    background: #021a0d;
}

.winner-info .user {
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 55px;
}

.winner-info .prize {
    color: var(--yellow-main);
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 10px;
    white-space: nowrap;
}

/* Kích thước chấm tròn vàng nhỏ gắn trước số tiền */
.winner-info .prize i.fa-circle {
    font-size: 6px;
}

/* ================= GIAO DIỆN ĐIỆN THOẠI (MOBILE) ================= */
@media (max-width: 768px) {
    /* Trên điện thoại, chuyển lưới Winners thành 2 cột hoặc cho phép cuộn ngang tùy ý bạn */
    .winners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .winner-card img {
        height: 175px;
    }

    .winner-info {
        font-size: 11.5px;
        padding: 8px 6px;
    }
}

/* ================= NÚT NỔI 2 BÊN TRÊN DESKTOP ================= */
.floating-sidebar {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: var(--green-header);
    color: #fff;
    padding: 14px 10px;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.25;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.floating-sidebar i {
    display: block;
    font-size: 20px;
    color: var(--yellow-main);
    margin-bottom: 8px;
}

.left-sidebar {
    left: 0;
    border-radius: 0 8px 8px 0;
}

.right-sidebar {
    right: 0;
    border-radius: 8px 0 0 8px;
}

/* Ẩn các thành phần chỉ dành cho Mobile khi ở PC */
.quick-view-btn, .mobile-bottom-nav {
    display: none;
}

/* ================= GIAO DIỆN ĐIỆN THOẠI (RESPONSIVE <= 768px) ================= */
@media (max-width: 768px) {
    body {
        padding-bottom: 65px; /* Chừa chỗ cho thanh menu đáy */
    }

    /* Ẩn các phần của PC */
    .desktop-header,
    .desktop-slider,
    .notice-bar,
    .desktop-arrows,
    .floating-sidebar,
    .desktop-only-card {
        display: none !important;
    }

    /* Hiện Header Mobile */
    .mobile-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: var(--green-header);
        padding: 10px 15px;
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .m-icon-btn {
        background: none;
        border: none;
        color: #fff;
        font-size: 26px;
        cursor: pointer;
    }

    /* Hiện Banner riêng của Mobile */
    .mobile-slider {
        display: block !important;
    }

    .mobile-slider .slide img {
        width: 100%;
        height: 310px;
        object-fit: cover;
        display: block;
    }

    .mobile-banner-caption {
        display: block;
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.92));
        padding: 30px 15px 12px;
    }

    .mobile-banner-caption h3 {
        font-size: 16px;
        line-height: 1.35;
        font-weight: 800;
        color: #fff;
    }

    /* Chấm tròn nằm dọc bên phải giống ảnh Mobile */
    .mobile-slider .slider-dots {
        top: 45%;
        right: 12px;
        left: auto;
        bottom: auto;
        transform: translateY(-50%);
        flex-direction: column;
        gap: 10px;
    }

    .mobile-slider .dot {
        width: 20px;
        height: 20px;
        background: rgba(255, 255, 255, 0.55);
    }

    .mobile-slider .dot.active {
        background: #ffffff;
    }

    /* Trận đấu hiển thị 1 cột to rõ trên Mobile */
    .matches-wrapper {
        grid-template-columns: 1fr;
    }

    .match-card {
        padding: 18px;
    }

    /* Cuộn ngang cho tab Game */
    .pill-tabs.scroll-x {
        flex-wrap: nowrap;
        overflow-x: auto;
        width: 100%;
        padding-bottom: 4px;
    }

    .pill-tabs.scroll-x::-webkit-scrollbar {
        display: none;
    }

    .pill-tabs.scroll-x .pill {
        white-space: nowrap;
    }

    /* Lưới Winners 2 cột giống ảnh Mobile */
    .winners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    /* Nút Xem Nhanh góc phải dưới */
    .quick-view-btn {
        display: flex;
        align-items: center;
        gap: 8px;
        position: fixed;
        bottom: 74px;
        right: 12px;
        background: #064e28;
        border: 2px solid #16a34a;
        border-radius: 12px;
        padding: 6px 12px;
        z-index: 998;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
        cursor: pointer;
    }

    .bulb-icon {
        color: var(--yellow-main);
        font-size: 24px;
    }

    .quick-view-btn span {
        font-size: 11px;
        font-weight: 900;
        line-height: 1.15;
    }

    /* Thanh điều hướng dưới đáy Mobile */
    .mobile-bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #0c6b37;
        padding: 8px 0;
        z-index: 1000;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }

    .b-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 10px;
        font-weight: bold;
        color: rgba(255, 255, 255, 0.85);
        gap: 4px;
    }

    .b-nav-item i {
        font-size: 20px;
    }

    .b-nav-item.active {
        color: var(--yellow-main);
    }
}
/* ================= NÚT ĐĂNG NHẬP / ĐĂNG KÝ DƯỚI BANNER MOBILE ================= */
/* Mặc định ẩn trên màn hình Máy tính (PC) */
.mobile-auth-bar {
    display: none;
}

/* Hiển thị trên màn hình Điện thoại (<= 768px) */
@media (max-width: 768px) {
    .mobile-auth-bar {
        display: flex;
        gap: 10px;
        padding: 10px 12px 4px;
        background-color: var(--green-dark);
    }

    .mobile-auth-bar button {
        flex: 1;
        height: 44px;
        border-radius: 6px;
        font-size: 15px;
        font-weight: 700;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        letter-spacing: 0.3px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
        transition: transform 0.15s ease, opacity 0.15s ease;
    }

    .mobile-auth-bar button:active {
        transform: scale(0.98);
        opacity: 0.9;
    }

    /* Nút ĐĂNG NHẬP: Gradient xanh ngọc sang xanh lá + viền sáng nhẹ giống ảnh gốc */
    .m-btn-login {
        background: linear-gradient(135deg, #098b63 0%, #179b52 60%, #20a64c 100%);
        color: #ffffff;
        border: 1px solid #28b862;
    }

    /* Nút ĐĂNG KÝ: Gradient cam hồng nhẹ góc trái sang vàng tươi + chữ đen */
    .m-btn-register {
        background: linear-gradient(135deg, #ffae7b 0%, #ffd447 45%, #f7df3e 100%);
        color: #111111;
        border: 1px solid #ffe66d;
    }
}
/* ================= LỚP PHỦ MODAL ĐĂNG NHẬP & ĐĂNG KÝ ================= */
.auth-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    padding: 15px;
    overflow-y: auto;
}

.auth-overlay.active {
    display: flex;
}

.modal-close-btn {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.85);
    font-size: 22px;
    cursor: pointer;
    z-index: 10;
}

.form-error-msg {
    color: #ff4d4f;
    background: rgba(255, 0, 0, 0.12);
    border-left: 3px solid #ff4d4f;
    font-size: 12px;
    font-weight: bold;
    padding: 6px 10px;
    margin-bottom: 12px;
    display: none;
}

/* ================= 1. FORM ĐĂNG NHẬP MÁY TÍNH (HÌNH 1) ================= */
.login-modal-box {
    position: relative;
    width: 100%;
    max-width: 400px;
    background: #024716; /* Xanh đậm chuẩn Hình 1 */
    border-radius: 6px;
    padding: 24px 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65);
}

.mobile-login-top,
.login-footer-mb {
    display: none;
}

.login-heading {
    color: #ffea00;
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 18px;
}

.login-input-group {
    display: flex;
    align-items: center;
    background: #095d24;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    margin-bottom: 14px;
    height: 44px;
    position: relative;
}

.pc-input-icon {
    width: 44px;
    height: 100%;
    background: linear-gradient(135deg, #22b34c 0%, #108a36 100%);
    color: #023b12;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.login-input-group input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    padding: 0 36px 0 12px;
    font-size: 13.5px;
}

.login-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.85);
}

.eye-toggle-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.65);
    font-size: 16px;
    cursor: pointer;
}

.login-submit-btn {
    width: 100%;
    height: 44px;
    background: linear-gradient(180deg, #ffffff 0%, #dcdcdc 100%);
    color: #111111;
    border: none;
    border-radius: 4px;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    margin-top: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
}

.login-footer-pc {
    margin-top: 16px;
    font-size: 13.5px;
    line-height: 1.5;
}

.forgot-link-pc {
    color: #ffea00;
    font-weight: 700;
    display: inline-block;
}

.login-footer-pc p {
    color: #ffffff;
    font-weight: 700;
}

.login-footer-pc .switch-to-register {
    color: #ffea00;
    font-weight: 800;
    text-decoration: underline;
}

/* ================= 2. FORM ĐĂNG KÝ (HÌNH 2 & HÌNH 4) ================= */
.register-modal-box {
    position: relative;
    width: 100%;
    max-width: 680px;
    background: #062614; /* Nền xanh đen chuẩn Hình 2 & 4 */
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.75);
}

.register-header-bar {
    background: #046830;
    padding: 16px 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.register-header-bar h2 {
    color: #ffffff;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.reg-close {
    position: static;
    font-size: 24px;
}

.register-body {
    padding: 25px 40px 35px;
}

.reg-line-field {
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.55);
    margin-bottom: 24px;
    padding-bottom: 6px;
}

.reg-line-field input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 14px;
    padding: 6px 32px 4px 0;
}

.reg-line-field input::placeholder {
    color: #b5c4bc;
}

.reg-line-field.phone-row {
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: none;
    padding-bottom: 0;
}

.country-code {
    border-bottom: 1px solid rgba(255, 255, 255, 0.55);
    padding: 6px 8px 10px 0;
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.country-code i {
    font-size: 11px;
    color: #b5c4bc;
}

.reg-line-field.phone-row input {
    border-bottom: 1px solid rgba(255, 255, 255, 0.55);
    padding-bottom: 10px;
}

.reg-terms-box {
    font-size: 12.5px;
    line-height: 1.6;
    color: #ffffff;
    margin: 22px 0 26px;
}

.reg-terms-box p {
    margin-bottom: 8px;
}

.text-yellow {
    color: #ffea00;
    font-weight: 700;
}

.reg-btn-container {
    text-align: center;
}

.reg-submit-btn {
    background: #f5df1d;
    color: #111111;
    border: none;
    border-radius: 10px;
    padding: 13px 65px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

/* ================= 3. ĐỔI GIAO DIỆN FORM TRÊN ĐIỆN THOẠI (HÌNH 3 & 4) ================= */
@media (max-width: 768px) {
    /* Form Đăng Nhập Điện Thoại nền trắng giống hệt Hình 3 */
    .login-modal-box {
        background: #ffffff;
        color: #222222;
        max-width: 100%;
        border-radius: 10px;
        padding: 20px 18px 28px;
    }

    .login-modal-box .modal-close-btn {
        color: #444444;
    }

    .mobile-login-top {
        display: block;
        margin-bottom: 22px;
    }

    .mobile-login-top h2 {
        font-size: 24px;
        font-weight: 500;
        color: #111111;
    }

    .login-heading {
        color: #057a38;
        font-size: 18px;
        margin-bottom: 16px;
        padding-left: 4px;
    }

    .pc-input-icon,
    .login-footer-pc {
        display: none;
    }

    .login-input-group {
        background: #efefef;
        border-bottom: none;
        border-radius: 8px;
        height: 48px;
        margin-bottom: 15px;
    }

    .login-input-group input {
        color: #222222;
        padding: 0 40px 0 15px;
        font-size: 14.5px;
    }

    .login-input-group input::placeholder {
        color: #999999;
    }

    .login-input-group .eye-toggle-btn {
        color: #888888;
    }

    .login-submit-btn {
        height: 48px;
        background: linear-gradient(160deg, #047a3a 0%, #179b48 65%, #55c53c 100%);
        color: #ffffff;
        border-radius: 6px;
        font-size: 15px;
        box-shadow: 0 3px 8px rgba(5, 122, 56, 0.4);
    }

    .login-footer-mb {
        display: block;
        margin-top: 18px;
    }

    .forgot-link-mb {
        color: #2b78c5;
        font-size: 14px;
    }

    .mb-reg-wrap {
        text-align: center;
        margin-top: 22px;
    }

    .mb-reg-wrap .switch-to-register {
        color: #057a38;
        font-size: 17px;
        font-weight: 700;
    }

    /* Tinh chỉnh khoảng cách Form Đăng Ký trên Mobile (Hình 4) */
    .register-header-bar {
        padding: 14px 20px;
    }

    .register-body {
        padding: 20px 20px 28px;
    }
}