/* ============================
   RESET + CORE LAYOUT
=============================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background: var(--body-bg, #fff);
    color: #222;
    line-height: 1.5;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: auto;
}

/* ============================
   HEADER
=============================== */
.header-wrap {
    width: 100%;
    background: var(--header-bg, #0d6efd);
    padding: 10px 0;
}

.header {
    width: 100%;
}

.header-main {
    max-width: 1100px;
    margin: auto;
    padding: 0 16px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Left text */
.header-left {
    color: #fff;
    font-size: 20px;
    font-weight: bold;
}

/* Right button */
.header-info {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    font-weight: bold;
    font-size: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
}

/* ============================
   BANNER
=============================== */

.banner-top {
    border-radius: 12px;
}

/* ============================
   BLUE NOTICE BOX (Ưu đãi)
=============================== */

.note-primary {
    background: #e3f2fd;
    border-left: 4px solid #0d6efd;
    padding: 12px;
    border-radius: 6px;
    font-size: 15px;
    margin-bottom: 20px;
}

/* ============================
   STEP UI
=============================== */

.topup-next {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin: 25px 0 30px 0;
    padding: 0 20px;
}

/* Step item */
.topup-next__item {
    text-align: center;
    position: relative;
    flex: 1;
}

/* Circle */
.topup-next__item-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;

    background: #ccc;
    color: #fff;

    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 17px;
    z-index: 2;
    position: relative;
}

/* Active step */
.topup-next__item--active .topup-next__item-icon {
    background: #e53935;
}

/* Step text */
.topup-next__item-text {
    display: block;
    margin-top: 6px;
    color: #555;
    font-size: 14px;
}

/* Line BETWEEN steps */
.topup-next__item-line {
    width: 100%;
    height: 3px;
    background: #ddd;

    position: absolute;
    top: 17px;
    left: -50%;
    z-index: 1;
}

/* Right half hidden so line does not extend too much */
.topup-next__item:last-child .topup-next__item-line {
    display: none;
}

/* ============================
   GAME ICON + TITLE + DESC
=============================== */

.role-icon {
    width: 120px;
    height: 120px;
    border-radius: 16px;
    margin: 20px auto 10px auto;
}

.role-name {
    font-size: 22px;
    font-weight: bold;
}

/* ============================
   BUTTON (Đăng nhập)
=============================== */

.btn {
    padding: 10px 25px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

.btn-primary {
    background: #0d6efd;
    color: #fff;
}

.btn-primary:hover {
    filter: brightness(1.1);
}

/* ============================
   INFO BLOCK (dưới)
=============================== */

.subtitle {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 12px;
}

.shadow-3 {
    box-shadow: 0 2px 7px rgba(0,0,0,0.15);
}

/* ============================
   FOOTER
=============================== */

footer {
    background: var(--footer-bg, #0d6efd);
    color: #fff;
    padding: 20px 0;
    margin-top: 40px;
}

footer a {
    color: #fff;
}

footer img {
    margin-top: 15px;
}

/* ============================
   RESPONSIVE
=============================== */

@media (max-width: 600px) {

    .header-left {
        font-size: 18px;
    }

    .banner-top {
        border-radius: 10px;
    }

    .topup-next {
        padding: 0;
    }

    .topup-next__item-icon {
        width: 32px;
        height: 32px;
        font-size: 15px;
    }

    .role-icon {
        width: 100px;
        height: 100px;
    }

    .btn-primary {
        width: 180px;
    }
}
/* Hiện lại line giữa bước 2 và 3 */
.topup-next__item:nth-child(3) .topup-next__item-line {
    display: block !important;
}

/* Căn lại line để nối 2 → 3 */
.topup-next__item-line {
    width: 100%;
    height: 3px;
    background: #ddd;
    position: absolute;
    top: 20px;
    left: -50%;
    z-index: 1;
}
/* Căn giữa toàn bộ phần dưới Step-box */
.ntg-step-inner,
.ntg-step-box,
.topup-next,
.container section {
    text-align: center !important;
}

/* Căn giữa nút Đăng nhập */
.ntg-login-btn,
.btn-primary {
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}

/* Email căn giữa */
.ntg-support a,
.ntg-support {
    display: block;
    text-align: center !important;
}
/* Căn giữa CHỈ trong step-box */
.ntg-step-box,
.ntg-step-inner,
.ntg-step-box * {
    text-align: center !important;
}

/* Căn giữa nút đăng nhập */
.ntg-login-btn,
.topup-next + img,
button.btn-primary {
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
}

/* Email CSKH căn giữa */
.ntg-support,
.ntg-support a {
    text-align: center !important;
    display: block !important;
}
/* ----------- STEP LINES FIX ----------- */
.topup-next {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 40px;
}

.topup-next__item {
    text-align: center;
}

.topup-next__item-icon {
    width: 36px;
    height: 36px;
    background: #ccc;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.topup-next__item--active .topup-next__item-icon {
    background: #e53950;
}

/* NEW LINE BETWEEN STEPS */
.topup-next__line {
    flex: 1;
    height: 3px;
    background: #ddd;
    margin: 0 15px;
    transform: translateY(-18px);
}

/* ---------- CENTER AREA FIX ---------- */
.topup-center {
    text-align: center;
}

.role-icon {
    width: 110px;
    border-radius: 18px;
    margin-bottom: 10px;
}

.role-name {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 5px;
}

.role-desc {
    font-size: 15px;
    color: #555;
    margin-bottom: 20px;
}

.login-btn {
    width: 200px;
    margin-bottom: 15px;
}

.cskh-mail {
    display: block;
    margin-top: 10px;
}
.cskh-mail,
.container a[href^="mailto"] {
    display: block;
    text-align: center !important;
    width: 100%;
    margin-top: 10px;
}
.container a[href^="mailto"] {
    display: block;
    text-align: center;
    width: 100%;
    margin: 10px auto 0 auto;
}
/* Trả phần mô tả game về căn trái như mặc định */
.container.my-5.p-5.shadow-3 section,
.container.my-5.p-5.shadow-3 section p {
    text-align: left !important;
}
.header-logo {
    height: 38px;
    width: auto;
    margin-right: 8px;
    border-radius: 6px;
    object-fit: contain;
}

.header-title {
    font-size: 18px;
    font-weight: 600;
    white-space: nowrap;
}
.header-left {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
}
.header-left img,
.header-left .header-title {
    display: inline-block !important;
    vertical-align: middle !important;
}
.role-icon {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    object-fit: cover;
    margin: 15px auto;
    display: block;
}
.role-name {
    font-size: 20px;
    font-weight: bold;
    margin-top: 10px;
}
.role-name {
    text-align: center !important;
    display: block;
    width: 100%;
}
footer .text-center {
    text-align: center !important;
}

footer .link-topup {
    text-align: center;
    display: inline-block;
    margin: 0 5px;
}

footer img {
    display: block;
    margin: 0 auto;
}

footer a.text-white {
    display: inline-block;
    text-align: center;
    width: 100%;
}
.header-info-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #fff; /* dùng màu của chữ header */
    background: transparent;
    color: #fff;
    font-size: 18px;
    font-weight: 600;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    transition: 0.25s ease;
}

/* Hover — giống nút support-icon */
.header-info-circle:hover {
    background: #fff;
    color: var(--header-bg);
}
a {
    text-decoration: none !important;
}
a:hover {
    text-decoration: none !important;
}
button.header-info,
button.header-info-circle,
.header-right button,
.header-right .header-info,
.header-right button span {
    width: 32px !important;
    height: 32px !important;

    border-radius: 50% !important;
    border: 2px solid #fff !important;

    background: transparent !important;
    color: #fff !important;

    font-size: 18px !important;
    font-weight: bold !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 !important;
    line-height: 1 !important;
}
.header-info {
    width: 32px !important;
    height: 32px !important;

    border-radius: 50% !important;
    border: 2px solid #fff !important;

    background: transparent !important;
    color: #fff !important;

    font-size: 18px !important;
    font-weight: bold !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 !important;
    line-height: 1 !important;

    cursor: pointer;
}

/* Hover giống icon hỗ trợ */
.header-info:hover {
    background: #fff !important;
    color: var(--header-bg) !important;
}
/* Khoảng cách giữa các section cho thoáng — UI chuẩn */
.container,
.banner-section,
.topup-next,
.role-icon,
.role-name,
.note,
.shadow-3 {
    margin-bottom: 25px !important;
}

/* Tăng khoảng cách riêng cho block step + icon game */
.topup-next {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
}

/* Khối thông tin game cuối trang */
.container.shadow-3 {
    margin-top: 40px !important;
    margin-bottom: 40px !important;
}

/* Email CSKH nằm tách biệt rõ */
.email-support {
    margin-top: 20px !important;
    display: block;
}
/* Fix mô tả game bị sát mép trái */
.container.shadow-3 section {
    padding-left: 15px !important;
    padding-right: 15px !important;
}
/* Box mô tả game – tạo khoảng cách trái phải */
.game-desc-box {
    padding: 0 15px !important;
}
.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border: 1px solid #333;
    border-radius: 6px;
    margin: 5px;
    text-decoration: none !important;
    color: #111;
    font-size: 16px;
    background: #fff;
}

.btn-download:hover {
    background: #f0f0f0;
}
.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    border: 1px solid #333;
    border-radius: 6px;
    margin: 5px;
    text-decoration: none !important;
    color: #000;
    font-size: 15px;
    background: #fff;
    transition: 0.2s;
}

