﻿/* ============================================================
   MRI REGISTRATION & MONITORING SYSTEM
   PUBLIC / OUTER PAGES
   login.css
   ============================================================ */

* {
    box-sizing: border-box;
}

html,
body,
form {
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
}

body {
    min-height: 100vh;
    font-family: "Segoe UI", Arial, sans-serif;
    background: #f3f6fb;
    color: #17233c;
}


/* ============================================================
   PAGE LAYOUT
   ============================================================ */

.login-page {
    width: 100%;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 57.5% 42.5%;
    background: #ffffff;
}


/* ============================================================
   LEFT PANEL
   ============================================================ */

.login-left {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    padding: 55px 6vw;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #ffffff;
    background: linear-gradient( 135deg, #6431ba 0%, #7940c9 48%, #8d52d4 100% );
}

    .login-left::before {
        content: "";
        position: absolute;
        width: 430px;
        height: 430px;
        right: -180px;
        bottom: -210px;
        border-radius: 50%;
        background: rgba(255,255,255,.06);
    }

    .login-left::after {
        content: "";
        position: absolute;
        width: 300px;
        height: 300px;
        right: 50px;
        top: -180px;
        border-radius: 50%;
        background: rgba(255,255,255,.04);
    }

    .login-left > * {
        position: relative;
        z-index: 1;
    }


/* ============================================================
   LEFT BRAND
   ============================================================ */

.left-brand {
    display: flex;
    align-items: center;
    gap: 13px;
}

.brand-logo {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.22);
}

    .brand-logo i {
        font-size: 19px;
    }

.brand-name strong {
    display: block;
    font-size: 16px;
    font-weight: 800;
}

.brand-name span {
    display: block;
    margin-top: 3px;
    color: rgba(255,255,255,.78);
    font-size: 11px;
}


/* ============================================================
   LEFT HERO
   ============================================================ */

.left-content {
    width: 100%;
    max-width: 640px;
}

.left-kicker {
    margin-bottom: 18px;
    color: #e6d8ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.left-content h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(40px, 4vw, 56px);
    line-height: 1.03;
    font-weight: 800;
    letter-spacing: -.8px;
}

.left-content p {
    max-width: 570px;
    margin: 22px 0 0;
    color: rgba(255,255,255,.88);
    font-size: 14px;
    line-height: 1.7;
}


/* ============================================================
   LEFT FEATURES
   ============================================================ */

.left-features {
    width: 100%;
    max-width: 680px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 15px 28px;
}

    .left-features div,
    .feature-item {
        min-width: 0;
        display: flex;
        align-items: center;
        gap: 9px;
        color: rgba(255,255,255,.90);
        font-size: 12px;
    }

        .left-features i,
        .feature-item i {
            width: 20px;
            height: 20px;
            flex: 0 0 20px;
            display: grid;
            place-items: center;
            border-radius: 50%;
            color: #6f36be;
            background: #f0e6ff;
            font-size: 9px;
        }


/* ============================================================
   RIGHT PANEL

   IMPORTANT:
   Both Sign-In and Registration start from SAME TOP POSITION.
   Do NOT vertically center this panel.
   ============================================================ */

.login-right {
    min-height: 100vh;
    padding: 60px clamp(30px, 4vw, 60px) 35px;
    display: flex;
    /* FIX */
    align-items: flex-start;
    justify-content: center;
    background: #ffffff;
    overflow-y: auto;
}


/* ============================================================
   LOGIN CARD / FORM CONTAINER

   No vertical auto margin.
   ============================================================ */

.login-card {
    width: 100%;
    max-width: 500px;
    /* FIX */
    margin: 0 auto;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}


/* ============================================================
   MOBILE BRAND
   Desktop left panel already contains branding.
   ============================================================ */

