/* =========================================================
   FINORA LOGIN.CSS
   PREMIUM FINORA BRAND DESIGN
   MAGENTA • GOLD • WHITE • CHARCOAL
   ========================================================= */


/* =========================================================
   BRAND COLORS
   ========================================================= */

:root {
    --bg: #0B0A0F;
    --bg-soft: #121116;
    --card: #17151B;

    --magenta: #D100FF;
    --magenta-dark: #9400BF;
    --magenta-light: #E044FF;

    --gold: #C99A22;
    --gold-light: #E0B94A;
    --gold-dark: #A9790F;

    --white: #FFFFFF;
    --muted: #A9A5AD;

    --border: rgba(209, 0, 255, 0.20);

    --shadow:
        0 25px 70px rgba(0, 0, 0, 0.55);
}


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

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

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

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

    color: var(--white);

    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(209, 0, 255, 0.08),
            transparent 32%
        ),
        radial-gradient(
            circle at 90% 90%,
            rgba(201, 154, 34, 0.05),
            transparent 32%
        ),
        linear-gradient(
            180deg,
            #121116 0%,
            #0B0A0F 55%,
            #070609 100%
        );

    overflow-x: hidden;
}

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

button,
input {
    font-family: inherit;
}


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

.page {
    min-height: 100vh;

    display: flex;
    flex-direction: column;
}


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

.header {
    width: 100%;

    background:
        rgba(7, 6, 10, 0.96);

    border-bottom:
        1px solid
        rgba(209, 0, 255, 0.16);

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

.header-inner {
    width: min(1180px, 92%);

    min-height: 82px;

    margin: 0 auto;

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

    gap: 20px;
}


/* =========================================================
   FINORA BRAND
   TEXT-BASED WORDMARK
   ========================================================= */

.brand {
    display: flex;
    align-items: center;

    min-width: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;

    min-width: 0;
}


/* =========================================================
   FINORA WORDMARK
   FIN = WHITE
   ORA = GOLD
   TIMES NEW ROMAN
   ========================================================= */

.brand-name {
    display: flex;
    align-items: baseline;

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

    font-size: 31px;
    font-weight: 700;

    letter-spacing: -1.2px;
    line-height: 0.95;

    white-space: nowrap;
}

.brand-name .fin {
    color: #FFFFFF;
}

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


/* =========================================================
   BRAND TAGLINE
   ========================================================= */

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

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

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 2.4px;

    color: #FFFFFF;

    opacity: 0.48;

    white-space: nowrap;
}


/* =========================================================
   TOP REGISTER
   ========================================================= */

.login-top {
    color: #FFFFFF;

    font-size: 13px;

    opacity: 0.62;

    text-align: right;
}

.login-top a {
    margin-left: 5px;

    color: var(--magenta);

    font-weight: 700;

    transition:
        color 0.2s ease,
        text-shadow 0.2s ease;
}

.login-top a:hover {
    color: var(--magenta-light);

    text-shadow:
        0 0 12px
        rgba(209, 0, 255, 0.35);
}


/* =========================================================
   MAIN
   ========================================================= */

.main {
    flex: 1;

    width: 100%;

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

    padding:
        60px 20px;
}


/* =========================================================
   LOGIN LAYOUT
   ========================================================= */

.login-wrapper {
    width: min(1080px, 100%);

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(350px, 450px);

    align-items: center;

    gap: 75px;
}


/* =========================================================
   INFORMATION PANEL
   ========================================================= */

.info-panel {
    max-width: 550px;
}

.info-kicker {
    display: inline-block;

    margin-bottom: 18px;

    color: var(--gold);

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

    letter-spacing: 2.4px;

    text-transform: uppercase;
}


/* =========================================================
   MAIN HEADING
   ========================================================= */

.info-panel h1 {
    margin-bottom: 22px;

    color: #FFFFFF;

    font-size:
        clamp(42px, 5vw, 68px);

    font-weight: 800;

    line-height: 0.98;

    letter-spacing: -2.5px;
}