.btn-download:hover {
    background: #f5f5f5;
}
/* Download buttons */
.download-buttons { margin-top: 20px; text-align: center; }

.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 18px;
    min-width: 170px;       /* đảm bảo 2 ô bằng nhau */
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.12);
    background: #ffffff;
    color: #111;
    text-decoration: none !important;
    font-weight: 600;
    box-shadow: 0 2px 0 rgba(0,0,0,0.02);
    transition: transform .08s ease, box-shadow .12s ease;
    margin: 6px;
}

/* biểu tượng SVG trong nút */
.btn-download .btn-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
}

/* text */
.btn-download .btn-text { line-height: 1; }

/* hover */
.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.06);
}

/* muốn khác màu cho từng nút (tuỳ chọn) */
.btn-appstore { border-color: rgba(0,0,0,0.14); }
.btn-googleplay { border-color: rgba(0,0,0,0.14); }

/* responsive: thu nhỏ nút trên mobile */
@media (max-width: 480px){
    .btn-download { min-width: 140px; padding: 8px 12px; font-size: 14px; gap: 8px; }
    .btn-download .btn-icon { width: 18px; height: 18px; }
}
/* MODAL OVERLAY */
.ntg-modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.ntg-modal.show {
    display: flex;
}

.ntg-modal .modal-overlay {
    position: absolute;
    top:0; left:0;
    width:100%; height:100%;
    background: rgba(0,0,0,0.55);
}