.mobile-brand {
    display: none;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.mobile-brand-logo,
.mobile-brand-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: #ffffff;
    background: linear-gradient( 135deg, #7136c4, #9254d8 );
}

.mobile-brand strong {
    display: block;
    color: #1f2937;
    font-size: 14px;
    font-weight: 800;
}

.mobile-brand small {
    display: block;
    margin-top: 2px;
    color: #7b8492;
    font-size: 10px;
}


/* ============================================================
   SIGN-IN / REGISTRATION TABS
   ============================================================ */

.login-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin: 0 0 25px 0;
    padding: 5px;
    border-radius: 11px;
    background: #f3eef9;
}

.login-tab {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #725c8e;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all .18s ease;
}

    .login-tab i {
        margin-right: 6px;
    }

    .login-tab:hover {
        color: #6530b7;
        background: rgba(255,255,255,.55);
    }

    .login-tab.active {
        color: #ffffff;
        background: linear-gradient( 135deg, #6e32bf, #8950d1 );
        box-shadow: 0 7px 16px rgba(116,56,200,.20);
    }


/* ============================================================
   TAB PANELS

   Both panels have ZERO top margin.
   ============================================================ */

.tab-panel {
    display: none;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

    .tab-panel.active {
        display: block;
    }


/* ============================================================
   FORM HEADING

   SAME HEADER HEIGHT for both panels.
   ============================================================ */

.form-heading {
    width: 100%;
    min-height: 67px;
    margin: 0 0 18px 0;
    padding: 0;
}

    .form-heading h1,
    .form-heading h2 {
        margin: 0 0 6px 0;
        padding: 0;
        color: #111d35;
        font-size: 25px;
        line-height: 1.25;
        font-weight: 800;
    }

    .form-heading p {
        margin: 0;
        padding: 0;
        color: #7a8494;
        font-size: 12px;
        line-height: 1.55;
    }


/* ============================================================
   12 COLUMN FORM GRID
   ============================================================ */

.login-row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -6px;
    margin-right: -6px;
}

.login-col-12,
.login-col-6,
.login-col-4,
.login-col-8 {
    position: relative;
    width: 100%;
    padding-left: 6px;
    padding-right: 6px;
}

.login-col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

.login-col-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.login-col-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.login-col-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
}


/* ============================================================
   REGISTRATION GRID
   Supports your existing markup too.
   ============================================================ */

.registration-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    column-gap: 12px;
    row-gap: 0;
}

    .registration-grid .full,
    .full-row {
        grid-column: 1 / -1;
    }


/* ============================================================
   FORM GROUP
   ============================================================ */

.form-group {
    width: 100%;
    margin: 0 0 14px 0;
}

    .form-group label {
        display: block;
        margin: 0 0 6px 0;
        color: #17223a;
        font-size: 11px;
        line-height: 1.3;
        font-weight: 700;
    }

        .form-group label span,
        .required-star {
            color: #e33131;
        }


/* ============================================================
   INPUT CONTROLS
   ============================================================ */

.login-control {
    width: 100%;
    height: 43px;
    padding: 0 12px;
    border: 1px solid #d7dee8;
    border-radius: 7px;
    outline: none;
    background: #ffffff;
    color: #17233b;
    font-family: inherit;
    font-size: 12px;
    transition: .18s ease;
}

    .login-control::placeholder {
        color: #98a1af;
    }

    .login-control:hover {
        border-color: #bcc5d2;
    }

    .login-control:focus {
        border-color: #7438c8;
        box-shadow: 0 0 0 3px rgba(116,56,200,.09);
    }

select.login-control {
    cursor: pointer;
}

textarea.login-control {
    height: auto;
    min-height: 80px;
    padding-top: 10px;
    padding-bottom: 10px;
    resize: vertical;
}


/* ============================================================
   ICON INPUT
   ============================================================ */

.control-with-icon {
    position: relative;
}

    .control-with-icon > i,
    .control-icon {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        color: #929baa;
        font-size: 12px;
        pointer-events: none;
    }

    /* Icon on left */
    .control-with-icon > i {
        left: 13px;
    }

        .control-with-icon > i + .login-control {
            padding-left: 36px;
        }

/* Optional icon on right */
.control-icon {
    right: 13px;
}


