﻿
:root {
    --fire-red: #d71920;
    --fire-red-dark: #b51218;
    --fire-blue: #005baa;
    --fire-blue-dark: #062a49;
    --fire-navy: #061a2d;
    --text: #16334d;
    --muted: #71859a;
    --border: #dce6ee;
}

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    font-family: "Inter", Arial, sans-serif;
    color: var(--text);
    background: #061a2d;
}

/* =========================================================
                     LOGIN BACKGROUND
                     Put the generated image here:
                     /assets/images/fire-login-background.png
                     ========================================================= */

.fire-login-page {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 34px 24px 24px;
    background: linear-gradient( 90deg, rgba(3, 24, 43, .08) 0%, rgba(3, 24, 43, .05) 42%, rgba(3, 24, 43, .30) 100% ), url("../Assets/images/Login_Naffco.png") center center / cover no-repeat fixed;
    isolation: isolate;
}

    .fire-login-page::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background: linear-gradient( 180deg, rgba(2, 22, 39, .14) 0%, rgba(2, 22, 39, .02) 48%, rgba(2, 22, 39, .48) 100% );
    }

    .fire-login-page::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        pointer-events: none;
        background: radial-gradient( circle at 50% 45%, rgba(255,255,255,.14), transparent 34% );
    }

/* =========================================================
                     MAIN LOGIN WRAPPER
                     ========================================================= */

.fire-login-shell {
    width: min(1080px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 410px;
    align-items: center;
    gap: 54px;
    margin-top: 40px;
}

/* =========================================================
                     LEFT BRANDING
                     ========================================================= */

.fire-login-intro {
    max-width: 560px;
    color: #ffffff;
    text-shadow: 0 2px 16px rgba(0,0,0,.20);
}

.fire-login-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 34px;
}

.fire-login-brand__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: rgba(215,25,32,.92);
    border: 1px solid rgba(255,255,255,.30);
    border-radius: 13px;
    box-shadow: 0 10px 28px rgba(0,0,0,.20);
}

    .fire-login-brand__icon i {
        font-size: 23px;
    }

.fire-login-brand__text small {
    display: block;
    margin-bottom: 3px;
    color: #ffd4d5;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.fire-login-brand__text strong {
    display: block;
    color: #ffffff;
    font-size: 20px;
    line-height: 1;
    font-weight: 800;
}

.fire-login-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 13px;
    padding: 7px 11px;
    color: #ffffff;
    background: rgba(0,91,170,.60);
    border: 1px solid rgba(255,255,255,.20);
    border-radius: 100px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .10em;
    text-transform: uppercase;
}

    .fire-login-eyebrow span {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #ff4b50;
        box-shadow: 0 0 0 4px rgba(215,25,32,.18);
    }

.fire-login-intro h1 {
    max-width: 580px;
    margin: 0 0 16px;
    color: #ffffff;
    font-size: clamp(40px, 5vw, 66px);
    line-height: .98;
    font-weight: 800;
    letter-spacing: -.045em;
}

    .fire-login-intro h1 span {
        color: #e51e26;
    }

.fire-login-intro > p {
    max-width: 510px;
    margin: 0 0 25px;
    color: rgba(255,255,255,.82);
    font-size: 14px;
    line-height: 1.7;
    text-shadow: 0 1px 8px rgba(0,0,0,.22);
}

.fire-login-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-width: 520px;
}

.fire-login-feature {
    min-height: 76px;
    padding: 12px;
    background: rgba(4,31,54,.50);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 12px;
    backdrop-filter: blur(8px);
}

    .fire-login-feature i {
        display: block;
        margin-bottom: 8px;
        color: #ff4a50;
        font-size: 17px;
    }

    .fire-login-feature strong {
        display: block;
        color: #ffffff;
        font-size: 10px;
        font-weight: 750;
    }

    .fire-login-feature span {
        display: block;
        margin-top: 3px;
        color: rgba(255,255,255,.62);
        font-size: 8px;
    }

/* =========================================================
                                                   LOGIN CARD
                                                   ========================================================= */

.fire-login-card {
    position: relative;
    overflow: hidden;
    padding: 15px;
    background: rgba(255,255,255,.93);
    border: 1px solid rgba(255,255,255,.70);
    border-radius: 22px;
    box-shadow: 0 30px 80px rgba(0,0,0,.35), 0 8px 25px rgba(0,0,0,.14);
    backdrop-filter: blur(18px);
}

    .fire-login-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient( 90deg, #d71920, #005baa );
    }

/* =========================================================
                                 LOGIN CARD HEADER - SINGLE ROW
                                 ========================================================= */

.fire-login-card__head {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    margin-bottom: 10px !important;
}

/* Icon */
.fire-login-card__icon {
    flex: 0 0 48px !important;
    width: 48px !important;
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    color: #d71920 !important;
    background: rgba(215,25,32,.08) !important;
    border: 1px solid rgba(215,25,32,.16) !important;
    border-radius: 13px !important;
}

    /* Icon */
    .fire-login-card__icon i {
        font-size: 20px !important;
    }

