﻿body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    overflow-x: hidden;
}
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
}

/* MAIN WRAPPER */

.forgot-wrapper {
    min-height: 90vh;
    display: flex;
    background-image: url('/Content/images/forgot-bg-hd.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% 100%; /* ✅ prevents overflow */

    overflow-x: hidden; /* ✅ critical */
}
/* LEFT ILLUSTRATION */
.forgot-left {
    flex: 1;
    background: url('/Content/images/forgot-illustration-hd.png') no-repeat center;
    background-size: contain;
}

/* RIGHT FORM AREA */
.forgot-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px; /* ✅ mobile spacing */
}

/* CARD */
.forgot-card {
    background: #fff;
    width: 100%;
    max-width: 420px; /* ✅ responsive width */
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    text-align: center;
}

    /* TEXT & FORM */
    .forgot-card img.logo {
        max-height: 60px;
        margin-bottom: 15px;
    }

    .forgot-card h4 {
        margin-bottom: 10px;
        font-weight: 600;
    }

    .forgot-card p {
        font-size: 14px;
        color: #777;
        margin-bottom: 25px;
    }

.form-control {
    height: 46px;
    border-radius: 4px;
}

.btn-reset {
    width: 100%;
    height: 46px;
    font-size: 16px;
    background: #0b5ed7;
    border: none;
}

/* LINKS */
.links {
    margin-top: 20px;
    font-size: 14px;
}

    .links a {
        color: #0b5ed7;
        text-decoration: none;
    }

/* TABLET FIX */

@media (max-width: 991px) {
    .forgot-wrapper {
        min-height: auto; /* ✅ critical fix */
        height: auto;
        flex-direction: column;
    }

    .forgot-left {
        height: 200px;
        flex: none;
        background-size: contain;
        background-position: center;
    }

    .forgot-right {
        padding: 15px;
    }
}