.info-panel h1 span {
    color: var(--magenta);

    text-shadow:
        0 0 28px
        rgba(209, 0, 255, 0.18);
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.info-panel > p {
    max-width: 500px;

    color: #FFFFFF;

    font-size: 15px;

    line-height: 1.75;

    opacity: 0.62;
}


/* =========================================================
   BENEFITS
   ========================================================= */

.benefits {
    margin-top: 36px;

    display: flex;
    flex-direction: column;

    gap: 20px;
}

.benefit {
    display: flex;
    align-items: center;

    gap: 14px;
}


/* =========================================================
   BENEFIT ICON CONTAINER
   ========================================================= */

.benefit-icon {
    width: 44px;
    height: 44px;

    flex: 0 0 44px;

    position: relative;

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

    border-radius: 13px;

    border:
        1px solid
        rgba(209, 0, 255, 0.60);

    background:
        linear-gradient(
            145deg,
            rgba(209, 0, 255, 0.17),
            rgba(209, 0, 255, 0.035)
        );

    /*
       FORCE THE ICON COLOR
    */
    color: #D100FF !important;

    -webkit-text-fill-color: #D100FF !important;

    font-size: 21px;
    font-weight: 700;

    line-height: 1;

    text-align: center;

    text-shadow:
        0 0 8px
        rgba(209, 0, 255, 0.55),

        0 0 18px
        rgba(209, 0, 255, 0.25);

    box-shadow:
        0 0 22px
        rgba(209, 0, 255, 0.10),

        inset
        0 1px 0
        rgba(255, 255, 255, 0.07);

    isolation: isolate;

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


/* =========================================================
   FORCE CHILD ICONS MAGENTA
   IMPORTANT FIX
   ========================================================= */

.benefit-icon *,
.benefit-icon i,
.benefit-icon svg,
.benefit-icon span,
.benefit-icon img {
    color: #D100FF !important;

    fill: #D100FF !important;

    stroke: #D100FF !important;

    -webkit-text-fill-color: #D100FF !important;
}


/* =========================================================
   SVG ICON FIX
   ========================================================= */

.benefit-icon svg {
    width: 20px;
    height: 20px;

    display: block;

    color: #D100FF !important;

    fill: none !important;

    stroke: #D100FF !important;

    stroke-width: 2;

    stroke-linecap: round;
    stroke-linejoin: round;

    position: relative;

    z-index: 3;
}


/* =========================================================
   FONT ICON FIX
   ========================================================= */

.benefit-icon i {
    position: relative;

    z-index: 3;

    color: #D100FF !important;

    -webkit-text-fill-color: #D100FF !important;

    font-style: normal;

    font-size: 20px;
}


/* =========================================================
   ICON INNER FRAME
   ========================================================= */

.benefit-icon::before {
    content: "";

    position: absolute;

    inset: 5px;

    border-radius: 9px;

    border:
        1px solid
        rgba(209, 0, 255, 0.18);

    pointer-events: none;

    z-index: 1;
}


/* =========================================================
   ICON GLOW
   ========================================================= */

.benefit-icon::after {
    content: "";

    position: absolute;

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background:
        rgba(209, 0, 255, 0.12);

    box-shadow:
        0 0 15px
        rgba(209, 0, 255, 0.35);

    pointer-events: none;

    z-index: 0;
}


/* =========================================================
   HOVER
   ========================================================= */

.benefit:hover .benefit-icon {
    transform:
        translateY(-2px);

    border-color:
        rgba(209, 0, 255, 0.90);

    box-shadow:
        0 0 30px
        rgba(209, 0, 255, 0.20),

        inset
        0 1px 0
        rgba(255, 255, 255, 0.09);
}


/* =========================================================
   BENEFIT TEXT
   ========================================================= */

.benefit h3 {
    margin-bottom: 5px;

    color: #FFFFFF;

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

.benefit p {
    color: #FFFFFF;

    font-size: 12px;

    line-height: 1.5;

    opacity: 0.50;
}


/* =========================================================
   LOGIN CARD
   ========================================================= */

.form-card {
    width: 100%;

    padding: 34px;

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.055),
            rgba(0, 0, 0, 0.27)
        );

    border:
        1px solid
        rgba(209, 0, 255, 0.19);

    box-shadow:
        var(--shadow),

        inset
        0 1px 0
        rgba(255, 255, 255, 0.035);

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


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

.form-header {
    margin-bottom: 28px;
}

.form-header h2 {
    margin-bottom: 8px;

    color: #FFFFFF;

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

.form-header p {
    color: #FFFFFF;

    font-size: 13px;

    line-height: 1.6;

    opacity: 0.53;
}


/* =========================================================
   FORM GROUP
   ========================================================= */

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: #FFFFFF;

    font-size: 12px;
    font-weight: 600;

    opacity: 0.82;
}


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

.form-input {
    width: 100%;
    height: 49px;

    padding:
        0 14px;

    border-radius: 11px;

    border:
        1px solid
        rgba(255, 255, 255, 0.11);

    outline: none;

    background:
        rgba(0, 0, 0, 0.28);

    color: #FFFFFF;

    font-size: 14px;

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

.form-input::placeholder {
    color: #FFFFFF;

    opacity: 0.29;
}

.form-input:hover {
    border-color:
        rgba(209, 0, 255, 0.25);
}

.form-input:focus {
    border-color:
        rgba(209, 0, 255, 0.70);

    background:
        rgba(0, 0, 0, 0.35);

    box-shadow:
        0 0 0 3px
        rgba(209, 0, 255, 0.09),

        0 0 18px
        rgba(209, 0, 255, 0.05);
}


/* =========================================================
   PASSWORD
   ========================================================= */

.input-wrapper {
    position: relative;
}

.password-input {
    padding-right: 52px;
}


/* =========================================================
   PASSWORD TOGGLE
   MAGENTA / WHITE SAFE FIX
   ========================================================= */

.toggle-password {
    position: absolute;

    top: 50%;
    right: 10px;

    width: 36px;
    height: 36px;

    transform:
        translateY(-50%);

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

    border: 0;

    border-radius: 9px;

    background:
        transparent;

    color: #D100FF !important;

    -webkit-text-fill-color: #D100FF !important;

    opacity: 0.85;

    cursor: pointer;

    font-size: 17px;

    line-height: 1;

    text-shadow:
        0 0 8px
        rgba(209, 0, 255, 0.35);

    transition:
        color 0.2s ease,
        background 0.2s ease,
        opacity 0.2s ease;
}


/* Child elements inside eye icon */

.toggle-password *,
.toggle-password i,
.toggle-password svg,
.toggle-password span {
    color: #D100FF !important;

    fill: #D100FF !important;

    stroke: #D100FF !important;

    -webkit-text-fill-color: #D100FF !important;
}


/* SVG eye */

.toggle-password svg {
    width: 18px;
    height: 18px;

    fill: none !important;

    stroke: #D100FF !important;

    stroke-width: 2;

    stroke-linecap: round;
    stroke-linejoin: round;
}


.toggle-password:hover {
    color: #E044FF !important;

    -webkit-text-fill-color: #E044FF !important;

    background:
        rgba(209, 0, 255, 0.08);

    opacity: 1;

    text-shadow:
        0 0 10px
        rgba(209, 0, 255, 0.50);
}


/* =========================================================
   PASSWORD LABEL ROW
   ========================================================= */

.password-label-row {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 10px;

    margin-bottom: 8px;
}

.password-label-row label {
    margin-bottom: 0;
}


/* =========================================================
   FORGOT PASSWORD
   ========================================================= */

.forgot-password {
    color: var(--magenta);

    font-size: 12px;
    font-weight: 600;

    transition:
        color 0.2s ease;
}

.forgot-password:hover {
    color: var(--magenta-light);

    text-decoration: underline;
}


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

.field-message {
    min-height: 0;

    margin-top: 5px;

    color: #FFFFFF;

    font-size: 11px;

    line-height: 1.4;
}

.field-message.error {
    color: #FFFFFF;

    opacity: 0.88;
}


/* =========================================================
   REMEMBER ME
   ========================================================= */

.remember-me {
    display: flex;
    align-items: center;

    gap: 9px;

    margin-top: 2px;
    margin-bottom: 18px;

    color: #FFFFFF;

    font-size: 12px;

    opacity: 0.70;

    cursor: pointer;
}

.remember-me input {
    width: 15px;
    height: 15px;

    margin: 0;

    accent-color: var(--magenta);

    cursor: pointer;
}


/* =========================================================
   FORM STATUS
   ========================================================= */

.form-status {
    min-height: 20px;

    margin-bottom: 14px;

    color: #FFFFFF;

    font-size: 12px;

    line-height: 1.5;

    text-align: center;
}

.form-status.error {
    opacity: 0.90;
}

.form-status.success {
    color: var(--gold-light);
}


/* =========================================================
   LOGIN BUTTON
   PREMIUM GOLD
   ========================================================= */

.login-button {
    width: 100%;
    height: 51px;

    border: 0;
    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            #E0B94A 0%,
            #C99A22 55%,
            #A9790F 100%
        );

    color: #0B0A0F;

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

    letter-spacing: 1px;

    cursor: pointer;

    box-shadow:
        0 10px 30px
        rgba(201, 154, 34, 0.16);

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

.login-button:hover {
    transform:
        translateY(-1px);

    filter:
        brightness(1.07);

    box-shadow:
        0 14px 35px
        rgba(201, 154, 34, 0.25);
}

.login-button:active {
    transform:
        translateY(0);
}

.login-button:disabled {
    opacity: 0.60;

    cursor: not-allowed;

    transform: none;
}


/* =========================================================
   BOTTOM REGISTER
   ========================================================= */

.bottom-login {
    margin-top: 23px;

    padding-top: 20px;

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

    color: #FFFFFF;

    font-size: 12px;

    text-align: center;

    opacity: 0.50;
}

.bottom-login a {
    color: var(--magenta);

    font-weight: 700;

    transition:
        color 0.2s ease;
}

.bottom-login a:hover {
    color: var(--magenta-light);

    text-decoration: underline;
}


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

.footer {
    padding:
        22px 15px;

    border-top:
        1px solid
        rgba(209, 0, 255, 0.12);

    color: #FFFFFF;

    font-size: 10px;

    letter-spacing: 0.4px;

    text-align: center;

    opacity: 0.35;
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline:
        2px solid
        var(--magenta);

    outline-offset: 3px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 850px) {

    .main {
        padding:
            40px 18px 50px;
    }

    .login-wrapper {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .info-panel {
        max-width: 620px;

        margin: 0 auto;

        text-align: center;
    }

    .info-panel > p {
        margin: 0 auto;
    }

    .benefits {
        text-align: left;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 520px) {

    .header-inner {
        min-height: 70px;

        width: 94%;
    }

    .brand-name {
        font-size: 25px;

        letter-spacing: -0.8px;
    }

    .brand-tagline {
        font-size: 7px;

        letter-spacing: 1.8px;
    }

    .login-top {
        font-size: 11px;
    }

    .main {
        padding:
            28px 13px 38px;
    }

    .form-card {
        padding:
            25px 18px;

        border-radius: 18px;
    }

    .form-header h2 {
        font-size: 24px;
    }

    .info-panel h1 {
        font-size: 42px;
    }

    .benefit-icon {
        width: 40px;
        height: 40px;

        flex-basis: 40px;

        font-size: 19px;
    }

    .benefit-icon svg {
        width: 19px;
        height: 19px;
    }
}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 390px) {

    .header-inner {
        width:
            calc(100% - 20px);
    }

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

    .brand-tagline {
        font-size: 6px;

        letter-spacing: 1.4px;
    }

    .login-top {
        font-size: 10px;
    }

    .main {
        padding:
            24px 10px 32px;
    }

    .form-card {
        padding:
            22px 15px;
    }

    .info-panel h1 {
        font-size: 38px;
    }

    .benefit-icon {
        width: 38px;
        height: 38px;

        flex-basis: 38px;

        font-size: 18px;
    }

    .benefit-icon svg {
        width: 18px;
        height: 18px;
    }
}


/* =========================================================
   REDUCE MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
