﻿/* =======================================================
   ROOT
======================================================= */

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.newLoginPage {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #ffffff;
    font-family: "Inter", sans-serif;
}

.newLoginMain {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-image: url("images/login-bg.jpg");
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 20px 40px;
}

.newLoginMain,
.newLoginFooter {
    width: 100%;
}

.newLoginContent,
.newLoginHeader,
.newLoginFooter {
    max-width: 1920px;
    margin: 0 auto;
}

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    display: block;
}

button,
input {
    font-family: inherit;
}


/* =======================================================
   HEADER
======================================================= */

.newLoginHeader {
    display: flex;
    justify-content: end;
    align-items: center;
    margin-bottom: 20px;
}

.newLoginGovtLogo img {
    height: 78px;
    width: auto;
}

.newLoginHeaderActions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.newLoginLanguageBtn {
    border: 1px solid rgba(255,255,255,.5);
    background: rgba(255,255,255,.18);
    color: #43474F;
    border-radius: 30px;
    padding: 5px 10px;
    font-size: 12px;
    cursor: pointer;
    transition: .3s;
}

    .newLoginLanguageBtn:hover {
        background: rgba(255,255,255,.28);
    }

    .newLoginLanguageBtn i {
        margin-right: 6px;
    }

.newLoginDigitalIndia {
    height: 70px;
    width: auto;
}

/* =======================================================
   CONTENT
======================================================= */

.newLoginContent {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 80px;
    max-width: 1600px;
    margin: auto;
    width: 100%;
}

.newLoginHero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 0;
}


/* =======================================================
   BRAND
======================================================= */

.newLoginBrandRow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.newLoginBrandLogo {
    height: clamp(70px,8vw,110px);
}

.newLoginBrandTitle {
    margin: 0;
    /*font-size: 72px;*/
    font-weight: 800;
    line-height: 1;
}

.newLoginBrandTitle {
    font-size: clamp(34px,4vw,72px);
}

.newLoginHeroHeading h2 {
    font-size: clamp(15px,1.2vw,22px);
}

    .newLoginBrandTitle span{
        margin: 0 !important;
    }

    .newLoginBrandTitle .bharat {
        color: #022B5E;
    }

    .newLoginBrandTitle .shram {
        color: #E45D24;
    }

    .newLoginBrandTitle .setu {
        color: #14843C;
    }

.newLoginTagline {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
    margin-top: 12px;
}

    .newLoginTagline span {
        width: 60px;
        height: 2px;
        background: #666;
    }

    .newLoginTagline p {
        margin: 0;
        color: #022B5E;
        font-size: 20px;
        font-weight: 500;
    }

.newLoginHeroHeading {
    text-align: center;
    margin-top: 40px;
}

    .newLoginHeroHeading h2 {
        max-width: 820px;
        margin: auto;
        /*font-size: 18px;*/
        font-weight: 500;
        color: #000;
    }

.newLoginFeatureRow {
    margin-top: 35px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.newLoginFeatureBox h4{
    font-size : 1rem;
    font-weight : 600;
    margin-bottom :2px;
    margin-top:0;
}

.newLoginFeatureBox p {
    font-size: 12px;
    font-weight: 500;
    margin-top: 2px;
    margin-bottom: 0px;
    color: #022E63;
}

.newLoginFeatureBox {
    width: 140px;
    text-align: center;
}

    .newLoginFeatureBox img {
        height: 40px;
        margin: auto;
        margin-bottom: 14px;
    }

.newLoginFeatureDivider {
    width: 1px;
    height: 88px;
    background: #9a9a9a;
}


/* =======================================================
   STATS CARD
======================================================= */

.newLoginStatsBanner {
    /*margin-top: 180px;*/
    background: #022B5E;
    border-radius: 60px;
    min-height: 75px;
    gap: 6px;
    padding: 14px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(255,255,255,.15);
    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;
    color: #fff;
}

.newLoginStatsIcon {
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .newLoginStatsIcon img {
        width: 24px;
        height: 24px;
    }

.newLoginStatsContent h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.1;
    text-wrap-mode: nowrap;
}

.newLoginStatsContent p {
    margin: 4px 0 0;
    font-size: 12px;
    opacity: .9;
}

.newLoginStatsDivider {
    width: 1px;
    height: 42px;
    background: rgba(255,255,255,.18);
}

/* =======================================================
   BOTTOM TAGLINE
======================================================= */

.newLoginBottomMessage {
    margin-top: 26px;
    display: flex;
    align-items: center;
    justify-content: 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% );
}

