.custom-modal .modal-dialog {
    width: 100%;
    max-width: 1200px;
}

.custom-modal .modal-content {
    height: 90vh;
    min-height: 420px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
}

.custom-modal .row {
    height: 100%;
}

.left-side {
    background: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.left-side img {
    width: 85%;
    height: auto;
}

.right-side {
    background-size: cover !important;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.form-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.logo {
    width: 60%;
    display: block;
    margin: 0 auto 10px;
}

.form-card {
    padding: 30px;
    border-radius: 12px;
    border: none !important;
}

.custom-modal .btn-close {
    z-index: 5;
}

.login-heading {
    font-size: 20px;
    font-weight: 600;
    text-align: left;
    color: black;
}

.forgot-password {
    text-decoration: none;
    color: #1635B7;
}

.forgot-password:hover {
    text-decoration: underline !important;
    color: #1635B7;
}

@media (min-width: 768px) and (max-width: 1024px) {

    .left-side {
        display: none !important;
    }

    .right-side {
        width: 100%;
    }

    .custom-modal .modal-content {
        height: auto;
        min-height: 100%;
        padding: 0px;
        margin: 0 auto;
        width: 75%;
    }

    .form-wrapper {
        padding: 30px 0px !important;
    }
}

@media (max-width: 450px) {
    .form-wrapper {
        padding: 30px 16px;
    }

    .custom-modal .modal-content {
        height: 85vh;
        width: 92vw;
    }

    .logo {
        margin: 0 auto 0px;
    }
}

.captcha-row {
    display: flex;
    align-items: center; 
    gap: 10px; 
}

.captcha-row img {
    height: 40px;
}

.captcha-row input {
    flex: 1; 
}

.forgot-password-heading {
    font-size: 32px;
    font-weight: 600;
    text-align: left;
    color: #1C1B28;
    font-family: 'Raleway', sans-serif;
    margin-bottom: 30px;
}
.forgot-text{
    color: #343434;
    font-size: 16px;
    font-weight: 500;
    font-family: Montserrat !important;
}

.modern-group {
    margin-bottom: 5px !important;
}

.open-sans{
        font-family: "Open Sans", sans-serif !important;
}

.form-label {
    font-weight: 600;
    margin-bottom: 0px !important;
    color: #364153;
    display: block;
    font-family: "Open Sans", sans-serif !important;
    font-size: 16px;
}
.forgot-password-content {
    justify-content: center;
    align-items: center;
    padding: 40px 25%;
}
.refresh-btn {
    width: 45px !important;
    height: 45px !important;
}
/* Animation */
.slide-in-right {
   animation: slideInRight 1s ease-in-out forwards;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(80px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
/* Tablets */
@media (min-width: 768px) and (max-width: 991px) {
    .forgot-password-content {
        padding: 10px 0%;
    }
}

/* Mobile Devices */
@media (max-width: 767px) {
    .forgot-password-heading {
        font-size: 24px;
        margin-bottom: 15px;
    }
    .forgot-password-content {
        padding: 0px 0%;
    }
    .captcha-row img {
    height: 36px !important;
}
}

.back-to-login{
    font-size: 14px;
    color: #3D58C4;
}
.back-to-login:hover{
    color:#3D58C4;
    cursor: pointer;
    text-decoration: underline !important;
}

/* 150% scale */
@media (min-width: 1200px) {
    .logo {
        width: 50%;
        height: 0%;
    }
}