

/* BHAVYA_MA_CHECKOUT_UI_V1 */

.ma-pay-overlay {
    position: fixed;
    inset: 0;
    z-index: 85000;

    display: none;
    align-items: center;
    justify-content: center;

    overflow-y: auto;

    padding:
        max(16px, env(safe-area-inset-top))
        12px
        max(16px, env(safe-area-inset-bottom));

    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(0, 229, 255, .16),
            transparent 32%
        ),
        radial-gradient(
            circle at 92% 88%,
            rgba(124, 58, 237, .18),
            transparent 34%
        ),
        rgba(3, 7, 18, .92);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}


.ma-pay-card {
    position: relative;

    width: min(100%, 920px);

    display: grid;
    grid-template-columns:
        minmax(250px, .8fr)
        minmax(0, 1.25fr);

    overflow: hidden;

    border:
        1px solid
        rgba(255, 255, 255, .12);

    border-radius: 26px;

    background:
        linear-gradient(
            145deg,
            #0b1220,
            #10182b
        );

    box-shadow:
        0 40px 110px
        rgba(0, 0, 0, .68);
}


.ma-pay-brand {
    position: relative;

    padding: 32px 27px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 15% 8%,
            rgba(0, 229, 255, .22),
            transparent 31%
        ),
        radial-gradient(
            circle at 100% 100%,
            rgba(236, 72, 153, .14),
            transparent 37%
        ),
        linear-gradient(
            155deg,
            #07101d,
            #0b1b32 54%,
            #1c1630
        );
}


.ma-pay-brand::after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 5px;

    background:
        linear-gradient(
            90deg,
            #00e5ff,
            #2563eb,
            #7c3aed,
            #ec4899,
            #00e676
        );
}


.ma-pay-logo {
    width: 70px;
    height: 70px;

    padding: 7px;

    object-fit: contain;

    border-radius: 18px;

    background: #fff;

    box-shadow:
        0 16px 36px
        rgba(0, 0, 0, .30);
}


.ma-pay-brand-kicker {
    margin-top: 22px;

    color: #67e8f9;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 1.6px;
}


.ma-pay-brand h2 {
    margin:
        8px 0
        10px;

    color: #fff;

    font-size: 26px;
    line-height: 1.18;
}


.ma-pay-brand p {
    margin: 0;

    color: #9fb0c7;

    font-size: 12px;
    line-height: 1.75;
}


.ma-price-box {
    margin-top: 26px;

    padding: 18px;

    border:
        1px solid
        rgba(255, 255, 255, .10);

    border-radius: 16px;

    background:
        rgba(255, 255, 255, .045);
}


.ma-price-base {
    color: #cbd5e1;
    font-size: 12px;
}


.ma-price-main {
    margin-top: 5px;

    color: #fff;

    font-size: 30px;
    font-weight: 950;
}


.ma-price-main span {
    color: #94a3b8;

    font-size: 12px;
    font-weight: 700;
}


.ma-price-total {
    margin-top: 12px;

    padding-top: 12px;

    border-top:
        1px solid
        rgba(255, 255, 255, .08);

    color: #86efac;

    font-size: 12px;
    font-weight: 800;
}


.ma-secure-list {
    margin-top: 23px;

    display: grid;
    gap: 10px;
}


.ma-secure-item {
    display: flex;
    align-items: center;
    gap: 9px;

    color: #bec9d8;

    font-size: 11px;
}


.ma-secure-dot {
    width: 8px;
    height: 8px;

    flex: 0 0 auto;

    border-radius: 50%;

    background: #00e676;

    box-shadow:
        0 0 14px
        rgba(0, 230, 118, .65);
}


.ma-pay-form {
    position: relative;

    padding:
        30px
        32px
        34px;

    min-width: 0;
}


.ma-pay-close {
    position: absolute;
    top: 15px;
    right: 15px;

    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border:
        1px solid
        rgba(255, 255, 255, .10);

    border-radius: 11px;

    background:
        rgba(255, 255, 255, .055);

    color: #94a3b8;

    font-size: 20px;

    cursor: pointer;
}


.ma-pay-title {
    margin: 0 48px 5px 0;

    color: #fff;

    font-size: 23px;
    font-weight: 950;
}


.ma-pay-subtitle {
    margin:
        0 0
        24px;

    color: #8291a7;

    font-size: 11px;
    line-height: 1.65;
}


.ma-billing-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap:
        14px
        13px;
}


.ma-field-full {
    grid-column:
        1 / -1;
}


.ma-billing-field label {
    display: block;

    margin-bottom: 7px;

    color: #dce6f4;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .25px;
}


.ma-billing-field input,
.ma-billing-field select,
.ma-billing-field textarea {
    width: 100%;

    box-sizing: border-box;

    outline: none;

    border:
        1px solid
        rgba(148, 163, 184, .18);

    border-radius: 12px;

    background:
        rgba(3, 9, 20, .72);

    color: #fff;

    font-family: inherit;

    font-size: 14px;
}