/* Text area */
.fire-login-card__content {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

    /* Heading */
    .fire-login-card__content h2 {
        margin: 0 0 5px !important;
        color: #102f4a !important;
        font-size: 24px !important;
        line-height: 1.15 !important;
        font-weight: 800 !important;
    }

    /* Description */
    .fire-login-card__content p {
        margin: 0 !important;
        color: #71859a !important;
        font-size: 15px !important;
        line-height: 1.5 !important;
    }

/* =========================================================
                                                   FORM
                                                   ========================================================= */

.fire-field {
    position: relative;
    margin-bottom: 15px;
}

    .fire-field > i {
        position: absolute;
        left: 14px;
        top: 50%;
        z-index: 2;
        color: #7b91a4;
        font-size: 14px;
        transform: translateY(-50%);
        pointer-events: none;
    }

    .fire-field input {
        width: 100%;
        height: 47px;
        padding: 0 13px 0 40px;
        color: #16334d;
        background: #f7fafc;
        border: 1px solid var(--border);
        border-radius: 10px;
        outline: none;
        font-family: inherit;
        font-size: 15px;
        transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
    }

        .fire-field input:focus {
            background: #ffffff;
            border-color: #005baa;
            box-shadow: 0 0 0 3px rgba(0,91,170,.09);
        }

            .fire-field input:focus + i {
                color: #005baa;
            }

.field-validation-error {
    display: block;
    margin-top: 4px;
    color: #d71920;
    font-size: 13px;
}

/* =========================================================
                                      CAPTCHA
                                      Keep CaptchaMvc's generated markup and script intact.
                                      ========================================================= */

/* =========================================================
                                 CAPTCHA - SINGLE ROW
                                 ========================================================= */
/* =========================================================
                                 CAPTCHA - IMAGE/TEXTBOX TOP ROW
                                 REFRESH/ENTER CODE BOTTOM ROW
                                 ========================================================= */

#divcaptcha,
#divcaptchaForgot {
    width: 100% !important;
    margin: 5px 0 14px !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: 125px minmax(0, 1fr) !important;
    grid-template-rows: 42px 20px !important;
    column-gap: 10px !important;
    row-gap: 3px !important;
    align-items: start !important;
    font-family: "Inter", Arial, sans-serif !important;
}

    /* Hide CaptchaMvc generated BR */
    #divcaptcha br,
    #divcaptchaForgot br {
        display: none !important;
    }


    /* =========================================================
                                 TOP LEFT
                                 CAPTCHA IMAGE
                                 ========================================================= */

    #divcaptcha #CaptchaImage,
    #divcaptchaForgot #CaptchaImage {
        grid-column: 1 !important;
        grid-row: 1 !important;
        display: block !important;
        width: 125px !important;
        height: 42px !important;
        max-width: 125px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 1px solid #dce6ee !important;
        border-radius: 7px !important;
        background: #ffffff !important;
        /* object-fit: contain !important;*/
    }


    /* =========================================================
                                 TOP RIGHT
                                 CAPTCHA INPUT
                                 ========================================================= */

    #divcaptcha #CaptchaInputText,
    #divcaptchaForgot #CaptchaInputText {
        grid-column: 2 !important;
        grid-row: 1 !important;
        display: block !important;
        width: 100% !important;
        height: 42px !important;
        margin: 0 !important;
        padding: 0 11px !important;
        color: #16334d !important;
        background: #f7fafc !important;
        border: 1px solid #dce6ee !important;
        border-radius: 8px !important;
        outline: none !important;
        font-family: inherit !important;
        font-size: 12px !important;
        box-sizing: border-box !important;
    }

        #divcaptcha #CaptchaInputText:focus,
        #divcaptchaForgot #CaptchaInputText:focus {
            background: #ffffff !important;
            border-color: #005baa !important;
            box-shadow: 0 0 0 3px rgba(0,91,170,.08) !important;
        }


    /* =========================================================
                                 BOTTOM LEFT
                                 REFRESH
                                 ========================================================= */

    #divcaptcha a[href="#CaptchaImage"],
    #divcaptchaForgot a[href="#CaptchaImage"] {
        grid-column: 1 !important;
        grid-row: 2 !important;
        display: inline-block !important;
        width: fit-content !important;
        height: 20px !important;
        margin: 0 !important;
        padding: 0 !important;
        color: #005baa !important;
        background: transparent !important;
        border: 0 !important;
        font-size: 14px !important;
        line-height: 20px !important;
        text-decoration: none !important;
        white-space: nowrap !important;
        cursor: pointer !important;
    }

        #divcaptcha a[href="#CaptchaImage"]:hover,
        #divcaptchaForgot a[href="#CaptchaImage"]:hover {
            color: #d71920 !important;
            text-decoration: underline !important;
        }


    /* =========================================================
                                 BOTTOM RIGHT
                                 ENTER CODE LABEL
                                 ========================================================= */

    #divcaptcha .divtext,
    #divcaptchaForgot .divtext {
        grid-column: 2 !important;
        grid-row: 2 !important;
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        height: 20px !important;
        margin: 0 !important;
        padding: 0 !important;
        color: #71859a !important;
        font-size: 14px !important;
        line-height: 20px !important;
        white-space: nowrap !important;
    }

/* =========================================================
                                           LOGIN BUTTON
                                                   ========================================================= */

#btn_Login,
#btn_ForgotPassword {
    width: 100%;
    height: 40px;
    margin: 0;
    color: #ffffff;
    background: linear-gradient( 135deg, #d71920, #b51218 );
    border: 0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 9px 20px rgba(215,25,32,.20);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

    #btn_Login:hover,
    #btn_ForgotPassword:hover {
        background: linear-gradient( 135deg, #e51e26, #c3141b );
        transform: translateY(-1px);
        box-shadow: 0 12px 25px rgba(215,25,32,.28);
    }

/* =========================================================
                                                   REGISTER / FORGOT
                                                   ========================================================= */

#registrationflag {
    margin-top: 5px;
    padding: 14px 15px;
    background: #f3f8fc;
    border: 1px solid #e1eaf1;
    border-radius: 10px;
    text-align: center;
}

    #registrationflag p {
        margin: 0 !important;
    }

    #registrationflag h6 {
        margin: 0 !important;
        color: #61788c !important;
        font-size: 15px !important;
        line-height: 1.6;
        font-weight: 500;
    }

    #registrationflag a {
        color: #005baa !important;
        text-decoration: none;
    }

        #registrationflag a:hover {
            color: #d71920 !important;
        }

.fire-forgot {
    margin-top: 17px;
    text-align: center;
}

    .fire-forgot a {
        color: #d71920 !important;
        font-size: 16px;
        font-weight: 700;
        text-decoration: none;
    }

        .fire-forgot a:hover {
            color: #005baa !important;
        }

.fire-login-error {
    display: block;
    min-height: 15px;
    margin: 4px 0 4px;
    color: #d71920;
    font-size: 14px;
    text-align: center;
}

/* =========================================================
                                                   FORGOT PASSWORD
                                                   ========================================================= */

#forgetPass {
    display: none;
}

.fire-back-login {
    margin-top: 10px;
    text-align: center;
}

    .fire-back-login a {
        color: #005baa;
        font-size: 15px;
        font-weight: 700;
        text-decoration: none;
    }

/* =========================================================
                                                   FOOTER
                                                   ========================================================= */

.fire-login-footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 13px;
    color: rgba(255,255,255,.70);
    text-align: center;
    font-size: 9px;
    pointer-events: none;
}

/* =========================================================
                                                   RESPONSIVE
                                                   ========================================================= */

@media (max-width: 900px) {

    .fire-login-page {
        padding: 125px 18px 65px;
    }

    .fire-login-shell {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 520px;
    }

    .fire-login-intro {
        max-width: none;
        text-align: center;
    }

    .fire-login-brand {
        margin-bottom: 22px;
    }

    .fire-login-intro h1 {
        margin-left: auto;
        margin-right: auto;
        font-size: clamp(38px, 8vw, 52px);
    }

    .fire-login-intro > p {
        margin-left: auto;
        margin-right: auto;
    }

    .fire-login-features {
        margin: 0 auto;
    }

    .fire-login-card {
        width: 100%;
    }
}

