﻿/* =======================================================
   ROOT
======================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Inter", sans-serif;
    background: #ffffff;
}

img {
    display: block;
    max-width: 100%;
}

button,
input {
    font-family: inherit;
}


/* =======================================================
   PAGE
======================================================= */

.newLoginPage {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #ffffff;
}


/* =======================================================
   MAIN
======================================================= */

.newLoginMain {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px 40px;
    background: url("images/login-bg.jpg");
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    height: 100%;
}


/* =======================================================
   COMMON CONTAINER
======================================================= */

.newLoginHeader,
.newLoginContent,
.newLoginFooter {
    width: 100%;
    max-width: 1920px;
    margin-inline: auto;
}


/* =======================================================
   HEADER
======================================================= */

.newLoginHeader {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 20px;
}


/* =======================================================
   CONTENT LAYOUT
======================================================= */

.newLoginContent {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    width: 100%;
    max-width: 1600px;
    min-height: 0;
}


/* =======================================================
   HERO
======================================================= */

.newLoginHero {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-self: stretch;
}

.newLoginHeroTop {
    flex-shrink: 0;
}

.newLoginHeroBottom {
    margin-top: auto;
    flex-shrink: 0;
}


/* Hero spacing */

.newLoginBrandSection {
    margin-bottom: 28px;
}

.newLoginHeroHeading {
    margin-top: 30px;
}

.newLoginFeatureRow {
    margin-top: 35px;
}

.newLoginStatsBanner {
    margin-top: 60px;
}

.newLoginBottomMessage {
    margin-top: 18px;
}


/* =======================================================
   LOGIN CARD
======================================================= */

.newLoginCard {
    flex: 0 0 540px;
    width: 100%;
    max-width: 540px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    align-self: center;
    display: flex;
    flex-direction: column;
    padding: 28px 40px;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(10px);
    border-radius: 22px;
    box-shadow: 0 12px 40px rgba(2,43,94,.10);
}


/* =======================================================
   HEADER
======================================================= */

.newLoginHeader {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 20px;
}

.newLoginHeaderActions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.newLoginGovtLogo img {
    height: 78px;
    width: auto;
}

.newLoginDigitalIndia {
    height: 70px;
    width: auto;
}


/* ==========================================
   LANGUAGE BUTTON
========================================== */

.newLoginLanguageBtn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 30px;
    background: rgba(255,255,255,.18);
    color: #43474F;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background .25s ease, border-color .25s ease;
}

    .newLoginLanguageBtn:hover {
        background: rgba(255,255,255,.30);
        border-color: rgba(255,255,255,.70);
    }

    .newLoginLanguageBtn i {
        font-size: 13px;
    }


/* =======================================================
   CONTENT
======================================================= */

.newLoginContent {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 72px;
    max-width: 1600px;
    margin: 0 auto;
    padding-top: 10px;
}

/* =========================
   LEFT HERO
========================= */

.newLoginHero {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-self: flex-start;
    min-height: calc(100vh - 150px);
}

.newLoginHeroTop {
    width: 100%;
}

.newLoginHeroBottom {
    margin-top: auto;
}

.newLoginBrandSection {
    margin-bottom: 28px;
}

.newLoginHeroHeading {
    margin-top: 30px;
}

.newLoginFeatureRow {
    margin-top: 35px;
}

.newLoginStatsBanner {
    margin-top: 60px;
}

.newLoginBottomMessage {
    margin-top: 20px;
}

/* =========================
   RIGHT LOGIN CARD
========================= */

.newLoginCard {
    flex: 0 0 540px;
    width: 540px;
    max-width: 100%;
    align-self: center;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}


/* =======================================================
   HERO SECTION
======================================================= */

.newLoginHero {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-self: flex-start;
    height: 100%;
}

