/* =========================================================
   FINORA DEPOSIT PAGE
   Premium Dark • Magenta • Gold
========================================================= */

:root {
    --bg: #07040B;
    --bg-soft: #0D0812;
    --card: #100A17;
    --card-2: #140C1B;

    --magenta: #EA3CFF;
    --magenta-bright: #FF72FF;
    --magenta-dark: #9E18BD;

    --gold: #F5A623;
    --gold-bright: #FFD76A;
    --gold-dark: #C97908;

    --white: #FFFFFF;
    --text: #F7F2FA;
    --muted: #AFA5B6;
    --muted-2: #7D7185;

    --border: rgba(234, 60, 255, 0.20);
    --gold-border: rgba(245, 166, 35, 0.24);

    --shadow:
        0 20px 55px rgba(0, 0, 0, 0.48);

    --radius: 20px;
}


/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


html {
    min-height: 100%;
    background: var(--bg);
    scroll-behavior: smooth;
}


body {
    min-height: 100vh;
    background:
        radial-gradient(
            circle at 15% 5%,
            rgba(158, 24, 189, 0.20),
            transparent 28%
        ),
        radial-gradient(
            circle at 88% 18%,
            rgba(234, 60, 255, 0.12),
            transparent 24%
        ),
        radial-gradient(
            circle at 50% 100%,
            rgba(245, 166, 35, 0.07),
            transparent 30%
        ),
        var(--bg);

    color: var(--text);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    overflow-x: hidden;
}


button,
input {
    font: inherit;
}


button {
    cursor: pointer;
}


a {
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   PRE-RENDER LOADER
========================================================= */

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle at center,
            rgba(158, 24, 189, 0.13),
            transparent 38%
        ),
        #07040B;

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;
}


.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}


.loader-brand {
    font-family: "Times New Roman", serif;
    font-size: 42px;
    font-weight: 700;
    letter-spacing: 1px;
}


.loader-fin {
    color: var(--white);
}


.loader-ora {
    color: var(--gold-bright);
}


.loader-line {
    width: 105px;
    height: 2px;
    margin-top: 15px;

    background: linear-gradient(
        90deg,
        transparent,
        var(--magenta-bright),
        transparent
    );

    animation: loaderPulse 1.4s ease-in-out infinite;
}


.loader-text {
    margin-top: 13px;

    color: var(--muted-2);

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
}


@keyframes loaderPulse {
    0%,
    100% {
        opacity: 0.35;
        transform: scaleX(0.65);
    }

    50% {
        opacity: 1;
        transform: scaleX(1);
    }
}


/* =========================================================
   PAGE
========================================================= */

.deposit-page {
    position: relative;

    width: min(100%, 620px);

    margin: 0 auto;

    padding:
        24px
        18px
        50px;
}


/* =========================================================
   BACK BUTTON
========================================================= */

.back-button {
    position: relative;

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

    width: 42px;
    height: 42px;

    margin-bottom: 13px;

    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 13px;

    background: rgba(255, 255, 255, 0.035);

    color: var(--white);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}


.back-button:hover {
    border-color: rgba(234, 60, 255, 0.42);
    background: rgba(234, 60, 255, 0.08);
}


.back-button:active {
    transform: scale(0.94);
}


.back-button svg {
    width: 21px;
    height: 21px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   HEADER
========================================================= */

.top-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 66px;

    margin-bottom: 25px;
}


.brand {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
}


.brand-name {
    font-family: "Times New Roman", serif;

    font-size: 31px;
    line-height: 0.9;

    font-weight: 700;
    letter-spacing: 0.5px;
}


.brand-fin {
    color: var(--white);
}


.brand-ora {
    color: var(--gold-bright);
}


.brand-tagline {
    margin-top: 7px;

    color: var(--magenta-bright);

    font-size: 7px;
    font-weight: 800;
    letter-spacing: 2px;
}


.header-security {
    display: flex;
    align-items: center;
    gap: 7px;

    padding: 8px 11px;

    border: 1px solid rgba(234, 60, 255, 0.18);
    border-radius: 999px;

    background: rgba(234, 60, 255, 0.045);

    color: #D8CEDB;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.2px;
}


.security-pulse,
.status-dot {
    display: inline-block;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #37E89A;

    box-shadow:
        0 0 0 4px rgba(55, 232, 154, 0.08),
        0 0 12px rgba(55, 232, 154, 0.65);

    animation: onlinePulse 2s ease-in-out infinite;
}


@keyframes onlinePulse {
    0%,
    100% {
        opacity: 0.65;
    }

    50% {
        opacity: 1;
    }
}