@media (max-width: 560px) {

    .fire-login-page {
        min-height: 100svh;
        padding: 108px 13px 58px;
        background-position: 63% center;
    }

    .fire-login-brand__icon {
        width: 42px;
        height: 42px;
    }

    .fire-login-brand__text strong {
        font-size: 17px;
    }

    .fire-login-intro h1 {
        font-size: 37px;
    }

    .fire-login-intro > p {
        font-size: 11px;
    }

    .fire-login-features {
        grid-template-columns: repeat(3, 1fr);
    }

    .fire-login-feature {
        min-height: 68px;
        padding: 9px;
    }

        .fire-login-feature span {
            display: none;
        }

    .fire-login-card {
        padding: 23px 18px;
        border-radius: 17px;
    }

    .fire-login-card__head h2 {
        font-size: 21px;
    }

    .fire-login-footer {
        bottom: 8px;
        font-size: 7px;
    }
}



/* =========================================================
                            REGISTRATION
                            ========================================================= */

#divRegistration {
    width: 100%;
}

.fire-registration-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.fire-registration-field {
    width: 100%;
}

    .fire-registration-field.full {
        width: 100%;
    }

    .fire-registration-field label {
        display: block;
        margin-bottom: 5px;
        color: #16334d;
        font-size: 15px;
        font-weight: 700;
    }

    .fire-registration-field .form-control {
        width: 100%;
        height: 40px;
        padding: 0 11px;
        color: #16334d;
        background: #f7fafc;
        border: 1px solid #dce6ee;
        border-radius: 8px;
        outline: none;
        font-family: "Inter", Arial, sans-serif;
        font-size: 13px;
        box-sizing: border-box;
    }

        .fire-registration-field .form-control:focus {
            background: #ffffff;
            border-color: #005baa;
            box-shadow: 0 0 0 3px rgba(0,91,170,.08);
        }

    .fire-registration-field .help-block {
        margin: 3px 0 0;
        color: #d71920;
        font-size: 12px;
    }


/* FIRE AGENCY */

.fire-registration-agency {
    margin: 5px 0 14px;
    padding: 9px 11px;
    background: #f3f8fc;
    border: 1px solid #e1eaf1;
    border-radius: 8px;
}

    .fire-registration-agency label {
        display: flex;
        align-items: center;
        gap: 7px;
        margin: 0;
        color: #16334d;
        font-size: 10px;
        font-weight: 600;
        cursor: pointer;
    }

    .fire-registration-agency input {
        width: 14px;
        height: 14px;
    }


/* REGISTER BUTTON */

.fire-registration-action {
    margin-top: 8px;
}

.fire-registration-btn {
    width: 100%;
    height: 42px;
    border: 0;
    border-radius: 9px;
    color: #ffffff;
    background: linear-gradient(135deg, #d71920, #b51218);
    font-family: "Inter", Arial, sans-serif;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 7px 18px rgba(215,25,32,.18);
}

    .fire-registration-btn:hover {
        background: linear-gradient(135deg, #e51e26, #c3141b);
        transform: translateY(-1px);
    }


/* OTP */

.fire-otp-note {
    margin: 10px 0;
    text-align: center;
    color: #d71920;
    font-size: 9px;
}

#countdown {
    margin: 5px 0 10px;
    color: #16334d;
    text-align: center;
    font-size: 10px;
    font-weight: 700;
}

.fire-otp-row {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    gap: 8px;
    align-items: center;
}

    .fire-otp-row label {
        margin: 0;
        color: #16334d;
        font-size: 9px;
        font-weight: 700;
    }

    .fire-otp-row input {
        height: 40px;
        padding: 0 10px;
        border: 1px solid #dce6ee;
        border-radius: 8px;
    }

    .fire-otp-row .fire-registration-btn {
        width: auto;
        padding: 0 14px;
        white-space: nowrap;
    }


/* BACK TO LOGIN */

#divRegistration .fire-back-login {
    margin-top: 18px;
    padding-top: 12px;
    border-top: 1px solid #e6edf2;
    text-align: center;
}

    #divRegistration .fire-back-login a {
        color: #005baa;
        font-size: 16px;
        font-weight: 700;
        text-decoration: none;
    }

        #divRegistration .fire-back-login a:hover {
            color: #d71920;
        }


/* MOBILE */

@media (max-width: 560px) {

    .fire-registration-row {
        grid-template-columns: 1fr;
    }

    .fire-otp-row {
        grid-template-columns: 1fr;
    }

        .fire-otp-row .fire-registration-btn {
            width: 100%;
        }
}


/* =========================================================
                       CORPORATION DROPDOWN
                       ========================================================= */

.fire-corporation-select {
    flex: 1 0 240px;
    margin-bottom: 10px;
    /* width: 290px;*/
}

    .fire-corporation-select select {
        width: 100%;
        height: 42px;
        padding: 0 32px 0 11px;
        color: #16334d;
        background: #f7fafc;
        border: 1px solid #dce6ee;
        border-radius: 8px;
        outline: none;
        font-family: "Inter", Arial, sans-serif;
        font-size: 11px;
        font-weight: 500;
        cursor: pointer;
        transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
    }

        .fire-corporation-select select:focus {
            background: #ffffff;
            border-color: #005baa;
            box-shadow: 0 0 0 3px rgba(0,91,170,.08);
        }

        .fire-corporation-select select:hover {
            border-color: #005baa;
        }

/* Registration corporation dropdown */
.fire-registration-corporation {
    width: 100%;
    margin: 0 0 12px;
}

    .fire-registration-corporation select {
        width: 100%;
        height: 40px;
        padding: 0 32px 0 11px;
        color: #16334d;
        background: #f7fafc;
        border: 1px solid #dce6ee;
        border-radius: 8px;
        outline: none;
        font-family: "Inter", Arial, sans-serif;
        font-size: 13px;
        cursor: pointer;
    }

        .fire-registration-corporation select:focus {
            background: #ffffff;
            border-color: #005baa;
            box-shadow: 0 0 0 3px rgba(0,91,170,.08);
        }

/* Mobile */
@media (max-width: 560px) {

    .fire-login-card__head {
        flex-wrap: wrap !important;
    }

    .fire-corporation-select {
        flex: 1 1 100%;
        width: 100%;
        margin-top: 4px;
    }

        .fire-corporation-select select {
            width: 100%;
        }
}
/* =========================================================
                  COMMON OTP POPUP
                  SAME DESIGN AS COMMUNITY PORTAL LOGIN CARD
                  ========================================================= */