.ma-billing-field input,
.ma-billing-field select {
    height: 50px;

    padding:
        0 13px;
}


.ma-billing-field textarea {
    min-height: 82px;

    resize: vertical;

    padding: 12px 13px;

    line-height: 1.5;
}


.ma-billing-field input:focus,
.ma-billing-field select:focus,
.ma-billing-field textarea:focus {
    border-color:
        rgba(0, 229, 255, .72);

    box-shadow:
        0 0 0 3px
        rgba(0, 229, 255, .08);
}


.ma-billing-field select option {
    color: #111827;

    background: #fff;
}


.ma-gstin-help {
    margin-top: 6px;

    color: #697991;

    font-size: 9px;
    line-height: 1.5;
}


.ma-checkout-summary {
    margin-top: 20px;

    padding: 14px 15px;

    border:
        1px solid
        rgba(59, 130, 246, .18);

    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            rgba(37, 99, 235, .075),
            rgba(124, 58, 237, .055)
        );
}


.ma-checkout-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;

    padding: 5px 0;

    color: #91a0b5;

    font-size: 11px;
}


.ma-checkout-row strong {
    color: #eef4ff;
}


.ma-checkout-row.total {
    margin-top: 7px;

    padding-top: 12px;

    border-top:
        1px solid
        rgba(255, 255, 255, .08);

    font-size: 13px;
}


.ma-checkout-row.total strong {
    color: #86efac;

    font-size: 15px;
}


.ma-pay-btn {
    width: 100%;
    min-height: 55px;

    margin-top: 17px;

    border: none;
    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            #00d9ff,
            #2563eb 48%,
            #7c3aed
        );

    color: #fff;

    font-size: 13px;
    font-weight: 950;

    cursor: pointer;

    box-shadow:
        0 15px 32px
        rgba(37, 99, 235, .24);
}


.ma-pay-btn:disabled {
    opacity: .55;

    cursor: wait;
}


.ma-pay-security {
    margin-top: 12px;

    text-align: center;

    color: #697991;

    font-size: 9.5px;
    line-height: 1.55;
}


.ma-success {
    display: none;

    text-align: center;

    padding:
        22px 4px
        4px;
}


.ma-success-icon {
    width: 76px;
    height: 76px;

    margin:
        0 auto
        17px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        rgba(0, 230, 118, .10);

    border:
        1px solid
        rgba(0, 230, 118, .35);

    color: #00e676;

    font-size: 34px;

    box-shadow:
        0 0 38px
        rgba(0, 230, 118, .12);
}


.ma-success h3 {
    margin:
        0 0
        8px;

    color: #fff;

    font-size: 24px;
}


.ma-success p {
    color: #91a0b5;

    font-size: 11px;
    line-height: 1.65;
}


.ma-invoice-badge {
    margin:
        20px auto;

    padding:
        13px;

    border-radius: 12px;

    background:
        rgba(255, 255, 255, .05);

    border:
        1px solid
        rgba(255, 255, 255, .09);

    color: #cbd5e1;

    font-size: 11px;
}


.ma-invoice-badge strong {
    display: block;

    margin-top: 4px;

    color: #67e8f9;

    font-size: 15px;
}


.ma-success-actions {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 10px;

    margin-top: 17px;
}


.ma-secondary-btn {
    min-height: 50px;

    border:
        1px solid
        rgba(255, 255, 255, .11);

    border-radius: 12px;

    background:
        rgba(255, 255, 255, .055);

    color: #e2e8f0;

    font-weight: 850;

    cursor: pointer;
}


@media (max-width: 760px) {

    .ma-pay-overlay {
        align-items:
            flex-start;
    }


    .ma-pay-card {
        max-width:
            620px;

        grid-template-columns:
            1fr;
    }


    .ma-pay-brand {
        padding:
            18px 20px;
    }


    .ma-pay-logo {
        width:
            50px;

        height:
            50px;
    }


    .ma-pay-brand-kicker {
        margin-top:
            12px;
    }


    .ma-pay-brand h2 {
        font-size:
            20px;
    }


    .ma-pay-brand p,
    .ma-secure-list {
        display:
            none;
    }


    .ma-price-box {
        margin-top:
            14px;

        padding:
            13px;
    }


    .ma-price-main {
        font-size:
            24px;
    }


    .ma-pay-form {
        padding:
            23px 17px
            30px;
    }
}


@media (max-width: 480px) {

    .ma-billing-grid {
        grid-template-columns:
            1fr;
    }


    .ma-field-full {
        grid-column:
            auto;
    }


    .ma-pay-title {
        font-size:
            20px;
    }


    .ma-success-actions {
        grid-template-columns:
            1fr;
    }
}

