/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Arial, sans-serif; }
body { background-color: #fff; overflow-x: hidden; }

/* UTILS */
.desktop-only { display: flex !important; }
.mobile-only { display: none !important; }

/* HEADER CHUẨN - FIX LỖI NHẢY DÒNG */
.main-header {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #eee;
    height: 80px;
    display: flex;
    align-items: center;
}

.header-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.header-left { flex: 0 0 150px; }
.logo-img { height: 70px; display: block; }

.header-menu {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 25px;
    white-space: nowrap; /* Không cho chữ xuống dòng */
}

.header-menu a {
    text-decoration: none;
    color: #444;
    font-size: 14px;
    font-weight: 500;
}

.header-right {
    flex: 0 0 220px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.reg-link { color: #f7a800; text-decoration: none; font-weight: bold; margin-right: 20px; font-size: 14px; }
.btn-top-login { background: #f7b600; color: white; border: none; padding: 10px 22px; border-radius: 4px; font-weight: bold; cursor: pointer; }

/* BANNER */
.hero-section { background: #ffe000; margin: 20px; border-radius: 8px; }
.hero-inner { max-width: 800px; margin: 0 auto; padding: 40px 20px; text-align: center; }
.hero-logo { width: 100%; margin-bottom: 30px; }
.hero-inner h1 { font-size: 28px; font-weight: 800; color: #111; }

/* FORM */
.form-wrapper { max-width: 550px; margin: 0 auto; padding: 5px 20px 20px; }
.input-field, .input-group { margin-bottom: 20px; }
.input-field label, .input-group label { display: block; font-size: 13px; font-weight: bold; color: #555; margin-bottom: 8px; }
.input-field input { width: 100%; padding: 12px; border: 1.5px solid #ddd; border-radius: 4px; font-size: 16px; outline: none; }

/* CUSTOM SELECT */
.custom-select { position: relative; }
.select-box { border: 1.5px solid #ddd; padding: 12px; border-radius: 4px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; background: #fff; }
.select-box span { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.select-box img { width: 24px; height: 24px; object-fit: contain; }
.chevron { width: 8px; height: 8px; border-right: 2px solid #999; border-bottom: 2px solid #999; transform: rotate(45deg); margin-bottom: 4px; }

.options-container { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border: 1px solid #ddd; z-index: 99; display: none; max-height: 250px; overflow-y: auto; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.custom-select.is-open .options-container { display: block; }
.bank-item { padding: 12px; display: flex; align-items: center; gap: 12px; cursor: pointer; border-bottom: 1px solid #f9f9f9; }
.bank-item:hover { background: #fdfdfd; }
.bank-item img { width: 30px; }

/* BUTTON */
.btn-main-submit { width: 100%; justify-content: center; background: #f7b600; color: white; border: none; padding: 15px; font-size: 16px; font-weight: bold; border-radius: 4px; cursor: pointer; transition: 0.2s; }
.btn-main-submit:active { background: #e0a500; }

/* RESPONSIVE MOBILE */
@media (max-width: 768px) {
    .desktop-only { display: none !important; }
    .mobile-only { display: block !important; }

    .hero-section { margin: 0; border-radius: 0; }
    .hero-inner h1 { font-size: 20px; }
/*    .hero-logo { width: 180px; }*/
    
    .form-wrapper { padding: 20px 15px 30px 15px; }

    .mobile-sticky-footer {
        position: fixed; bottom: 0; left: 0; right: 0;
        background: #fff; padding: 15px; box-shadow: 0 -3px 10px rgba(0,0,0,0.08);
        display: none !important;
    }
}

/* --- TÙY CHỈNH SWEETALERT2 CHUẨN WESTERN UNION --- */

/* 1. Khung Popup chính */
.swal2-popup {
    border-radius: 10px !important;
    padding: 2em 1em !important;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

/* 2. Tiêu đề (Ví dụ: Gửi mã OTP thành công) */
.swal2-title {
    color: #333 !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    margin-bottom: 15px !important;
}

/* 3. Nội dung mô tả phía dưới */
.swal2-html-container {
    color: #777 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    font-weight: 400 !important;
}

/* 4. NÚT OK MÀU VÀNG CHUẨN WEB */
.swal2-styled.swal2-confirm {
    background-color: #f7b600 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 12px 35px !important;
    font-size: 15px !important;
    font-weight: bold !important;
    text-transform: uppercase;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 6px rgba(247, 182, 0, 0.2) !important;
}
.swal2-styled.swal2-confirm.btn-loading {
    border-color: transparent !important;
    background-color:  transparent !important;  

        outline: none !important;
    box-shadow: none !important;
}

.swal2-styled.swal2-confirm:focus,.swal2-popup {
    box-shadow:  none !important;
}
/* Hiệu ứng khi bấm/hover nút */
.swal2-styled.swal2-confirm:hover {
    background-color: #e0a500 !important;
    transform: translateY(-1px);
}


/* 5. Tùy chỉnh các Icon (Thành công, Lỗi) */
.swal2-icon.swal2-success {
    border-color: #4CAF50 !important;
}

.swal2-icon.swal2-success [class^='swal2-success-line'] {
    background-color: #4CAF50 !important;
}

.swal2-icon.swal2-success .swal2-success-ring {
    border: 4px solid rgba(76, 175, 80, 0.3) !important;
}

.swal2-icon.swal2-error {
    border-color: #f27474 !important;
}

/* Hiệu ứng mờ nút và loading */
.btn-loading {
    opacity: 0.6;
    pointer-events: none; /* Khách không bấm lại được */
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Tùy chỉnh popup OTP giống ảnh mẫu */
.otp-popup-custom {
    padding: 15px !important;
    border-radius: 4px !important; /* Bo góc nhẹ thôi */
}

/* Header/Tiêu đề */
.otp-title-custom {
    font-size: 15px !important;
    color: #555 !important;
    font-weight: normal !important;
    text-align: left !important;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px !important;
    color: #ea0101 !important;
}
.otp-label {
    color: #ea0101 !important;
    font-weight: 600;
}

/* Nhãn "Mã OTP:" */
.otp-label {
    display: block;
    text-align: left;
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
    margin-top: 15px;
}

/* Ô nhập mã OTP */
.otp-input-custom {
    width: 100% !important;
    height: 40px !important;
    margin: 0 !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    box-shadow: none !important;
}
input {
    box-shadow: none !important;
}
.swal2-html-container {
    padding: 0 !important;
}
.swal2-styled.swal2-confirm {
    margin-top: 5px !important;
}
/* Nút Xác nhận vàng cam tràn viền */
.otp-button-custom {
    width: 100% !important;
    background-color: #f7a800 !important; /* Màu cam vàng chuẩn */
    border-radius: 4px !important;
    padding: 12px 0 !important;
    font-size: 15px !important;
    font-weight: bold !important;
    margin-top: 20px !important;
    background:  transparent !important;
}

/* Dấu X đóng ở góc */
.swal2-close {
    font-size: 24px !important;
    outline: none !important;
}

/* Hiệu ứng loading cho nút Confirm của SweetAlert */
.swal2-confirm.btn-loading {
    color: transparent !important;
    position: relative;
    pointer-events: none;
    opacity: 0.8;
}
div:where(.swal2-container).swal2-center>.swal2-popup {
    padding: 10px !important
}
.swal2-confirm.btn-loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
        border: 3px solid rgb(231 205 33 / 98%);
    border-radius: 50%;
    border-top-color: #fff !important;
    animation: spin 0.8s linear infinite;
    border-color: #f7b600;
}

/* Container chính cho phần Features */
.wu-features {
    padding: 60px 20px;
    background-color: #ffffff;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.features-container {
    display: flex;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap; /* Tự xuống dòng trên mobile */
    gap: 40px;
}

.feature-item {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Icon hình tròn màu vàng phía sau */
.feature-icon {
/*    width: 150px;*/
/*    height: 150px;*/
/*    background-color: #ffda1a;*/
/*    border-radius: 50%;*/
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.feature-icon img {
/*    width: 80px;*/
}

.feature-item h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #000;
}

.feature-item p {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
    height: 80px; /* Giữ các ô đều nhau */
}

.learn-more {
    color: #0056b3;
    text-decoration: underline;
    font-weight: 600;
    font-size: 14px;
}

/* Nút Tìm vị trí màu vàng bo tròn */
.btn-location-wrapper {
    margin-top: 50px;
}

.btn-location {
    display: inline-block;
    background-color: #ffda1a;
    color: #000;
    padding: 12px 40px;
    border-radius: 25px;
    font-weight: 700;
    text-decoration: none;
    font-size: 16px;
    transition: background 0.3s;
}

.btn-location:hover {
    background-color: #e5c100;
}

/* Responsive cho Mobile */
@media (max-width: 768px) {
    .features-container {
        flex-direction: column;
        align-items: center;
    }
    .feature-item p {
        height: auto;
    }
}