/* ============================================================
   GLOBAL
============================================================ */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    background: #f4f6f9;
    color: #172033;

    line-height: 1.45;
}

button {
    font-family: inherit;
}

img {
    max-width: 100%;
}



/* ============================================================
   HEADER
============================================================ */

.top-header {

    background:
        linear-gradient(
            135deg,
            #082b5c,
            #0b4b91
        );

    color: white;

    padding: 22px 15px;
}

.header-inner {

    width: 100%;
    max-width: 1100px;

    margin: auto;
}

.brand-area {

    display: flex;

    align-items: center;

    gap: 14px;
}

.header-logo {

    width: 62px;
    height: 62px;

    object-fit: contain;

    background: white;

    border-radius: 12px;

    padding: 5px;
}

.header-small {

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.5px;

    opacity: .75;
}

.top-header h1 {

    margin: 3px 0;

    font-size: 22px;

    line-height: 1.2;
}

.top-header p {

    margin: 0;

    font-size: 12px;

    opacity: .8;
}



/* ============================================================
   CONTAINER
============================================================ */

.container {

    width: calc(100% - 28px);

    max-width: 1100px;

    margin: auto;
}



/* ============================================================
   VERIFICATION NOTICE
============================================================ */

.verification-notice {

    display: flex;

    gap: 12px;

    margin-top: 18px;

    padding: 14px;

    background: #fff8e5;

    border: 1px solid #efd48a;

    border-radius: 14px;
}

.notice-icon {

    width: 32px;
    height: 32px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #e8a600;

    color: white;

    font-weight: 900;
}

.verification-notice strong {

    font-size: 13px;
}

.verification-notice p {

    margin: 3px 0 0;

    font-size: 11px;

    color: #665a3c;
}



/* ============================================================
   BUSINESS SECTION
============================================================ */

.business-section {

    margin-top: 30px;

    margin-bottom: 38px;
}

.business-header {

    display: flex;

    align-items: center;

    gap: 13px;

    margin-bottom: 16px;
}

.business-logo {

    width: 58px;
    height: 58px;

    object-fit: contain;

    background: white;

    border-radius: 12px;

    border: 1px solid #e3e7ed;

    padding: 5px;
}

.section-label {

    color: #0b4b91;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.2px;
}

.business-header h2 {

    margin: 2px 0;

    font-size: 22px;
}

.business-header p {

    margin: 0;

    color: #727b8b;

    font-size: 12px;
}



/* ============================================================
   ACCOUNT GRID
============================================================ */

.account-grid {

    display: grid;

    grid-template-columns: 1fr;

    gap: 15px;
}



/* ============================================================
   ACCOUNT CARD
============================================================ */

.account-card {

    background: white;

    border: 1px solid #e3e7ed;

    border-radius: 17px;

    padding: 16px;

    box-shadow:
        0 5px 20px rgba(20, 40, 70, .07);
}

.account-header {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 13px;
}

.bank-logo {

    width: 54px;
    height: 54px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #f7f9fc;

    border: 1px solid #e3e7ed;

    border-radius: 12px;

    overflow: hidden;
}

.bank-logo img {

    width: 100%;
    height: 100%;

    object-fit: contain;

    padding: 5px;
}

.bank-abbreviation {

    font-size: 13px;

    font-weight: 900;

    color: #0b4b91;

    text-align: center;
}

.bank-name {

    font-size: 16px;

    font-weight: 800;

    margin: 0;
}

.account-holder {

    margin: 2px 0 0;

    color: #687386;

    font-size: 11px;
}



/* ============================================================
   DETAILS
============================================================ */

.detail-row {

    display: grid;

    grid-template-columns: minmax(0, 1fr) auto;

    gap: 10px;

    align-items: center;

    padding: 10px 0;

    border-top: 1px solid #edf0f4;
}

.detail-label {

    display: block;

    color: #7a8494;

    font-size: 10px;

    margin-bottom: 2px;
}

.detail-value {

    display: block;

    font-size: 13px;

    font-weight: 700;

    overflow-wrap: anywhere;
}



/* ============================================================
   COPY BUTTON
============================================================ */

.copy-button {

    min-height: 40px;

    padding: 0 13px;

    border: 0;

    border-radius: 9px;

    background: #edf3ff;

    color: #0b4b91;

    font-size: 12px;

    font-weight: 800;

    cursor: pointer;
}

.copy-button:active {

    transform: scale(.96);
}



/* ============================================================
   COPY ALL
============================================================ */

.copy-all-button {

    width: 100%;

    min-height: 45px;

    margin-top: 12px;

    border: 0;

    border-radius: 10px;

    background: #0b4385;

    color: white;

    font-size: 13px;

    font-weight: 800;

    cursor: pointer;
}



