﻿html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    overflow: hidden !important; /* STRICTLY NO SCROLL */
    font-family: 'Poppins', sans-serif !important;
    background: transparent !important;
    position: relative !important;
}

.slider-bg {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 1 !important;
    /*    background-color: #000 !important;*/
}

    .slider-bg .slide {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background-size: cover !important;
        background-position: center center !important;
        opacity: 0;
        transition: opacity 1.5s ease-in-out !important;
    }

        .slider-bg .slide.active {
            opacity: 1 !important;
        }

.slider-overlay {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 2 !important;
    background: linear-gradient(135deg, rgba(0,0,15,0.6) 0%, rgba(0,0,15,0.2) 50%, rgba(0,0,15,0.7) 100%) !important;
}

.brand-header {
    position: absolute !important;
    top: 35px !important;
    left: 45px !important;
    z-index: 5 !important;
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
    animation: fadeInDown 1s ease-out !important;
}

    .brand-header img {
        height: 80px !important;
        width: auto !important;
        filter: drop-shadow(0 4px 12px rgba(0,0,0,0.6)) !important;
    }

.brand-text {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

    .brand-text h1 {
        margin: 0 !important;
        font-size: 34px !important;
        font-weight: 800 !important;
        color: #ffffff !important;
        letter-spacing: 2px !important;
        text-shadow: 0 4px 15px rgba(0,0,0,0.8) !important;
        text-transform: uppercase !important;
        font-family: 'Montserrat', sans-serif !important;
        line-height: 1 !important;
    }

    .brand-text p {
        margin: 6px 0 0 0 !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        color: #fbbf24 !important;
        letter-spacing: 4px !important;
        text-transform: uppercase !important;
        text-shadow: 0 2px 8px rgba(0,0,0,0.8) !important;
    }

.main-content {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-end !important;
    padding: 20px 8% 10px 20px !important;
    z-index: 10 !important;
    box-sizing: border-box !important;
}

.login-section {
    width: 100% !important;
    max-width: 380px !important;
    margin: auto 0 !important;
    position: relative !important;
	margin-top: 10% !important;
}

.wrap {
    width: 100% !important;
    position: relative !important;
    height: auto !important;
}

/* CONTAINER EQUAL PADDING & HEIGHT OPTIMIZED */
.yellow-theme {
    width: 100% !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    border-top: 5px solid #1f3050 !important;
    border-radius: 16px !important;
    padding: 22px 25px 15px 25px !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4) !important;
    height: auto !important;
    overflow: visible !important;
    display: block !important;
}

.recovery-theme {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    border-top: 5px solid #1f3050 !important;
    border-radius: 16px !important;
    padding: 25px 25px 20px 25px !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4) !important;
}

    .recovery-theme h2 {
        font-family: 'Montserrat', sans-serif !important;
        font-weight: 700 !important;
        color: #1f3050 !important;
        text-align: center;
        margin-bottom: 15px !important;
    }

    .recovery-theme .Recovery_input {
        width: 100% !important;
        height: 40px !important;
        border: 1px solid #dbeafe !important;
        border-radius: 8px !important;
        background: #f0f7ff !important;
        padding-left: 15px !important;
        font-family: 'Poppins', sans-serif !important;
        font-size: 14px !important;
        color: #0f172a !important;
        transition: all 0.3s ease !important;
    }

        .recovery-theme .Recovery_input:focus {
            outline: none !important;
            background: #ffffff !important;
            border: 1px solid #2c426b !important;
            box-shadow: 0 0 0 4px rgba(44, 66, 107, 0.15) !important;
        }

        .recovery-theme .Recovery_input::placeholder {
            color: transparent !important;
        }

.radio-group {
    font-family: 'Poppins', sans-serif !important;
    font-size: 13px !important;
    /*color: #1f3050 !important;*/
	color: #fff !important;
    font-weight: 500 !important;
    margin: 8px 0 !important;
}

