/* ==================== MODAL QR THANH TOÁN ==================== */
.qr-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(46, 28, 17, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.qr-modal-content {
    background: #FAF6F0;
    border-radius: 28px;
    padding: 36px 32px 28px;
    max-width: 380px;
    width: 92%;
    text-align: center;
    box-shadow: 0 24px 70px rgba(46, 28, 17, 0.25);
    position: relative;
    font-family: 'Nunito', sans-serif;
    animation: qrFadeIn 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.qr-close-btn {
    position: absolute; 
    top: 16px; 
    right: 18px;
    background: #F4EBE1; 
    border: none;
    width: 32px; 
    height: 32px; 
    border-radius: 50%;
    font-size: 16px; 
    cursor: pointer;
    color: #8C5A35; 
    line-height: 1;
    display: flex; 
    align-items: center; 
    justify-content: center;
    transition: background 0.2s;
}

.qr-close-btn:hover {
    background: #e8dccf;
}

.qr-logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: #2E1C11;
    letter-spacing: -0.5px;
}

.qr-subtitle {
    color: #85756A; 
    font-size: 14px; 
    font-weight: 600; 
    margin-bottom: 4px;
}

.qr-total {
    color: #8C5A35;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.qr-img-wrapper {
    background: #fff;
    border-radius: 20px;
    padding: 16px;
    display: inline-block;
    box-shadow: 0 8px 25px rgba(140, 90, 53, 0.12);
    margin-bottom: 20px;
}

.qr-img {
    width: 220px; 
    height: 220px;
    display: block;
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.qr-instructions {
    background: #F4EBE1;
    border-radius: 14px;
    padding: 12px 16px;
    margin-bottom: 20px;
    text-align: left;
}

.qr-instructions p {
    margin: 0; 
    font-size: 13px; 
    color: #85756A; 
    font-weight: 600; 
    line-height: 1.7;
}

.qr-confirm-btn {
    width: 100%;
    background: #2E1C11;
    color: white;
    border: none;
    border-radius: 14px;
    padding: 14px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: background 0.2s;
}

.qr-confirm-btn:hover {
    background: #462c1b;
}

@keyframes qrFadeIn {
    from { opacity: 0; transform: scale(0.88) translateY(20px); }
    to   { opacity: 1; transform: scale(1)    translateY(0);    }
}