﻿.lgBtn {
    border-radius: 46px !important;
    background-color: #165986 !important;
    color: #fff !important;
    padding: 0 !important;
    border: 1px solid #165986;
    height: 46px;
    /*top: 70px;*/
    z-index: 2;
    width: 80px;
}

    .lgBtn:hover {
        background-color: #FFF !important;
        color: #165986 !important; 
        z-index: 2 !important;
        border: 1px solid #165986 !important;
    }

.snBtn {
    padding: 0 !important;
    border-radius: 0 46px 46px 0;
    height: 46px;
    /*top: 70px;*/
    color: #fff !important;
    background-color: #54cdff !important;
    border-top: 1px solid #54cdff;
    border-right: 1px solid #54cdff;
    border-bottom: 1px solid #54cdff;
    border-left: 0px solid #54cdff;
    margin-left: -23px !important;
    z-index: 1;
    width: 115px;
}

    .snBtn:hover {
        border-color: #54cdff !important;
        background-color: #FFF !important;
        color: #54cdff !important;
    }

.clsReg:hover {
    color: #84b3d2 !important;
}

.custom-validation-summary {
    color: darkorange;
    font-size: 14px;
}

.login-block {
    background-color: #fff;
    float: left;
    width: 100%;
    padding: 50px 0;
}

.banner-sec {
    background: #ffcb4b;
    background: url(https://static.pexels.com/photos/33972/pexels-photo.jpg) no-repeat left bottom;
    background-size: cover;
    min-height: 500px;
    border-radius: 0 10px 10px 0;
    padding: 0;
    margin-left: -25px;
}

.lgContainer {
    background-color: #185e8d;
    border-radius: 10px;
    box-shadow: 15px 20px 0px rgba(0,0,0,0.1);
}

.carousel-inner {
    border-radius: 10px;
}

.carousel-caption {
    text-align: left;
    left: 5%;
}

.login-sec {
    padding: 20px 30px;
    position: relative;
}

    .login-sec .copy-text {
        position: absolute;
        width: 80%;
        bottom: 120px;
        font-size: 13px;
        text-align: center;
    }

        .login-sec .copy-text i {
            color: #FEB58A;
        }

        .login-sec .copy-text a {
            color: #E36262;
        }

    .login-sec h2 {
        margin-bottom: 30px;
        font-weight: 800;
        font-size: 30px;
        color: #54cdff;
    }

        .login-sec h2:after {
            content: " ";
            width: 100px;
            height: 5px;
            background: #ffffff;
            display: block;
            margin-top: 20px;
            border-radius: 3px;
            margin-left: auto;
            margin-right: auto;
        }

.btn-login {
    background: #54cdff;
    color: #185e8e;
    font-weight: 600;
}

.banner-text {
    width: 70%;
    position: absolute;
    bottom: 40px;
    padding-left: 20px;
}

    .banner-text h2 {
        color: #fff;
        font-weight: 600;
    }

        .banner-text h2:after {
            content: " ";
            width: 100px;
            height: 5px;
            background: #FFF;
            display: block;
            margin-top: 20px;
            border-radius: 3px;
        }

    .banner-text p {
        color: #fff;
    }


.otpClass {
    height: 45px;
    width: 45px;
    font-size: 25px;
    text-align: center;
    border: 1px solid #175d8c;
    background-color: #ffffff;
    color: #000000;
}

.otpClass,
.otpClass {
    -webkit-appearance: none;
    margin: 0;
}

.g-recaptcha {
    transform: scale(0.9);
    transform-origin: 0 0;
}

.login_address {
    color: white;
    font-size: 12px;
    margin: 0;
    top: 10%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.lablLogin {
    color: #fff !important;
    text-transform: capitalize;
}








.clsHeader {
    display: block !important;
}

.clsHantDiv {
    display: block !important;
}

.clsCHant {
    display: block !important;
    margin-top: 120px;
    width: 650px;
    /* margin-left: auto; */
    /* margin-right: auto; */
    background-color: #fff;
    padding: 10px;
    border-radius: 10px;
}

footer {
    display: block !important;
}

.clsCOgaale {
    display: none !important;
    width: 650px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 140px;
    background-color: #fff;
    padding: 20px;
    border-radius: 15px;
}

.clsRafidain {
    display: none !important;
    width: 650px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 140px;
    background-color: #fff;
    padding: 20px;
    border-radius: 15px;
}

.clsOgaaleImage {
    display: none !important;
}

.clsRafidainImage {
    display: none !important;
}

.margin-top {
    display: 125px !important;
}




.login_form #captcha .preview {
    color: #000;
    background-color: #e8f0fe;
    font-size: 20px;
    width: 100%;
    text-align: center;
    line-height: 40px;
    letter-spacing: 15px;
    border: 1px dashed #888;
    border-radius: 6px;
    margin-bottom: 16px;
}

.form_input_captcha {
    letter-spacing: 6px;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    font-size: 1em;
    border: 0.1em solid #dadce0;
    border-radius: 0.5em;
    outline: none;
    padding: 1em;
    z-index: 1;
}


.form_label_captcha {
    position: absolute;
    left: 1em;
    top: 5.2em;
    padding: 0 .25em;
    background-color: #fff;
    color: #80868b;
    font-size: 1em;
    transition: .4s;
}

.form_input_captcha:focus + .form_label_captcha {
    top: 4.7em;
    left: .8em;
    color: rgb(28,164,248);
    font-size: .80em;
    font-weight: 600;
    z-index: 5;
}

.form_input_captcha:not(:placeholder-shown).form_input_captcha:not(:focus) + .form_label_captcha {
    top: 4.6em;
    left: .8em;
    font-size: .80em;
    font-weight: 600;
    z-index: 5;
}

.form_input_captcha:focus {
    border: .1em solid rgb(28,164,248);
}

.login_form #captcha .preview span {
    display: inline-block;
    user-select: none;
}