.fire-otp-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(3, 24, 43, .58);
    backdrop-filter: blur(6px);
}

    .fire-otp-modal.show {
        display: flex;
    }


/* =========================================================
                  OTP CARD
                  SAME AS LOGIN CARD
                  ========================================================= */

.fire-otp-modal__box {
    position: relative;
    width: min(620px, 100%);
    padding: 30px;
    background: rgba(255, 255, 255, .93);
    border: 1px solid rgba(255, 255, 255, .70);
    border-radius: 22px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .35), 0 8px 25px rgba(0, 0, 0, .14);
    backdrop-filter: blur(18px);
    overflow: hidden;
    animation: fireOtpPopupIn .22s ease-out;
}


    /* =========================================================
                  TOP RED + BLUE LINE
                  SAME AS LOGIN CARD
                  ========================================================= */

    .fire-otp-modal__box::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient( 90deg, #d71920 0%, #d71920 27%, #005baa 27%, #005baa 100% );
        z-index: 5;
    }


/* =========================================================
                  POPUP ANIMATION
                  ========================================================= */

@keyframes fireOtpPopupIn {

    from {
        opacity: 0;
        transform: translateY(15px) scale(.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* =========================================================
                  CLOSE BUTTON
                  ========================================================= */

.fire-otp-close {
    position: absolute;
    top: 13px;
    right: 15px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    color: #71859a;
    background: #f3f7fa;
    font-size: 16px;
    cursor: pointer;
    transition: all .2s ease;
    z-index: 10;
}

    .fire-otp-close:hover {
        color: #ffffff;
        background: #d71920;
        transform: rotate(90deg);
    }


/* =========================================================
                  OTP HEADER
                  SAME STYLE AS LOGIN HEADER
                  ========================================================= */

.fire-otp-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding-right: 35px;
}


/* ICON */

.fire-otp-header__icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d71920;
    background: rgba(215, 25, 32, .08);
    border: 1px solid rgba(215, 25, 32, .16);
    border-radius: 13px;
}

    .fire-otp-header__icon i {
        font-size: 20px;
    }


/* HEADER CONTENT */

.fire-otp-header__content {
    flex: 1 1 auto;
    min-width: 0;
}

    .fire-otp-header__content h3 {
        margin: 0 0 5px;
        color: #102f4a;
        font-size: 24px;
        line-height: 1.15;
        font-weight: 800;
    }

    .fire-otp-header__content p {
        margin: 0;
        color: #71859a;
        font-size: 11px;
        line-height: 1.5;
    }


/* =========================================================
                  OTP MESSAGE
                  ========================================================= */

.fire-otp-message {
    margin: 0 0 16px;
    color: #61788c;
    text-align: center;
    font-size: 12px;
    line-height: 1.6;
}


/* =========================================================
                  OTP INPUTS
                  LOGIN-FIELD STYLE
                  ========================================================= */

.fire-otp-inputs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0 22px;
}