/* MODAL BOX */
.ntg-modal .modal-content {
    position: relative;
    width: 600px;
    max-width: 95%;
    background: #fff;
    border-radius: 8px;
    padding: 0;
    overflow: hidden;
    animation: fadeIn .25s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* HEADER */
.ntg-modal .modal-header {
    display: flex;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #ddd;
    font-size: 18px;
    font-weight: 600;
}

.modal-close {
    border: none;
    background: none;
    font-size: 20px;
    cursor: pointer;
    opacity: .6;
}
.modal-close:hover {
    opacity: 1;
}

/* BODY */
.ntg-modal .modal-body {
    padding: 20px;
    font-size: 15px;
    line-height: 1.6;
}

/* FOOTER */
.ntg-modal .modal-footer {
    padding: 12px 20px;
    text-align: right;
    border-top: 1px solid #ddd;
}

.btn-ok {
    padding: 6px 18px;
    background: #ff2d55;
    border: none;
    color: white;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
}
.btn-ok:hover {
    background: #e42649;
}
/* Modal basic */
.ntg-modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.ntg-modal-content {
    background: #fff;
    width: 480px;
    border-radius: 8px;
    padding: 20px 25px;
}

/* HEADER */
.ntg-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ntg-modal-close {
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
}

/* FLOAT LABEL INPUT */
.ntg-input-group {
    position: relative;
    margin-top: 25px;
}

.ntg-input-group input {
    width: 100%;
    padding: 14px;
    padding-top: 20px;
    border: 2px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    outline: none;
    transition: .25s;
}

.ntg-input-group input:focus {
    border-color: #e53950;
}

/* LABEL */
.ntg-input-group label {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: #888;
    background: #fff;
    padding: 0 4px;
    pointer-events: none;
    transition: .25s;
}

/* FLOAT UP WHEN ACTIVE */
.ntg-input-group input:focus + label,
.ntg-input-group input:not(:placeholder-shown) + label {
    top: -8px;
    font-size: 12px;
    color: #e53950;
}
.ntg-input-group input:not(:placeholder-shown) + label,
.ntg-input-group input {
    height: 46px;
    line-height: 20px;
}
/* Modal title */
.ntg-modal-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Group input đẹp */
.ntg-input-group {
    position: relative;
    width: 100%;
    margin: 0 auto 25px;
}

.ntg-input-group input {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    border: 1.8px solid #dcdcdc;
    border-radius: 8px;
    outline: none;
    transition: 0.25s ease;
    background-color: #fff;
}

.ntg-input-group input:focus {
    border-color: #e53950; /* màu đỏ thương hiệu */
}

/* Label nổi */
.ntg-input-group label {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    font-size: 14px;
    color: #888;
    pointer-events: none;
    transition: 0.25s ease;
    background: #fff;
    padding: 0 6px;
}

/* Khi nhập hoặc focus */
.ntg-input-group input:focus + label,
.ntg-input-group input:not(:placeholder-shown) + label {
    top: -8px;
    font-size: 12px;
    color: #e53950;
}

/* Nút xác nhận */
.ntg-btn-confirm {
    width: 150px;
    background: #e53950;
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 12px 0;
    font-size: 15px;
    font-weight: 600;
    float: right;
    cursor: pointer;
    transition: 0.25s;
}

.ntg-btn-confirm:hover {
    background: #cc2f45;
}

.ntg-btn-confirm:active {
    transform: scale(0.96);
}
/* Nền mờ modal */
.ntg-modal {
    display: none; /* hidden mặc định */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

/* Hộp modal login */
.ntg-login-modal {
    background: #fff;
    padding: 30px;
    width: 90%;
    max-width: 420px;
    border-radius: 12px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.25);
    animation: fadeIn 0.25s ease;
}

/* Animation nhẹ */
@keyframes fadeIn {
    from {opacity: 0; transform: scale(0.95);}
    to   {opacity: 1; transform: scale(1);}
}
.topup-next__item--done .topup-next__item-icon {
    background: #e53935 !important;
    border-color: #e53935 !important;
    color: #fff !important;
    font-weight: bold;
}
/* Container */
.ntg-item-container {
    max-width: 950px;
    margin: auto;
    padding: 20px 10px;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.15);
    margin-top: 20px;
    border-radius: 5px;
}

