html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html, body {
    position: relative;
    /*min-height: 100%;*/
    width: 100%;
    height: 100%;
}

a {
    color: #0368b6;
    text-decoration: none;
    cursor: pointer;
}

    a:hover {
        text-decoration: underline;
    }

.mb-2-5 {
    margin-bottom: 2.5rem;
}

.py-0-8 {
    padding-top: .8rem !important;
    padding-bottom: .8rem !important;
}

.fw-500 {
    font-weight: 500;
}

body {
    margin-bottom: 60px;
}

    body main {
        width: 100%;
        height: 100%;
    }

        body main form {
            width: 100%;
            height: 100%;
        }

.card {
    min-height: 500px;
    /*height: calc(100% - 300px);*/
    overflow: hidden;
}

    .card > .card-body {
        height: 100%;
    }

    .card .card-body > .row {
        height: 100%;
    }

.login-image-section {
    /*background-origin: content-box;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;*/


    background-origin: content-box;
    background-repeat: repeat;
    background-size: 40%;
    width: 100%;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .login-image-section .card .card-body {
        padding: 3rem
    }

.logo-map-area {
    position: relative;
    /* background-origin: content-box;
    background-repeat: no-repeat;
    background-size: 370px;
    background-position: 80% 50%;*/
    width: 100%;
    height: 100%;
    /*display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;*/
}

    .logo-map-area .map-area {
        /*        display: block;
        width: 100%;
        height: 500px;
        position: absolute;
        left: 60%;
        top: 50%;
        transform: translate(-50%, -50%);
        background-repeat: no-repeat;
        z-index: 0;*/
        display: block;
        width: 100%;
        height: 405px;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        background-repeat: no-repeat;
        z-index: 0;
    }

        .logo-map-area .map-area img {
            display: block;
            width: 100%;
            height: 100%;
        }


    .logo-map-area .logo-area {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        position: relative;
        z-index: 1;
        height: 380px;
    }


.govt-logo-image img {
    height: 140px;
}

.logo-text {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 2px;
}

    .logo-text h5 {
        font-size: 1.4rem;
    }

    .logo-text small {
        font-size: 1rem;
    }

.login-image-section .card .card-body {
    padding: 3rem
}

body.swal2-height-auto {
    height: 100% !important
}

.govt-logo-area {
    width: 100%;
    height: fit-content;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

    .govt-logo-area h5 {
        font-weight: 600;
        font-size: 2rem;
        position: relative;
    }

        .govt-logo-area h5::after {
            content: '';
            display: block;
            width: 4.5rem;
            height: 2px;
            background-color: #8d8d8d;
            position: absolute;
            left: 0;
            bottom: -.8rem;
        }

    .govt-logo-area small {
        color: #E57D07;
        font-size: 1.2rem;
    }

    .govt-logo-area .logo-image img {
        width: 70px;
    }

.btn.btn-primary, .btn.btn-primary:focus {
    background-color: #0368B6;
    border-color: #0368B6 !important;
    color: #fff;
}

    .btn.btn-primary:hover, .btn.btn-primary:focus:hover {
        background-color: #36689b;
        border-color: #36689b !important;
    }

label.error {
    font-size: .85rem;
    color: #dc3545;
    margin-top: .5rem;
}

input::placeholder,
textarea::placeholder {
    text-align: left !important;
    color: #8f8f8f !important;
}

/*input:-webkit-autofill {
    box-shadow: 0 0 0px 1000px white inset !important;
    -webkit-box-shadow: 0 0 0px 1000px white inset !important;
    background-color: transparent !important;
}*/

.form-control {
    /*border: 0;
    border-bottom: 1.8px solid #ced4da;*/
    border-radius: .375rem;
    line-height: 2.5;
}

    .form-control:focus {
        color: #212529;
        background-color: #fff;
        outline: 0;
        /*box-shadow: 0 3px 0 0 rgba(13, 110, 253, .25);*/
        /*border-bottom: 1.8px solid transparent;*/
    }

/*.form-control.is-valid, .was-validated .form-control:valid {
        border-bottom: 1.8px solid #4cbf89
    }*/

/*.form-control.is-valid:focus, .was-validated .form-control:valid:focus {
            border-color: transparent;
            box-shadow: 0 3px 0 0 rgba(25, 135, 84, .25);
        }*/

/*.form-control.is-invalid, .was-validated .form-control:invalid {
        border-bottom: 1.8px solid #dc3545;
    }*/

/*.form-control.is-invalid:focus, .was-validated .form-control:invalid:focus {
            border-color: transparent;
            box-shadow: 0 3px 0 0 rgba(220, 53, 69, .25);
        }*/

div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm) {
    background-color: #0368B6 !important;
}

div:where(.swal2-container) div:where(.swal2-popup) {
    padding: 0 0 2em !important;
}

/*ADDED BY VISHAL - Date: 12-12-24*/

.btn.btn-refresh,
.btn.btn-refresh:focus {
    background-color: #fff;
    border: none !important;
    color: #0368B6;
}

    .btn.btn-refresh:hover,
    .btn.btn-refresh:focus:hover {
        background-color: #fff;
        color: #004a83;
    }

.btn-link {
    color: #0368b6 !important;
    text-decoration: none !important;
}

    .btn-link:hover,
    .btn-link:focus {
        text-decoration: underline !important;
        box-shadow: none !important;
    }

    .btn-link:disabled {
        opacity: .5;
    }

.user-otp-area p {
    color: #666666;
}

    .user-otp-area p span {
        color: #000;
    }

.user-otp-area .otp-input {
    display: flex;
    justify-content: center;
    margin-bottom: .5rem;
}

    .user-otp-area .otp-input input {
        width: 50px;
        height: 50px;
        margin: 0 17px;
        text-align: center;
        font-size: 1.5rem;
        border-radius: 4px;
        color: #212529;
        background-color: #fff;
        background-clip: padding-box;
        border: 1px solid #ced4da;
    }

        .user-otp-area .otp-input input:focus-visible {
            border-color: #86b7fe;
            outline: 0;
            box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);
        }

        .user-otp-area .otp-input input:disabled {
            cursor: not-allowed;
        }

        .user-otp-area .otp-input input:first-child {
            margin-left: 0;
        }

        .user-otp-area .otp-input input:last-child {
            margin-right: 0;
        }

        .user-otp-area .otp-input input::-webkit-outer-spin-button,
        .user-otp-area .otp-input input::-webkit-inner-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }

        .user-otp-area .otp-input input[type=number] {
            -moz-appearance: textfield;
        }

.timer-count {
    color: #e34a4a;
}

    .timer-count.blue {
        color: #0368b6 !important;
    }

    .fw-500 {
        font-weight: 500;
    }

@media screen and (max-width: 1366px) {

    #captcha {
        font-size: 24px !important;
        padding: 8px 10px !important;
    }

    .govt-logo-area h5 {
        font-size: 1.5rem;
    }

    .govt-logo-area small {
        font-size: 1.1rem;
    }

    .login-image-section .card .card-body {
        padding: 2rem;
    }

    .user-otp-area .otp-input input {
        width: 45px;
        height: 45px;
        margin: 0 14px;
    }

    .form-control {
        line-height: 2;
    }

    .logo-map-area {
        background-size: 365px;
        background-position: -60% 50%;
    }

    .card {
        min-height: 470px;
    }

    .govt-logo-area {
        margin-bottom: 2rem;
    }
}

@media screen and (max-width: 820px) {

    .logo-map-area .map-area {
        height: 400px;
    }
}

@media screen and (max-width: 576px) {
    .user-otp-area .otp-input input {
        width: 35px;
        height: 35px;
        margin: 0 11px;
    }

    body main form {
        width: 100%;
        height: unset;
    }
}