.fire-otp-input {
    width: 48px;
    height: 47px;
    padding: 0;
    color: #16334d;
    background: #f7fafc;
    border: 1px solid #dce6ee;
    border-radius: 10px;
    outline: none;
    text-align: center;
    font-family: "Inter", Arial, sans-serif;
    font-size: 17px;
    font-weight: 700;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

    .fire-otp-input:focus {
        background: #ffffff;
        border-color: #005baa;
        box-shadow: 0 0 0 3px rgba(0, 91, 170, .09);
    }


/* =========================================================
                  VERIFY BUTTON
                  SAME AS LOGIN BUTTON
                  ========================================================= */

.fire-otp-verify-btn {
    width: 100%;
    height: 47px;
    margin: 2px 0 0;
    border: 0;
    border-radius: 10px;
    color: #ffffff;
    background: linear-gradient( 135deg, #d71920, #b51218 );
    font-family: "Inter", Arial, sans-serif;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 9px 20px rgba(215, 25, 32, .20);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

    .fire-otp-verify-btn:hover {
        background: linear-gradient(135deg, #ed7176, #e97479) !important;
        transform: translateY(-1px);
        box-shadow: 0 12px 25px rgba(215, 25, 32, .28);
    }


/* =========================================================
                  OTP FOOTER
                  ========================================================= */

.fire-otp-footer {
    margin-top: 14px;
    color: #8a9bab;
    text-align: center;
    font-size: 9px;
}


/* =========================================================
                  MOBILE
                  ========================================================= */

@media (max-width: 560px) {

    .fire-otp-modal {
        padding: 15px;
    }

    .fire-otp-modal__box {
        width: 100%;
        padding: 25px 18px 21px;
        border-radius: 17px;
    }

    .fire-otp-header {
        gap: 12px;
    }

    .fire-otp-header__icon {
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
    }

    .fire-otp-header__content h3 {
        font-size: 21px;
    }

    .fire-otp-inputs {
        gap: 6px;
    }

    .fire-otp-input {
        width: 43px;
        height: 47px;
        font-size: 17px;
    }
}
/* =========================================================
                  BACKGROUND BRANDING
                  HTML TEXT OVER BACKGROUND IMAGE
                  ========================================================= */

.fire-background-brand {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
    min-height: 112px;
    padding: 14px 52px;
    pointer-events: none;
    background: linear-gradient( 135deg, rgba(5,22,38,.97) 0%, rgba(8,42,70,.94) 52%, rgba(0,91,170,.90) 100% );
    border-bottom: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 10px 30px rgba(0,0,0,.18);
}

    .fire-background-brand::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 3px;
        background: linear-gradient( 90deg, #d71920 0%, #d71920 32%, #ffffff 32%, #ffffff 34%, #005baa 34%, #005baa 100% );
    }

    .fire-background-brand::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 3px;
        background: linear-gradient( 90deg, #d71920 0%, #d71920 38%, #005baa 62%, #005baa 100% );
    }


/* LOGO */

.fire-background-brand__logo {
    width: 82px;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 82px;
}

    .fire-background-brand__logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
    }


/* TEXT */

.fire-background-brand__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.fire-background-brand__badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 5px;
    padding: 4px 9px;
    color: #ffffff;
    background: rgba(215, 25, 32, .88);
    border: 1px solid rgba(255,255,255,.20);
    border-radius: 999px;
    font-size: 8px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    box-shadow: 0 5px 14px rgba(0,0,0,.14);
}


/* ENGLISH */

.fire-background-brand__title {
    color: #ffffff;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: .1px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, .45);
}


/* MARATHI */

.fire-background-brand__marathi {
    margin-top: 4px;
    color: rgba(255,255,255,.88);
    font-size: 17px;
    line-height: 1.35;
    font-weight: 500;
    text-shadow: 0 2px 5px rgba(0, 0, 0, .45);
}

.fire-background-brand__slogan {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 7px;
    color: #ffffff;
    font-size: 10px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    opacity: .92;
}

    .fire-background-brand__slogan::before {
        content: "";
        width: 24px;
        height: 2px;
        flex: 0 0 24px;
        background: #d71920;
        border-radius: 2px;
        box-shadow: 0 0 8px rgba(215,25,32,.55);
    }

@media (max-width: 700px) {
    .fire-background-brand {
        min-height: 94px;
        padding: 11px 18px;
        gap: 12px;
    }

    .fire-background-brand__logo {
        width: 62px;
        height: 62px;
        flex: 0 0 62px;
    }

    .fire-background-brand__title {
        font-size: 19px;
    }

    .fire-background-brand__marathi {
        font-size: 12px;
    }

    .fire-background-brand__slogan {
        margin-top: 5px;
        font-size: 8px;
        letter-spacing: .10em;
    }

    .fire-background-brand__badge {
        margin-bottom: 4px;
        padding: 3px 7px;
        font-size: 7px;
    }
}

@media (max-width: 420px) {
    .fire-background-brand {
        min-height: 86px;
        padding: 10px 12px;
        gap: 9px;
    }

    .fire-background-brand__logo {
        width: 50px;
        height: 50px;
        flex: 0 0 50px;
    }

    .fire-background-brand__title {
        font-size: 15px;
    }

    .fire-background-brand__marathi {
        font-size: 10px;
    }

    .fire-background-brand__slogan {
        font-size: 7px;
        letter-spacing: .06em;
    }

        .fire-background-brand__slogan::before {
            width: 16px;
            flex-basis: 16px;
        }
}

/* FINAL SLOGAN POSITION OVERRIDE */
.fire-background-brand {
    position: absolute;
}

.fire-background-brand__slogan {
    position: absolute !important;
    top: 20px !important;
    right: 52px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 10px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: .96;
    text-shadow: 0 2px 6px rgba(0,0,0,.35);
}

    .fire-background-brand__slogan::before {
        content: "";
        width: 24px;
        height: 2px;
        flex: 0 0 24px;
        background: #d71920;
        border-radius: 2px;
        box-shadow: 0 0 8px rgba(215,25,32,.55);
    }

@media (max-width: 700px) {
    .fire-background-brand__slogan {
        top: 13px !important;
        right: 18px !important;
        font-size: 8px;
        letter-spacing: .10em;
    }
}

@media (max-width: 420px) {
    .fire-background-brand__slogan {
        top: 10px !important;
        right: 12px !important;
        font-size: 7px;
        letter-spacing: .06em;
    }

        .fire-background-brand__slogan::before {
            width: 16px;
            flex-basis: 16px;
        }
}

/* =========================================================
             FINAL LOGIN CARD POSITION FIX
             Keep the login card completely below the branding header.
             ========================================================= */

.fire-login-page {
    min-height: 100vh;
    padding: 125px 24px 55px !important;
    align-items: center !important;
    justify-content: center !important;
}

.fire-login-shell {
    width: min(1080px, 100%);
    margin-top: 0 !important;
    position: relative;
    z-index: 2;
}

/* Keep the card itself above the background but below the header */
.fire-login-card {
    position: relative;
    z-index: 2;
}

/* Desktop: prevent the card from entering the 112px branding area */
@media (min-width: 901px) {
    .fire-login-page {
        padding-top: 125px !important;
    }

    .fire-login-shell {
        margin-top: 0 !important;
    }
}

/* Tablet / mobile */
@media (max-width: 900px) {
    .fire-login-page {
        padding: 125px 18px 65px !important;
    }

    .fire-login-shell {
        margin-top: 0 !important;
    }
}

/* =========================================================
        FINAL MODERN OTP POPUP
        Inspired by the supplied reference design
        ========================================================= */

.fire-otp-modal {
    background: rgba(5, 22, 39, .64) !important;
    backdrop-filter: blur(7px);
}

.fire-otp-modal__box {
    width: min(430px, calc(100vw - 30px)) !important;
    padding: 34px 34px 35px !important;
    background: #ffffff !important;
    border: 0 !important;
    border-radius: 17px !important;
    box-shadow: 0 24px 70px rgba(0, 20, 40, .30) !important;
    backdrop-filter: none !important;
}

    .fire-otp-modal__box::before {
        display: none !important;
    }

.fire-otp-close {
    top: 16px !important;
    right: 16px !important;
    width: 32px !important;
    height: 32px !important;
    color: #68798b !important;
    background: #f3f5f7 !important;
    font-size: 14px !important;
}

    .fire-otp-close:hover {
        color: #ffffff !important;
        background: #d71920 !important;
    }

.fire-otp-modern-header {
    text-align: center;
    padding: 1px 20px 0;
}

.fire-otp-modern-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #eef4ff;
    border-radius: 50%;
    background: linear-gradient(135deg, #d71920, #b51218);
}

    .fire-otp-modern-icon i {
        font-size: 28px;
    }

.fire-otp-modern-header h3 {
    margin: 0 0 10px;
    color: #202938;
    font-family: "Inter", Arial, sans-serif;
    font-size: 23px;
    line-height: 1.2;
    font-weight: 500;
}

.fire-otp-modern-header p {
    max-width: 340px;
    margin: 0 auto 9px;
    color: #7a8390;
    font-family: "Inter", Arial, sans-serif;
    font-size: 13px;
    line-height: 1.55;
    font-weight: 400;
}

.fire-otp-recipient {
    min-height: 20px;
    margin: 0 auto;
    color: #294aa3;
    font-family: "Inter", Arial, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 700;
    word-break: break-word;
}

.fire-otp-message {
    min-height: 18px;
    margin: 7px 0 10px;
    padding: 0 5px;
    color: #657181;
    text-align: center;
    font-family: "Inter", Arial, sans-serif;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 600;
    visibility: hidden;
    opacity: 0;
    transition: opacity .2s ease;
}

    .fire-otp-message.show {
        visibility: visible;
        opacity: 1;
    }

    .fire-otp-message.error {
        color: #d71920;
    }

    .fire-otp-message.success {
        color: #168448;
    }

    .fire-otp-message.warning {
        color: #c77b00;
    }


.fire-otp-inputs {
    display: flex !important;
    justify-content: center !important;
    gap: 10px !important;
    margin: 22px 0 15px !important;
}

.fire-otp-input {
    width: 48px !important;
    height: 52px !important;
    padding: 0 !important;
    color: #24344a !important;
    background: #ffffff !important;
    border: 1px solid #ccd5df !important;
    border-radius: 8px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
}

    .fire-otp-input:focus {
        background: #ffffff !important;
        border-color: #294aa3 !important;
        box-shadow: 0 0 0 3px rgba(41, 74, 163, .10) !important;
    }

.fire-otp-verify-btn {
    width: 100% !important;
    height: 46px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 7px !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, #d71920, #b51218) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    box-shadow: none !important;
}

    .fire-otp-verify-btn:hover {
        background: #213d8c !important;
        transform: none !important;
        box-shadow: 0 7px 16px rgba(41, 74, 163, .18) !important;
    }

.fire-otp-resend-modern {
    margin-top: 14px;
    padding-top: 13px;
    border-top: 1px solid #e2e6eb;
    text-align: center;
}

.fire-otp-resend-message {
    min-height: 18px;
    color: #6d7785;
    font-family: "Inter", Arial, sans-serif;
    font-size: 11px;
    line-height: 1.5;
}

    .fire-otp-resend-message strong {
        color: #294aa3;
        font-weight: 800;
    }

.fire-otp-resend-link {
    display: inline-block;
    margin-top: 6px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #294aa3;
    font-family: "Inter", Arial, sans-serif;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

    .fire-otp-resend-link:disabled {
        display: none;
    }

    .fire-otp-resend-link:hover:not(:disabled) {
        color: #1d377f;
        text-decoration: underline;
    }

.fire-otp-validity {
    margin-top: 15px;
    padding: 9px 10px;
    color: #168448;
    background: #effbf4;
    border: 1px solid #cef0dc;
    border-radius: 7px;
    text-align: center;
    font-family: "Inter", Arial, sans-serif;
    font-size: 11px;
    line-height: 1.4;
    font-weight: 600;
}

    .fire-otp-validity i {
        margin-right: 5px;
        font-size: 11px;
    }

@media (max-width: 560px) {
    .fire-otp-modal {
        padding: 15px !important;
    }

    .fire-otp-modal__box {
        width: 100% !important;
        padding: 30px 20px 25px !important;
        border-radius: 16px !important;
    }

    .fire-otp-modern-icon {
        width: 58px;
        height: 58px;
    }

        .fire-otp-modern-icon i {
            font-size: 25px;
        }

    .fire-otp-modern-header h3 {
        font-size: 21px;
    }

    .fire-otp-inputs {
        gap: 7px !important;
    }

    .fire-otp-input {
        width: 43px !important;
        height: 48px !important;
    }
}

@media (max-width: 380px) {
    .fire-otp-inputs {
        gap: 5px !important;
    }

    .fire-otp-input {
        width: 40px !important;
        height: 46px !important;
    }

    .fire-otp-modern-header {
        padding-left: 8px;
        padding-right: 8px;
    }
}

.chosen-container .chosen-search input {
    autocomplete: off;
    width: 100% !important;
}

    .chosen-container .chosen-search input:-webkit-autofill,
    .chosen-container .chosen-search input:-webkit-autofill:hover,
    .chosen-container .chosen-search input:-webkit-autofill:focus {
        -webkit-text-fill-color: #333 !important;
        transition: background-color 9999s ease-out 0s !important;
    }

#ddlCorporationsTypeLogin + .chosen-container,
#ddlCorporationsTypeForgot + .chosen-container,
#ddlCorporationsTypeRegistration + .chosen-container {
    width: 100% !important;
}

.chosen-container > .chosen-single, [class*=chosen-container] > .chosen-single {
    line-height: 33px !important;
    height: 37px !important;
}

/* =========================================================
   CAPTCHA REFRESH - FORCE CLICKABLE
   ========================================================= */

#divcaptcha a[href="#CaptchaImage"],
#divcaptchaForgot a[href="#CaptchaImage"] {
    position: relative !important;
    z-index: 100 !important;
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    min-width: 50px !important;
    height: 22px !important;
    margin: 0 !important;
    padding: 0 4px !important;
    color: #005baa !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    text-decoration: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

    #divcaptcha a[href="#CaptchaImage"]:hover,
    #divcaptchaForgot a[href="#CaptchaImage"]:hover {
        color: #d71920 !important;
        text-decoration: underline !important;
    }

/* =========================================================
   FIRE CAPTCHA
   ========================================================= */

#divcaptcha,
#divcaptchaForgot {
    width: 100% !important;
    margin: 8px 0 15px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

    #divcaptcha br,
    #divcaptchaForgot br {
        display: none !important;
    }

    /* CAPTCHA IMAGE */

    #divcaptcha #CaptchaImage,
    #divcaptchaForgot #CaptchaImage {
        display: inline-block !important;
        width: 125px !important;
        height: 42px !important;
        max-width: 125px !important;
        margin: 0 8px 0 0 !important;
        padding: 0 !important;
        border: 1px solid #dce6ee !important;
        border-radius: 7px !important;
        background: #ffffff !important;
        vertical-align: middle !important;
        /* object-fit: contain !important;*/
    }

    /* CAPTCHA INPUT */

    #divcaptcha #CaptchaInputText,
    #divcaptchaForgot #CaptchaInputText {
        display: inline-block !important;
        width: calc(100% - 140px) !important;
        height: 42px !important;
        margin: 0 !important;
        padding: 0 11px !important;
        box-sizing: border-box !important;
        color: #16334d !important;
        background: #f7fafc !important;
        border: 1px solid #dce6ee !important;
        border-radius: 8px !important;
        outline: none !important;
        vertical-align: middle !important;
        font-size: 13px !important;
    }

        #divcaptcha #CaptchaInputText:focus,
        #divcaptchaForgot #CaptchaInputText:focus {
            background: #ffffff !important;
            border-color: #005baa !important;
            box-shadow: 0 0 0 3px rgba(0,91,170,.08) !important;
        }

    /* REFRESH */

    #divcaptcha a[href="#CaptchaImage"],
    #divcaptchaForgot a[href="#CaptchaImage"] {
        display: inline-block !important;
        margin: 5px 0 0 0 !important;
        padding: 0 !important;
        color: #005baa !important;
        background: transparent !important;
        border: 0 !important;
        font-size: 13px !important;
        line-height: 20px !important;
        text-decoration: none !important;
        cursor: pointer !important;
    }

        #divcaptcha a[href="#CaptchaImage"]:hover,
        #divcaptchaForgot a[href="#CaptchaImage"]:hover {
            color: #d71920 !important;
            text-decoration: underline !important;
        }

    /* ENTER CODE */

    #divcaptcha .divtext,
    #divcaptchaForgot .divtext {
        display: inline-block !important;
        margin: 5px 0 0 10px !important;
        color: #71859a !important;
        font-size: 13px !important;
    }
