/* ================= BIẾN MÀU & RESET ================= */
:root {
    --bg-dark: #121212;
    --bg-card: #1e1e1e;
    --bg-card-hover: #282828;
    --orange-primary: #f26522;
    --orange-gradient: linear-gradient(90deg, #e65100 0%, #ff7b00 50%, #f26522 100%);
    --gold-text: #ffcc00;
    --text-white: #ffffff;
    --text-muted: #9e9e9e;
    --border-color: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

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

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

ul {
    list-style: none;
}

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

/* ================= BUTTONS ================= */
.btn {
    border: none;
    border-radius: 6px;
    padding: 9px 18px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-transform: uppercase;
}

.btn-orange {
    background: var(--orange-gradient);
    color: #fff;
    box-shadow: 0 3px 10px rgba(242, 101, 34, 0.35);
}

.btn-orange:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    border: 1px solid #666;
    color: #fff;
}

.btn-outline:hover {
    border-color: var(--orange-primary);
    color: var(--orange-primary);
}

.btn-sm {
    padding: 5px 12px;
    font-size: 11px;
}

.btn-lg {
    padding: 12px 28px;
    font-size: 15px;
    margin-top: 15px;
}

.btn-full {
    width: 100%;
    padding: 12px;
    font-size: 14px;
}

/* ================= HEADER ================= */
.main-header {
    background-color: #161616;
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid #262626;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo img {
    height: 44px;
    object-fit: contain;
}

.logo-fallback {
    flex-direction: column;
}

.logo-title {
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.logo-title span {
    color: var(--orange-primary);
}

.logo-sub {
    font-size: 8px;
    letter-spacing: 1.5px;
    color: var(--text-muted);
}

.header-auth-desktop {
    display: flex;
    align-items: center;
    gap: 10px;
}

.input-group {
    position: relative;
}

.input-group input {
    background: #242424;
    border: 1px solid #383838;
    border-radius: 5px;
    padding: 8px 12px;
    color: #fff;
    font-size: 13px;
    width: 165px;
    outline: none;
}

.input-group input:focus {
    border-color: var(--orange-primary);
}

.password-group i {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    cursor: pointer;
    font-size: 13px;
}

.header-auth-mobile {
    display: none;
    gap: 8px;
}

/* Thanh Menu Cam Desktop */
.desktop-nav {
    background: var(--orange-gradient);
    height: 42px;
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-list li a {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    padding: 10px 8px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: opacity 0.2s;
}

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

.tag-live {
    background: #fff;
    color: #e65100;
    font-size: 9px;
    font-weight: 900;
    padding: 1px 4px;
    border-radius: 3px;
}

.badge-top {
    position: absolute;
    top: -2px;
    right: 0;
    font-size: 8px;
    font-weight: 800;
    padding: 1px 4px;
    border-radius: 3px;
    color: #fff;
}

.badge-hot { background: #e53935; }
.badge-new { background: #2e7d32; }

/* ================= HERO SLIDER (DESKTOP) ================= */
.hero-slider {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: radial-gradient(circle at center, #3b136e 0%, #15072b 100%);
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
}

.slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.slide-brand-tag {
    display: inline-block;
    background: linear-gradient(180deg, #ffe066, #d49b00);
    color: #2b1800;
    font-weight: 900;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 10px;
}

.slide-content h1 {
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(180deg, #fff6b3 0%, #ffbb00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    line-height: 1.1;
}

.slide-content p {
    font-size: 18px;
    color: #e0d4f5;
    margin-top: 8px;
    font-weight: 600;
}

.jackpot-box {
    margin-top: 22px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.jackpot-label {
    background: #2b124c;
    border: 1px solid #8a4fff;
    padding: 2px 18px;
    border-radius: 12px 12px 0 0;
    font-size: 12px;
    font-weight: 700;
}

.jackpot-value {
    background: rgba(20, 8, 38, 0.88);
    border: 2px solid #f5b942;
    border-radius: 30px;
    padding: 8px 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 26px;
    font-weight: 900;
    color: #fff;
    box-shadow: 0 0 20px rgba(245, 185, 66, 0.4);
}

.jackpot-value img {
    height: 36px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.2s;
}

.slider-btn:hover {
    background: var(--orange-primary);
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

.slider-dots {
    position: absolute;
    bottom: 15px;
    right: 12%;
    z-index: 5;
    display: flex;
    gap: 8px;
}

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

.slider-dot.active {
    background: var(--orange-primary);
    width: 24px;
    border-radius: 6px;
}

/* ================= FEATURES & MATCH CARD (DESKTOP) ================= */
.features-section {
    margin-top: 22px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) 1.8fr;
    gap: 14px;
}

.feature-card {
    background: linear-gradient(145deg, #232323, #181818);
    border: 1px solid #2e2e2e;
    border-radius: 10px;
    padding: 16px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
    transform: translateY(-3px);
    border-color: var(--orange-primary);
}

.feature-card img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.feature-icon {
    font-size: 32px;
    color: var(--gold-text);
}

.feature-text {
    display: flex;
    flex-direction: column;
}

.feature-text span {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
}

.feature-text strong {
    font-size: 20px;
    color: var(--gold-text);
    font-weight: 800;
}

/* Match Card */
.match-card {
    background: #1d1d1d;
    border: 1px solid #303030;
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.match-header {
    display: flex;
    align-items: center;
    font-size: 11px;
    gap: 6px;
}

.match-header .badge-hot {
    padding: 2px 5px;
    border-radius: 3px;
    font-weight: 800;
    font-size: 9px;
}

.league-name {
    color: #bbb;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.odds-header {
    display: flex;
    gap: 24px;
    color: #888;
    font-size: 10px;
}

.match-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 8px 0;
}

.teams {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
}

.odds-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
}

.odd-box {
    background: #2a2a2a;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.odd-box span { color: #999; }
.odd-box strong { color: #ff6b6b; }

.match-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.match-time {
    font-size: 11px;
    color: #888;
}

/* Hàng Game Nhanh Desktop */
.quick-games-desktop {
    margin-top: 24px;
    padding-bottom: 40px;
}

.games-row {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 14px;
}

.game-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s;
}

.game-icon-item:hover {
    transform: translateY(-4px);
}

.icon-box {
    width: 100%;
    aspect-ratio: 1/1;
    background: #1f1f1f;
    border: 1px solid #2f2f2f;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    overflow: hidden;
}

.icon-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.icon-box i {
    font-size: 38px;
    color: var(--orange-primary);
}

.game-icon-item span {
    font-size: 12px;
    font-weight: 700;
    color: #ddd;
}

/* ================= GIAO DIỆN ĐIỆN THOẠI (MOBILE) ================= */
.mobile-view {
    display: none;
    padding: 12px 12px 80px 12px;
}

/* Lưới 2 hàng danh mục trượt ngang */
.category-scroll-grid {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-auto-flow: column;
    grid-auto-columns: calc(23% - 6px);
    gap: 12px 8px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 6px;
}

.category-scroll-grid::-webkit-scrollbar {
    display: none;
}

.m-cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
}

.m-cat-img {
    width: 64px;
    height: 64px;
    background: linear-gradient(180deg, #2b2b2b, #1a1a1a);
    border-radius: 16px;
    border: 1px solid #363636;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

.m-cat-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.m-cat-img i {
    font-size: 28px;
    color: var(--orange-primary);
}

.m-cat-item span {
    font-size: 11px;
    font-weight: 600;
    color: #eee;
}

.scroll-indicator {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin: 8px 0 14px;
}

.ind-bar {
    width: 14px;
    height: 3px;
    background: #444;
    border-radius: 2px;
}

.ind-bar.active {
    background: var(--orange-primary);
    width: 22px;
}

/* Promo Slider Mobile */
.mobile-promo-slider {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    margin-bottom: 16px;
}

.mobile-promo-slider::-webkit-scrollbar {
    display: none;
}

.m-promo-card {
    min-width: 155px;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.promo-brown { background: linear-gradient(135deg, #4a2511, #241208); }
.promo-teal { background: linear-gradient(135deg, #124542, #092422); }
.promo-gold { background: linear-gradient(135deg, #523d0c, #261c05); }

.m-promo-card img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.m-promo-icon {
    font-size: 28px;
    color: var(--gold-text);
}

.m-promo-card small {
    display: block;
    font-size: 11px;
    color: #ddd;
}

.m-promo-card strong {
    font-size: 18px;
    color: var(--gold-text);
    font-weight: 800;
}

/* Khu vực Thịnh Hành */
.mobile-trending {
    background: #1b1b1b;
    border-radius: 14px;
    padding: 12px;
    margin-bottom: 14px;
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--orange-gradient);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
}

.trending-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
}

.trending-scroll::-webkit-scrollbar {
    display: none;
}

.trending-card {
    min-width: 115px;
    width: 115px;
}

.jackpot-top {
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid #555;
    border-radius: 10px;
    font-size: 9px;
    font-weight: 700;
    color: var(--gold-text);
    padding: 2px 6px;
    text-align: center;
    margin-bottom: 4px;
    white-space: nowrap;
}

.t-card-img {
    position: relative;
    width: 100%;
    height: 115px;
    border-radius: 12px;
    overflow: hidden;
}

.t-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fav-btn {
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: #fff;
    font-size: 11px;
    cursor: pointer;
}

.trending-card h4 {
    font-size: 12px;
    margin-top: 6px;
    font-weight: 700;
}

.trending-card span {
    font-size: 10px;
    color: var(--text-muted);
}

/* Thanh Soi Cầu */
.soicau-bar {
    background: linear-gradient(90deg, #5c1916, #36100e);
    border: 1px solid #8a2824;
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.soicau-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.sc-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--gold-text);
    color: #36100e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

/* Live Casino Mobile */
.live-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.live-tv-icon {
    background: var(--orange-primary);
    padding: 4px 6px;
    border-radius: 6px;
    font-size: 12px;
}

.live-title h3 {
    font-size: 16px;
    font-weight: 900;
}

.live-casino-box {
    display: grid;
    grid-template-columns: 75px 1.3fr 1fr;
    gap: 6px;
    background: #1c1c1c;
    padding: 8px;
    border-radius: 12px;
}

.lc-game-thumb {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 95px;
}

.lc-game-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lc-game-thumb span {
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 9px;
    font-weight: 800;
    background: rgba(0, 0, 0, 0.7);
    padding: 2px 0;
}

.lc-stream-preview {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 95px;
}

.lc-stream-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-viewer {
    position: absolute;
    top: 5px;
    left: 5px;
    background: rgba(0, 0, 0, 0.65);
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 10px;
    color: #ff5252;
    font-weight: 700;
}

.lc-bet-options {
    display: grid;
    grid-template-columns: 1fr 24px 1fr;
    gap: 4px;
    height: 95px;
}

.bet-box {
    background: #2b2318;
    border: 1px solid #4d3c24;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 6px 2px;
}

.bet-box small { font-size: 8px; color: #bbb; }
.bet-box strong { font-size: 11px; color: #ff6b6b; }

.bet-history-dots {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background: #242424;
    border-radius: 6px;
    padding: 4px 0;
}

.bet-history-dots small { font-size: 7px; color: #aaa; }

.dots-col {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot.red { background: #e53935; }
.dot.white { background: #fff; }

/* Mobile Bottom Nav */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 62px;
    background: #181818;
    border-top: 1px solid #2e2e2e;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 998;
}

.b-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #999;
    font-size: 10px;
    font-weight: 600;
    position: relative;
}

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

.b-nav-item.active {
    color: #fff;
}

.b-nav-item.active i {
    background: #fff;
    color: #181818;
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 15px;
}

.online-dot {
    position: absolute;
    top: -2px;
    right: 6px;
    width: 8px;
    height: 8px;
    background: #e53935;
    border-radius: 50%;
}

/* ================= FLOATING WIDGETS ================= */
.floating-widgets {
    position: fixed;
    right: 14px;
    bottom: 90px;
    z-index: 990;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.float-item {
    position: relative;
    width: 64px;
    cursor: pointer;
    transition: transform 0.2s;
}

.float-item:hover {
    transform: scale(1.06);
}

.float-item img {
    width: 100%;
    height: auto;
    display: block;
}

.float-fallback {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 800;
    border: 2px solid #ffd700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.float-fallback.orange { background: #e65100; }
.float-fallback.red { background: #b71c1c; }
.float-fallback.gold { background: #8c6200; }
.float-fallback small { font-size: 8px; margin-top: 2px; }

.float-close {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    border: 1px solid #666;
    font-size: 10px;
    cursor: pointer;
    z-index: 2;
}

.float-chat-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--orange-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 15px rgba(242, 101, 34, 0.5);
}

/* ================= MODAL SV88 (GIỐNG HÌNH 1, 2, 3) ================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 16px;
    overflow-y: auto;
}

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

.sv88-modal {
    position: relative;
    width: 100%;
    max-width: 430px;
    background: #171717;
    border: 1px solid #2c2c2c;
    border-radius: 16px;
    padding: 28px 24px 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
    animation: modalFadeIn 0.25s ease;
    margin: auto;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Hiệu ứng ánh sáng vàng nâu phía trên đỉnh popup */
.modal-glow {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 130%;
    height: 160px;
    background: radial-gradient(ellipse at top, rgba(212, 140, 65, 0.28) 0%, rgba(23, 23, 23, 0) 72%);
    pointer-events: none;
    z-index: 0;
}

.sv88-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 22px;
    cursor: pointer;
    z-index: 5;
    line-height: 1;
    transition: color 0.2s;
}

.sv88-close:hover {
    color: var(--orange-primary);
}

.sv88-form-wrap {
    position: relative;
    z-index: 2;
}

.sv88-modal-head {
    text-align: center;
    margin-bottom: 22px;
}

.sv88-modal-head h2 {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.sv88-modal-head p {
    font-size: 13px;
    color: #b5b5b5;
    line-height: 1.45;
    padding: 0 8px;
}

.sv88-field {
    margin-bottom: 15px;
}

.sv88-field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 7px;
}

.sv88-input-box {
    position: relative;
    background: #272727;
    border: 1px solid #383838;
    border-radius: 8px;
    display: flex;
    align-items: center;
    transition: border-color 0.2s;
}

.sv88-input-box:focus-within {
    border-color: var(--orange-primary);
}

.sv88-input-box.error-border {
    border-color: #ff4d4f;
}

.sv88-input-box input {
    width: 100%;
    background: transparent;
    border: none;
    padding: 13px 14px;
    color: #ffffff;
    font-size: 13.5px;
    outline: none;
}

.sv88-input-box input::placeholder {
    color: #7d7d7d;
}

.sv88-input-box .toggle-pass {
    padding: 0 14px;
    color: #8c8c8c;
    cursor: pointer;
    font-size: 15px;
}

/* Ô nhập số điện thoại cờ Việt Nam (+84) */
.phone-box {
    padding-left: 12px;
}

.vn-prefix {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-right: 10px;
    border-right: 1px solid #444;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 600;
    white-space: nowrap;
}

.vn-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 15px;
    background: #da251d;
    color: #ffff00;
    font-size: 10px;
    border-radius: 2px;
}

.field-error {
    display: block;
    font-size: 11.5px;
    color: #ff5252;
    margin-top: 5px;
    min-height: 14px;
}

.field-hint {
    font-size: 11.5px;
    color: #9e9e9e;
    line-height: 1.4;
    margin-top: 4px;
}

.forgot-row {
    text-align: right;
    margin: -4px 0 18px;
}

.forgot-row a {
    color: var(--orange-primary);
    font-size: 13px;
    font-weight: 600;
}

.terms-text {
    text-align: center;
    font-size: 12px;
    color: #b0b0b0;
    line-height: 1.45;
    margin: 14px 0 16px;
}

.terms-text a {
    color: var(--orange-primary);
    font-weight: 600;
}

/* Nút Submit mặc định màu nâu mờ như hình mẫu, sáng cam khi điền hợp lệ */
.sv88-submit-btn {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid #594439;
    background: #3d2e26;
    color: #a3958e;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.sv88-submit-btn.ready {
    background: var(--orange-gradient);
    border-color: #ff7b00;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(242, 101, 34, 0.45);
}

.sv88-submit-btn.ready:hover {
    filter: brightness(1.08);
}

.sv88-switch-footer {
    text-align: center;
    margin-top: 18px;
    font-size: 13px;
    color: #e0e0e0;
    font-weight: 500;
}

.sv88-switch-footer a {
    color: var(--orange-primary);
    font-weight: 700;
    margin-left: 4px;
}

/* ================= RESPONSIVE BREAKPOINTS ================= */
@media (max-width: 992px) {
    .header-auth-desktop,
    .desktop-nav,
    .desktop-view {
        display: none !important;
    }

    .header-auth-mobile {
        display: flex;
    }

    .mobile-view {
        display: block;
    }

    .float-chat-btn {
        display: none;
    }
}