/* =========================================================
   INTRO
========================================================= */

.deposit-intro {
    margin-bottom: 24px;
}


.intro-label {
    display: flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 10px;

    color: var(--magenta-bright);

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
}


.intro-line {
    width: 25px;
    height: 2px;

    background: var(--magenta-bright);

    box-shadow:
        0 0 10px rgba(234, 60, 255, 0.6);
}


.deposit-intro h1 {
    font-family: "Times New Roman", serif;

    color: var(--white);

    font-size: clamp(31px, 8vw, 43px);
    line-height: 1.05;

    font-weight: 700;
    letter-spacing: -0.5px;
}


.deposit-intro p {
    max-width: 520px;

    margin-top: 11px;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   MESSAGE
========================================================= */

.message {
    display: none;

    margin-bottom: 16px;
    padding: 13px 15px;

    border: 1px solid rgba(234, 60, 255, 0.25);
    border-radius: 13px;

    background: rgba(234, 60, 255, 0.07);

    color: var(--text);

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


.message.show {
    display: block;
}


.message.success {
    border-color: rgba(55, 232, 154, 0.28);
    background: rgba(55, 232, 154, 0.07);
    color: #A8F5D2;
}


.message.error {
    border-color: rgba(255, 75, 112, 0.30);
    background: rgba(255, 75, 112, 0.07);
    color: #FFB3C3;
}


/* =========================================================
   MAIN DEPOSIT CARD
========================================================= */

.deposit-card {
    position: relative;

    padding: 20px;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background:
        linear-gradient(
            145deg,
            rgba(234, 60, 255, 0.055),
            rgba(255, 255, 255, 0.018) 42%,
            rgba(245, 166, 35, 0.025)
        ),
        var(--card);

    box-shadow: var(--shadow);

    overflow: hidden;
}


.deposit-card::before {
    content: "";

    position: absolute;
    top: 0;
    left: 10%;

    width: 80%;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(234, 60, 255, 0.75),
            rgba(245, 166, 35, 0.6),
            transparent
        );
}


/* =========================================================
   CARD HEADER
========================================================= */

.deposit-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 15px;

    padding-bottom: 19px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.065);

    margin-bottom: 21px;
}


.card-label {
    display: block;

    margin-bottom: 6px;

    color: var(--magenta-bright);

    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.7px;
}


.deposit-card-header h2 {
    font-family: "Times New Roman", serif;

    color: var(--white);

    font-size: 25px;
    line-height: 1.1;
}


.transaction-status {
    display: flex;
    align-items: center;
    gap: 7px;

    padding: 7px 9px;

    border: 1px solid rgba(55, 232, 154, 0.16);
    border-radius: 8px;

    color: #9BE8C5;

    background: rgba(55, 232, 154, 0.035);

    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1px;
}


/* =========================================================
   FORM SECTIONS
========================================================= */

.form-section {
    margin-bottom: 22px;
}