/* =========================================================
   FIRE CAPTCHA
   ========================================================= */

#divcaptcha,
#divcaptchaForgot {
    width: 100% !important;
    margin: 8px 0 15px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

    #divcaptcha br,
    #divcaptchaForgot br {
        display: none !important;
    }

    /* CAPTCHA IMAGE */

    #divcaptcha #CaptchaImage,
    #divcaptchaForgot #CaptchaImage {
        display: inline-block !important;
        width: 125px !important;
        height: 42px !important;
        max-width: 125px !important;
        margin: 0 8px 0 0 !important;
        padding: 0 !important;
        border: 1px solid #dce6ee !important;
        border-radius: 7px !important;
        background: #ffffff !important;
        vertical-align: middle !important;
        /*object-fit: contain !important;*/
    }

    /* CAPTCHA INPUT */

    #divcaptcha #CaptchaInputText,
    #divcaptchaForgot #CaptchaInputText {
        display: inline-block !important;
        width: 30% !important;
        height: 42px !important;
        margin: 0 !important;
        padding: 0 11px !important;
        box-sizing: border-box !important;
        color: #16334d !important;
        background: #f7fafc !important;
        border: 1px solid #dce6ee !important;
        border-radius: 8px !important;
        outline: none !important;
        vertical-align: middle !important;
        font-size: 13px !important;
    }

        #divcaptcha #CaptchaInputText:focus,
        #divcaptchaForgot #CaptchaInputText:focus {
            background: #ffffff !important;
            border-color: #005baa !important;
            box-shadow: 0 0 0 3px rgba(0,91,170,.08) !important;
        }

    /* REFRESH */

    #divcaptcha a[href="#CaptchaImage"],
    #divcaptchaForgot a[href="#CaptchaImage"] {
        display: inline-block !important;
        margin: 5px 0 0 0 !important;
        padding: 0 !important;
        color: #005baa !important;
        background: transparent !important;
        border: 0 !important;
        font-size: 13px !important;
        line-height: 20px !important;
        text-decoration: none !important;
        cursor: pointer !important;
    }

        #divcaptcha a[href="#CaptchaImage"]:hover,
        #divcaptchaForgot a[href="#CaptchaImage"]:hover {
            color: #d71920 !important;
            text-decoration: underline !important;
        }

    /* ENTER CODE */

    #divcaptcha .divtext,
    #divcaptchaForgot .divtext {
        display: inline-block !important;
        margin: 5px 0 0 10px !important;
        color: #71859a !important;
        font-size: 16px !important;
    }


