body {
    background-color: #080a0c;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

        .navbar-brand {
            color: #f0b90b !important;
            letter-spacing: 5px;
            font-weight: 800;
            font-size: 2.2rem;
            text-transform: uppercase;
            transition: all 0.3s ease;
            text-shadow: 0 0 10px rgba(240, 185, 11, 0.3);
        }
        .navbar-brand:hover {
            color: #ffffff !important;
            text-shadow: 0 0 20px rgba(240, 185, 11, 0.6);
        }

        .main-content {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            background: radial-gradient(circle at center, #11151a 0%, #080a0c 100%);
        }

        .hero-title {
            font-size: clamp(2.5rem, 10vw, 4rem);
            font-weight: 800;
            letter-spacing: 5px;
            margin-bottom: 20px;
            text-transform: uppercase;
        }

        .hero-subtitle {
            color: #a0aec0;
            font-size: 1.1rem;
            letter-spacing: 1px;
            margin-bottom: 40px;
            font-weight: 400;
        }

        .btn-access {
            background-color: #f0b90b;
            color: #000;
            font-weight: 700;
            border: none;
            padding: 18px 45px;
            letter-spacing: 1px;
            border-radius: 4px;
            transition: all 0.3s;
            text-transform: uppercase;
        }

        .btn-access:hover {
            background-color: #fff;
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.3);
        }

        /* Footer Warning */
        .scam-warning-box {
            border: 1px solid #ffcc00;
            background: rgba(255, 204, 0, 0.05);
            padding: 30px;
            max-width: 850px;
            margin: 0 auto;
        }

        .warning-text {
            color: #f0b90b;
            font-size: 1rem;
            line-height: 1.7;
            text-align: left;
        }

        /* Modal Customization */
        .modal-content {background-color: #11151a;border: 1px solid #30363d;border-radius: 8px;}

        .nav-tabs .nav-link {
            color: #a0aec0;
            border: none;
            text-transform: uppercase;
            font-size: 0.9rem;
            font-weight: 600;
            padding: 18px;
        }

        .nav-tabs .nav-link.active {
            background-color: transparent !important;
            color: #f0b90b !important;
            border-bottom: 3px solid #f0b90b !important;
        }

        .form-control {background-color: #0d1117;border: 1px solid #30363d;color: #fff;border-radius: 4px;padding: 14px;margin-bottom: 15px;font-size: 1rem;}
        .form-control::placeholder { color: #848e9c !important; opacity: 1; font-size: 0.8rem; }
        .form-control:focus {background-color: #0d1117;color: #fff;border-color: #f0b90b;box-shadow: none;}

        .custom-row { display: flex; align-items: center; margin-bottom: 15px; }
        .custom-label { color: #f0b90b; font-size: 0.75rem; font-weight: bold; text-transform: uppercase; width: 120px; flex-shrink: 0; margin-bottom: 0; margin-right: 10px; }


        .system-status {
            color: #4a5568;
            font-size: 0.8rem;
            margin-top: 25px;
            font-weight: 500;
        }

.btn-lineup {
    display: block; 
    background: rgba(0, 255, 255, 0.05);
    color: #00e5ff;
    border: 1px solid #00e5ff;
    font-weight: 700;
    padding: 12px;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-lineup:hover {
    background: rgba(0, 229, 255, 0.2);
    color: #00e5ff;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
    transform: translateY(-2px);
}

.btn-access:hover {
    background-color: #ffcc00;
    color: #000 !important;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(240, 185, 11, 0.4);
    border: none;
}

/* Effects */
.btn-access:active {transform: translateY(1px);box-shadow: 0 0 10px rgba(240, 185, 11, 0.2);}

/* Input Group */
.input-group {
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 15px;
}

.input-group .form-control {
    margin-bottom: 0 !important;
    border: 1px solid #30363d !important;
    border-right: none !important;
    background-color: #0d1117 !important;
}

.input-group-text {
    background-color: #0d1117 !important;
    border: 1px solid #30363d !important;
    border-left: none !important;
    color: #f0b90b !important;
    font-weight: 600;
}

.input-group:focus-within {
    box-shadow: 0 0 0 1px #f0b90b;
}


/* Modal 2 */
/* Reset & Overlay */
    .htp-overlay { position: fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.97); 
        backdrop-filter:blur(20px); display:none; align-items:center; justify-content:center; z-index:9999; 
        font-family: 'Inter', -apple-system, sans-serif; }
    
    /* Container 1380px,  750px */
    .htp-modal-container { background:#1E2329; width:1380px; height:750px; display:flex; border-radius:32px; overflow:hidden; border:1px solid #333; 
        box-shadow: 0 60px 150px rgba(0,0,0,0.9); position: relative; pointer-events: auto !important;
    }

    /* .htp-sidebar { width:220px; background:#12161C; display:flex; flex-direction:column; flex-shrink:0; } */
    .htp-sidebar { width:220px; background:#12161C; display:flex; flex-direction:column; flex-shrink:0; padding:50px 15px; border-right: 1px solid #2B3139; }
    .htp-main { flex:1; padding:40px; display:flex; flex-direction:column; background:#1E2329; position: relative; }
    .htp-guide { width:300px; background:#191E24; padding:30px; border-left:1px solid #2B3139; flex-shrink:0; }

    /* Cột 1: Sidebar */
    .htp-brand { display:flex; align-items:center; gap:12px; font-weight:800; font-size:18px; color:#F3BA2F; margin-bottom:80px; padding-left:10px; letter-spacing: 1px; }
    .htp-step-item { display:flex; align-items:center; padding:18px 12px; margin-bottom:15px; border-radius:16px; color:#848E9C; cursor:pointer; position:relative; transition: 0.3s; }
    .htp-step-item.htp-active { background:#1E2329; color:#F3BA2F; border: 1px solid rgba(243,186,47,0.2); }
    .htp-step-num { width:28px; height:28px; border:2px solid; border-radius:50%; display:flex; align-items:center; justify-content:center; margin-right:12px; font-weight:bold; font-size:13px; }
    .htp-noti-badge { position:absolute; top:-5px; right:-5px; background:#F6465D; color:#fff; width:20px; height:20px; border-radius:50%; font-size:12px; font-weight:bold; display:flex; align-items:center; justify-content:center; animation: htpPulse 1.5s infinite; box-shadow: 0 0 10px rgba(246,70,93,0.4); z-index: 10;}

    /* Cột 2: Main Content */
    .htp-tab-content { display: none !important; flex-direction:column; height:100%; }
    .htp-tab-content.htp-active { display: flex !important; flex-direction: column; animation: htpFade 0.4s;}

    .htp-title { font-size:42px; font-weight:900; margin-bottom:15px; color:#fff; letter-spacing: -1px; }
    .htp-register-text { color:#848E9C; font-size:17px; margin-bottom:40px; line-height:1.6; }
    
    .htp-benefits-list { display:flex; gap:15px; margin-bottom:45px; }
    .htp-benefit { background:rgba(2, 192, 118, 0.08); padding:12px 18px; border-radius:12px; font-size:14px; color:#02C076; font-weight:700;  border: 1px solid rgba(2, 192, 118, 0.15); }

    /* Action ngang Step 1 */
    .htp-horizontal-action { display:flex; gap:20px; align-items: flex-start; margin-top: 15px; min-height: 430px; /* Đảm bảo đủ chỗ cho cái QR to của ông */}
    .htp-action-left { flex:1; }
    .htp-action-right { width:350px; height: 400px; text-align:center; background: #fff; flex-shrink: 0; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px;}
    .htp-action-right img { width: 300px; height: 300px; object-fit: contain;}
    .htp-action-right p { color: #474D57;  font-size: 14px; font-weight: 700; margin: 0;}

    .htp-field-label { display:block; color:#848E9C; font-size:14px; margin-bottom:10px; font-weight:600; }
    .htp-code-box { background:#0B0E11; border:2px solid #2B3139; border-radius:18px; padding:25px; display:flex; justify-content:space-between; align-items:center; margin-bottom:25px; }
    .htp-code-box span { font-size:38px; font-weight:900; letter-spacing:4px; color:#F3BA2F; }
    .htp-code-box small { color:#848E9C; cursor:pointer; font-size:12px; border:1px solid #474D57; padding:6px 12px; border-radius:8px; font-weight:bold; }
    .htp-code-box small:hover { background:#2B3139; color:#fff; }

    .htp-btn-primary { background:#F3BA2F; color:#000; border:none; padding:22px; border-radius:18px; font-size:19px; font-weight:bold; cursor:pointer; width:100%; transition: 0.2s; box-shadow: 0 8px 25px rgba(243,186,47,0.15); }
    .htp-btn-primary:hover { transform: translateY(-3px); background:#e5af26; }

    .htp-qr-frame { background:#fff; padding:15px; border-radius:24px; display: flex; box-shadow: 0 15px 40px rgba(0,0,0,0.4); }
    .htp-qr-frame { width: 345px; height: 421px;  align-items: center; justify-content: center; }
    .htp-qr-frame img { width:300px; height:300px; display:block; }
    .htp-qr-hint { color:#474D57; font-size:13px; margin-top:15px; font-weight:700; }

    .htp-guide-title { font-size:22px; color:#fff; margin-bottom:35px; font-weight:800; border-bottom: 2px solid #2B3139; padding-bottom:15px; }
    .htp-guide-text { display:none; }
    .htp-guide-text.htp-active { display:block; animation: htpFade 0.5s; }
    .htp-guide-step { font-size:15px; color:#848E9C; line-height:1.6; margin-bottom:20px; }
    .htp-guide-image-container { 
        background:#0B0E11; border-radius:12px; overflow:hidden; border:1px solid #474D57; box-shadow: 0 10px 30px rgba(0,0,0,0.3); 
        width: 100%; height: 350px; overflow-y: auto; overflow-x: hidden; margin: 15px 0;}
    .htp-guide-image-container img { width:100%; height:auto; display:block; transition: 0.3s; }
    .htp-info-box { margin-top:30px; padding:20px; background:rgba(243,186,47,0.04); border-radius:16px; color:#F3BA2F; font-size:13px; line-height:1.6; border: 1px solid rgba(243,186,47,0.08); }

    /* Step 2 UID Input */
    #htp-uid-input { width:100%; padding:25px; background:#0B0E11; border:2px solid #2B3139; border-radius:20px; color:#fff; font-size:32px; text-align:center; box-sizing: border-box; outline:none; transition: 0.3s; letter-spacing: 5px; }
    #htp-uid-input:focus { border-color:#F3BA2F; box-shadow: 0 0 15px rgba(243,186,47,0.1); }
    .htp-uid-guide-list p { margin-bottom:12px; color:#848E9C; font-size:14px; }
    .htp-divider { border:0; border-top:1px solid #2B3139; margin:30px 0; }
    .htp-footer-nav { margin-top:auto; }
    .htp-btn-back { background:transparent; color:#474D57; border:none; cursor:pointer; font-weight:bold; font-size:15px; }
    .htp-status-dot { width:10px; height:10px; background:#02C076; border-radius:50%; box-shadow: 0 0 10px #02C076; }
    .htp-sidebar-status { margin-top:auto; font-size:12px; display:flex; align-items:center; gap:10px; color:#474D57; padding:10px; }

    @keyframes htpPulse { 0% {transform:scale(1);} 50% {transform:scale(1.15);} 100% {transform:scale(1);} }
    @keyframes htpFade { from {opacity:0; transform: translateY(15px);} to {opacity:1; transform: translateY(0);} }


    .htp-guide-image-container::-webkit-scrollbar {
        width: 5px;
    }
    .htp-guide-image-container::-webkit-scrollbar-thumb {
        background: #474D57;
        border-radius: 10px;
    }

#htp-uid-input::-webkit-outer-spin-button,
#htp-uid-input::-webkit-inner-spin-button {-webkit-appearance: none; margin: 0;}

.htp-input-small { width: 100%; padding: 15px 20px !important; background: #0B0E11; border: 1px solid #2B3139 !important; border-radius: 12px !important; color: #fff; font-size: 18px !important; box-sizing: border-box; outline: none; transition: 0.3s;}
.htp-input-small:focus { border-color: #F3BA2F !important; }

#htp-email-display { background: #191E24; color: #848E9C; border-style: dashed !important; }

.htp-input-wrapper {text-align: left;}

.htp-tab-content, .htp-guide-text {
    display: none !important;
}


.htp-tab-content.htp-active, 
.htp-guide-text.htp-active {
    display: block !important; 
}


#htp-step-1-content.htp-active,
#htp-step-2-content.htp-active {
    display: flex !important; flex-direction: column;
}

.htp-uid-visual-guide {margin-top: 20px;text-align: center;width: 100%;}
.htp-uid-visual-guide img {width: 100%;max-width: 500px;border-radius: 12px;border: 1px solid #2B3139;box-shadow: 0 10px 30px rgba(0,0,0,0.2);margin-top: 15px;}

#htp-uid-input {
    width: 100%;padding: 15px 20px !important;
    background: #0B0E11 !important; border: 1px solid #2B3139 !important;
    border-radius: 12px !important; color: #fff !important;
    font-size: 20px !important; outline: none; display: block !important;
    pointer-events: auto !important; 
    user-select: text !important; 
    cursor: text !important; position: relative; z-index: 100;
}
#htp-uid-input:focus { border-color: #F3BA2F !important; box-shadow: 0 0 10px rgba(243,186,47,0.2);}


.modal-xl { max-width: 1380px; }
.htp-modal-body-container { display: flex; overflow: hidden; }

.htp-tab-content { display: none; height: 100%; flex-direction: column; }
.htp-tab-content.htp-active { display: flex; }

.htp-btn-primary { 
    background: #F3BA2F; color: #000; border: none; padding: 12px 25px; 
    border-radius: 8px; font-weight: bold; width: 100%; transition: 0.3s;
}
.htp-btn-primary:hover { background: #dbab2a; }

.htp-input-small {
    background: #0B0E11; border: 1px solid #2B3139; color: #fff;
    padding: 12px; border-radius: 8px; width: 100%; outline: none;
}
.htp-input-small:focus { border-color: #F3BA2F; }

.htp-code-box { 
    background: #2B3139; padding: 10px; border-radius: 8px; 
    display: flex; justify-content: space-between; margin-bottom: 15px; 
    color: #fff; border: 1px dashed #F3BA2F;
}