/* =====================================================
   LOGIN CARD
===================================================== */

.newLoginCard {
    width: 100%;
    max-width: 540px;
    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);
    /*min-height: 760px;*/
    height : auto;
    display: flex;
    flex-direction: column;
}

.newLoginCard {
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}


/* =====================================================
   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;
    }

    .newLoginField input {
        width: 100%;
        height: 42px;
        border: 1px solid #6B7280;
        border-radius: 8px;
        padding: 0 18px;
        font-size: 16px;
        outline: none;
    }

        .newLoginField input::placeholder {
            color: #6B7280;
        }


/* =====================================================
   PRIMARY BUTTON
===================================================== */

.newLoginPrimaryBtn {
    width: 100%;
    height: 42px;
    border: none;
    border-radius: 8px;
    background: #022B5E;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: .3s;
}

    .newLoginPrimaryBtn:hover {
        background: #033d84;
    }


/* =====================================================
   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;
    }


/* =====================================================
   METHOD CARDS
===================================================== */

.newLoginMethodGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.newLoginMethodCard {
    height: 70px;
    border: 1px solid #D6DCE6;
    border-radius: 8px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: .3s;
}

    .newLoginMethodCard:hover {
        border-color: #022B5E;
    }

    .newLoginMethodCard img {
        height: 16px;
    }

    .newLoginMethodCard span {
        color: #43474F;
        font-size: 14px;
        font-weight: 500;
    }


/* =====================================================
   REGISTER
===================================================== */

.newLoginRegister {
    text-align: center;
    margin-top: 28px;
    color: #4B5563;
    font-size: 14px;
}

    .newLoginRegister a {
        color: #022B5E;
        text-decoration: none;
        font-weight: 600;
    }


/* =====================================================
   STORE BUTTONS
===================================================== */

.newLoginStoreButtons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 28px;
}

    .newLoginStoreButtons img {
        height: 48px;
        width: auto;
    }


.newLoginView {
    display: none;
}

    .newLoginView.active {
        display: block;
    }

.newLoginMethodGrid {
    display: none;
}

    .newLoginMethodGrid.active {
        display: grid;
    }

.newLoginInputWithAction {
    position: relative;
}

    .newLoginInputWithAction input {
        width: 100%;
    }

.newLoginInlineLink {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    font-weight: 500;
    color: #AF0000;
    text-decoration: none;
}


/* 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: .3s ease;
}

    .newLoginBackBtn i {
        font-size: 13px;
    }

    .newLoginBackBtn:hover {
        color: #E45D24;
    }



/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width:991px) {

    .newLoginCard {
        max-width: 100%;
        min-height: auto;
    }

}

@media (max-width:575px) {

    .newLoginCard {
        padding: 28px 22px;
    }

    .newLoginRoleRow {
        gap: 18px;
    }

    .newLoginMethodGrid {
        grid-template-columns: 1fr;
    }

    .newLoginStoreButtons {
        flex-direction: column;
        align-items: center;
    }
}


/* =======================================
   REGISTER FLOW
======================================= */

#newRegisterFlow {
    display: none;
}

    #newRegisterFlow.active {
        display: block;
    }

.newRegisterFlow {
    display: none;
}

    .newRegisterFlow.active {
        display: block;
    }

.newRegisterStep {
    display: none;
}

    .newRegisterStep.active {
        display: block;
    }

.newRegisterWhatsappBtn {
    width: 100%;
    height: 45px;
    border: 1px solid #C9CDD5;
    border-radius: 8px;
    background: #fff;
    font-size: 16px;
    font-weight: 500;
    color: #022B5E;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    margin-top: 24px;
}

    .newRegisterWhatsappBtn i {
        font-size: 20px;
    }