.field-label {
    display: block;

    margin-bottom: 9px;

    color: #EDE5F0;

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


.field-hint {
    margin-top: 8px;

    color: var(--muted-2);

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


/* =========================================================
   AMOUNT
========================================================= */

.amount-box {
    display: flex;
    align-items: center;

    min-height: 65px;

    border: 1px solid rgba(234, 60, 255, 0.22);
    border-radius: 14px;

    background: #0A060F;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.amount-box:focus-within {
    border-color: rgba(234, 60, 255, 0.72);

    box-shadow:
        0 0 0 3px rgba(234, 60, 255, 0.08),
        0 0 22px rgba(234, 60, 255, 0.08);
}


.amount-currency {
    padding-left: 17px;

    color: var(--gold-bright);

    font-family: "Times New Roman", serif;

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


.amount-box input {
    width: 100%;

    padding: 0 17px;

    border: 0;
    outline: 0;

    background: transparent;

    color: var(--white);

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


.amount-box input::placeholder {
    color: #514858;
}


/* Remove number arrows */

.amount-box input::-webkit-inner-spin-button,
.amount-box input::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
}


.amount-box input[type="number"] {
    appearance: textfield;
}


/* =========================================================
   PAYMENT METHODS
========================================================= */

.payment-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 10px;
}


.payment-option {
    position: relative;
}


.payment-option input {
    position: absolute;

    opacity: 0;
    pointer-events: none;
}


.payment-card {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 77px;

    padding: 11px;

    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 14px;

    background: rgba(255, 255, 255, 0.025);

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}


.payment-card:hover {
    border-color: rgba(234, 60, 255, 0.3);
    background: rgba(234, 60, 255, 0.04);
}


.payment-card:active {
    transform: scale(0.985);
}


.payment-option input:checked + .payment-card {
    border-color: rgba(234, 60, 255, 0.72);

    background:
        linear-gradient(
            135deg,
            rgba(234, 60, 255, 0.10),
            rgba(245, 166, 35, 0.035)
        );

    box-shadow:
        inset 0 0 22px rgba(234, 60, 255, 0.035),
        0 0 20px rgba(234, 60, 255, 0.06);
}


.payment-logo {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    width: 45px;
    height: 45px;

    overflow: hidden;

    border-radius: 9px;

    background: #FFFFFF;
}

.payment-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.payment-info {
    display: flex;
    flex-direction: column;

    min-width: 0;

    margin-left: 10px;
}


.payment-info strong {
    color: var(--white);

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


.payment-info span {
    margin-top: 4px;

    color: var(--muted-2);

    font-size: 8px;
}


.payment-selected {
    position: absolute;

    top: 9px;
    right: 9px;

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

    width: 14px;
    height: 14px;

    border: 1px solid #514858;
    border-radius: 50%;
}


.payment-selected span {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: transparent;
}


.payment-option input:checked + .payment-card .payment-selected {
    border-color: var(--magenta-bright);
}


.payment-option input:checked + .payment-card .payment-selected span {
    background: var(--magenta-bright);

    box-shadow:
        0 0 8px rgba(234, 60, 255, 0.8);
}


/* =========================================================
   PAYMENT DETAILS
========================================================= */

.payment-details-card {
    margin-bottom: 23px;

    padding: 17px;

    border: 1px solid var(--gold-border);
    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            rgba(245, 166, 35, 0.045),
            rgba(234, 60, 255, 0.035)
        ),
        #0C0810;
}


.payment-details-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    padding-bottom: 14px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);

    margin-bottom: 15px;
}


.details-label {
    display: block;

    margin-bottom: 5px;

    color: var(--gold-bright);

    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.6px;
}


.payment-details-header h3 {
    color: var(--white);

    font-family: "Times New Roman", serif;

    font-size: 18px;
}


.ready-badge {
    display: flex;
    align-items: center;
    gap: 6px;

    padding: 6px 8px;

    border: 1px solid rgba(55, 232, 154, 0.16);
    border-radius: 7px;

    color: #9BE8C5;

    font-size: 7px;
    font-weight: 800;
    letter-spacing: 1px;
}


.ready-badge span {
    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: #37E89A;
}


/* =========================================================
   MERCHANT CODE
========================================================= */

.merchant-section {
    padding: 14px;

    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;

    background: rgba(255, 255, 255, 0.022);
}


.merchant-title {
    display: block;

    margin-bottom: 8px;

    color: var(--muted);

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.8px;
}


.merchant-code-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;
}


.merchant-code-row strong {
    color: var(--gold-bright);

    font-family: "Times New Roman", serif;

    font-size: 27px;
    letter-spacing: 1.5px;
}


.copy-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    min-height: 34px;

    padding: 7px 10px;

    border: 1px solid rgba(234, 60, 255, 0.25);
    border-radius: 8px;

    background: rgba(234, 60, 255, 0.06);

    color: var(--magenta-bright);

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

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}


.copy-button:hover {
    border-color: rgba(234, 60, 255, 0.6);
    background: rgba(234, 60, 255, 0.12);
}


.copy-icon {
    font-size: 14px;
    line-height: 1;
}


/* =========================================================
   HOW TO PAY
========================================================= */

.ussd-instruction {
    margin-top: 14px;
    padding: 13px 14px;

    border-left: 2px solid var(--magenta);

    background: rgba(234, 60, 255, 0.035);
}


.instruction-label {
    display: block;

    margin-bottom: 6px;

    color: var(--magenta-bright);

    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.4px;
}