.newLoginHeroTop {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.newLoginHeroBottom {
    margin-top: auto;
    flex-shrink: 0;
}


/* ---------- spacing ---------- */

.newLoginBrandSection {
    margin-bottom: 28px;
}

.newLoginHeroHeading {
    margin-top: 30px;
}

.newLoginFeatureRow {
    margin-top: 35px;
}

.newLoginStatsBanner {
    margin-top: 60px;
}

.newLoginBottomMessage {
    margin-top: 18px;
}


/* Never allow shrinking */

.newLoginBrandSection,
.newLoginHeroHeading,
.newLoginFeatureRow,
.newLoginStatsBanner,
.newLoginBottomMessage {
    flex-shrink: 0;
}


/* =====================================================
   LOGIN CARD
===================================================== */

.newLoginCard {
    /* Layout */
    flex: 0 0 540px;
    width: 100%;
    max-width: 540px;
    align-self: center;
    display: flex;
    flex-direction: column;
    /* Appearance */
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(8px);
    border-radius: 22px;
    padding: 28px 40px;
    box-shadow: 0 12px 40px rgba(2,43,94,.10);
    /* Behaviour */
    height: auto;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    overflow-x: hidden;
    flex-shrink: 0;
}



/* =======================================================
   BRAND SECTION
======================================================= */

.newLoginBrandRow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.newLoginBrandLogo {
    height: clamp(70px, 8vw, 110px);
    width: auto;
}

.newLoginBrandTitle {
    margin: 0;
    font-size: clamp(34px, 4vw, 72px);
    font-weight: 800;
    line-height: 1;
}

    .newLoginBrandTitle span {
        margin: 0 !important;
    }

    .newLoginBrandTitle .bharat {
        color: #022B5E;
    }

    .newLoginBrandTitle .shram {
        color: #E45D24;
    }

    .newLoginBrandTitle .setu {
        color: #14843C;
    }


/* ===================================
   TAGLINE
=================================== */

.newLoginTagline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 12px;
}

    .newLoginTagline span {
        width: 60px;
        height: 2px;
        background: #666;
    }

    .newLoginTagline p {
        margin: 0;
        color: #022B5E;
        font-size: 20px;
        font-weight: 500;
    }


/* ===================================
   HERO HEADING
=================================== */

.newLoginHeroHeading {
    text-align: center;
}

    .newLoginHeroHeading h2 {
        max-width: 820px;
        margin: auto;
        font-size: clamp(15px, 1.2vw, 22px);
        line-height: 1.5;
        font-weight: 500;
        color: #000;
    }


/* =======================================================
   HERO FEATURES
======================================================= */

.newLoginFeatureRow {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 28px;
    margin-top: 40px;
}

.newLoginFeatureBox {
    width: 145px;
    text-align: center;
    flex-shrink: 0;
}

    .newLoginFeatureBox img {
        width: auto;
        height: 42px;
        margin: 0 auto 16px;
    }

    .newLoginFeatureBox h4 {
        margin: 0 0 6px;
        font-size: 16px;
        font-weight: 700;
        color: #111827;
    }

    .newLoginFeatureBox p {
        margin: 0;
        font-size: 13px;
        line-height: 1.5;
        color: #022B5E;
    }

.newLoginFeatureDivider {
    width: 1px;
    background: #D6DCE6;
}



/* =======================================================
   STATS BANNER
======================================================= */

.newLoginStatsBanner {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 30px;
    border-radius: 50px;
    background: #022B5E;
    border: 1px solid rgba(255,255,255,.15);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 15px 40px rgba(2,43,94,.18);
}

.newLoginStatsItem {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    color: #fff;
}

.newLoginStatsIcon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.25);
    flex-shrink: 0;
}

    .newLoginStatsIcon img {
        width: 24px;
        height: 24px;
    }

.newLoginStatsContent h4 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
}

.newLoginStatsContent p {
    margin: 5px 0 0;
    font-size: 12px;
    opacity: .9;
}

.newLoginStatsDivider {
    width: 1px;
    height: 44px;
    background: rgba(255,255,255,.20);
}



/* =======================================================
   BOTTOM MESSAGE
======================================================= */

.newLoginBottomMessage {
    margin-top: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
}

    .newLoginBottomMessage p {
        margin: 0;
        color: #ffffff;
        font-size: 16px;
        font-weight: 500;
    }

.newLoginTriLine {
    width: 110px;
    height: 3px;
    border-radius: 50px;
    background: linear-gradient( to right, #E45D24 0%, #E45D24 33%, #022B5E 33%, #022B5E 66%, #14843C 66%, #14843C 100% );
}

/* ===================================
   FEATURES
=================================== */

.newLoginFeatureRow {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
}

.newLoginFeatureBox {
    width: 140px;
    text-align: center;
    flex-shrink: 0;
}

    .newLoginFeatureBox img {
        height: 40px;
        margin: 0 auto 14px;
    }

    .newLoginFeatureBox h4 {
        margin: 0 0 2px;
        font-size: 1rem;
        font-weight: 600;
    }

    .newLoginFeatureBox p {
        margin: 2px 0 0;
        font-size: 12px;
        font-weight: 500;
        color: #022E63;
    }

.newLoginFeatureDivider {
    width: 1px;
    height: 88px;
    background: #9a9a9a;
    flex-shrink: 0;
}



/* =======================================================
   STATS BANNER
======================================================= */

.newLoginStatsBanner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 14px 28px;
    min-height: 75px;
    background: #022B5E;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 60px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 12px 30px rgba(2,43,94,.18);
}