.form-title {
    text-align: center !important;
    margin-bottom: 12px !important;
}

    .form-title h2 {
        margin: 0 0 2px 0 !important;
        font-size: 22px !important;
        font-weight: 700 !important;
        color: #0f172a !important;
        font-family: 'Montserrat', sans-serif !important;
    }

    .form-title p {
        margin: 0 !important;
        font-size: 12px !important;
        color: #64748b !important;
    }

.form-wrap {
    padding: 0 !important;
}

.tabs-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.login-form {
    margin: 0 !important;
}

/* INPUT WRAPPER WITH FIXED MARGIN FOR ERRORS */
.input-wrapper {
    position: relative !important;
    margin-bottom: 16px !important; /* Reserve gap for error without expanding */
    width: 100% !important;
}

.input-icon-container {
    position: relative !important;
    width: 100% !important;
}

    .input-icon-container .box-icon {
        position: absolute !important;
        top: 35% !important;
        left: 15px !important;
        transform: translateY(-50%) !important;
        z-index: 99 !important;
        width: 18px !important;
        height: 18px !important;
        color: #64748b !important;
        font-size: 16px !important;
        pointer-events: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

.input100, .form-control.input100 {
    width: 100% !important;
    height: 40px !important;
    border: 1px solid #dbeafe !important;
    border-radius: 8px !important;
    background: #f0f7ff !important;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02) !important;
    padding-left: 45px !important;
    padding-right: 15px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #0f172a !important;
    transition: all 0.3s ease !important;
}

    .input100:focus, .form-control.input100:focus {
        outline: none !important;
        background: #ffffff !important;
        border: 1px solid #2c426b !important;
        box-shadow: 0 0 0 4px rgba(44, 66, 107, 0.15) !important;
    }

    .input100::placeholder {
        color: transparent !important;
    }

.btn-login, #btnForgot {
    width: 100% !important;
    height: 42px !important;
    border: none !important;
    border-radius: 8px !important;
    background: linear-gradient(135deg, #2c426b, #1f3050) !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    margin-top: 4px !important;
    box-shadow: 0 8px 20px rgba(31, 48, 80, 0.3) !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

    .btn-login:hover, #btnForgot:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 12px 25px rgba(31, 48, 80, 0.5) !important;
        background: linear-gradient(135deg, #1f3050, #111b2e) !important;
    }

.help-action {
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
}

    .help-action a {
        font-size: 12px !important;
        font-weight: 600 !important;
        color: #1f3050 !important;
        text-decoration: none !important;
        transition: color 0.2s ease !important;
    }

        .help-action a:hover {
            color: #111b2e !important;
            text-decoration: underline !important;
        }

/* FOOTER UPDATED FOR 100% EQUAL SPACING */
.card-footer {
    margin-top: 0 !important;
    padding-top: 10px !important;
    border-top: 1px solid #e2e8f0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important; /* Perfect equal gap */
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
}

    .card-footer .footer-line {
        font-size: 10px !important;
        line-height: 1 !important;
        color: #64748b !important;
        margin: 0 !important;
        text-align: center !important;
    }

        .card-footer .footer-line a {
            color: #1f3050 !important;
            font-weight: 700 !important;
            text-decoration: none !important;
        }

        .card-footer .footer-line.links a {
            color: #64748b !important;
            font-weight: 600 !important;
            margin: 0 4px !important;
        }

            .card-footer .footer-line.links a:hover {
                color: #1f3050 !important;
            }

@media (max-width: 992px) {
    .brand-header {
        position: absolute !important;
        top: 15px !important;
        left: 0 !important;
        width: 100% !important;
        justify-content: center !important;
        padding: 0 !important;
        flex-direction: column !important;
        text-align: center !important;
        gap: 5px !important;
    }

        .brand-header img {
            height: 50px !important;
        }

    .brand-text h1 {
        font-size: 20px !important;
    }

    .brand-text p {
        font-size: 10px !important;
        letter-spacing: 2px !important;
    }

    .main-content {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        height: 100vh !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 85px 15px 10px 15px !important; /* Added safe distance from header */
        margin: 0 !important;
    }

    .login-section {
        margin: 0 auto !important;
        width: 100% !important;
    }

    .yellow-theme {
        padding: 20px 20px 12px 20px !important;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   IMAGE/TEXT CAPTCHA & VALIDATION CSS (ABSOLUTE POSITION)
========================================================= */
.captcha-wrapper {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
}

.captcha-row {
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 40px !important;
}

#captchaCanvas {
    border-radius: 8px !important;
    border: 1px solid #dbeafe !important;
    background: #f0f7ff !important;
    cursor: pointer !important;
    height: 40px !important;
    width: 130px !important;
    box-sizing: border-box !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

#captcha-input {
    flex: 1 !important;
    height: 40px !important;
    padding-left: 15px !important;
    text-align: center !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.captcha-refresh {
    color: #64748b !important;
    font-size: 24px !important;
    padding: 0 5px !important;
    display: flex !important;
    align-items: center !important;
    height: 40px !important;
    transition: color 0.3s ease !important;
    text-decoration: none !important;
    margin: 0 !important;
}

    .captcha-refresh:hover {
        color: #1f3050 !important;
    }

.login-btn-wrapper {
    border: none !important;
    padding: 0 !important;
    margin-top: 10px !important;
    margin-bottom: 12px !important;
}

/* VALIDATION MESSAGE - WILL NOT INCREASE FORM HEIGHT */
.error-msg {
    display: none;
    position: absolute !important;
    bottom: -16px !important; /* Fixed inside the gap */
    left: 5px !important;
    color: #ef4444 !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    text-align: left !important;
    font-family: 'Poppins', sans-serif !important;
    white-space: nowrap !important;
    z-index: 10 !important;
}

    .error-msg.active {
        display: block !important;
    }

.input100.has-error, .form-control.input100.has-error, #captcha-input.has-error {
    border: 1px solid #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
    background: #fffafa !important;
}

.pwa-install-card {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    width: 360px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
    padding: 18px;
    z-index: 9999;
    font-family: Arial, sans-serif;
}

.pwa-header {
    display: flex;
    gap: 12px;
    align-items: center;
}

    .pwa-header img {
        width: 48px;
        height: 48px;
    }

    .pwa-header h4 {
        font-size: 16px;
        margin: 0;
        font-weight: 600;
    }

.pwa-install-card p {
    font-size: 14px;
    margin: 12px 0 15px;
    color: #555;
}

.pwa-actions {
    display: flex;
    gap: 10px;
}

.install-btn {
    background: #0d6efd;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
	font-size: 14px;
}

.later-btn {
    background: transparent;
    border: none;
    color: #555;
    cursor: pointer;
	font-size: 14px;
}

.close-btn {
    position: absolute;
    top: 8px;
    right: 10px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .pwa-install-card {
        left: 8px;
    }
}

.app-store-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
   
}

.store-badge {
    display: block;
    width: 150px;
    line-height: 0;
}

    .store-badge img {
        width: 100%;
        height: 43px;
        display: block;
        object-fit: fill;
        border-radius: 5px;
    }

@media (max-width: 992px) {
    .captcha-row {
        flex-wrap: wrap !important;
        row-gap: 10px !important;
        justify-content: flex-start !important;
    }

    #captchaCanvas {
        order: 1 !important;
    }

    .captcha-refresh {
        order: 2 !important;
    }

    #captcha-input {
        order: 3 !important;
        width: 100% !important;
        flex: 1 1 100% !important;
    }

    .captcha-wrapper {
        padding-bottom: 14px !important;
    }
}

