/* ===============================
   LOGIN SECTION
================================ */

.login-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 16px 80px;
    overflow: hidden;
}

/* Background image (DESKTOP) */
.login-image {
    position: absolute;
    inset: 0;
    background: url("../images/login-bg.png") no-repeat center center;
    background-size: cover;
    z-index: 1;
}

/* Content overlay */
.login-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Login container */
.login-container {
    width: 100%;
    max-width: 720px;
    min-height: 512px;
    background-color: #252200;
    padding: 48px 56px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ===============================
   TYPOGRAPHY
================================ */

.login-title {
    font-family: "Rockwell", serif;
    font-size: 40px;
    text-align: center;
    color: #ffffff;
    margin-bottom: 40px;
}

/* ===============================
   FORM
================================ */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 6px;
}

.form-group input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    background-color: transparent;
    border: 1px solid #BDBABA24;
    border-radius: 4px;
    color: #ffffff;
    font-size: 14px;
}

.form-group input::placeholder {
    color: white;
    opacity: 0.6;
    font-family: "Manrope", sans-serif;
}

/* ===============================
   LINKS
================================ */

.forgot-password {
    text-align: right;
    margin-bottom: 28px;
}

.forgot-password a {
    font-size: 14px;
    color: #ffffff;
    text-decoration: none;
    font-family: "Manrope", sans-serif;
}

/* ===============================
   BUTTONS
================================ */

.login-btn {
    width: 100%;
    height: 48px;
    background-color: #FFED48;
    color: #000;
    border: none;
    border-radius: 26px;
    font-family: "Manrope", sans-serif;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 20px;
}

.login-btn:hover {
    opacity: 0.9;
}

.reset-btn {
    background-color: transparent;
    border: 1px solid #BDBABA24;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-icon {
    width: 16px;
    height: 16px;
}

/* ===============================
   SIGN UP TEXT
================================ */

.signup-text {
    text-align: center;
    font-size: 14px;
    color: #ffffff;
}

.signup-link {
    color: #FFED48;
    text-decoration: underline;
    font-weight: 600;
}

/* ===============================
   FORGOT PASSWORD MODAL
================================ */

.forgot-modal {
    width: 100%;
    max-width: 588px;
    min-height: 480px;
    background-color: #252200;
    border-radius: 24px;
    padding: 48px 40px;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    filter: invert(1);
}

.forgot-title {
    font-family: "Roboto Slab", serif;
    font-size: 30px;
    color: #ffffff;
    margin-bottom: 16px;
}

.forgot-desc {
    font-family: "Inter", sans-serif;
    font-size: 18px;
    color: #ffffff;
    opacity: 0.8;
    margin-bottom: 32px;
}

.forgot-privacy {
    margin-top: 12px;
    font-size: 14px;
    color: #62748E;
    opacity: 0.6;
    text-align: center;
    font-family: "Inter", sans-serif;
}

/* ===============================
   MOBILE LAYOUT (IMAGE ON TOP)
================================ */

@media (max-width: 426px) {

    .login-section {
        padding: 0;
        flex-direction: column;
        min-height: auto;
    }

    /* Image becomes top block */


     .login-image {
        position: relative;
        inset: unset;
        width: 100%;

        /* DESIGN SIZE */
        height: 536px;

        /* IMAGE */
        background-image: url("../images/login-bg.png"); /* optional separate crop */
        background-repeat: no-repeat;
        background-size: cover;

        /* CROP CONTROL */
        background-position: center top;

        display: block;
    }
    /* Content below image */
    .login-overlay {
        padding: 24px 16px 40px;
    }

    .login-container {
        max-width: 100%;
        min-height: auto;
        padding: 32px 24px;
        border-radius: 16px;
    }

    .login-title {
        font-size: 28px;
    }

    /* Modal on mobile */
    .forgot-modal {
        min-height: auto;
        padding: 32px 24px;
    }
}
