
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #2457d6;
    --primary-dark: #173b9a;
    --navy: #101b43;
    --muted: #626d89;
    --border: #e5e9f2;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: var(--navy);
    -webkit-font-smoothing: antialiased;
}


/* DEMO BANNER */

.demo-banner {
    min-height: 34px;
    padding: 9px 15px;
    display: flex;
    justify-content: center;
    align-items: center;

    background: #fff4dc;
    color: #754b00;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-align: center;

    border-bottom: 1px solid #f0dfb9;
}


/* HEADER */

.header {
    height: 88px;
    padding: 0 5%;

    display: flex;
    align-items: center;
    gap: 25px;

    background: #ffffff;
    border-bottom: 1px solid #e9edf4;

    position: relative;
    z-index: 10;
}

.logo img {
    width: 170px;
    height: auto;
    display: block;
}

.header-divider {
    width: 1px;
    height: 30px;
    background: #dce2ee;
}

.help-link {
    color: #24345f;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.login-button {
    margin-left: auto;
    padding: 11px 23px;

    border: 1px solid #cbd7f4;
    border-radius: 30px;

    color: var(--primary-dark);
    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    transition: 0.25s ease;
}

.login-button:hover {
    background: #f3f6ff;
    border-color: #9db2eb;
}


/* MAIN CONTAINER */

.container {
    width: min(1040px, calc(100% - 48px));
    margin: auto;
    padding: 55px 0 48px;
}


/* INTRO */

.intro {
    text-align: center;
}

.eyebrow {
    margin-bottom: 12px;

    color: #68769a;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.intro h1 {
    font-size: clamp(34px, 5vw, 48px);
    font-weight: 800;
    letter-spacing: -2px;
}

.subtitle {
    margin-top: 12px;
    color: var(--muted);
    font-size: clamp(15px, 2vw, 19px);
}


/* PROCESSING SECTION */

.processing-section {
    text-align: center;
    padding: 34px 0 25px;
}

.loader-container {
    width: 210px;
    height: 210px;

    margin: 0 auto 25px;

    position: relative;

    display: grid;
    place-items: center;
}

.loader-ring {
    position: absolute;
    inset: 0;

    border-radius: 90%;

    background: conic-gradient(
        from -90deg,
        #e5eafb 0deg 176deg,
        var(--primary) 176deg 360deg
    );

    animation: ringRotation 2.4s linear infinite;

    filter: drop-shadow(
        0 7px 15px rgba(36, 87, 214, 0.13)
    );
}

.loader-ring::after {
    content: "";

    position: absolute;
    inset: 10px;

    background: #ffffff;
    border-radius: 90%;
}