.newLoginStatsItem {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    color: #fff;
}


.newLoginStatsIcon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.35);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .newLoginStatsIcon img {
        width: 24px;
        height: 24px;
    }


.newLoginStatsContent {
    min-width: 0;
}

    .newLoginStatsContent h4 {
        margin: 0;
        font-size: 16px;
        font-weight: 600;
        line-height: 1.2;
        white-space: nowrap;
    }

    .newLoginStatsContent p {
        margin: 4px 0 0;
        font-size: 12px;
        opacity: .9;
    }


.newLoginStatsDivider {
    width: 1px;
    height: 42px;
    background: rgba(255,255,255,.18);
    flex-shrink: 0;
}

/* =====================================================
   HEADER
===================================================== */

.newLoginCardHeader {
    text-align: center;
    margin-bottom: 26px;
}

    .newLoginCardHeader h2 {
        margin: 0 0 2px;
        color: #022B5E;
        font-size: 24px;
        font-weight: 600;
    }

    .newLoginCardHeader p {
        margin: 0;
        color: #6B7280;
        font-size: 14px;
    }


/* =====================================================
   ROLE SECTION
===================================================== */

.newLoginRoleSection {
    margin-bottom: 34px;
}

.newLoginRoleLabel {
    display: block;
    margin-bottom: 14px;
    color: #191c1E;
    font-size: 15px;
    /* font-weight: 600;*/
}

.newLoginRoleRow {
    display: flex;
    align-items: center;
    gap: 34px;
    flex-wrap: wrap;
}

.newLoginRole {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #45464D;
    font-size: 14px;
}

    .newLoginRole input {
        display: none;
    }

.newLoginRoleDot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #D9D9D9;
}

.newLoginRole.active .newLoginRoleDot {
    background: #022B5E;
}




/* =====================================================
   FORM
===================================================== */

.newLoginField {
    margin-bottom: 20px;
}

    .newLoginField label {
        display: block;
        margin-bottom: 10px;
        color: #191C1E;
        font-size: 14px;
        font-weight: 500;
    }


/* ===========================
   LABEL ROW
=========================== */

.newLoginLabelRow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

    .newLoginLabelRow label {
        margin: 0;
    }


/* ===========================
   INPUT
=========================== */

.newLoginField input {
    width: 100%;
    height: 42px;
    padding: 0 18px;
    border: 1px solid #6B7280;
    border-radius: 8px;
    background: #fff;
    outline: none;
    font-size: 16px;
    transition: border-color .25s, box-shadow .25s;
}

    .newLoginField input::placeholder {
        color: #6B7280;
    }

    .newLoginField input:focus {
        border-color: #022B5E;
        box-shadow: 0 0 0 3px rgba(2,43,94,.08);
    }


/* ===========================
   INPUT WITH BUTTON
=========================== */

.newLoginInputWithAction {
    position: relative;
}

    .newLoginInputWithAction input {
        width: 100%;
        padding-right: 48px;
    }


/* ===========================
   PASSWORD TOGGLE
=========================== */

.newPasswordToggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    color: #6B7280;
    font-size: 18px;
}


/* =====================================================
   BUTTONS
===================================================== */

.newLoginPrimaryBtn {
    width: 100%;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    border-radius: 8px;
    background: #022B5E;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background .25s, transform .2s;
}

    .newLoginPrimaryBtn:hover {
        background: #033D84;
    }

    .newLoginPrimaryBtn:active {
        transform: scale(.98);
    }


/* =====================================================
   INLINE LINKS
===================================================== */

.newLoginInlineLink,
.newLoginInlineResendOTPLink {
    font-size: 13px;
    font-weight: 500;
    color: #AF0000;
    text-decoration: none;
    transition: color .25s;
}

    .newLoginInlineLink:hover,
    .newLoginInlineResendOTPLink:hover {
        text-decoration: underline;
    }


/* =====================================================
   BACK BUTTON
===================================================== */