.ntg-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 25px;
}

/* GRID */
.ntg-item-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

/* Item Box */
.ntg-item-box {
    padding: 20px;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: 0.25s;
}

.ntg-item-box:hover {
    border-color: #ffb400;
}

.ntg-item-box.active {
    border-color: #ffb400;
    box-shadow: 0 0 12px rgba(255,180,0,0.45);
}

/* Checkmark icon */
.ntg-check {
    position: absolute;
    right: 12px;
    top: 12px;
    background: #ffb400;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: none;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-weight: bold;
}

.ntg-item-box.active .ntg-check {
    display: flex;
}

/* HOT badge */
.ntg-hot-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    background: #ff5722;
    color: #fff;
    padding: 3px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: bold;
}


.ntg-item-box.hot:hover {
    box-shadow: 0 0 10px rgba(255,152,0,0.4);
}

/* Icon */
.ntg-item-icon {
    height: 50px;
    margin: 10px 0 12px;
}

/* Price */
.ntg-price {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

/* Bonus */
.ntg-bonus {
    font-size: 14px;
    color: #444;
    margin-bottom: 8px;
}

/* Note */
.pack-note {
    margin-top: 6px;
    font-size: 13px;
    color: #777;
}

/* Info Plus */
.pack-plus {
    margin-top: 8px;
    font-size: 12px;
    color: #555;
    background: #f8f8f8;
    padding: 6px 10px;
    border-radius: 6px;
}
.topup-next__item--active .topup-next__item-line {
    background: #e53935 !important;
}
.topup-next__item--done .topup-next__item-icon {
    background: #e53935 !important;
    border-color: #e53935 !important;
    fill: #fff !important; /* tick màu trắng */
    font-weight: bold;
}
.ntg-item-icon {
    display: block;
    margin: 0 auto 10px auto; /* căn giữa icon hoàn toàn */
}
.ntg-item-box {
    padding: 20px;
    border: 2px solid #eee;
    background: #fff;
}
.ntg-item-box {
    border-radius: 16px;
    overflow: hidden; /* giúp ảnh không bị lồi ra ngoài */
}
.ntg-user-box {
    width: 100%;
    margin: 20px 0;
}

.ntg-user-header {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 8px;
}

.ntg-logout {
    color: #e74c3c;
    margin-left: 6px;
    font-size: 13px;
    text-decoration: none;
}

.ntg-user-field {
    background: #f1f1f1;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 15px;
}

.ntg-user-field .label {
    color: #666;
}

.ntg-user-field .value {
    font-weight: 600;
    margin-left: 10px;
}
.ntg-btn-start {
    width: 100%;
    max-width: 500px;      /* ⭐ Độ dài nút mong muốn (tuỳ chỉnh) */
    padding: 14px 0;
    border-radius: 35px;

    background: #e53935;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    border: none;

    display: block;
    margin: 0 auto;        /* ⭐ Căn giữa */
    text-align: center;
    
    cursor: not-allowed;
    opacity: 0.5;
    transition: 0.25s;
    white-space: nowrap;
}

/* Khi nút active */
.ntg-btn-start.active {
    cursor: pointer;
    opacity: 1;
}

.ntg-btn-start.active:hover {
    background: #d32f2f;
}

@media (max-width: 480px) {
    .ntg-btn-start {
        width: 100%;
        min-width: unset;
        border-radius: 20px;
        padding: 14px 0; /* giúp nút full width đẹp hơn */
        white-space: nowrap;
    }
}
/* Container bước 1-2-3 */
.topup-next {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 10px;
    margin: 15px 0;
    gap: 0;
}

/* Mỗi item chiếm đều không gian */
.topup-next__item {
    flex: 1;
    text-align: center;
    min-width: 0; /* Quan trọng để không bị tràn gây lệch */
}

/* Khối nội dung item */
.topup-next__item-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Icon tròn số */
.topup-next__item-icon {
    width: 34px;
    height: 34px;
    line-height: 34px;
    border-radius: 50%;
    background: #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    font-weight: bold;
}

/* Dấu check (done) */
.topup-next__item--done .topup-next__item-icon {
    background: #007bff;
}

/* Active */
.topup-next__item--active .topup-next__item-icon {
    background: #007bff;
    color: #fff;
}

/* Thanh nối giữa các bước */
.topup-next__item-line {
    width: 100%;
    height: 3px;
    background: #ddd;
    display: block;
    margin: 6px 0;
}

/* Text */
.topup-next__item-text {
    font-size: 14px;
    white-space: nowrap; /* Giữ chữ không xuống hàng */
}
@media (max-width: 480px) {
    .topup-next {
        padding: 0 5px;
    }

    .topup-next__item-text {
        font-size: 12px;
    }

    .topup-next__item-icon {
        width: 30px;
        height: 30px;
        line-height: 30px;
    }
}
.topupp-next,
.topupp-next__item {
  display:block;
  position:relative;
}
.topupp-next {
  width:100%;
  margin:30px 0;
}

.topupp-next:after {
  content:"";
  display:table;
  clear:both;
}

.topupp-next__item {
  padding:0;
  float:left;
  width:33.3333333333%;
  text-align:center;
}

.topupp-next__item-content {
  display:inline-block;
}

.topupp-next__item-icon {
  background:#eceff1;
  color:#8191ab;
  display:block;
  border-radius:100%;
  text-align:center;
  width:25px;
  height:25px;
  line-height:25px;
  margin:0 auto 10px;
  position:relative;
  font-size:13px;
  font-weight:700;
  z-index:2;
}

.topupp-next__item-text {
  font-size:13px;
  color:#8191ab;
  font-weight:500;
}

.topupp-next__item-line {
  display:inline-block;
  height:3px;
  width:100%;
  background:#cfd8dc;
  float:left;
  position:absolute;
  left:-50%;
  top:12px;
  z-index:1;
}

.topupp-next__item--active .topupp-next__item-icon {
  background:#df3656;
  color:#ffffff;
}

.topupp-next__item--active .topupp-next__item-text,
.topupp-next__item--completed .topupp-next__item-text {
  color:#4f5e77;
}

.topupp-next__item--active .topupp-next__item-line {
  background:#df3656;
}

.topupp-next__item--completed .topupp-next__item-icon {
  background:url(data:image/svg+xml;base64,PHN2ZyBkYXRhLW5hbWU9IkxheWVyIDEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDkuMTIgNyI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTkuMTIgMS4wNkw4LjA2IDAgMy4xOCA0Ljg4IDEuMDYgMi43NiAwIDMuODIgMy4xOCA3bDUuOTQtNS45NHoiLz48L3N2Zz4=) center center/10px no-repeat #df3656;
  color:transparent;
  width:25px;
  height:25px;
  line-height:25px;
}

.topupp-next__item--completed .topupp-next__item-line {
  background:#df3656;
}
.ntg-pay-methods {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 15px;
}

.ntg-pay-item {
    width: 110px;
    height: 70px;
    background: #fff;
    border-radius: 10px;
    border: 2px solid #eee;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    transition: 0.25s;
}

.ntg-pay-item img {
    max-width: 80%;
    max-height: 80%;
}

.ntg-pay-item:hover {
    border-color: #e53935;
    box-shadow: 0 0 8px rgba(229,57,53,0.3);
}

.ntg-pay-item.active {
    border-color: #e53935;
    background: #ffecec;
}
.pay-info {
    font-size: 16px;
    margin-bottom: 15px;
}

.pay-method {
    color: #e53935;
    font-weight: 600;
}

.pay-price {
    color: #000;
    margin-left: 6px;
}

.pay-input-box {
    margin-top: 10px;
}

.pay-input-group {
    display: flex;
    align-items: center;
    border: 1.5px solid #ddd;
    padding: 10px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
    background: #fff;
}

.pay-input-group .icon {
    width: 34px;
    text-align: center;
    font-size: 17px;
    color: #555;
}

.pay-input-group input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15px;
    padding-left: 8px;
}
.ntg-input-pay input {
    border: none !important;
    outline: none !important;
    background: transparent !important;
    font-size: 15px !important;
    padding: 7px 6px !important;
}
.ntg-input-pay label {
    left: 48px !important;
}