.login_form #captcha .captcha_form {
    display: flex;
}

    .login_form #captcha .captcha_form input {
        width: 100%;
        font-size: 1em;
        border-radius: 0.5em;
        outline: none;
        padding: 1em;
        z-index: 1;
        height: 45px !important;
        letter-spacing: 5px;
    }


    .login_form #captcha .captcha_form .captcha_refersh {
        width: 44px;
        border: none;
        outline: none;
        background: forestgreen;
        color: #eee;
        cursor: pointer;
        border-radius: 0.5em;
        margin-left: 5px;
        font-size: 16px;
    }

.captcha_refersh {
    transition: .4s;
}

    .captcha_refersh:hover {
        transition: .4s;
        transform: scale(0.90);
    }

.digit-group input {
    width: 40px;
    height: 45px;
    background-color: #ffffff;
    color: black;
    border: none;
    line-height: 50px;
    text-align: center;
    font-size: 24px;
    margin: 15px 6px 5px 1px;
    text-transform: uppercase;
    font-family: Courier New;
    font-weight: bold;
    font-size: 30px;
}

.prompt {
    margin-bottom: 20px;
    font-size: 20px;
    color: white;
}

input[type="password"]::-ms-reveal {
    display: none;
}

.toggle {
    background: none;
    border: none;
    color: #000000;
    font-weight: 600;
    position: absolute;
    right: 30px;
    top: 70%;
    transform: translateY(-50%);
    z-index: 9;
    cursor: pointer;
    padding: 8px;
}

    .toggle:hover {
        color: #cccccc;
    }

#btnToggle:focus {
    outline: 1px dotted #e8f0fe !important;
}

/* Position form-group with password field relatively */
.form-group {
    position: relative;
}

/* Mobile Responsive Styles */
@media (max-width: 991px) {
    /* Hide carousel and separator on mobile */
    .banner-sec {
        display: none !important;
    }
    
    .col-md-1 {
        display: none !important;
    }
    
    /* Make login form full width on mobile */
    .login-sec {
        width: 100%;
        max-width: 100%;
        padding: 20px 15px !important;
    }
    
    .lgContainer {
        margin: 0 15px !important;
        width: calc(100% - 30px) !important;
        max-width: 100% !important;
    }
    
    /* Fix column widths for mobile */
    .login_form.col-md-4 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    .otp_form.col-md-4 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* Center logo horizontally and vertically in header */
    .header-area .logo {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 auto !important;
        float: none !important;
        text-align: center !important;
    }
    
    .header-area .logo img {
        max-height: 60px !important;
    }
    
    /* Center menu items in mobile popup */
    .header-area .main-nav .nav {
        text-align: center !important;
    }
    
    .header-area .main-nav .nav li {
        text-align: center !important;
        display: block !important;
        width: 100% !important;
    }
    
    .header-area .main-nav .nav li a {
        text-align: center !important;
        justify-content: center !important;
        display: block !important;
    }
    
    /* Adjust toggle password icon position for mobile */
    .toggle {
        right: 20px !important;
        top: 50px;
    }
    
    /* Adjust login section margin */
    .login-block {
        margin-top: 80px !important;
        padding: 30px 0 !important;
        overflow-x: hidden !important;
    }
    
    /* Ensure row doesn't overflow */
    .login-block .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 767px) {
    .login-sec {
        padding: 20px 15px !important;
    }
    
    .login-sec h2 {
        font-size: 24px;
    }
    
    .lgContainer {
        margin: 0 10px !important;
        width: calc(100% - 20px) !important;
    }
    
    /* Adjust toggle password icon for smaller mobile */
    .toggle {
        right: 20px !important;
        top: 50px;
    }
    
    /* Adjust captcha for smaller screens */
    .digit-group input {
        width: 35px;
        height: 40px;
        margin: 10px 4px 5px 4px;
        font-size: 24px;
    }
    
    .otpClass {
        width: 35px;
        height: 40px;
        font-size: 20px;
        margin: 5px 4px !important;
    }
    
    /* Center OTP inputs */
    .digit-group {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 0px !important;
        gap: 4px;
    }
    
    .otp_form .digit-group {
        display: flex !important;
        justify-content: center !important;
        padding: 10px 0 !important;
        gap: 4px;
    }
    
    /* Adjust form inputs for mobile */
    .form-control {
        font-size: 16px !important;
    }
    
    /* Adjust button group for mobile */
    .btn-toggle {
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .lgContainer {
        margin: 0 5px !important;
        width: calc(100% - 10px) !important;
        border-radius: 5px !important;
    }
    
    .login-sec {
        padding: 15px 10px !important;
    }
    
    .login-sec h2 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    /* Adjust toggle password icon for very small screens */
    .toggle {
        right: 15px !important;
        top: 50px;
    }
    
    /* Further reduce captcha size for very small screens */
    .digit-group input {
        width: 32px;
        height: 38px;
        margin: 8px 3px 5px 3px;
        font-size: 20px;
    }
    
    .otpClass {
        width: 32px;
        height: 38px;
        font-size: 18px;
        margin: 5px 3px !important;
    }
    
    /* Center OTP inputs for very small screens */
    .digit-group {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 0px !important;
        flex-wrap: wrap !important;
        gap: 3px;
    }
    
    .otp_form .digit-group {
        display: flex !important;
        justify-content: center !important;
        padding: 10px 5px !important;
        gap: 3px;
    }
}