/* =========================================================
   FINAL LOGIN CAPTCHA LAYOUT
   CAPTCHA IMAGE | CODE BOX | LOGIN BUTTON
   ========================================================= */

.fire-captcha-row {
    width: 100% !important;
    display: grid !important;
    /*
       125px = CAPTCHA image
       135px = CAPTCHA input
       remaining space = Login button
    */
    grid-template-columns: 270px minmax(0, 1fr) !important;
    column-gap: 10px !important;
    align-items: start !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}


    /* =========================================================
   CAPTCHA AREA
   ========================================================= */

    .fire-captcha-row #divcaptcha,
    .fire-captcha-row #divcaptchaForgot {
        width: 270px !important;
        display: grid !important;
        grid-template-columns: 125px 135px !important;
        grid-template-rows: 42px 20px !important;
        column-gap: 10px !important;
        row-gap: 3px !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        align-items: start !important;
    }


        /* Hide CaptchaMvc BR */

        .fire-captcha-row #divcaptcha br,
        .fire-captcha-row #divcaptchaForgot br {
            display: none !important;
        }


    /* =========================================================
   CAPTCHA IMAGE
   ========================================================= */

    .fire-captcha-row #CaptchaImage {
        grid-column: 1 !important;
        grid-row: 1 !important;
        width: 125px !important;
        min-width: 125px !important;
        max-width: 125px !important;
        height: 42px !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
        box-sizing: border-box !important;
        border: 1px solid #dce6ee !important;
        border-radius: 7px !important;
        background: #ffffff !important;
        /*object-fit: contain !important;*/
    }


    /* =========================================================
   CAPTCHA INPUT
   ========================================================= */

    .fire-captcha-row #CaptchaInputText {
        grid-column: 2 !important;
        grid-row: 1 !important;
        width: 135px !important;
        min-width: 135px !important;
        max-width: 135px !important;
        height: 42px !important;
        margin: 0 !important;
        padding: 0 10px !important;
        display: block !important;
        box-sizing: border-box !important;
        color: #16334d !important;
        background: #f7fafc !important;
        border: 1px solid #dce6ee !important;
        border-radius: 8px !important;
        outline: none !important;
        font-family: "Inter", Arial, sans-serif !important;
        font-size: 12px !important;
    }


        /* Focus */

        .fire-captcha-row #CaptchaInputText:focus {
            background: #ffffff !important;
            border-color: #005baa !important;
            box-shadow: 0 0 0 3px rgba(0,91,170,.08) !important;
        }


    /* =========================================================
   REFRESH
   ========================================================= */

    .fire-captcha-row #divcaptcha a[href="#CaptchaImage"],
    .fire-captcha-row #divcaptchaForgot a[href="#CaptchaImage"] {
        grid-column: 1 !important;
        grid-row: 2 !important;
        display: inline-block !important;
        width: fit-content !important;
        height: 20px !important;
        margin: 0 !important;
        padding: 0 !important;
        color: #005baa !important;
        background: transparent !important;
        border: 0 !important;
        font-size: 11px !important;
        line-height: 20px !important;
        text-decoration: none !important;
        white-space: nowrap !important;
        cursor: pointer !important;
    }


    /* =========================================================
   ENTER CODE
   ========================================================= */

    .fire-captcha-row #divcaptcha .divtext,
    .fire-captcha-row #divcaptchaForgot .divtext {
        grid-column: 2 !important;
        grid-row: 2 !important;
        display: flex !important;
        align-items: center !important;
        width: 135px !important;
        height: 20px !important;
        margin: 0 !important;
        padding: 0 !important;
        color: #71859a !important;
        font-size: 12px !important;
        line-height: 20px !important;
        white-space: nowrap !important;
    }


/* =========================================================
   LOGIN BUTTON
   TAKES ALL REMAINING SPACE
   ========================================================= */

