


/* ---------------------------------------------------------
   LOGIN CARD
   --------------------------------------------------------- */

.login-card {
    width: 100%;
    max-width: 520px;
    margin: 25px auto 35px auto;
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}


/* ---------------------------------------------------------
   LOGIN HEADER
   --------------------------------------------------------- */

.login-header {
    width: 100%;
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25507a;
    color: #ffffff;
    text-align: center;
}

.login-header h2 {
    margin: 0;
    padding: 16px 10px;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 600;
    color: #ffffff;
}


/* ---------------------------------------------------------
   LOGIN CONTENT
   --------------------------------------------------------- */

.login-card > .p-3 {
    background: #ffffff;
}


/* ---------------------------------------------------------
   FORM LABELS
   IMPORTANT:
   Scoped to login-card so Bootstrap labels are not affected
   --------------------------------------------------------- */

.login-card .form-label {
    display: block;
    margin-bottom: 7px;
    color: #333333;
    font-size: 15px;
    font-weight: 600;
}


/* ---------------------------------------------------------
   FORM CONTROLS
   Scoped only inside login-card
   --------------------------------------------------------- */

.login-card .form-control {
    width: 100%;
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    background-color: #ffffff;
    color: #212529;
    font-size: 15px;
    line-height: 1.5;
    box-sizing: border-box;
    box-shadow: none;
    transition: border-color 0.2s ease,
                box-shadow 0.2s ease;
}


/* Bootstrap-compatible focus state */

.login-card .form-control:focus {
    border-color: #6c9bc1;
    outline: 0;
    box-shadow: 0 0 0 0.15rem rgba(37, 80, 122, 0.15);
}


/* Placeholder */

.login-card .form-control::placeholder {
    color: #8a8a8a;
    opacity: 1;
}


/* Disabled */

.login-card .form-control:disabled,
.login-card .form-control[disabled] {
    background-color: #e9ecef;
    cursor: not-allowed;
}


/* ---------------------------------------------------------
   SELECT / DROPDOWN
   --------------------------------------------------------- */

.login-card select.form-control {
    cursor: pointer;
    min-height: 42px;
}


/* ---------------------------------------------------------
   CUSTOM BUTTON
   --------------------------------------------------------- */

.login-card .btn-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 130px;
    min-height: 42px;

    padding: 9px 22px;

    border: 1px solid #25507a;
    border-radius: 6px;

    background-color: #25507a;
    color: #ffffff;

    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;

    text-align: center;
    text-decoration: none;

    cursor: pointer;

    box-shadow: none;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.1s ease,
        box-shadow 0.2s ease;
}


/* Button hover */

.login-card .btn-custom:hover {
    background-color: #1c3f61;
    border-color: #1c3f61;
    color: #ffffff;
}


/* Button active */

.login-card .btn-custom:active {
    transform: translateY(1px);
    box-shadow: none;
}


/* Button focus */

.login-card .btn-custom:focus {
    outline: 0;
    box-shadow: 0 0 0 0.15rem rgba(37, 80, 122, 0.25);
}


/* ---------------------------------------------------------
   LOGIN MESSAGE / OTP MESSAGE
   --------------------------------------------------------- */

.login-card .text-center {
    text-align: center;
}

.login-card .text-danger {
    color: #dc3545 !important;
    font-weight: 500;
}


/* =========================================
   PASSWORD / OTP SHOW-HIDE ICON
   ========================================= */

.login-card #passwordSection,
.login-card #id9 {
    position: relative !important;
}


/* PASSWORD */
.login-card #passwordSection #I2 {
    position: absolute !important;

    right: 10px !important;
    top: 26px !important;

    width: 30px !important;
    height: 50px !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    cursor: pointer !important;
    z-index: 10 !important;

    line-height: 1 !important;
}


/* OTP */
.login-card #id9 #I1 {
    position: absolute !important;

    right: 10px !important;
    top: 26px !important;

    width: 30px !important;
    height: 50px !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    cursor: pointer !important;
    z-index: 10 !important;

    line-height: 1 !important;
}


/* IMAGE */
.login-card #passwordSection #I2 img,
.login-card #id9 #I1 img {
    display: block !important;

    width: 18px !important;
    height: 12px !important;

    margin: 0 !important;
    padding: 0 !important;

    max-width: 18px !important;
    max-height: 12px !important;
}


/* TEXTBOX */
.login-card #passwordSection .form-control,
.login-card #id9 .form-control {
    width: 100% !important;
    box-sizing: border-box !important;
    padding-right: 45px !important;
}


/* ---------------------------------------------------------
   CAPTCHA AREA
   --------------------------------------------------------- */