.newLoginBackBtn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 0;
    border: none;
    background: transparent;
    color: #022B5E;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: color .25s;
}

    .newLoginBackBtn i {
        font-size: 13px;
    }

    .newLoginBackBtn:hover {
        color: #E45D24;
    }


/* =====================================================
   CONTINUE WITH
===================================================== */

.newLoginContinueWith {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 30px 0 20px;
}

    .newLoginContinueWith .line {
        flex: 1;
        height: 1px;
        background: #D1D5DB;
    }

    .newLoginContinueWith p {
        margin: 0;
        color: #4B5563;
        font-size: 12px;
        letter-spacing: 1px;
        white-space: nowrap;
    }


/* =====================================================
   LOGIN METHOD GRID
===================================================== */

.newLoginMethodGrid {
    display: none;
    grid-template-columns: repeat(2,1fr);
    gap: 18px;
}

    .newLoginMethodGrid.active {
        display: grid;
    }

.newLoginMethodCard {
    height: 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid #D6DCE6;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: border-color .25s, transform .2s;
}

    .newLoginMethodCard:hover {
        border-color: #022B5E;
        transform: translateY(-2px);
    }

    .newLoginMethodCard img {
        height: 16px;
    }

    .newLoginMethodCard span {
        font-size: 14px;
        font-weight: 500;
        color: #43474F;
    }


/* =====================================================
   REGISTER TEXT
===================================================== */

.newLoginRegister {
    margin-top: 28px;
    text-align: center;
    font-size: 14px;
    color: #4B5563;
}

    .newLoginRegister a {
        color: #022B5E;
        font-weight: 600;
        text-decoration: none;
    }


/* =====================================================
   STORE BUTTONS
===================================================== */

.newLoginStoreButtons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 28px;
    flex-wrap: wrap;
}

    .newLoginStoreButtons img {
        height: 48px;
        width: auto;
    }


/* =====================================================
   VIEW HELPERS
===================================================== */

.newLoginView {
    display: none;
}

    .newLoginView.active {
        display: block;
    }



/* =====================================================
   AUTHENTICATION FLOWS
===================================================== */

/* ==========================
   FLOW VISIBILITY
========================== */

#newRegisterFlow,
#forgotMpinFlow,
#forgotPasswordFlow {
    display: none;
}

    #newRegisterFlow.active,
    #forgotMpinFlow.active,
    #forgotPasswordFlow.active {
        display: block;
    }

.newRegisterFlow,
.newRegisterStep,
.newForgotPasswordStep {
    display: none;
}

    .newRegisterFlow.active,
    .newRegisterStep.active,
    .newForgotPasswordStep.active {
        display: block;
    }


/* ==========================
   REGISTER HEADING
========================== */

.newRegisterHeading {
    text-align: center;
    margin-bottom: 28px;
}

    .newRegisterHeading h3 {
        margin: 0 0 10px;
        font-size: 40px;
        font-weight: 700;
        color: #022B5E;
    }

    .newRegisterHeading p {
        margin: 0;
        font-size: 18px;
        line-height: 1.6;
        color: #70798B;
    }


/* ==========================
   WHATSAPP BUTTON
========================== */

.newRegisterWhatsappBtn {
    width: 100%;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
    border: 1px solid #C9CDD5;
    border-radius: 8px;
    background: #fff;
    color: #022B5E;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: .25s;
}

    .newRegisterWhatsappBtn:hover {
        border-color: #022B5E;
    }

    .newRegisterWhatsappBtn i {
        font-size: 20px;
    }


/* ==========================
   REGISTER FOOTER TEXT
========================== */

.newRegisterBottomText,
.newRegisterTerms {
    margin-top: 28px;
    text-align: center;
    font-size: 14px;
    line-height: 1.7;
    color: #555;
}

    .newRegisterBottomText a,
    .newRegisterTerms a {
        color: #022B5E;
        font-weight: 600;
        text-decoration: none;
    }


/* ==========================
   PROFILE OPTIONS
========================== */

.newProfileOptionCard {
    margin-bottom: 22px;
    padding: 16px;
    border: 1px solid #DCE2EA;
    border-radius: 14px;
    transition: .25s;
}

    .newProfileOptionCard:hover {
        border-color: #022B5E;
    }

    .newProfileOptionCard h4 {
        margin: 0 0 10px;
        font-size: 16px;
        font-weight: 600;
        color: #022B5E;
    }

    .newProfileOptionCard p {
        margin: 0 0 18px;
        font-size: 14px;
        line-height: 1.5;
        color: #4F5563;
    }

