body {
    margin: 0;
    background: linear-gradient(135deg, #e8fff3, #f5fffa);
    font-family: 'Quicksand', sans-serif;
    padding-bottom: 100px;
    padding-top: 20px;
    margin: 0;
    background: linear-gradient(135deg, #e8fff3, #f5fffa);
    font-family: 'Quicksand', sans-serif;
    padding-bottom: 100px;
    display: flex;
    flex-direction: column;
    min-height: 70vh;
}



footer {
    margin-top: auto;
    text-align: center;
    padding: 12px 0;
    opacity: 0.32;
}

.vcb-container {
    width: 100%;
    max-width: 500px;
    margin: 20px auto;
    background: rgba(255, 255, 255, 0.55);
    border-radius: 22px;
    backdrop-filter: blur(14px);
    padding: 20px;
    border: 1px solid #d9efe6;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}


.ios-select-wrapper {
    position: relative;
    margin-top: 12px;
}

.ios-select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    padding: 14px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 16px;
    border: 2px solid #bcded0;
    background: #ffffff;
    text-align: center;
    color: #009c63;
    cursor: pointer;
}

.ios-select:focus {
    outline: none;
    border-color: #00b56f;
    box-shadow: 0 0 8px rgba(0, 180, 110, 0.3);
}

.ios-select-wrapper::after {
    content: "▾";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #009c63;
    pointer-events: none;
}



/* HEADER */
.vcb-header {
    background: linear-gradient(135deg, #00af6f, #009c63);
    color: #ffffff;
    padding: 20px;
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

/* CARD BANK */
.vcb-card {
    background: #ffffffc7;
    padding: 20px;
    border-radius: 18px;
    border: 1px solid #e2f5ee;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.vcb-bank-name {
    font-size: 37px;
    font-weight: 800;
    color: #009c63;
}

/* STK + COPY BUTTON */
.stk-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
}

.vcb-account-number {
    font-size: 26px;
    font-weight: 800;
    color: #5b4390;
}

.copy-btn {
    padding: 8px 14px;
    font-size: 12px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    background: #009c63;
    color: #fff;
    font-weight: 700;
}

.vcb-owner {
    margin-top: 8px;
    font-size: 15px;
    color: #444;
}

/* LABEL */
.vcb-label {
    font-size: 16px;
    margin-top: 25px !important;
    margin-bottom: 12px !important;
    font-weight: 700;
    color: #006942;
    display: block;
}

/* INPUT */
.vcb-input {
    width: 100%;
    padding: 14px;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    border-radius: 16px;
    border: 2px solid #bcded0;
    box-sizing: border-box;
}

/* CHIPS – Căn đều, bằng nhau */
.vcb-money-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 15px 0;
}

.vcb-chip {
    text-align: center;
    background: #e8fdf3;
    border-radius: 40px;
    padding: 12px 0;
    font-size: 15px;
    border: 1px solid #bfe8d4;
    cursor: pointer;
    color: #009c63;
    font-weight: 700;
}


/* BUTTON */
.vcb-btn {
    width: 100%;
    background: linear-gradient(135deg, #00b56f, #009555);
    padding: 16px;
    font-weight: 800;
    font-size: 18px;
    color: white;
    border-radius: 16px;
    border: none;
    cursor: pointer;
    margin-top: 20px;
    letter-spacing: .5px;
}

/* QR BOX */
.vcb-qr-box {
    width: 100%;
    margin-top: 25px;
    display: flex;
    justify-content: center !important;
    align-items: center !important;
    text-align: center;
    flex-direction: column;
    gap: 12px;
}

#qr-code {
    width: 250px;
    padding: 10px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    display: none;
    margin: 0 auto;

    /* Hiệu ứng QR */
    animation: qrFadeIn 0.6s ease-out, qrGlow 3s ease-in-out infinite alternate;
    box-shadow: 0 0 18px rgba(0, 230, 150, 0.55);
}

/* Fade-in mượt */
@keyframes qrFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.7);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Glow neon */
@keyframes qrGlow {
    0% {
        box-shadow: 0 0 10px rgba(0, 255, 170, 0.3);
    }

    100% {
        box-shadow: 0 0 30px rgba(0, 255, 170, 0.7);
    }
}

/* Shake khi tạo mới */
.qr-shake {
    animation: qrShake 0.35s ease-in-out;
}

@keyframes qrShake {
    0% {
        transform: scale(1) translateX(0);
    }

    25% {
        transform: scale(1) translateX(-6px);
    }

    50% {
        transform: scale(1.02) translateX(6px);
    }

    75% {
        transform: scale(1) translateX(-4px);
    }

    100% {
        transform: scale(1) translateX(0);
    }
}

/* ===============================
   TOAST iOS 17 – Frosted Glass
=============================== */
.toast {
    position: fixed;
    top: -70px;
    right: 20px;
    padding: 14px 20px 14px 52px;

    background: rgba(255, 255, 255, 0.32);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);

    color: #111;
    font-size: 15px;
    font-weight: 600;
    border-radius: 20px;

    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.10);

    opacity: 0;
    transition: all .45s cubic-bezier(.25, .72, .34, 1);
    z-index: 9999;

    background-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.667 5.833L8.75 13.75L3.333 8.333' stroke='%2300C853' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 16px center;
    background-size: 22px;
}

/* Show toast */
.toast.show {
    top: 20px;
    opacity: 1;
}

/* Nút X xoá số tiền */
.clear-input {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #999;
    cursor: pointer;
    display: none;
    user-select: none;
}

.vcb-input-wrapper {
    position: relative;
    width: 100%;
}

.money-option {
    padding: 12px 16px;
    font-size: 16px;
    border-bottom: 1px solid #eef4f1;
    cursor: pointer;
}

.money-option:last-child {
    border-bottom: none;
}

.money-option:hover {
    background: #dffcef;
}

.footer-cmg {
    margin-top: 40px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #006942;

    padding: 18px 0;
    opacity: 0.75;

    /* Hiệu ứng iOS Glass */
    /* background: rgba(255, 255, 255, 0.45); */
    /* backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);

        border-top: 1px solid rgba(255, 255, 255, 0.6);
        box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.06);

        border-radius: 18px 18px 0 0; */
}