.loader-content {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.loader-content strong {
    font-size: 53px;
    font-weight: 800;
    letter-spacing: -3px;
}

.loader-content span {
    margin-top: 3px;
    font-size: 14px;
    color: var(--muted);
}

@keyframes ringRotation {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.processing-section h2 {
    font-size: clamp(22px, 3vw, 29px);
    font-weight: 800;
    letter-spacing: -1px;
}

.processing-description {
    margin-top: 8px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}


/* PAYMENT CARD */

.payment-card {
    padding: 28px 34px 18px;

    background: #ffffff;

    border: 1px solid #edf0f7;
    border-radius: 22px;

    box-shadow: 0 16px 42px rgba(29, 57, 121, 0.09);
}


/* BANK HEADER */

.bank-header {
    display: flex;
    align-items: center;
    gap: 17px;

    padding-bottom: 20px;
}

.bank-image {
    width: 76px;
    height: 76px;

    object-fit: cover;

    border-radius: 15px;
}

.bank-information h3 {
    font-size: 22px;
    letter-spacing: -1px;
}

.bank-information p {
    margin-top: 4px;
    color: var(--muted);
    font-size: 15px;
}

.account-information {
    margin-left: auto;

    display: flex;
    align-items: center;
    gap: 18px;
}

.account-information span:first-child {
    font-size: 18px;
    font-weight: 600;
}

.currency {
    padding: 11px 16px;

    border-radius: 10px;

    background: #f0f3fc;
    color: #334d9b;

    font-size: 13px;
    font-weight: 700;
}


/* DETAIL ROWS */

.detail-row {
    min-height: 66px;

    display: grid;

    grid-template-columns: 34px minmax(140px, 1fr) auto;

    align-items: center;
    gap: 17px;

    border-top: 1px solid var(--border);
}

.detail-icon {
    width: 26px;
    height: 26px;
    color: #596887;
}

.detail-icon svg {
    width: 100%;
    height: 100%;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.detail-label {
    color: #58647f;
    font-size: 14px;
}

.detail-value {
    font-size: 15px;
    font-weight: 600;
    text-align: right;
}


/* AMOUNT */

.amount-row {
    min-height: 82px;
}

.amount-information {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.amount-information strong {
    font-size: clamp(21px, 3vw, 28px);
    letter-spacing: -1px;
}

.amount-information small {
    font-size: 13px;
}

.amount-information span {
    color: var(--muted);
    font-size: 13px;
}

.card-disclaimer {
    padding-top: 12px;
    margin-top: 4px;

    border-top: 1px dashed #e3e7f0;

    color: #7b849b;
    font-size: 11px;
    line-height: 1.5;
}


/* PROGRESS TRACKER */

.progress-section {
    position: relative;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    margin: 50px 10px 42px;
}

.progress-line {
    position: absolute;

    top: 21px;
    left: 12.5%;
    right: 12.5%;

    height: 3px;

    background: #d8deec;
}

.progress-fill {
    width: 33.333%;
    height: 100%;

    background: var(--primary);
}

.progress-step {
    position: relative;
    z-index: 1;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 11px;

    color: #68738e;
    text-align: center;

    font-size: 13px;
    line-height: 1.45;
}

.step-circle {
    width: 44px;
    height: 44px;

    border: 3px solid #c4ccde;
    border-radius: 90%;

    background: #ffffff;

    display: grid;
    place-items: center;
}

.completed .step-circle {
    border-color: var(--primary);
    background: var(--primary);
    color: #ffffff;
}

.completed svg {
    width: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.active {
    color: var(--navy);
    font-weight: 700;
}

.active .step-circle {
    border: 3px solid var(--primary);

    box-shadow:
        0 0 0 6px rgba(36, 87, 214, 0.09);
}


/* SMALL PROCESSING LOADER */

.small-loader {
    width: 26px;
    height: 26px;

    border: 3px solid #dce5ff;
    border-top-color: var(--primary);

    border-radius: 90%;

    animation: smallSpin 0.9s linear infinite;
}

@keyframes smallSpin {
    to {
        transform: rotate(360deg);
    }
}


/* NOTICE CARD */

.notice-card {
    display: flex;
    align-items: center;
    gap: 22px;

    padding: 23px 28px;

    border: 1px solid #dce5fa;
    border-radius: 17px;

    background: #f5f8ff;
}

.notice-icon {
    flex: 0 0 68px;

    width: 68px;
    height: 68px;

    border-radius: 90%;

    display: grid;
    place-items: center;

    background: #e7eeff;
    color: var(--primary-dark);
}

.notice-icon svg {
    width: 39px;
    height: 39px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.notice-content h3 {
    margin-bottom: 6px;
    font-size: 18px;
    letter-spacing: -0.5px;
}

.notice-content p {
    color: #596681;
    font-size: 13px;
    line-height: 1.65;
}

.page-disclaimer {
    max-width: 720px;
    margin: 18px auto 0;

    color: #828ba0;

    text-align: center;
    font-size: 11px;
    line-height: 1.6;
}


/* FOOTER */

.footer {
    min-height: 112px;

    padding: 25px 5%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;

    background: #101d42;
    color: #ffffff;
}

.footer-logo img {
    width: 150px;
    display: block;

    filter: brightness(0) invert(1);
}

.footer-navigation {
    display: flex;
    align-items: center;
    gap: 25px;
}

.footer-navigation a {
    color: #e0e6f5;
    font-size: 12px;
    text-decoration: none;

    transition: 0.2s ease;
}

.footer-navigation a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.copyright {
    color: #e0e6f5;
    font-size: 12px;
    text-align: right;
}


/* MOBILE RESPONSIVENESS */

@media (max-width: 680px) {

    .header {
        height: 72px;
        gap: 15px;
        padding: 0 18px;
    }

    .logo img {
        width: 128px;
    }

    .header-divider {
        height: 25px;
    }

    .help-link {
        font-size: 13px;
    }

    .login-button {
        padding: 9px 15px;
        font-size: 12px;
    }

    .container {
        width: calc(100% - 30px);
        padding-top: 42px;
    }

    .loader-container {
        width: 178px;
        height: 178px;
    }

    .loader-content strong {
        font-size: 45px;
    }

    .processing-section {
        padding-top: 30px;
    }

    .payment-card {
        padding: 20px 17px 15px;
        border-radius: 17px;
    }

    .bank-header {
        gap: 12px;
        padding-bottom: 17px;
    }

    .bank-image {
        width: 57px;
        height: 57px;
        border-radius: 12px;
    }

    .bank-information h3 {
        font-size: 16px;
    }

    .bank-information p {
        font-size: 12px;
    }

    .account-information {
        gap: 8px;
        flex-direction: column;
        align-items: flex-end;
    }

    .account-information span:first-child {
        font-size: 13px;
    }

    .currency {
        padding: 6px 10px;
        font-size: 11px;
    }

    .detail-row {
        grid-template-columns: 24px minmax(90px, 1fr) auto;
        gap: 9px;
        min-height: 62px;
    }

    .detail-icon {
        width: 22px;
        height: 22px;
    }

    .detail-label {
        font-size: 11px;
    }

    .detail-value {
        max-width: 165px;
        font-size: 11px;
    }

    .amount-information strong {
        font-size: 19px;
    }

    .amount-information small,
    .amount-information span {
        font-size: 10px;
    }

    .progress-section {
        margin: 39px 0 34px;
    }

    .progress-line {
        top: 17px;
    }

    .step-circle {
        width: 36px;
        height: 36px;
    }

    .small-loader {
        width: 21px;
        height: 21px;
    }

    .progress-step {
        gap: 8px;
        font-size: 10px;
    }

    .notice-card {
        gap: 14px;
        padding: 17px;
    }

    .notice-icon {
        flex-basis: 52px;
        width: 52px;
        height: 52px;
    }

    .notice-icon svg {
        width: 31px;
        height: 31px;
    }

    .notice-content h3 {
        font-size: 15px;
    }

    .notice-content p {
        font-size: 11px;
    }

    .footer {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        gap: 18px;
        padding: 25px 18px;
    }

    .footer-logo img {
        width: 120px;
        margin: auto;
    }

    .footer-navigation {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 14px 20px;
    }

    .copyright {
        width: 100%;
        text-align: center;
    }

}


/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

}

/* FIXED HEADER AT THE VERY TOP */

.header {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    width: 100%;
    height: 88px;

    z-index: 99999;

    background-color: #ffffff !important;
    opacity: 1;

    box-shadow: 0 2px 12px rgba(16, 27, 67, 0.06);
}

/* KEEP PAGE CONTENT BELOW HEADER */

.container {
    padding-top: 143px;
}

/* MOBILE HEADER */

@media (max-width: 680px) {
    .header {
        height: 72px;
    }

    .container {
        padding-top: 125px;
    }
}
.bank-image {
    width: 70px;
    height: 70px;
    border-radius: 90%;
    object-fit: cover;
    object-position: center;
    flex-shrink: 0;
    display: block;
}