﻿/* ================= ROOT ================= */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ================= PAGE ================= */
.forgot-page {
    position: fixed;
    inset: 0;
    display: flex;
    overflow: hidden;
}

/* ================= BACKGROUND ================= */
.forgot-bg {
    flex: 1;
    background: url("/images/StartPage.png") no-repeat left center;
    background-size: cover;
}

/* ================= CARD ================= */
.forgot-card {
    width: 520px;
    max-width: 92vw;
    background: #fff;
    margin: auto 40px auto auto;
    border-radius: 8px;
    border: 1px solid #dcdcdc;
    box-shadow: 0 18px 40px rgba(0,0,0,.15);
    position: relative;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

/* ================= LOGO ================= */
.forgot-logo {
    position: absolute;
    top: -70px;
    left: 50%;
    transform: translateX(-50%);
}

    .forgot-logo img {
        width: 210px;
    }

/* ================= CONTENT ================= */
.forgot-content {
    padding: 90px 36px 36px;
    overflow-y: auto;
}

/* ================= TEXT ================= */
.forgot-title {
    font-size: 30px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 10px;
}

.forgot-desc {
    font-size: 13px;
    color: #555;
    text-align: center;
    margin-bottom: 18px;
}

/* ================= FORM ================= */
.fp-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fp-label {
    font-size: 13px;
    font-weight: 700;
    color: #222;
}

.fp-input {
    height: 38px;
    padding: 0 12px;
    font-size: 13px;
    border-radius: 4px;
    border: 1px solid #d8d8d8;
}

    .fp-input:focus {
        border-color: #4a75a1;
        box-shadow: 0 0 0 3px rgba(74,117,161,.15);
        outline: none;
    }

/* ================= ROWS ================= */
.fp-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* ================= BUTTONS ================= */
.fp-btn {
    background: #4a75a1;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 11px 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

    .fp-btn:hover {
        background: #3b5d81;
    }

    .fp-btn.secondary {
        width: 160px;
    }

/* ================= MESSAGES ================= */
.fp-success {
    color: #2e7d32;
    font-size: 12px;
}

.fp-error {
    color: #b71c1c;
    font-size: 12px;
}

/* ================= FOOTER ================= */
.fp-footer {
    margin-top: 14px;
    display: flex;
    justify-content: flex-end;
}

/* ================= BACK BUTTON ================= */
.fp-back {
    position: absolute;
    left: 16px;
    left: 16px;
    top: 92%; /* adjust this */
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #ccc;
    background: #fff;
    display: grid;
    place-items: center;
    color: #333;
    text-decoration: none;
}

    .fp-back:hover {
        background: #f2f2f2;
    }

/* ================= MOBILE ================= */
@media (max-width: 900px) {
    .forgot-bg {
        display: none;
    }

    .forgot-card {
        margin: auto;
    }
}
