/* ===== Inline style block 1 from login-new.html ===== */
/* ================= RESET ================= */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Montserrat', sans-serif;
            overflow-x: hidden;
        }

        /* ================= PAGE WRAPPER ================= */
        .page-wrapper {
            position: relative;
            width: 100%;
            min-height: 100vh;
        }

        /* ================= FULL BACKGROUND IMAGE ================= */
        .hero-slider {
            position: fixed;
            inset: 0;
            z-index: -2;
        }

        .hero-image {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 1;
        }

        /* Dark overlay */
        .page-wrapper::before {
            content: "";
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.45);
            z-index: -1;
        }

        /* ================= HEADER ================= */
        .main-header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 64px;
            padding: 12px clamp(24px, 4vw, 64px);
            display: flex;
            align-items: center;
            justify-content: space-between;
            backdrop-filter: blur(8px);
            z-index: 1000;
        }

        .logo-left-group {
            display: flex;
            flex-direction: row;
            align-items: center;
            gap: 0;
        }

       .logo-left {
    height: 133px;
    margin-top: 34%;
    width: auto;
    object-fit: contain;
    display: block;
}

        .logo-divider {
            color: rgba(255,255,255,0.4);
            font-size: 18px;
            font-weight: 200;
            margin: 0 10px;
            line-height: 1;
        }

        .logo-app-name {
            color: #ffffff;
            font-size: 16px;
            font-weight: 700;
            letter-spacing: 0.05em;
            line-height: 1;
        }

        .header-title {
            color: #ffffff;
            font-size: 16px;
            font-weight: 600;
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
        }

        /* ================= MAIN LOGIN ================= */
        .left-section {
            min-height: 100vh;
            display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
            align-items: center;
            gap: clamp(40px, 6vw, 96px);
            width: min(1500px, 100%);
            margin: 0 auto;
            padding: 96px clamp(30px, 5vw, 80px) 88px;
            z-index: 2;
        }

        .login-intro {
            align-self: center;
            color: #ffffff;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.72);
        }

        .intro-copy {
            max-width: 650px;
            padding: 24px 26px;
            border-left: 4px solid #ff6b24;
            background: rgba(7, 22, 43, 0.62);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
        }

        .intro-copy h1 {
            font-size: clamp(30px, 3vw, 48px);
            line-height: 1.15;
            font-weight: 700;
            margin-bottom: 14px;
        }

        .intro-copy p {
            max-width: 600px;
            font-size: 17px;
            line-height: 1.65;
            color: #f1f6ff;
        }

        .feature-list {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 12px;
            max-width: 700px;
            margin-top: 22px;
        }

        .feature-item {
            min-height: 108px;
            display: grid;
            grid-template-columns: 30px minmax(0, 1fr);
            gap: 12px;
            align-items: start;
            padding: 18px;
            background: rgba(7, 22, 43, 0.72);
            border: 1px solid rgba(255, 255, 255, 0.24);
            border-radius: 8px;
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
        }

        .feature-item > i {
            color: #65a6ff;
            font-size: 21px;
            margin-top: 2px;
        }

        .feature-item h2 {
            font-size: 14px;
            line-height: 1.35;
            font-weight: 700;
            margin-bottom: 7px;
        }

        .feature-item p {
            color: #e1ebf8;
            font-size: 12px;
            line-height: 1.55;
        }

        /* ================= GLASS CARD ================= */
        .login-container {
            width: 100%;
            max-width: 460px;
            padding: 48px;
            border-radius: 16px;
            background: rgba(255,255,255,0.18);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            box-shadow: 0 12px 40px rgba(0,0,0,0.35);
            justify-self: end;
            border: 1px solid rgba(255, 255, 255, 0.25);
        }

        /* ================= TEXT ================= */
        .welcome-text {
            font-size: 26px;
            font-weight: 600;
            color: #ffffff;
            margin-bottom: 8px;
        }

        .subtitle {
            font-size: 14px;
            color: #e0e0e0;
            margin-bottom: 32px;
        }

        /* ================= INPUTS ================= */
        .input-field {
            margin-bottom: 20px;
        }

        label {
            font-size: 13px;
            color: #ffffff;
            font-weight: 500;
            margin-bottom: 8px;
            display: block;
        }

        label i {
            margin-right: 6px;
        }

        input[type="text"],
        input[type="password"] {
            width: 100%;
            padding: 12px 14px;
            border-radius: 8px;
            border: none;
            background: rgba(255,255,255,0.9);
            font-size: 14px;
        }

        input::placeholder {
            color: #6c757d;
        }

        input:focus {
            outline: none;
            box-shadow: 0 0 0 3px rgba(52,44,104,0.35);
        }

        /* ================= PASSWORD ================= */
        .password-wrapper {
            position: relative;
        }

        .toggle-password {
            position: absolute;
            right: 14px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            cursor: pointer;
            color: #6c757d;
        }

        /* ================= CAPTCHA ================= */
        .captcha-row {
            display: grid;
            grid-template-columns: 160px 46px 1fr;
            gap: 12px;
            align-items: flex-end;
            margin-bottom: 20px;
        }

        .captcha-group {
            display: flex;
            flex-direction: column;
        }

        .captcha-group label {
            margin-bottom: 8px;
        }

        .captcha-box {
            height: 46px;
            min-width: 160px;
            background: rgba(255,255,255,0.9);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            letter-spacing: 3px;
            user-select: none;
        }

        .captcha-group input {
            height: 46px;
            padding: 12px 14px;
            border-radius: 8px;
            border: none;
            background: rgba(255,255,255,0.9);
        }

        .refresh-captcha {
            width: 46px;
            height: 46px;
            align-self: flex-end;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255,255,255,0.9);
            border: none;
            cursor: pointer;
        }

        .refresh-captcha:hover {
            background: #342c68;
            color: #ffffff;
        }

        /* ================= EXTRAS (ONE LINE FIX) ================= */
        .form-extras {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 24px;
            font-size: 13px;
            color: #ffffff;
            flex-wrap: nowrap;
        }

        .remember {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            white-space: nowrap;
        }

        .forgot-link {
            color: #ffffff;
            text-decoration: underline;
            white-space: nowrap;
        }

        /* ================= BUTTON ================= */
        .login-btn {
            width: 100%;
            padding: 14px;
            border-radius: 8px;
            border: none;
            background: #342c68;
            color: #ffffff;
            font-weight: 600;
            cursor: pointer;
        }

        .login-btn:hover {
            background: #241d53;
        }

        /* ================= FOOTER ================= */
        .main-footer {
            position: fixed;
            bottom: 24px;
            left: 24px;
            z-index: 10;
        }

        .logo-bottom-right {
            height: 44px;
            filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
        }

        /* ================= RESPONSIVE ================= */
        @media (max-width: 768px) {
            .left-section {
                grid-template-columns: 1fr;
                gap: 28px;
                padding: 92px 30px 90px;
            }

            .login-container {
                padding: 36px;
                justify-self: center;
            }

            .login-intro {
                width: 100%;
                max-width: 620px;
                margin: 0 auto;
            }

            .header-title {
                display: none;
            }
        }

        @media (max-width: 480px) {
            .main-header {
                padding-inline: 20px;
            }

            .logo-left {
                height: 42px;
            }

            .left-section {
                padding-inline: 18px;
            }

            .intro-copy {
                padding: 20px;
            }

            .intro-copy h1 {
                font-size: 29px;
            }

            .intro-copy p {
                font-size: 15px;
            }

            .feature-list {
                grid-template-columns: 1fr;
            }

            .captcha-row {
                grid-template-columns: 1fr;
                align-items: stretch;
            }

            .refresh-captcha {
                width: 100%;
            }
        }

        @media (max-width: 360px) {
            .form-extras {
                flex-direction: column;
                align-items: flex-start;
            }
        }