.newProfileOptionBtn {
    padding: 0;
    border: none;
    background: transparent;
    color: #022B5E;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

    .newProfileOptionBtn i {
        margin-left: 8px;
    }


/* ==========================
   OTP
========================== */

.newOtpContainer {
    margin-bottom: 24px;
}

    .newOtpContainer label {
        display: block;
        margin-bottom: 10px;
        font-size: 14px;
        font-weight: 500;
    }

.newOtpBoxes {
    display: flex;
    gap: 16px;
}

    .newOtpBoxes input {
        width: 50px;
        height: 50px;
        border: 1px solid #0A3570;
        border-radius: 6px;
        text-align: center;
        font-size: 20px;
    }


/* ==========================
   FLOW SPECIFIC OVERRIDES
========================== */

#forgotMpinFlow .newLoginField {
    margin-bottom: 28px;
}

#forgotMpinFlow .newLoginPrimaryBtn {
    margin-top: 10px;
}

#forgotMpinFlow .newRegisterStep {
    padding-top: 12px;
}

/* =======================================================
   FOOTER
======================================================= */

.newLoginFooter {
    width: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 40px;
    background: #fff;
    border-top: 1px solid #E5E7EB;
}

.newLoginFooterLeft {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.newLoginFooterItem {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .newLoginFooterItem img {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }

    .newLoginFooterItem span {
        color: #475569;
        font-size: 12px;
        font-weight: 600;
        white-space: nowrap;
    }

.newLoginFooterRight {
    color: #64748B;
    font-size: 11px;
    font-weight: 600;
    text-align: right;
}

/* =======================================================
   LOGIN METHOD CARDS
======================================================= */

.newLoginContinueWith {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 30px 0 22px;
}

    .newLoginContinueWith .line {
        flex: 1;
        height: 1px;
        background: #D8DEE8;
    }

    .newLoginContinueWith p {
        margin: 0;
        color: #64748B;
        font-size: 12px;
        font-weight: 500;
        letter-spacing: .5px;
        white-space: nowrap;
    }

.newLoginMethodGrid {
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

    .newLoginMethodGrid.active {
        display: grid;
    }

.newLoginMethodCard {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    min-height: 72px;
    border: 1px solid #D9E0EA;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: border-color .25s ease, transform .2s ease, box-shadow .25s ease;
}

    .newLoginMethodCard:hover {
        border-color: #022B5E;
        box-shadow: 0 8px 18px rgba(2,43,94,.08);
        transform: translateY(-2px);
    }

    .newLoginMethodCard img {
        height: 18px;
        width: auto;
    }

    .newLoginMethodCard span {
        font-size: 14px;
        font-weight: 500;
        color: #43474F;
    }


/* =======================================================
   VIEW STATES & UTILITY CLASSES
======================================================= */

/* ---------- View Switching ---------- */

.newLoginView,
.newRegisterFlow,
.newRegisterStep,
.newForgotPasswordStep {
    display: none;
}

    .newLoginView.active,
    .newRegisterFlow.active,
    .newRegisterStep.active,
    .newForgotPasswordStep.active {
        display: block;
    }

#newRegisterFlow,
#forgotMpinFlow,
#forgotPasswordFlow {
    display: none;
}

    #newRegisterFlow.active,
    #forgotMpinFlow.active,
    #forgotPasswordFlow.active {
        display: block;
    }


/* ---------- Inline Links ---------- */

.newLoginInlineLink,
.newLoginInlineResendOTPLink {
    font-size: 13px;
    font-weight: 500;
    color: #AF0000;
    text-decoration: none;
    transition: color .25s ease;
}

    .newLoginInlineLink:hover,
    .newLoginInlineResendOTPLink:hover {
        color: #8B0000;
        text-decoration: underline;
    }


/* ---------- Back Button ---------- */

.newLoginBackBtn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 0;
    border: none;
    background: transparent;
    color: #022B5E;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: color .25s ease;
}

    .newLoginBackBtn i {
        font-size: 13px;
    }

    .newLoginBackBtn:hover {
        color: #E45D24;
    }


/* ---------- Input Utilities ---------- */

.newLoginInputWithAction {
    position: relative;
}

    .newLoginInputWithAction input {
        width: 100%;
    }

.newLoginInlineResendOTPLink {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
}


/* ---------- Shrink Protection ---------- */

.newLoginBrandSection,
.newLoginHeroHeading,
.newLoginFeatureRow,
.newLoginStatsBanner,
.newLoginBottomMessage {
    flex-shrink: 0;
}