/* ============================================================
   FIELD NOTE / VALIDATION
   ============================================================ */

.field-note,
.help-text {
    display: block;
    margin-top: 4px;
    color: #8b94a1;
    font-size: 9px;
    line-height: 1.4;
}

.field-validation-error,
.validation-error {
    display: block;
    margin-top: 4px;
    color: #d92d20;
    font-size: 9px;
}


/* ============================================================
   CAPTCHA
   ============================================================ */

.captcha-wrapper {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0,1fr) 115px 40px;
    gap: 7px;
    align-items: center;
}

.captcha-display {
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    color: #59319b;
    background: repeating-linear-gradient( -45deg, #f5effc, #f5effc 6px, #eee4f9 6px, #eee4f9 12px );
    font-family: Consolas, monospace;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 3px;
    user-select: none;
}

.captcha-refresh {
    width: 40px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #ddd4ea;
    border-radius: 7px;
    color: #6936ae;
    background: #f7f2fc;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
}

    .captcha-refresh:hover {
        background: #eee4f8;
    }


/* ============================================================
   MAIN BUTTON
   ============================================================ */

.login-button {
    width: 100%;
    min-height: 45px;
    margin-top: 2px;
    border: 0;
    border-radius: 8px;
    color: #ffffff;
    background: linear-gradient( 135deg, #6530b7, #854dca );
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s ease;
}

    .login-button:hover {
        transform: translateY(-1px);
        box-shadow: 0 8px 18px rgba(101,48,183,.20);
    }


/* ============================================================
   LINKS
   ============================================================ */

.login-links,
.forgot-row,
.back-login {
    width: 100%;
    margin-top: 15px;
    text-align: center;
}

    .login-links a,
    .forgot-row a,
    .back-login a {
        color: #6531ad;
        font-size: 11px;
        font-weight: 600;
        text-decoration: none;
    }

        .login-links a:hover,
        .forgot-row a:hover,
        .back-login a:hover {
            text-decoration: underline;
        }


/* ============================================================
   PAGE MESSAGES
   ============================================================ */

.login-message,
.page-message {
    display: block;
    width: 100%;
    margin: 0 0 14px 0;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 10px;
    line-height: 1.5;
}

    .login-message:empty,
    .page-message:empty {
        display: none;
    }

    .error-message,
    .page-message.error {
        color: #a32622;
        background: #fff1f0;
        border: 1px solid #ffccc7;
    }

    .success-message,
    .page-message.success {
        color: #17603d;
        background: #edf9f3;
        border: 1px solid #b7ebcf;
    }

    .warning-message,
    .page-message.warning {
        color: #8d5d05;
        background: #fff8e8;
        border: 1px solid #ffe0a3;
    }


/* ============================================================
   OTP MODAL
   ============================================================ */

.otp-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

    .otp-modal.show {
        display: flex;
    }

.otp-modal-backdrop,
.otp-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(16,24,40,.64);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.otp-modal-dialog,
.otp-dialog {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 410px;
    padding: 32px 30px 27px;
    border-radius: 17px;
    background: #ffffff;
    text-align: center;
    box-shadow: 0 25px 70px rgba(15,23,42,.30);
    animation: otpShow .20s ease-out;
}

@keyframes otpShow {

    from {
        opacity: 0;
        transform: translateY(10px) scale(.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.otp-close {
    position: absolute;
    right: 13px;
    top: 13px;
    width: 33px;
    height: 33px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #697586;
    background: #f1f4f8;
    cursor: pointer;
}

    .otp-close:hover {
        color: #263244;
        background: #e8edf3;
    }

.otp-icon,
.otp-shield {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 17px;
    color: #ffffff;
    background: linear-gradient( 135deg, #6530b7, #8951ce );
    font-size: 25px;
}

.otp-dialog h2,
.otp-modal-dialog h2 {
    margin: 0 0 7px;
    color: #1e293b;
    font-size: 22px;
}

.otp-dialog p,
.otp-modal-dialog > p {
    margin: 0 0 15px;
    color: #7b8491;
    font-size: 12px;
    line-height: 1.55;
}

.otp-mobile {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 15px;
    padding: 6px 12px;
    border-radius: 20px;
    color: #6835ad;
    background: #f3edfa;
    font-size: 11px;
    font-weight: 700;
}

.otp-input {
    width: 100%;
    height: 51px;
    padding: 0 15px;
    border: 1px solid #d7dce5;
    border-radius: 8px;
    outline: none;
    text-align: center;
    color: #202b3c;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 8px;
}

    .otp-input:focus {
        border-color: #713bb8;
        box-shadow: 0 0 0 3px rgba(113,59,184,.10);
    }

.otp-validation {
    display: block;
    margin: 7px 0;
    color: #d92d20;
    font-size: 10px;
}

.otp-button {
    width: 100%;
    height: 45px;
    margin-top: 11px;
    border: 0;
    border-radius: 8px;
    color: #ffffff;
    background: linear-gradient( 135deg, #6530b7, #854dca );
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.otp-testing {
    margin-top: 12px;
    color: #8992a0;
    font-size: 10px;
}

body.otp-open {
    overflow: hidden;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1100px) {

    .login-page {
        grid-template-columns: 50% 50%;
    }

    .login-left {
        padding: 45px 40px;
    }

    .left-content h1 {
        font-size: 44px;
    }

    .left-features {
        grid-template-columns: 1fr;
    }

    .login-right {
        padding: 45px 30px 30px;
    }
}


/* ============================================================
   MOBILE / SMALL TABLET
   ============================================================ */

@media (max-width: 850px) {

    .login-page {
        display: block;
    }

    .login-left {
        display: none;
    }

    .login-right {
        width: 100%;
        min-height: 100vh;
        padding: 30px 22px;
        align-items: flex-start;
    }

    .login-card {
        max-width: 540px;
        margin: 0 auto;
    }

    .mobile-brand {
        display: flex;
    }
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 600px) {

    .login-right {
        padding: 22px 16px;
    }

    .login-col-6,
    .login-col-4,
    .login-col-8 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .registration-grid {
        grid-template-columns: 1fr;
    }

        .registration-grid .full,
        .full-row {
            grid-column: auto;
        }

    .captcha-wrapper {
        grid-template-columns: minmax(0,1fr) 105px 38px;
    }

    .form-heading h1,
    .form-heading h2 {
        font-size: 22px;
    }

    .otp-modal-dialog,
    .otp-dialog {
        padding: 28px 20px 24px;
    }
}


/* ============================================================
   VERY SMALL MOBILE
   ============================================================ */

@media (max-width: 390px) {

    .login-tabs {
        gap: 4px;
    }

    .login-tab {
        padding: 0 7px;
        font-size: 11px;
    }

    .captcha-wrapper {
        grid-template-columns: minmax(0,1fr) 94px 36px;
        gap: 5px;
    }

    .captcha-display {
        font-size: 14px;
        letter-spacing: 2px;
    }

    .captcha-refresh {
        width: 36px;
    }
}


/* =========================================================
   OFFICIAL MRI PORTAL BRANDING
   ========================================================= */

.official-branding {
    position: relative;
    z-index: 2;
    padding: 28px 38px 10px;
}

.official-logo-row {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
}

.official-logo-item {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 12px;
    padding: 8px 12px;
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

    .official-logo-item img {
        display: block;
        max-width: 100%;
        object-fit: contain;
    }

.up-logo img {
    width: 58px;
    height: 58px;
}

.abdm-logo img {
    width: 115px;
    height: 52px;
}

.nha-logo img {
    width: 120px;
    height: 52px;
}


/* GOVERNMENT TEXT */

.government-heading {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #ffffff;
}

    .government-heading .gov-small {
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 1.4px;
        opacity: 0.88;
    }

    .government-heading strong {
        font-size: 17px;
        line-height: 1.35;
        font-weight: 800;
    }

    .government-heading > span:last-child {
        font-size: 13px;
        opacity: 0.9;
    }


/* MAIN TEXT */

.left-content {
    position: relative;
    z-index: 2;
}

.left-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.portal-description strong {
    color: #ffffff;
    font-weight: 800;
}


/* PROFESSIONAL QUOTE */

.portal-quote {
    margin-top: 25px;
    max-width: 570px;
    padding: 17px 20px;
    display: flex;
    align-items: flex-start;
    gap: 13px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-left: 4px solid rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.7;
    backdrop-filter: blur(6px);
}

    .portal-quote i {
        margin-top: 3px;
        font-size: 16px;
        opacity: 0.85;
    }


/* LEFT FOOTER */

.login-left-footer {
    position: absolute;
    left: 38px;
    bottom: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.80);
    font-size: 11px;
    font-weight: 600;
}

    .login-left-footer span {
        padding-left: 10px;
        margin-left: 4px;
        border-left: 1px solid rgba(255, 255, 255, 0.30);
    }


/* LOGIN FORM KICKER */

.form-heading-kicker {
    display: inline-block;
    margin-bottom: 7px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #7438c8;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

    .official-branding {
        padding: 25px 28px 8px;
    }

    .official-logo-row {
        gap: 10px;
    }

    .official-logo-item {
        padding: 6px 8px;
    }

    .government-heading strong {
        font-size: 15px;
    }
}


@media (max-width: 768px) {

    .official-branding {
        display: none;
    }

    .login-left-footer {
        display: none;
    }
}

/* =========================================================
   MRI PORTAL MAIN HEADING
   ========================================================= */

.login-left .left-content h1 {
    font-size: 42px;
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.8px;
    margin: 20px 0 20px 0;
    max-width: 620px;
}

@media (max-width: 1200px) {

    .login-left .left-content h1 {
        font-size: 38px;
    }
}




/* =========================================================
   MRI LOGIN PAGE - FINAL LEFT PANEL ALIGNMENT
   ========================================================= */


/* ---------------------------------------------------------
   COMMON LEFT ALIGNMENT

   Branding, government text, kicker, title, description,
   quote, features and footer all use the same left edge.
   --------------------------------------------------------- */

.official-branding,
.left-content,
.left-features {
    margin-left: 0;
    padding-left: 0;
}


/* =========================================================
   OFFICIAL LOGOS
   ========================================================= */

.official-logo-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    margin: 0 0 18px 0;
    padding: 0;
}


/* SAME BOX SIZE FOR ALL THREE LOGOS */

.official-logo-item {
    width: 140px;
    height: 74px;
    flex: 0 0 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    box-sizing: border-box;
    background: #ffffff;
    border-radius: 11px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.10);
    overflow: hidden;
}


    /* SAME IMAGE AREA */

    .official-logo-item img,
    .official-logo-item .logo-up,
    .official-logo-item .logo-abdm,
    .official-logo-item .logo-nha {
        display: block;
        width: 118px;
        height: 56px;
        max-width: 118px;
        max-height: 56px;
        object-fit: contain;
        margin: 0 auto;
    }


/* =========================================================
   GOVERNMENT HEADING
   ========================================================= */

.government-heading {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
    color: #ffffff;
}


    .government-heading .gov-small {
        margin: 0;
        font-size: 11px;
        font-weight: 800;
        line-height: 1.4;
        letter-spacing: 1.25px;
        color: #ffffff;
    }


    .government-heading strong {
        margin: 0;
        font-size: 17px;
        font-weight: 800;
        line-height: 1.4;
        color: #ffffff;
    }


    .government-heading > span:last-child {
        margin: 0;
        font-size: 12px;
        font-weight: 500;
        line-height: 1.5;
        color: rgba(255, 255, 255, 0.90);
    }


/* =========================================================
   MAIN CONTENT
   ========================================================= */

.left-content {
    position: relative;
    margin-top: 18px;
    padding: 0;
    z-index: 2;
}


/* DIGITAL HEALTH LINE */

.left-kicker {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 20px 0;
    padding: 0;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 1.5px;
    color: #ffffff;
}


    .left-kicker i {
        width: 14px;
        flex: 0 0 14px;
        text-align: left;
        margin: 0;
    }


/* =========================================================
   PORTAL TITLE - EXACTLY TWO LINES
   ========================================================= */

.login-left .left-content .portal-main-title {
    margin: 0 0 20px 0;
    padding: 0;
    max-width: 680px;
    font-size: 39px;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.7px;
    color: #ffffff;
}


.portal-main-title span {
    display: block;
    white-space: nowrap;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.portal-description {
    max-width: 610px;
    margin: 0;
    padding: 0;
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.94);
}


    .portal-description strong {
        color: #ffffff;
        font-weight: 800;
    }


/* =========================================================
   PROFESSIONAL QUOTE
   ========================================================= */

.portal-quote {
    width: 100%;
    max-width: 570px;
    box-sizing: border-box;
    margin: 24px 0 0 0;
    padding: 15px 18px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-left: 4px solid rgba(255, 255, 255, 0.90);
    border-radius: 11px;
    color: #ffffff;
    font-size: 12px;
    line-height: 1.75;
}


    .portal-quote i {
        flex: 0 0 auto;
        margin-top: 3px;
        font-size: 14px;
        color: #ffffff;
    }


    .portal-quote span {
        display: block;
        margin: 0;
        padding: 0;
    }


/* =========================================================
   FEATURE LIST

   IMPORTANT:
   This margin prevents the quote from overlapping the
   registration feature items.
   ========================================================= */

.left-features {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32px;
    row-gap: 12px;
    max-width: 600px;
    margin-top: 18px;
    margin-bottom: 0;
    padding: 0;
    clear: both;
    z-index: 2;
}


    .left-features > div {
        display: flex;
        align-items: center;
        gap: 9px;
        min-width: 0;
        margin: 0;
        padding: 0;
        color: #ffffff;
        font-size: 11px;
        line-height: 1.4;
    }


        .left-features > div i {
            flex: 0 0 auto;
            font-size: 16px;
            color: #ffffff;
        }


/* =========================================================
   FOOTER

   Do not absolutely position it over the feature list.
   ========================================================= */

.login-left-footer {
    position: relative;
    left: auto;
    bottom: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 0;
    color: rgba(255, 255, 255, 0.80);
    font-size: 10px;
    line-height: 1.4;
    font-weight: 600;
}


    .login-left-footer span {
        margin-left: 5px;
        padding-left: 12px;
        border-left: 1px solid rgba(255, 255, 255, 0.30);
    }


/* =========================================================
   DESKTOP ADJUSTMENT
   ========================================================= */

@media (max-width: 1200px) {

    .official-logo-item {
        width: 125px;
        height: 70px;
        flex-basis: 125px;
    }


        .official-logo-item img,
        .official-logo-item .logo-up,
        .official-logo-item .logo-abdm,
        .official-logo-item .logo-nha {
            width: 105px;
            height: 52px;
            max-width: 105px;
            max-height: 52px;
        }


    .login-left .left-content .portal-main-title {
        font-size: 35px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .official-logo-row {
        gap: 8px;
    }


    .official-logo-item {
        width: 92px;
        height: 58px;
        flex-basis: 92px;
        padding: 6px;
    }


        .official-logo-item img,
        .official-logo-item .logo-up,
        .official-logo-item .logo-abdm,
        .official-logo-item .logo-nha {
            width: 78px;
            height: 44px;
            max-width: 78px;
            max-height: 44px;
        }


    .portal-main-title span {
        white-space: normal;
    }


    .login-left .left-content .portal-main-title {
        font-size: 30px;
    }


    .left-features {
        grid-template-columns: 1fr;
    }
}

/* Move complete logo/branding section slightly upward */
.official-branding {
    transform: translateY(-35px);
}

/* Keep proper spacing below branding */
.left-content {
    margin-top: 0;
}