.newRegisterBottomText {
    text-align: center;
    margin-top: 28px;
    font-size: 14px;
    color: #555;
}

    .newRegisterBottomText a {
        color: #022B5E;
        font-weight: 600;
        text-decoration: none;
    }

.newRegisterTerms {
    text-align: center;
    margin-top: 28px;
    color: #555;
    line-height: 1.7;
    font-size: 14px;
}

    .newRegisterTerms a {
        color: #022B5E;
        font-weight: 600;
        text-decoration: none;
    }

/* =====================================
   REGISTER HEADING
===================================== */

.newRegisterHeading {
    text-align: center;
    margin-bottom: 28px;
}

    .newRegisterHeading h3 {
        font-size: 40px;
        font-weight: 700;
        color: #022B5E;
        margin-bottom: 10px;
    }

    .newRegisterHeading p {
        font-size: 18px;
        color: #70798B;
        line-height: 1.6;
    }


/* =====================================
   MPIN FIELD
===================================== */

.newRegisterPasswordField {
    position: relative;
}

    .newRegisterPasswordField input {
        padding-right: 60px;
    }

.newPasswordToggle {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    cursor: pointer;
    color: #606060;
    font-size: 18px;
}


/* =====================================
   PROFILE OPTIONS
===================================== */

.newProfileOptionCard {
    border: 1px solid #DCE2EA;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 22px;
    transition: .3s;
}

    .newProfileOptionCard:hover {
        border-color: #022B5E;
    }

    .newProfileOptionCard h4 {
        font-size: 16px;
        font-weight: 600;
        color: #022B5E;
        margin-top:0;
        margin-bottom: 10px;
    }

    .newProfileOptionCard p {
        font-size: 14px;
        line-height: 1.2;
        color: #4F5563;
        margin-top: 0;
        margin-bottom: 18px;
    }

.newProfileOptionBtn {
    border: none;
    background: transparent;
    color: #022B5E;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

    .newProfileOptionBtn i {
        margin-left: 8px;
    }



/* =====================================
   FORGOT MPIN FLOW
===================================== */

#forgotMpinFlow {
    display: none;
}

    #forgotMpinFlow.active {
        display: block;
    }

    #forgotMpinFlow .newLoginField {
        margin-bottom: 28px;
    }

    #forgotMpinFlow .newLoginPrimaryBtn {
        margin-top: 10px;
    }

    #forgotMpinFlow .newRegisterStep {
        padding-top: 12px;
    }


/* ===================================
   FORGOT PASSWORD
=================================== */

#forgotPasswordFlow {
    display: none;
}

    #forgotPasswordFlow.active {
        display: block;
    }

.newForgotPasswordStep {
    display: none;
}

    .newForgotPasswordStep.active {
        display: block;
    }

.newOtpContainer {
    margin-bottom: 24px;
}

    .newOtpContainer label {
        display: block;
        font-size: 14px;
        font-weight: 500;
        margin-bottom: 10px;
    }

.newOtpBoxes {
    display: flex;
    gap: 16px;
}

    .newOtpBoxes input {
        width: 50px;
        height: 50px;
        text-align: center;
        font-size: 20px;
        border: 1px solid #0A3570;
        border-radius: 6px;
    }

@media (max-width:768px) {

    .newOtpBoxes {
        gap: 10px;
    }

        .newOtpBoxes input {
            width: 48px;
            height: 58px;
        }
}


/* =======================================================
   FOOTER
======================================================= */

.newLoginFooter {
    min-height: 50px;
    background: #ffffff;
    border-top: 1px solid #E5E7EB;
    padding: 10px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.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;
    }

    .newLoginFooterItem span {
        font-size: 12px;
        color: #475569;
        font-weight: 600;
    }

.newLoginFooterRight {
    color: #64748B;
    font-size: 11px;
    font-weight: 600;
}


/* =======================================================
   1600PX
======================================================= */

