.forget-password-area {
    background: url("/assets/frontend/img/bg/forget-bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    width: 100%;
    position: relative;
}
.forget-password-area::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 70%;
}

.foreget-password-box {
    position: absolute;
    width: 500px;
    height: max-content;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    background: #ffffff0a;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid #ffffff3b;
    backdrop-filter: blur(15px);
}

.input-group input {
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.08);
    height: 40px;
    padding: 16px;
    padding-right: 60px;
    margin-top: 12px;
    color: var(--tp-white-color);
    outline: none;
    margin-top: 0;
}
.input-group input:focus {
    border: 1px solid #ffffff;
}
.input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.input-group
    > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(
        .valid-feedback
    ):not(.invalid-tooltip):not(.invalid-feedback) {
    margin-left: calc(var(--bs-border-width) * -1);
    border-top-left-radius: 8px !important;
    border-bottom-left-radius: 8px !important;
}
.form-header {
    margin-bottom: 20px;
}
.form-label {
    margin-bottom: 4px;
}

/*================ OTP / Page Modal CSS =================*/

/* Modal container (hidden by default) */
.modal_container {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

/* Show modal when active */
.modal_container.active {
    display: flex;
}

/* Backdrop behind the modal */
.modal_backdrop {
    position: fixed;
    inset: 0;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    cursor:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><g transform='rotate(45 16 16)'><circle cx='16' cy='16' r='1.5' fill='white' stroke='black' stroke-width='0.5'/><line x1='16' y1='0' x2='16' y2='32' stroke='white' stroke-width='2' stroke-linecap='round'/><line x1='0' y1='16' x2='32' y2='16' stroke='white' stroke-width='2' stroke-linecap='round'/><line x1='16' y1='0' x2='16' y2='32' stroke='white' stroke-width='0.5' stroke-linecap='round'/><line x1='0' y1='16' x2='32' y2='16' stroke='white' stroke-width='0.5' stroke-linecap='round'/></g></svg>")
            16 16,
        crosshair;
    backdrop-filter: blur(3px);
    display: none;
    z-index: 998;
}

/* Show backdrop when active */
.modal_backdrop.active {
    display: block;
}

/* Modal content box */
.modal_content {
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    min-width: 300px;
    max-width: 400px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.3s ease;
}

/* Animate modal content when modal is active */
.modal_container.active .modal_content {
    opacity: 1;
    transform: scale(1);
}

.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3), .input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control, .input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select, .input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating) {
    border-top-right-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
}