.captcha-box {
    width: 100%;
    padding: 12px;
    border: 1px solid #dddddd;
    border-radius: 7px;
    background-color: #f8f9fa;
    box-sizing: border-box;
}


/* CAPTCHA generated text */

.login-card .captcha-text {
    width: 100%;
    min-height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 1px;

    border: 1px dashed #999999;
    border-radius: 6px;

    background-color: #ffffff;

    color: #222222;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 3px;
    text-align: center;
}


/* ---------------------------------------------------------
   CAPTCHA BUTTONS
   --------------------------------------------------------- */

.captcha-box .btn-custom {
    width: 100%;
    min-width: 100%;
}


/* Existing Play button - override only inside captcha */

.captcha-box #Button2 {
    width: 100% !important;
    height: 42px !important;

    padding: 8px 15px !important;

    border: none !important;
    border-radius: 6px !important;

    background: #25507a !important;
    color: #ffffff !important;

    font-size: 15px !important;
    font-weight: 600 !important;

    cursor: pointer;

    box-sizing: border-box;
}

.captcha-box #Button2:hover {
    background: #1c3f61 !important;
}


/* ---------------------------------------------------------
   HIDDEN FIELDS
   --------------------------------------------------------- */

.login-card input[type="hidden"] {
    display: none;
}





/* ---------------------------------------------------------
   RESPONSIVE - TABLET
   --------------------------------------------------------- */

@media (max-width: 991.98px) {

    .mynav .navbar-brand {
        font-size: 17px;
    }

    .mynav .navbar-nav {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .mynav .nav-link {
        padding: 9px 10px;
    }

    .mylogo {
        margin-top: 18px;
        font-size: 23px;
    }

    .mylogo1 {
        font-size: 15px;
    }

    .login-card {
        max-width: 500px;
    }
}


/* ---------------------------------------------------------
   RESPONSIVE - MOBILE
   --------------------------------------------------------- */

@media (max-width: 767.98px) {

    .mynav {
        min-height: 54px;
    }

    .mynav .navbar-brand {
        font-size: 16px;
    }

    .mynav .navbar-nav {
        align-items: stretch;
    }

    .mynav .nav-item {
        margin-left: 0;
        margin-right: 0;
    }

    .mynav .nav-link {
        padding: 9px 10px;
        white-space: normal;
    }


    /* Header */

    .mylogo {
        margin-top: 15px;
        font-size: 19px;
        line-height: 1.2;
    }

    .mylogo1 {
        font-size: 13px;
    }


    /* Login */

    .login-card {
        width: 100%;
        max-width: 100%;
        margin-top: 18px;
        margin-bottom: 25px;
        border-radius: 8px;
    }

    .login-header {
        min-height: 56px;
    }

    .login-header h2 {
        font-size: 20px;
        padding: 14px 8px;
    }

    .login-card .form-label {
        font-size: 14px;
    }

    .login-card .form-control {
        min-height: 42px;
        font-size: 15px;
    }

    .login-card .btn-custom {
        width: 100%;
        min-width: 100%;
    }


    /* CAPTCHA */

    .captcha-box {
        padding: 10px;
    }

    .login-card .captcha-text {
        font-size: 18px;
        letter-spacing: 2px;
    }


    /* Footer */

    .footer {
        text-align: left;
    }

    .footer h5 {
        margin-top: 15px;
    }
}


/* ---------------------------------------------------------
   RESPONSIVE - SMALL MOBILE
   --------------------------------------------------------- */

@media (max-width: 575.98px) {

    .mylogo {
        font-size: 16px;
    }

    .mylogo1 {
        font-size: 11px;
    }

    .login-card > .p-3 {
        padding: 15px !important;
    }

    .login-header h2 {
        font-size: 18px;
    }

    .login-card .form-control {
        font-size: 14px;
    }

    .captcha-box {
        padding: 8px;
    }

    .login-card .captcha-text {
        font-size: 16px;
        letter-spacing: 1.5px;
    }
}


/* ---------------------------------------------------------
   ACCESSIBILITY
   --------------------------------------------------------- */

.mynav a:focus-visible,
.login-card button:focus-visible,
.login-card input:focus-visible,
.login-card select:focus-visible,
.footer a:focus-visible {
    outline: 2px solid #25507a;
    outline-offset: 2px;
}


/* ---------------------------------------------------------
   PRINT
   --------------------------------------------------------- */

@media print {

    .mynav,
    .footer {
        display: none !important;
    }

    .login-card {
        box-shadow: none;
        border: 1px solid #000000;
    }
}