@media (max-width: 992px) {
   /* .brand-header {
        position: absolute !important;
        top: 10px !important;
        left: 0 !important;
        width: 100% !important;
        justify-content: center !important;
        padding: 0 !important;
        flex-direction: column !important;
        text-align: center !important;
        gap: 2px !important;
    }
*/
        .brand-header img {
            height: 40px !important;
        }

    .brand-text h1 {
        font-size: 16px !important;
    }

    .brand-text p {
        font-size: 8px !important;
        letter-spacing: 1.5px !important;
    }

    .main-content {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        height: 100vh !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 65px 12px 6px 12px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    .login-section {
        margin: 0 auto !important;
        width: 100% !important;
        max-height: calc(100vh - 71px) !important;
        overflow-y: auto !important;
        -ms-overflow-style: none !important;
        scrollbar-width: none !important;
    }

        .login-section::-webkit-scrollbar {
            display: none !important;
        }

    .yellow-theme {
        padding: 14px 16px 8px 16px !important;
    }

    .form-title {
        margin-bottom: 8px !important;
    }

        .form-title h2 {
            font-size: 18px !important;
        }

        .form-title p {
            font-size: 11px !important;
        }

    .input-wrapper {
        margin-bottom: 10px !important;
    }

    .input100, .form-control.input100 {
        height: 36px !important;
    }

    .captcha-wrapper {
        padding-bottom: 6px !important;
    }

    .captcha-row {
        height: auto !important;
    }

    #captchaCanvas, #captcha-input, .captcha-refresh {
        height: 36px !important;
    }

    .remember-wrapper {
        margin: 6px 0 4px 0 !important;
    }

    .login-btn-wrapper {
        margin-top: 4px !important;
        margin-bottom: 6px !important;
    }

    .btn-login, #btnForgot {
        height: 38px !important;
        font-size: 13px !important;
    }

    .help-action {
        margin-bottom: 6px !important;
    }

        .help-action a {
            font-size: 11px !important;
        }

    .app-store-links {
        margin-top: 8px !important;
    }

    .store-badge {
        width: 130px !important;
    }

        .store-badge img {
            height: 38px !important;
        }

    /*.card-footer {
        padding-top: 6px !important;
        gap: 2px !important;
    }*/

        .card-footer .footer-line {
            font-size: 10px !important;
        }
}