/* FLOAT LABEL */
.ntg-input-pay {
    position: relative;
    display: flex;
    align-items: center;
    border: 2px solid #ddd;
    border-radius: 6px;
    padding: 12px 10px;
    margin-bottom: 14px;
    transition: 0.25s ease;
}

.ntg-input-pay .icon {
    width: 34px;
    font-size: 18px;
    color: #444;
    text-align: center;
}

.ntg-input-pay label {
    position: absolute;
    top: 50%;
    left: 48px;
    transform: translateY(-50%);
    font-size: 14px;
    color: #999;
    background: #fff;
    padding: 0 4px;
    pointer-events: none;
    transition: 0.25s ease;
}

/* label bay lên */
.ntg-input-pay input:focus + label,
.ntg-input-pay input:not(:placeholder-shown) + label {
    top: -7px;
    font-size: 12px;
    color: #e53935;
}

/* viền đỏ khi focus */
.ntg-input-pay:focus-within {
    border-color: #e53935 !important;
}
.login-input {
    position: relative;
    margin-top: 20px;
}

.login-input input {
    width: 100%;
    padding: 14px 12px;
    border: 2px solid #e53935;
    border-radius: 6px;
    font-size: 16px;
    outline: none;
}

/* Giữ label cố định – KHÔNG floating */
.login-input label {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    padding: 0 4px;
    font-size: 14px;
    color: #e53935;
    pointer-events: none;
}

/* TẮT floating khi input có value */
.login-input input:focus + label,
.login-input input:not(:placeholder-shown) + label {
    top: 50% !important;
    font-size: 14px !important;
    transform: translateY(-50%) !important;
    color: #e53935;
}
