/* =========================================================
   IXIA Bangladesh - Secure Payment Portal
   Main Stylesheet
========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
                 Roboto, Arial, sans-serif;

    background:
        radial-gradient(
            circle at top left,
            rgba(37, 99, 235, .08),
            transparent 35%
        ),
        #f5f7fb;

    color: #111827;
}


/* =========================================================
   PAGE WRAPPER
========================================================= */

.page-wrapper {
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 40px 20px;
}


/* =========================================================
   PAYMENT CARD
========================================================= */

.payment-card {
    display: block;

    width: 100%;
    max-width: 540px;

    background: #ffffff;

    border-radius: 22px;

    padding: 35px;

    box-shadow:
        0 20px 60px rgba(15, 23, 42, .10);

    border: 1px solid #eef2f7;
}


/* =========================================================
   BRAND / LOGO AREA
========================================================= */

.brand {
    width: 100%;

    display: flex;
    flex-direction: row;

    align-items: center;
    justify-content: flex-start;

    gap: 16px;
}


/* Global Logo Container */

.ixia-global-logo {
    display: flex;

    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    width: 70px;
    height: 70px;
}


/* Actual Logo Image */

.ixia-logo-image {
    display: block;

    width: 70px;
    height: 70px;

    max-width: 70px;
    max-height: 70px;

    object-fit: contain;
}


/* Company Name */

.brand > div:last-child {
    display: block;

    width: auto;

    flex: 1;
}

.brand h1 {
    display: block;

    margin: 0 0 5px 0;

    font-size: 21px;
    line-height: 1.25;

    color: #111827;

    white-space: normal;
}

.brand p {
    display: block;

    margin: 0;

    color: #64748b;

    font-size: 13px;
    line-height: 1.4;
}


/* =========================================================
   DIVIDER
========================================================= */

.divider {
    display: block;

    width: 100%;
    height: 1px;

    clear: both;

    background: #eef2f7;

    margin: 25px 0;
}


/* =========================================================
   HEADING
========================================================= */

.heading {
    display: block;
    width: 100%;
}

.heading h2 {
    display: block;

    width: 100%;

    margin: 0;

    font-size: 25px;
}

.heading p {
    display: block;

    width: 100%;

    margin: 8px 0 25px;

    color: #64748b;

    font-size: 14px;
    line-height: 1.6;
}


/* =========================================================
   PAYMENT FORM
========================================================= */

#paymentForm {
    display: block;

    width: 100%;
}

.form-group {
    display: block;

    width: 100%;

    margin-bottom: 19px;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    font-size: 13px;
    font-weight: 650;

    color: #334155;
}

.form-group input {
    display: block;

    width: 100%;
    height: 50px;

    padding: 0 15px;

    border: 1px solid #dbe2ea;

    border-radius: 11px;

    outline: none;

    font-size: 15px;

    background: #ffffff;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.form-group input:focus {
    border-color: #2563eb;

    box-shadow:
        0 0 0 4px rgba(37, 99, 235, .08);
}


/* =========================================================
   AMOUNT
========================================================= */

.amount-box {
    position: relative;

    display: block;

    width: 100%;
}

.amount-box span {
    position: absolute;

    left: 15px;
    top: 50%;

    transform: translateY(-50%);

    font-size: 18px;
    font-weight: 700;

    color: #334155;

    pointer-events: none;
}

.amount-box input {
    padding-left: 40px;

    font-weight: 650;
}


/* =========================================================
   PAYMENT METHOD
========================================================= */

.payment-method {
    width: 100%;

    display: flex;

    align-items: center;
    justify-content: space-between;

    margin: 25px 0 18px;

    padding: 15px;

    border: 1px solid #f0c3d4;

    background: #fff7fa;

    border-radius: 13px;
}

.method-left {
    display: flex;

    align-items: center;

    gap: 12px;
}

.bkash-logo {
    width: 52px;
    height: 40px;

    flex: 0 0 auto;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: #e2136e;

    color: #ffffff;

    font-size: 12px;
    font-weight: 800;
}

.method-left strong {
    display: block;

    font-size: 14px;
}

.method-left small {
    display: block;

    margin-top: 3px;

    color: #64748b;

    font-size: 11px;
}

.selected {
    width: 25px;
    height: 25px;

    flex: 0 0 25px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #e2136e;

    color: #ffffff;

    font-size: 13px;
    font-weight: bold;
}


/* =========================================================
   PAY BUTTON
========================================================= */

.pay-button {
    display: block;

    width: 100%;
    height: 54px;

    border: 0;

    border-radius: 12px;

    background: #e2136e;

    color: #ffffff;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform .15s ease,
        box-shadow .15s ease,
        opacity .15s ease;
}

.pay-button:hover {
    transform: translateY(-1px);

    box-shadow:
        0 10px 25px rgba(226, 19, 110, .25);
}

.pay-button:disabled {
    cursor: not-allowed;

    opacity: .65;

    transform: none;

    box-shadow: none;
}


/* =========================================================
   SECURITY MESSAGE
========================================================= */

.security {
    width: 100%;

    margin-top: 18px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    color: #64748b;

    font-size: 12px;
}

.security p {
    margin: 0;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    display: block;

    width: 100%;

    margin-top: 28px;

    padding-top: 20px;

    border-top: 1px solid #eef2f7;

    text-align: center;

    color: #94a3b8;

    font-size: 11px;
}

.footer p {
    margin: 4px 0;
}

.powered {
    font-size: 10px;
}


/* =========================================================
   ALERTS
========================================================= */

.alert {
    width: 100%;

    padding: 13px 15px;

    margin-bottom: 20px;

    border-radius: 10px;

    font-size: 13px;
    line-height: 1.5;
}

.alert-error {
    background: #fef2f2;

    border: 1px solid #fecaca;

    color: #991b1b;
}


/* =========================================================
   TABLET / MOBILE
========================================================= */

@media (max-width: 600px) {

    .page-wrapper {
        padding: 20px 14px;

        align-items: flex-start;
    }

    .payment-card {
        margin-top: 10px;

        padding: 25px 20px;

        border-radius: 18px;
    }


    /* Logo */

    .brand {
        gap: 12px;
    }

    .ixia-global-logo {
        width: 58px;
        height: 58px;
    }

    .ixia-logo-image {
        width: 58px;
        height: 58px;

        max-width: 58px;
        max-height: 58px;
    }

    .brand h1 {
        font-size: 19px;
    }

    .brand p {
        font-size: 12px;
    }


    /* Heading */

    .heading h2 {
        font-size: 22px;
    }


    /* Payment method */

    .payment-method {
        padding: 13px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .payment-card {
        padding: 22px 16px;
    }

    .ixia-global-logo {
        width: 52px;
        height: 52px;
    }

    .ixia-logo-image {
        width: 52px;
        height: 52px;

        max-width: 52px;
        max-height: 52px;
    }

    .brand h1 {
        font-size: 17px;
    }

    .brand p {
        font-size: 11px;
    }

}