.ussd-instruction p {
    color: var(--muted);

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


.ussd-instruction strong {
    color: var(--white);
}


/* =========================================================
   REFERENCE INPUT
========================================================= */

.reference-input {
    width: 100%;

    min-height: 57px;

    padding: 0 15px;

    border: 1px solid rgba(234, 60, 255, 0.20);
    border-radius: 13px;

    outline: none;

    background: #0A060F;

    color: var(--white);

    font-size: 13px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.reference-input:focus {
    border-color: rgba(234, 60, 255, 0.70);

    box-shadow:
        0 0 0 3px rgba(234, 60, 255, 0.07);
}


.reference-input::placeholder {
    color: #514858;
}


/* =========================================================
   SUBMIT BUTTON
========================================================= */

.submit-button {
    position: relative;

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

    width: 100%;
    min-height: 58px;

    margin-top: 3px;

    border: 0;
    border-radius: 14px;

    background:
        linear-gradient(
            100deg,
            #B91FD0,
            #EA3CFF 50%,
            #C62DDC
        );

    color: #FFFFFF;

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.3px;

    box-shadow:
        0 10px 28px rgba(234, 60, 255, 0.20);

    overflow: hidden;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}


.submit-button::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            120deg,
            transparent 30%,
            rgba(255, 255, 255, 0.16),
            transparent 70%
        );

    transform: translateX(-100%);

    transition: transform 0.55s ease;
}


.submit-button:hover::before {
    transform: translateX(100%);
}


.submit-button:hover {
    box-shadow:
        0 13px 34px rgba(234, 60, 255, 0.28);
}


.submit-button:active {
    transform: scale(0.985);
}


.submit-button.loading {
    opacity: 0.65;
    pointer-events: none;
}


.submit-text,
.submit-arrow {
    position: relative;
    z-index: 1;
}


.submit-arrow {
    margin-left: 11px;

    font-size: 18px;
}


/* =========================================================
   HOW DEPOSITS WORK
========================================================= */

.process-section {
    margin-top: 42px;
}


.section-heading {
    margin-bottom: 19px;
}


.section-heading > span {
    display: block;

    margin-bottom: 6px;

    color: var(--magenta-bright);

    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.8px;
}


.section-heading h2 {
    font-family: "Times New Roman", serif;

    color: var(--white);

    font-size: 27px;
}


.process-list {
    position: relative;
}


.process-list::before {
    content: "";

    position: absolute;

    top: 23px;
    bottom: 23px;
    left: 20px;

    width: 1px;

    background:
        linear-gradient(
            180deg,
            rgba(234, 60, 255, 0.65),
            rgba(245, 166, 35, 0.20),
            transparent
        );
}


.process-item {
    position: relative;

    display: flex;

    gap: 15px;

    padding: 13px 0;
}


.process-number {
    position: relative;
    z-index: 2;

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

    flex-shrink: 0;

    width: 41px;
    height: 41px;

    border: 1px solid rgba(234, 60, 255, 0.30);
    border-radius: 12px;

    background: #0B0710;

    color: var(--magenta-bright);

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.5px;
}


.process-content {
    padding-top: 2px;
}


.process-content h3 {
    color: var(--white);

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


.process-content p {
    max-width: 470px;

    margin-top: 5px;

    color: var(--muted-2);

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


/* =========================================================
   FOOTER
========================================================= */

.footer {
    margin-top: 55px;

    padding-top: 27px;

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

    text-align: center;
}


.footer-brand {
    font-family: "Times New Roman", serif;

    font-size: 27px;
    font-weight: 700;
    line-height: 1;
}


.footer-fin {
    color: var(--white);
}


.footer-ora {
    color: var(--gold-bright);
}


.footer-tagline {
    margin-top: 7px;

    color: var(--magenta-bright);

    font-size: 7px;
    font-weight: 800;
    letter-spacing: 2px;
}


.footer-divider {
    width: 55px;
    height: 1px;

    margin: 16px auto;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--magenta),
            transparent
        );
}


.footer p {
    color: var(--muted-2);

    font-size: 9px;
    letter-spacing: 0.5px;
}


/* =========================================================
   HIDDEN
========================================================= */

[hidden] {
    display: none !important;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 480px) {

    .deposit-page {
        padding:
            18px
            14px
            42px;
    }


    .top-header {
        margin-bottom: 21px;
    }


    .brand-name {
        font-size: 28px;
    }


    .header-security {
        padding: 7px 9px;
        font-size: 8px;
    }


    .deposit-card {
        padding: 16px;
        border-radius: 18px;
    }


    .deposit-card-header h2 {
        font-size: 23px;
    }


    .payment-methods {
        grid-template-columns: 1fr;
    }


    .payment-card {
        min-height: 72px;
    }


    .merchant-code-row strong {
        font-size: 24px;
    }
}


@media (max-width: 350px) {

    .deposit-page {
        padding-left: 11px;
        padding-right: 11px;
    }


    .deposit-card {
        padding: 14px;
    }


    .deposit-card-header {
        flex-direction: column;
    }


    .transaction-status {
        align-self: flex-start;
    }


    .merchant-code-row {
        align-items: flex-start;
        flex-direction: column;
    }


    .copy-button {
        width: 100%;
    }
}
