﻿.login-modal-dialog {
    max-width: 850px;
}

    .login-modal-dialog .modal-content {
        border-radius: 14px;
        overflow: hidden;
    }

.login-left-panel {
    min-height: 430px;
    background: #111;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
}

.login-logo {
    width: 90px;
    margin-bottom: 20px;
}

.login-form-container {
    padding: 40px;
}

.login-input {
    width: 100%;
    height: 52px;
    margin-bottom: 20px;
}

.iti {
    width: 100%;
    margin-bottom: 20px;
}

    .iti input {
        width: 100% !important;
        height: 52px;
    }

.btn-login {
    width: 100%;
    height: 52px;
    border: none;
    background: #c8102e;
    color: white;
    font-weight: 600;
}

.otp-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 25px 0;
}

.otp-box {
    width: 55px !important;
    height: 55px !important;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    color: #000 !important; /* black text */
    background-color: #fff !important;
    border: 1px solid #ddd;
    border-radius: 8px;
    caret-color: #c8102e;
}

    .otp-box:focus {
        color: #000 !important;
        background-color: #fff !important;
        border-color: #c8102e;
        box-shadow: 0 0 0 0.2rem rgba(200,16,46,.25);
    }

.otp-header {
    text-align: center;
    margin-bottom: 25px;
}

.otp-title {
    font-size: 30px;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
}

.otp-subtitle {
    color: #777;
    margin-bottom: 8px;
}

.otp-mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.btn-edit-mobile {
    background: #edf8ee;
    border: 1px solid #2bb673;
    color: #2bb673;
    border-radius: 20px;
    padding: 3px 14px;
    font-size: 13px;
}

.otp-footer {
    margin-top: 25px;
    text-align: center;
}

.countdown {
    color: #000;
    font-size: 15px;
}

    .countdown,
    .countdown *,
    #resendText,
    #timer {
        color: #000 !important;
    }

#btnResendOTP {
    display: inline-block;
    margin-top: 10px;
    color: #c8102e;
    font-weight: 600;
    text-decoration: none;
}

#divOtp {
    color: #000;
}

#lblMobile {
    color: #000;
}
/* ===========================
   MOBILE LOGIN MODAL (<768px)
   ===========================*/
@media (max-width:767px) {

    /* Modal */
    .login-modal-dialog {
        max-width: 95%;
        margin: 15px auto;
    }

    .modal-content {
        border-radius: 18px;
        overflow: hidden;
        height: auto;
        min-height: auto;
    }

        /* Stack left and right panels */
        .modal-content .row {
            display: flex;
            flex-direction: column;
        }

    /* Header (Left Panel) */
    .login-left-panel {
        width: 100%;
        min-height: 130px;
        padding: 20px 15px;
        background: #111;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .login-brand-content {
        width: 100%;
    }

    .login-logo {
        width: 60px;
        margin: 0 auto 10px;
        display: block;
    }

    .login-left-panel h2 {
        font-size: 22px;
        margin-bottom: 8px;
        color: #fff;
    }

    .login-left-panel p {
        font-size: 13px;
        line-height: 20px;
        margin: 0;
        color: #ddd;
    }

    /* Right Panel */
    .col-md-7 {
        width: 100%;
    }

    .login-form-container {
        padding: 20px;
        position: relative;
    }

    /* Close button */
    .btn-close {
        position: absolute;
        top: 15px;
        right: 15px;
        z-index: 10;
    }

    /* Inputs */
    .login-input,
    .iti {
        width: 100% !important;
    }

    .login-input {
        height: 48px;
        margin-bottom: 15px;
        font-size: 15px;
    }

    .iti__tel-input,
    #txtMobile {
        height: 48px;
    }

    /* Button */
    .btn-login {
        width: 100%;
        height: 48px;
        font-size: 16px;
        margin-top: 10px;
    }

    /* OTP */
    .otp-title {
        font-size: 24px;
    }

    .otp-subtitle {
        font-size: 14px;
    }

    .otp-container {
        gap: 8px;
        margin: 20px 0;
    }

    .otp-box {
        width: 42px !important;
        height: 46px !important;
        font-size: 22px;
    }

    .otp-mobile {
        flex-wrap: wrap;
        gap: 6px;
        text-align: center;
    }

    .otp-footer {
        margin-top: 18px;
    }

    .countdown {
        font-size: 14px;
    }

    #btnResendOTP {
        font-size: 14px;
    }
}
.iti * {
    color: #000;
}
.iti__dial-code {
    color: #999;
}