/* CAPTCHA responsive row (already in your file, kept as is) */
@media (max-width: 992px) {
    .captcha-row {
        flex-wrap: wrap !important;
        row-gap: 8px !important;
        justify-content: flex-start !important;
    }

    #captchaCanvas {
        order: 1 !important;
    }

    .captcha-refresh {
        order: 2 !important;
    }

    #captcha-input {
        order: 3 !important;
        width: 100% !important;
        flex: 1 1 100% !important;
    }
}

/* Remember Me visibility fix — pretty-checkbox.min.css hides native checkbox */
.remember-wrapper input[type="checkbox"]#RememberMe {
    all: revert !important;
    -webkit-appearance: checkbox !important;
    appearance: checkbox !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    width: 15px !important;
    height: 15px !important;
    margin: 0 8px 0 0 !important;
    padding: 0 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    z-index: 5 !important;
    flex-shrink: 0 !important;
}

.remember-wrapper {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
}

    .remember-wrapper label {
        display: flex !important;
        align-items: center !important;
        visibility: visible !important;
        width: 100% !important;
        cursor: pointer !important;
    }


@media (max-width: 992px) {
    .brand-header img {
        height: 60px !important;
    }

    .brand-text h1 {
        font-size: 20px !important;
    }

    .brand-text p {
        font-size: 10px !important;
        letter-spacing: 2px !important;
    }

    .main-content {
        padding-top: 78px !important;
    }
	#captcha-input {
    font-size: 18px !important;
	}
}

#divFrm {
    color: #050404;
    font-size: 12px;
}

div#divMobileStep {
    font-size: 14px;
}

@media only screen and (min-width: 768px) {
    .terms, .recovery {
        position: absolute;
        right: 10px;
    }
}


div#divOtpStep {
    font-size: 14px;
}

#divFrm {
    color: #050404;
    font-size: 12px;
}

div#divMobileStep {
    font-size: 14px;
}

@media only screen and (min-width: 768px) {
    .terms, .recovery {
        position: absolute;
        right: 10px;
    }
}


div#divOtpStep {
    font-size: 14px;
}

#divFrm {
    color: #050404;
    font-size: 12px;
}

div#divMobileStep {
    font-size: 14px;
}

@media only screen and (min-width: 768px) {
    .terms, .recovery {
        position: absolute;
        right: 10px;
    }
}


div#divOtpStep {
    font-size: 14px;
}