.swal2-popup.dp-toast-popup {
    min-width: 360px;
    border-radius: 12px;
    background: #1f2b57 !important;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.swal2-title.dp-toast-title {
    color: #ffffff !important;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}

.swal2-popup.dp-toast-popup .swal2-icon.swal2-error {
    border-color: #ff6b6b !important;
    color: #ff6b6b !important;
}

.swal2-popup.dp-toast-popup .swal2-icon.swal2-error [class^="swal2-x-mark-line"] {
    background-color: #ff6b6b !important;
}

#sendOtpStage,
#otpConfirmStage {
    margin-bottom: 20px;
}

.otp-countdown {
    font-size: 12px;
    color: #ffffff;
    text-align: right;
    margin-bottom: 8px;
    opacity: 0.92;
}

.otp-countdown .otp-time {
    color: #ff0000;
    font-weight: 700;
}

.otp-send-btn {
    width: 100%;
}

.otp-boxes {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 12px;
}

.otp-digit {
    width: 100%;
    height: 54px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.92);
    color: #1f1f1f;
    caret-color: #342c68;
    -webkit-text-fill-color: #1f1f1f;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.otp-digit:hover {
    border-color: rgba(52, 44, 104, 0.6);
    background: #ffffff;
}

.otp-digit:focus {
    border-color: #342c68;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(52, 44, 104, 0.24);
}

.otp-digit.otp-active {
    border-color: #342c68;
    box-shadow: 0 0 0 2px rgba(52, 44, 104, 0.15);
}

@media (max-width: 480px) {
    .otp-boxes {
        gap: 8px;
    }

    .otp-digit {
        height: 48px;
        font-size: 20px;
    }
}