/* =======================================================
   REGISTER FLOW
======================================================= */

/* ---------- Register Heading ---------- */

.newRegisterHeading {
    text-align: center;
    margin-bottom: 28px;
}

    .newRegisterHeading h3 {
        margin: 0 0 10px;
        font-size: 40px;
        font-weight: 700;
        color: #022B5E;
        line-height: 1.2;
    }

    .newRegisterHeading p {
        margin: 0;
        font-size: 18px;
        color: #70798B;
        line-height: 1.6;
    }


/* ---------- WhatsApp Button ---------- */

.newRegisterWhatsappBtn {
    width: 100%;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
    border: 1px solid #C9CDD5;
    border-radius: 8px;
    background: #fff;
    color: #022B5E;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: border-color .25s ease, background .25s ease;
}

    .newRegisterWhatsappBtn:hover {
        border-color: #022B5E;
        background: #F8FAFC;
    }

    .newRegisterWhatsappBtn i {
        font-size: 20px;
    }


/* ---------- Bottom Text ---------- */

.newRegisterBottomText {
    margin-top: 28px;
    text-align: center;
    color: #555;
    font-size: 14px;
}

    .newRegisterBottomText a {
        color: #022B5E;
        font-weight: 600;
        text-decoration: none;
    }

        .newRegisterBottomText a:hover {
            text-decoration: underline;
        }


/* ---------- Terms ---------- */

.newRegisterTerms {
    margin-top: 28px;
    text-align: center;
    color: #555;
    font-size: 14px;
    line-height: 1.7;
}

    .newRegisterTerms a {
        color: #022B5E;
        font-weight: 600;
        text-decoration: none;
    }

        .newRegisterTerms a:hover {
            text-decoration: underline;
        }


/* ---------- Password / MPIN ---------- */

.newRegisterPasswordField {
    position: relative;
}

    .newRegisterPasswordField input {
        padding-right: 52px;
    }


/* ---------- Profile Selection Cards ---------- */

.newProfileOptionCard {
    margin-bottom: 22px;
    padding: 18px;
    border: 1px solid #DCE2EA;
    border-radius: 14px;
    background: #fff;
    transition: border-color .25s ease, box-shadow .25s ease;
}

    .newProfileOptionCard:hover {
        border-color: #022B5E;
        box-shadow: 0 8px 20px rgba(2,43,94,.06);
    }

    .newProfileOptionCard h4 {
        margin: 0 0 10px;
        color: #022B5E;
        font-size: 16px;
        font-weight: 600;
    }

    .newProfileOptionCard p {
        margin: 0 0 18px;
        color: #4F5563;
        font-size: 14px;
        line-height: 1.5;
    }

.newProfileOptionBtn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: none;
    background: transparent;
    color: #022B5E;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: color .25s ease;
}

    .newProfileOptionBtn:hover {
        color: #E45D24;
    }


/* =======================================================
   FORGOT PASSWORD / OTP FLOW
======================================================= */

/* ---------- Forgot Password Flow ---------- */

#forgotMpinFlow .newLoginField {
    margin-bottom: 28px;
}

#forgotMpinFlow .newLoginPrimaryBtn {
    margin-top: 10px;
}

#forgotMpinFlow .newRegisterStep {
    padding-top: 12px;
}


/* ---------- OTP Container ---------- */

.newOtpContainer {
    margin-bottom: 24px;
}

    .newOtpContainer label {
        display: block;
        margin-bottom: 10px;
        color: #191C1E;
        font-size: 14px;
        font-weight: 500;
    }


/* ---------- OTP Boxes ---------- */

.newOtpBoxes {
    display: flex;
    justify-content: center;
    gap: 16px;
}

    .newOtpBoxes input {
        width: 50px;
        height: 50px;
        border: 1px solid #0A3570;
        border-radius: 8px;
        text-align: center;
        font-size: 20px;
        font-weight: 600;
        outline: none;
        transition: border-color .25s ease, box-shadow .25s ease;
    }

        .newOtpBoxes input:focus {
            border-color: #022B5E;
            box-shadow: 0 0 0 3px rgba(2,43,94,.12);
        }


/* ---------- OTP Responsive ---------- */

@media (max-width:768px) {

    .newOtpBoxes {
        gap: 10px;
    }

        .newOtpBoxes input {
            width: 46px;
            height: 54px;
            font-size: 18px;
        }
}


/* =======================================================
   RESPONSIVE
======================================================= */