.fire-captcha-action {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    color: #ffffff !important;
    background: linear-gradient( 135deg, #d71920, #b51218 ) !important;
    border: 0 !important;
    border-radius: 10px !important;
    font-family: "Inter", Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    box-shadow: 0 9px 20px rgba(215,25,32,.20) !important;
    box-sizing: border-box !important;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease !important;
}


    /* =========================================================
   LOGIN BUTTON HOVER
   ========================================================= */

    .fire-captcha-action:hover {
        background: linear-gradient( 135deg, #e51e26, #c3141b ) !important;
        transform: translateY(-1px) !important;
        box-shadow: 0 12px 25px rgba(215,25,32,.28) !important;
    }


/* =========================================================
   ERROR MESSAGE
   ========================================================= */

.fire-login-error {
    display: none !important;
    width: 100% !important;
    min-height: 15px !important;
    margin: 3px 0 5px !important;
    color: #d71920 !important;
    font-size: 15px !important;
    text-align: center !important;
}

    /* Show error when message exists */
    .fire-login-error.show {
        display: block !important;
    }

/* =========================================================
   FINAL MOBILE LOGIN / CAPTCHA RESPONSIVE FIX
   ========================================================= */

@media (max-width: 560px) {

    /* ---------------------------------------------
       LOGIN CARD
       --------------------------------------------- */

    .fire-login-card {
        width: 100% !important;
        max-width: 100% !important;
        padding: 18px 14px !important;
        border-radius: 17px !important;
    }


    /* ---------------------------------------------
       CAPTCHA MAIN ROW
       Mobile = CAPTCHA area + button below
       --------------------------------------------- */

    .fire-captcha-row {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-rows: auto auto !important;
        column-gap: 0 !important;
        row-gap: 9px !important;
        margin: 6px 0 16px !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }


        /* ---------------------------------------------
       CAPTCHA CONTAINER
       IMPORTANT:
       Override desktop "display: contents"
       --------------------------------------------- */

        .fire-captcha-row #divcaptcha,
        .fire-captcha-row #divcaptchaForgot {
            display: grid !important;
            width: 100% !important;
            min-width: 0 !important;
            max-width: 100% !important;
            grid-template-columns: 125px minmax(0, 1fr) !important;
            grid-template-rows: 42px 20px !important;
            column-gap: 8px !important;
            row-gap: 3px !important;
            margin: 0 !important;
            padding: 0 !important;
            box-sizing: border-box !important;
        }


        /* ---------------------------------------------
       CAPTCHA IMAGE
       --------------------------------------------- */

        .fire-captcha-row #CaptchaImage {
            grid-column: 1 !important;
            grid-row: 1 !important;
            width: 125px !important;
            min-width: 125px !important;
            max-width: 125px !important;
            height: 42px !important;
            min-height: 42px !important;
            max-height: 42px !important;
            margin: 0 !important;
            padding: 0 !important;
            display: block !important;
            box-sizing: border-box !important;
            border-radius: 7px !important;
            object-fit: contain !important;
        }


        /* ---------------------------------------------
       CAPTCHA INPUT
       --------------------------------------------- */

        .fire-captcha-row #CaptchaInputText {
            grid-column: 2 !important;
            grid-row: 1 !important;
            width: 100% !important;
            min-width: 0 !important;
            max-width: 100% !important;
            height: 42px !important;
            margin: 0 !important;
            padding: 0 10px !important;
            display: block !important;
            box-sizing: border-box !important;
            font-size: 12px !important;
            border-radius: 8px !important;
        }


        /* ---------------------------------------------
       REFRESH
       --------------------------------------------- */

        .fire-captcha-row #divcaptcha a[href="#CaptchaImage"],
        .fire-captcha-row #divcaptchaForgot a[href="#CaptchaImage"] {
            grid-column: 1 !important;
            grid-row: 2 !important;
            display: inline-flex !important;
            width: fit-content !important;
            min-width: 0 !important;
            height: 20px !important;
            margin: 0 !important;
            padding: 0 !important;
            font-size: 11px !important;
            line-height: 20px !important;
            white-space: nowrap !important;
        }


        /* ---------------------------------------------
       ENTER CODE
       --------------------------------------------- */

        .fire-captcha-row #divcaptcha .divtext,
        .fire-captcha-row #divcaptchaForgot .divtext {
            grid-column: 2 !important;
            grid-row: 2 !important;
            display: flex !important;
            width: 100% !important;
            height: 20px !important;
            margin: 0 !important;
            padding: 0 !important;
            align-items: center !important;
            font-size: 11px !important;
            line-height: 20px !important;
            white-space: nowrap !important;
        }


        /* ---------------------------------------------
       LOGIN / SUBMIT BUTTON
       Full width on mobile
       --------------------------------------------- */

        .fire-captcha-row .fire-captcha-action {
            grid-column: 1 !important;
            grid-row: 2 !important;
            width: 100% !important;
            min-width: 0 !important;
            max-width: 100% !important;
            height: 44px !important;
            margin: 0 !important;
            padding: 0 15px !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            font-size: 14px !important;
            border-radius: 9px !important;
            box-sizing: border-box !important;
        }


    /* ---------------------------------------------
       ERROR
       --------------------------------------------- */

    .fire-login-error {
        width: 100% !important;
        margin: 3px 0 8px !important;
        font-size: 11px !important;
        line-height: 16px !important;
        text-align: center !important;
        word-break: break-word !important;
    }
}


/* =========================================================
   VERY SMALL MOBILE
   320px - 380px
   ========================================================= */

@media (max-width: 380px) {

    .fire-login-page {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .fire-login-card {
        padding: 16px 11px !important;
        border-radius: 15px !important;
    }


    .fire-login-card__head {
        gap: 10px !important;
    }

    .fire-login-card__icon {
        flex: 0 0 42px !important;
        width: 42px !important;
        height: 42px !important;
    }

    .fire-login-card__content h2 {
        font-size: 20px !important;
    }

    .fire-login-card__content p {
        font-size: 11px !important;
    }


    /* CAPTCHA */

    .fire-captcha-row #divcaptcha,
    .fire-captcha-row #divcaptchaForgot {
        grid-template-columns: 115px minmax(0, 1fr) !important;
        column-gap: 7px !important;
    }


    .fire-captcha-row #CaptchaImage {
        width: 115px !important;
        min-width: 115px !important;
        max-width: 115px !important;
        height: 40px !important;
    }


    .fire-captcha-row #CaptchaInputText {
        height: 40px !important;
        font-size: 11px !important;
    }


    .fire-captcha-row .fire-captcha-action {
        height: 42px !important;
        font-size: 13px !important;
    }


    /* Registration message */

    #registrationflag {
        padding: 11px 10px !important;
    }

        #registrationflag h6 {
            font-size: 12px !important;
            line-height: 1.5 !important;
        }


    .fire-forgot a {
        font-size: 14px !important;
    }
}