#firstLoginStage {
    margin-top: 8px;
}

.first-login-title {
    margin-bottom: 14px;
}

.first-login-title h2 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 4px;
}

.first-login-title p {
    color: #e0e0e0;
    font-size: 13px;
}

#firstLoginValidation {
    margin-top: 10px;
    color: #ffffff;
    background: rgba(34, 43, 69, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    padding: 10px 12px;
    line-height: 1.45;
    font-size: 13px;
}

#firstLoginSuccess {
    margin-top: 12px;
}

#firstLoginStage[hidden],
#firstLoginValidation[hidden],
#firstLoginSuccess[hidden] {
    display: none !important;
}

/* ================= PREMIUM ENTERPRISE THEME ================= */
body {
    color: #0d2a5e;
}

.page-wrapper::before {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(226, 241, 255, 0.08));
}

.main-header {
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}

.header-title {
    position: relative;
    color: #0d2a5e;
    font-weight: 700;
    padding-bottom: 10px;
    text-shadow: 0 1px 5px rgba(255, 255, 255, 0.9);
}

.header-title::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 3px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #ff6b24 0 34%, #ffffff 34% 66%, #138a4b 66%);
}

.left-section {
    grid-template-columns: minmax(600px, 1fr) minmax(430px, 490px);
    gap: clamp(40px, 5vw, 80px);
    width: min(1450px, 100%);
}

.login-intro {
    color: #0d2a5e;
    text-shadow: none;
}