/* ============================================================
   QR
============================================================ */

.qr-section {

    margin-top: 15px;

    padding-top: 15px;

    border-top: 1px solid #edf0f4;

    text-align: center;
}

.qr-title {

    font-size: 17px;

    font-weight: 900;

    color: #172033;

    margin-bottom: 2px;
}

.qr-subtitle {

    margin: 0 0 10px;

    color: #6f7887;

    font-size: 11px;
}

.qr-button {

    display: block;

    width: 100%;

    border: 0;

    background: white;

    cursor: zoom-in;
}

.qr-button img {

    width: min(240px, 80vw);

    height: auto;

    display: block;

    margin: auto;

    border-radius: 8px;
}

.qr-caption {

    font-size: 11px;

    color: #687386;

    margin: 7px 0 0;

    font-weight: 700;
}



/* ============================================================
   UPI CARD
============================================================ */

.payment-card {

    margin-top: 15px;

    padding: 17px;

    background: white;

    border: 1px solid #e3e7ed;

    border-radius: 17px;

    box-shadow:
        0 5px 20px rgba(20, 40, 70, .07);
}

.card-heading {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 14px;
}

.payment-icon {

    width: 52px;
    height: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #eaf8ef;

    color: #087b3d;

    border-radius: 12px;

    font-weight: 900;

    font-size: 12px;
}

.payment-card h3 {

    margin: 2px 0;

    font-size: 17px;
}

.upi-detail {

    display: grid;

    grid-template-columns: minmax(0, 1fr) auto;

    gap: 10px;

    align-items: center;

    padding: 11px 0;

    border-top: 1px solid #edf0f4;
}

.upi-detail-left span {

    display: block;

    color: #7a8494;

    font-size: 10px;
}

.upi-detail-left strong {

    display: block;

    font-size: 13px;

    overflow-wrap: anywhere;
}

.upi-pay-button {

    width: 100%;

    min-height: 48px;

    margin-top: 14px;

    border: 0;

    border-radius: 11px;

    background: #087b3d;

    color: white;

    font-size: 14px;

    font-weight: 850;

    cursor: pointer;
}

.upi-help {

    margin: 9px 0 0;

    font-size: 10px;

    color: #747e8d;
}



/* ============================================================
   SECURITY
============================================================ */

.security-card {

    margin: 25px 0;

    padding: 15px;

    background: #eef6ff;

    border: 1px solid #d3e5fb;

    border-radius: 14px;
}

.security-title {

    font-weight: 900;

    font-size: 13px;

    color: #0b4385;

    margin-bottom: 5px;
}

.security-card p {

    margin: 4px 0;

    font-size: 11px;

    color: #536176;
}



/* ============================================================
   TOAST
============================================================ */

.toast {

    position: fixed;

    left: 50%;

    bottom: 20px;

    transform:
        translate(-50%, 20px);

    opacity: 0;

    pointer-events: none;

    padding: 10px 16px;

    border-radius: 30px;

    background: #172033;

    color: white;

    font-size: 12px;

    font-weight: 700;

    transition: .2s;

    z-index: 1000;
}

.toast.show {

    opacity: 1;

    transform:
        translate(-50%, 0);
}



/* ============================================================
   QR MODAL
============================================================ */

.qr-modal {

    position: fixed;

    inset: 0;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 20px;

    background:
        rgba(0, 0, 0, .82);

    z-index: 2000;
}

.qr-modal.active {

    display: flex;
}

.qr-modal-content {

    position: relative;

    width: min(95vw, 500px);

    padding: 25px 20px;

    background: white;

    border-radius: 18px;

    text-align: center;
}

.qr-modal-content img {

    width: min(90%, 380px);

    display: block;

    margin: 12px auto;

}

.qr-modal-title {

    font-size: 21px;

    font-weight: 900;
}

.qr-modal-content p {

    margin: 0;

    color: #687386;

    font-size: 12px;
}

.qr-close {

    position: absolute;

    right: 12px;
    top: 8px;

    width: 38px;
    height: 38px;

    border: 0;

    background: transparent;

    font-size: 30px;

    cursor: pointer;
}



/* ============================================================
   FOOTER
============================================================ */

footer {

    padding: 25px 15px 35px;

    text-align: center;

    color: #8a93a1;

    font-size: 10px;
}

footer p {

    margin: 3px 0;
}



/* ============================================================
   TABLET / DESKTOP
============================================================ */

@media (min-width: 700px) {

    .container {

        width: calc(100% - 40px);
    }

    .top-header {

        padding: 32px 20px;
    }

    .top-header h1 {

        font-size: 30px;
    }

    .account-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .business-header h2 {

        font-size: 25px;
    }
}


@media (min-width: 1000px) {

    .account-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}