/* =======================================================
   LARGE LAPTOPS
   1200px - 1439px
======================================================= */

@media (max-width:1600px) {

    .newLoginMain {
        padding: 24px 28px;
    }

    .newLoginContent {
        gap: 48px;
    }

    .newLoginBrandLogo {
        height: 82px;
    }

    .newLoginBrandTitle {
        font-size: 52px;
    }

    .newLoginHeroHeading {
        margin-top: 20px;
    }

        .newLoginHeroHeading h2 {
            font-size: 18px;
        }

    .newLoginFeatureRow {
        margin-top: 32px;
        gap: 22px;
    }

    .newLoginFeatureBox {
        width: 125px;
    }

        .newLoginFeatureBox img {
            height: 38px;
        }

    .newLoginStatsBanner {
        padding: 14px 24px;
    }

    .newLoginCard {
        max-width: 500px;
    }
}

@media (max-width:1366px) {
    .newLoginStatsBanner {
        /*margin-top: 45px;*/
        min-height: 65px;
        padding: 10px 12px;
    }

    .newLoginStatsIcon {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
        border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, .35);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .newLoginStatsContent h4 {
        margin: 0;
        font-size: 15px;
        font-weight: 600;
        line-height: 1.2;
        white-space: nowrap;
    }
}

    /* =======================================================
   1251PX
======================================================= */

    @media (max-width:1251px) {

        .newLoginMain {
            padding: 10px 24px 0;
        }

        .newLoginContent {
            gap: 30px;
        }

        .newLoginCard {
            flex: 0 0 460px;
            max-width: 460px;
        }

        .newLoginBrandLogo {
            height: 80px;
        }

        .newLoginBrandTitle {
            font-size: 42px;
        }

        .newLoginTagline p {
            font-size: 16px;
        }

        .newLoginHeroHeading {
            margin-top: 16px;
        }

            .newLoginHeroHeading h2 {
                font-size: 16px;
            }

        .newLoginFeatureRow {
            margin-top: 28px;
        }

        .newLoginFeatureBox img {
            height: 40px;
        }

        .newLoginFeatureDivider {
            height: 90px;
        }

        .newLoginStatsBanner {
            /*margin-top: 45px;*/
            min-height: 65px;
            padding: 8px 12px;
        }

        .newLoginStatsIcon {
            width: 40px;
            height: 40px;
            flex-shrink: 0;
            border-radius: 50%;
            border: 1px solid rgba(255, 255, 255, .35);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .newLoginStatsContent h4 {
            margin: 0;
            font-size: 15px;
            font-weight: 600;
            line-height: 1.2;
            white-space: nowrap;
        }

        .newLoginStatsContent p {
            margin: 4px 0 0;
            font-size: 11px;
            opacity: .9;
        }

        .newLoginBottomMessage {
            margin-top: 14px;
        }

            .newLoginBottomMessage p {
                margin: 0;
                color: #ffffff;
                font-size: 14px;
                font-weight: 500;
            }

        .newLoginCard {
            padding: 24px;
        }
    }



    /* =======================================================
   LAPTOP 1199px
======================================================= */

    @media (max-width:1199px) {

        .newLoginMain {
            padding: 22px;
        }

        .newLoginContent {
            gap: 32px;
        }

        .newLoginHero {
            flex: 1;
        }

        .newLoginCard {
            flex: 0 0 440px;
            max-width: 440px;
        }

        .newLoginBrandLogo {
            height: 72px;
        }

        .newLoginBrandTitle {
            font-size: 44px;
        }

        .newLoginTagline p {
            font-size: 15px;
        }

        .newLoginHeroHeading h2 {
            font-size: 16px;
        }

        .newLoginFeatureRow {
            gap: 18px;
        }

        .newLoginFeatureBox {
            width: 105px;
        }

            .newLoginFeatureBox img {
                height: 30px;
                margin: 0 auto 10px;
            }

            .newLoginFeatureBox h4 {
                font-size: 14px;
            }

            .newLoginFeatureBox p {
                font-size: 11px;
            }

        .newLoginStatsBanner {
            padding: 6px 8px;
        }

        .newLoginStatsItem {
            flex: 1;
            display: flex;
            align-items: center;
            gap: 8px;
            min-width: 0;
            color: #fff;
        }
    }


    @media (max-width:1100px) {
        .newLoginHeroHeading h2 {
            font-size: 14px;
        }

        .newLoginStatsIcon {
            width: 30px;
            height: 30px;
        }

            .newLoginStatsIcon img {
                width: 14px;
                height: 14px;
            }

        .newLoginStatsItem {
            gap: 5px;
        }

        .newLoginStatsContent h4 {
            font-size: 13px;
        }

        .newLoginStatsContent p {
            display: none;
        }

        .newLoginTriLine {
            width: 70px;
        }

        .newLoginBottomMessage p {
            font-size: 13px;
        }
    }


    /* =======================================================
   TABLET (768px - 991px)
=======================================================*/

    @media (min-width:768px) and (max-width:991px) and (orientation:portrait) {

        .newLoginMain {
            padding: 24px;
            overflow: auto;
            background-position: left bottom;
        }

        .newLoginContent {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            gap: 32px;
            max-width: 760px;
            margin: 0 auto;
        }

        /* HERO */

        .newLoginHero {
            width: 100%;
            max-width: 760px;
            flex: none;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            text-align: center;
        }

        .newLoginHero {
            height: auto;
            min-height: 0;
        }

        .newLoginHeroTop {
            width: 100%;
        }

        .newLoginBrandRow {
            justify-content: center;
        }

        .newLoginBrandLogo {
            height: 72px;
        }

        .newLoginBrandTitle {
            font-size: 42px;
        }

        .newLoginTagline {
            margin-top: 10px;
        }

            .newLoginTagline p {
                font-size: 16px;
            }

        .newLoginHeroHeading {
            margin-top: 18px;
        }

            .newLoginHeroHeading h2 {
                font-size: 16px;
                line-height: 1.6;
                max-width: 700px;
                margin: auto;
            }

        /* Hide extra marketing */

        .newLoginFeatureRow,
        .newLoginHeroBottom {
            display: none;
        }

        /* CARD */

        .newLoginCard {
            width: 100%;
            max-width: 540px;
            flex: none;
            align-self: center;
            max-height: none;
            overflow: visible;
            /*margin-top: auto;*/
            margin-bottom: auto;
        }
    }


    @media (min-width:850px) and (max-width:991px) and (orientation:landscape) {

        .newLoginContent {
            flex-direction: row;
            align-items: flex-start;
            justify-content: space-between;
            gap: 24px;
        }

        .newLoginHero {
            flex: 1;
            max-width: none;
            text-align: left;
            align-items: flex-start;
        }

        .newLoginBrandTitle {
            font-size: 40px;
        }

        .newLoginHeroTop {
            width: 100%;
        }

        .newLoginBrandRow {
            justify-content: flex-start;
        }

        .newLoginFeatureRow {
            display: flex;
        }

        .newLoginFeatureRow {
            gap: 10px;
        }

        .newLoginHeroBottom {
            display: none;
        }

        .newLoginCard {
            flex: 0 0 420px;
            max-width: 420px;
            margin: 0;
        }
    }


    /* =======================================================
   MOBILE
=======================================================*/

    @media (max-width:767px) {

        .newLoginMain {
            padding: 18px;
        }

        .newLoginContent {
            gap: 24px;
        }

        .newLoginBrandLogo {
            height: 60px;
        }

        .newLoginBrandTitle {
            font-size: 34px;
        }

        .newLoginTagline span {
            display: none;
        }

        .newLoginTagline p {
            font-size: 14px;
        }

        .newLoginHeroHeading {
            margin-top: 16px;
        }

            .newLoginHeroHeading h2 {
                font-size: 15px;
            }

        .newLoginCard {
            width: 100%;
            padding: 24px 20px;
            border-radius: 18px;
        }

        .newLoginCardHeader {
            margin-bottom: 22px;
        }

        .newLoginMethodGrid {
            grid-template-columns: 1fr;
        }

        .newLoginStoreButtons {
            flex-wrap: wrap;
            justify-content: center;
            gap: 12px;
        }

            .newLoginStoreButtons img {
                height: 42px;
            }

        .newLoginFooter {
            display: none;
        }
    }


    /* =======================================================
   SMALL MOBILE
=======================================================*/

    @media (max-width:480px) {

        .newLoginMain {
            padding: 16px 12px;
        }

        .newLoginBrandLogo {
            height: 54px;
        }

        .newLoginBrandTitle {
            font-size: 28px;
        }

        .newLoginHeroHeading h2 {
            font-size: 14px;
        }

        .newLoginCard {
            padding: 18px;
        }

        .newLoginCardHeader h2 {
            font-size: 22px;
        }
    }