.intro-copy {
    max-width: 720px;
    padding: 28px 30px;
    background: rgba(255, 255, 255, 0.16);
    border-top: 1px solid rgba(255, 255, 255, 0.82);
    border-right: 1px solid rgba(255, 255, 255, 0.58);
    border-bottom: 1px solid rgba(255, 255, 255, 0.58);
    border-left: 4px solid #ff6b24;
    border-radius: 0 16px 16px 0;
    box-shadow: 0 22px 55px rgba(20, 72, 132, 0.13);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.intro-copy h1 {
    color: #0d2a5e;
    font-size: clamp(52px, 3.65vw, 72px);
    line-height: 1.08;
    font-weight: 800;
    white-space: nowrap;
}

.intro-copy p {
    color: #405b82;
    letter-spacing: 0;
}

.feature-list {
    max-width: 720px;
    gap: 16px;
    margin-top: 24px;
}

.feature-item {
    min-height: 116px;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(78, 145, 226, 0.3);
    border-radius: 18px;
    box-shadow: 0 14px 32px rgba(27, 78, 139, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.feature-item > i {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    color: #1468f3;
    background: linear-gradient(145deg, #edf6ff, #d5e9ff);
    border: 1px solid rgba(54, 132, 244, 0.18);
    border-radius: 14px;
    box-shadow: inset 0 1px 0 #ffffff, 0 7px 16px rgba(20, 104, 243, 0.14);
    font-size: 23px;
    margin-top: 0;
}

.feature-item h2 {
    color: #0d2a5e;
    font-size: 15px;
}

.feature-item p {
    color: #526b8e;
    font-size: 13px;
}

.login-container {
    max-width: 460px;
    padding: 48px 44px;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 28px 70px rgba(34, 86, 147, 0.2), inset 0 1px 0 #ffffff;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.welcome-text,
.first-login-title h2 {
    color: #0d2a5e;
}

.welcome-text {
    font-size: 30px;
    font-weight: 700;
}

.subtitle,
.first-login-title p {
    color: #536b8d;
}

label,
.form-extras,
.otp-countdown {
    color: #0d2a5e;
    font-weight: 600;
}

input[type="text"],
input[type="password"],
.captcha-group input {
    height: 56px;
    padding: 0 16px;
    color: #17345f;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #cbd9eb;
    border-radius: 12px;
    box-shadow: 0 5px 14px rgba(31, 75, 128, 0.07);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus {
    border-color: #1670f8;
    box-shadow: 0 0 0 4px rgba(22, 112, 248, 0.13), 0 7px 18px rgba(31, 75, 128, 0.08);
}

.captcha-box {
    height: 56px;
    color: #0d2a5e;
    background: rgba(239, 246, 255, 0.96);
    border: 1px solid #cbd9eb;
    border-radius: 12px;
}

.refresh-captcha {
    height: 56px;
    color: #1468f3;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #cbd9eb;
    border-radius: 12px;
}

.refresh-captcha:hover {
    color: #ffffff;
    background: #1468f3;
}

.forgot-link {
    color: #075fe4;
    font-weight: 600;
    text-decoration: none;
}

.login-btn {
    min-height: 56px;
    padding: 14px 18px;
    color: #ffffff;
    background: linear-gradient(135deg, #1988ff 0%, #0758ec 100%);
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(7, 88, 236, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.login-btn:hover {
    background: linear-gradient(135deg, #0f7cf5 0%, #064fd5 100%);
    box-shadow: 0 15px 28px rgba(7, 88, 236, 0.32);
    transform: translateY(-1px);
}

.logo-bottom-right {
    filter: drop-shadow(0 2px 6px rgba(13, 42, 94, 0.55));
}

@media (max-width: 1400px) {
    .left-section {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 92px 30px 90px;
    }

    .login-intro {
        width: 100%;
        max-width: 720px;
        margin: 0 auto;
    }

    .intro-copy h1 {
        font-size: 52px;
        white-space: normal;
    }

    .login-container {
        justify-self: center;
    }
}

@media (max-width: 480px) {
    .intro-copy h1 {
        font-size: 29px;
    }

    .login-container {
        padding: 34px 24px;
        border-radius: 24px;
    }
}

/* Compact sizing used by both authentication pages. */
.left-section,
.forgot-page .auth-layout {
    grid-template-columns: minmax(560px, 1fr) minmax(390px, 420px);
    gap: clamp(34px, 4vw, 64px);
    width: min(1380px, 100%);
}

.login-intro {
    align-self: start;
    margin-top: 12%;
}

.intro-copy,
.feature-list {
    max-width: 680px;
}

.intro-copy {
    padding: 22px 26px;
    background: transparent;
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.intro-copy h1 {
    font-size: clamp(38px, 2.65vw, 50px);
}

.intro-copy p {
    font-size: 13px;
    line-height: 1.55;
}

.feature-list {
    gap: 12px;
    margin-top: 18px;
}

.feature-item {
    min-height: 94px;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 13px;
    padding: 15px 16px;
    border-radius: 14px;
}

.feature-item > i {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    font-size: 20px;
}

.feature-item h2 {
    font-size: 13px;
    margin-bottom: 5px;
}

.feature-item p {
    font-size: 11px;
}

.login-container {
    max-width: 420px;
    padding: 36px;
    border-radius: 26px;
}

.welcome-text {
    font-size: 25px;
}

.subtitle {
    font-size: 12px;
    margin-bottom: 24px;
}

.input-field {
    margin-bottom: 16px;
}

label,
.form-extras {
    font-size: 12px;
}

input[type="text"],
input[type="password"],
.captcha-group input,
.captcha-box,
.refresh-captcha {
    height: 50px;
}

.captcha-row {
    grid-template-columns: 145px 42px 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

.captcha-box {
    min-width: 145px;
}

.refresh-captcha {
    width: 42px;
}

.login-btn {
    min-height: 50px;
}

.forgot-page .auth-layout {
    position: relative;
    min-height: 100vh;
    display: grid;
    align-items: center;
    margin: 0 auto;
    padding: 96px clamp(30px, 5vw, 80px) 88px;
    z-index: 2;
}

.forgot-page .auth-module-slot {
    width: 100%;
    max-width: 420px;
    justify-self: end;
}

.forgot-page .auth-module-slot > .left-section {
    display: block;
    width: 100%;
    min-height: 0;
    padding: 0;
}

.forgot-page .auth-module-slot .login-container {
    width: 100%;
    min-height: 0;
    padding: 28px 30px;
    justify-self: auto;
}

.forgot-page .welcome-text {
    margin-bottom: 18px;
}

.forgot-page .otp-action-slot {
    height: 50px;
}

.forgot-page .otp-action-btn {
    height: 50px;
    min-height: 50px;
    color: #ffffff;
    background: linear-gradient(135deg, #1988ff 0%, #0758ec 100%);
    border: 1px solid rgba(7, 88, 236, 0.3);
    border-radius: 10px;
    font-size: 12px;
}

.forgot-page .otp-action-btn.otp-channel-btn:not(.selected) {
    color: #0d2a5e;
    background: rgba(255, 255, 255, 0.94);
    border-color: #cbd9eb;
}

.forgot-page .back-btn {
    color: #0d2a5e;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #cbd9eb;
    box-shadow: none;
}

.forgot-page .back-btn:hover {
    color: #0758ec;
    background: #ffffff;
}

.forgot-page .otp-input {
    width: 44px;
    height: 48px;
    color: #0d2a5e;
    border-color: #cbd9eb;
    border-radius: 10px;
}

.forgot-page #password-validation-message,
.forgot-page #fp-otp-countdown {
    color: #536b8d;
}

@media (max-width: 1100px) {
    .left-section,
    .forgot-page .auth-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .forgot-page .auth-module-slot {
        justify-self: center;
    }
}

@media (max-width: 480px) {
    .forgot-page .auth-layout {
        padding: 92px 18px 90px;
    }

    .login-container {
        padding: 30px 22px;
    }
}
