/* ==========================================================================
   FORGOT PASSWORD PAGE STYLES (rem only, 1rem = 10px)
   ========================================================================== */

.forgot-password-section {
    min-height: calc(100vh - 7.2rem);
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.forgot-password-section > .container-fluid {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.forgot-password-section > .container-fluid > .row {
    flex: 1 1 auto;
    min-height: 100%;
}

/* Left Banner Column */
.forgot-image-col {
    position: relative;
    padding: 0;
    overflow: hidden;
    background-color: #ffffff;
    min-height: 100%;
}

.forgot-banner-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Right Form Column */
.forgot-form-col {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background-color: #ffffff;
}

/* Forgot Password Card */
.forgot-card {
    background-color: #f3f4f6;
    border-radius: 2.8rem;
    padding: 4.8rem 3.8rem;
    max-width: 46rem;
    width: 100%;
    box-shadow: 0 0.4rem 2.4rem rgba(0, 0, 0, 0.03);
}

/* Typography */
.forgot-title {
    font-size: 3rem;
    font-weight: 500;
    color: #111827;
    text-align: center;
    margin-bottom: 0.8rem;
    letter-spacing: -0.02rem;
}

.forgot-subtitle {
    font-size: 1.3rem;
    line-height: 1.45;
    color: #4b5563;
    text-align: center;
    margin: 0 auto 3.2rem auto;
    max-width: 32rem;
}

/* Form Controls */
.forgot-form .form-group {
    margin-bottom: 2rem;
}

.forgot-form .form-label-custom {
    font-size: 1.15rem;
    font-weight: 600;
    color: #374151;
    letter-spacing: 0.06rem;
}

.resend-otp-link {
    font-size: 1.15rem;
    color: #4b5563;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.resend-otp-link:hover {
    color: #111827;
    text-decoration: underline;
}

/* Pill Input Wrapper */
.forgot-form .input-pill-wrapper {
    background-color: #ffffff;
    border-radius: 5rem;
    height: 5rem;
    padding: 0 2.2rem;
    display: flex;
    align-items: center;
    border: 0.1rem solid transparent;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.forgot-form .input-pill-wrapper:focus-within {
    border-color: #d1d5db;
    box-shadow: 0 0 0 0.3rem rgba(37, 231, 247, 0.18);
}

.forgot-form .input-pill-field {
    border: none;
    background: transparent;
    width: 100%;
    height: 100%;
    font-size: 1.4rem;
    color: #111827;
    outline: none;
    padding: 0;
}

.forgot-form .input-pill-field::placeholder {
    color: #9ca3af;
    font-size: 1.35rem;
}

/* Send OTP Button */
.btn-send-otp {
    background-color: #26e6f7 !important;
    color: #000000 !important;
    border-radius: 5rem !important;
    height: 5.2rem;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.08rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    border: none !important;
    width: 100%;
    margin-top: 2.8rem;
    box-shadow: 0 0.4rem 1.6rem rgba(38, 230, 247, 0.35);
    transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-send-otp:hover {
    filter: brightness(0.96);
    transform: translateY(-0.1rem);
    box-shadow: 0 0.6rem 2rem rgba(38, 230, 247, 0.45);
}

.btn-send-otp:active {
    transform: translateY(0);
}

.btn-send-otp .arrow-icon {
    display: inline-block;
    font-size: 1.5rem;
    line-height: 1;
    font-weight: 800;
    transform-origin: center;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-send-otp:hover .arrow-icon {
    transform: rotate(45deg);
}

/* Responsive Breakpoints */
@media (max-width: 991.98px) {
    .forgot-password-section {
        min-height: auto;
    }

    .forgot-password-section > .container-fluid,
    .forgot-password-section > .container-fluid > .row {
        flex: 0 0 auto;
    }

    .forgot-image-col {
        position: relative;
        min-height: 0;
        height: 38rem;
        width: 100%;
    }

    .forgot-banner-img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .forgot-card {
        padding: 3.5rem 2.5rem;
        border-radius: 2.2rem;
    }
}

@media (max-width: 575.98px) {
    .forgot-image-col {
        height: 28rem;
    }

    .forgot-form-col {
        padding: 3rem 1.6rem;
    }

    .forgot-card {
        padding: 3rem 2rem;
        border-radius: 2rem;
    }

    .forgot-title {
        font-size: 2.5rem;
    }

    .forgot-subtitle {
        margin-bottom: 2.4rem;
    }
}

@media (max-width: 375px) {
    .forgot-image-col {
        height: 24rem;
    }

    .forgot-form-col {
        padding: 2rem 1.2rem;
    }

    .forgot-card {
        padding: 2.4rem 1.4rem;
        border-radius: 1.8rem;
    }

    .forgot-title {
        font-size: 2.2rem;
    }
}