@media (max-width:1600px) {

    .newLoginBrandTitle {
        font-size: 46px;
    }

    .newLoginHeroText h2 {
        font-size: 36px;
    }

    .newLoginCard {
        width: min(520px,100%);
    }
}


/* =======================================================
   1366PX
======================================================= */

@media (max-width:1366px) {

    .newLoginMain {
        padding: 10px 24px 0;
    }

    .newLoginContent {
        gap: 30px;
    }

    .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: 10px 20px;
    }

    .newLoginBottomMessage {
        margin-top: 14px;
    }

    .newLoginCard {
        padding: 24px;
    }
}


/* =======================================================
   1199PX
======================================================= */

@media (max-width:1199px) {

    .newLoginHero {
        width: 52%;
    }

    .newLoginCardWrapper {
        width: 48%;
    }

    .newLoginHeroText h2 {
        font-size: 28px;
    }

    .newLoginFeatures {
        grid-template-columns: 1fr;
    }

    .newLoginHeroBottom {
        display: none;
    }
}


/* =======================================================
   991PX TABLET
======================================================= */

@media (max-width:991px) {

    .newLoginContent {
        flex-direction: row;
        align-items: center;
        gap: 24px;
    }

    .newLoginHero {
        flex: 1;
        min-width: 0;
    }

    .newLoginCard {
        flex: 0 0 520px;
    }

    .newLoginBrandTitle {
        font-size: 34px;
    }

    .newLoginStatsBanner {
        margin-top: 30px;
    }

    .newLoginFooter {
        flex-direction: row;
    }

    .newLoginStatsBanner {
        display: grid;
        grid-template-columns: repeat(2,1fr);
        gap: 16px;
        border-radius: 20px;
        padding: 20px;
    }

    .newLoginStatsDivider {
        display: none;
    }
}


/* =======================================================
   767PX MOBILE
======================================================= */

@media (max-width:767px) {

    .newLoginMain {
        padding: 16px;
    }

    .newLoginHeader {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .newLoginGovtLogo img {
        height: 60px;
    }

    .newLoginDigitalIndia {
        height: 54px;
    }

    .newLoginBrandLogo {
        height: 70px;
    }

    .newLoginBrandTitle {
        font-size: 30px;
    }

    .newLoginBrandSubTitle {
        font-size: 16px;
    }

    .newLoginHeroText h2 {
        font-size: 22px;
    }

    .newLoginCard {
        padding: 24px;
        border-radius: 20px;
    }

    .newLoginCardHeader h3 {
        font-size: 28px;
    }

    .newLoginMethodTabs {
        flex-direction: column;
    }

    .newLoginStatsCard {
        grid-template-columns: 1fr;
    }

    .newLoginBottomTagline {
        flex-direction: column;
    }

        .newLoginBottomTagline span {
            display: none;
        }

    .newLoginFooterLeft {
        justify-content: center;
    }
}


/* =======================================================
   575PX
======================================================= */

@media (max-width:575px) {

    .newLoginRoleSelector {
        gap: 10px;
    }

    .newLoginRole {
        font-size: 14px;
    }

    .newLoginFooterItem {
        width: 100%;
        justify-content: center;
    }

    .newLoginStoreBtns {
        flex-direction: column;
        align-items: center;
    }
}


@media(max-width:991px) {

    .newLoginContent {
        gap: 20px;
    }

    .newLoginCard {
        flex: 0 0 420px;
    }

    .newLoginBrandTitle {
        font-size: 32px;
    }

    .newLoginTagline p {
        font-size: 14px;
    }

    
}


@media(max-width:767px) {

    .newLoginContent {
        flex-direction: column;
        overflow: auto;
    }

    .newLoginHero {
        width: 100%;
    }

    .newLoginCard {
        width: 100%;
        flex: none;
        max-height: none;
    }
}

@media(max-width:767px) {

    .newLoginFooter {
        display: none;
    }
}

.newLoginBrandSection,
.newLoginHeroHeading,
.newLoginStatsBanner,
.newLoginBottomMessage {
    flex-shrink: 0;
}