/* =========================================================
   NUBCOR PASS — FORGOT PASSWORD
========================================================= */

:root {
    --navy: #07111f;
    --blue: #1769ff;
    --blue-dark: #0d55d9;
    --white: #ffffff;
    --text: #101828;
    --muted: #667085;
    --border: #d5dce6;
    --surface: #ffffff;
    --danger: #dc3545;
    --success: #16a36a;
    --success-soft: #ecfaf4;
}


/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


/* =========================================================
   PAGE
========================================================= */

html,
body {
    min-height: 100%;
}

body {
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(23, 105, 255, 0.18),
            transparent 42%
        ),
        var(--navy);

    color: var(--text);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    -webkit-font-smoothing: antialiased;
}


/* =========================================================
   CONTAINER
========================================================= */

.forgot-page {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px 18px;
}


/* =========================================================
   CARD
========================================================= */

.forgot-card {
    width: 100%;
    max-width: 430px;

    padding: 30px;

    background: var(--surface);

    border-radius: 22px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.22);
}


/* =========================================================
   BACK
========================================================= */

.back-link {
    display: inline-block;

    margin-bottom: 30px;

    color: var(--muted);

    font-size: 14px;
    font-weight: 600;
}

.back-link:hover {
    color: var(--text);
}


/* =========================================================
   BRAND
========================================================= */

.brand {
    margin-bottom: 28px;

    color: var(--navy);

    font-size: 18px;
    font-weight: 800;
}


/* =========================================================
   STEP
========================================================= */

.step {
    width: 100%;
}

.step[hidden] {
    display: none;
}


/* =========================================================
   HEADINGS
========================================================= */

h1 {
    margin: 0;

    color: var(--text);

    font-size: 30px;
    line-height: 1.15;

    font-weight: 800;
    letter-spacing: -0.03em;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.description {
    margin-top: 12px;

    color: var(--muted);

    font-size: 15px;
    line-height: 1.6;
}


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

form {
    margin-top: 28px;
}

label {
    display: block;

    margin-bottom: 8px;

    color: var(--text);

    font-size: 14px;
    font-weight: 700;
}

input {
    width: 100%;
    height: 52px;

    margin-bottom: 18px;
    padding: 0 15px;

    background: #ffffff;

    color: var(--text);

    border: 1px solid var(--border);
    border-radius: 12px;

    outline: none;

    font-size: 16px;

    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

input:focus {
    border-color: var(--blue);

    box-shadow:
        0 0 0 3px rgba(23, 105, 255, 0.12);
}

input::placeholder {
    color: #98a2b3;
}


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

.primary-button,
.secondary-button {
    width: 100%;
    min-height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    text-decoration: none;

    transition:
        transform 0.15s ease,
        background 0.15s ease;
}

.primary-button {
    border: 1px solid var(--blue);

    background: var(--blue);
    color: var(--white);
}

.primary-button:hover {
    background: var(--blue-dark);
}

.primary-button:active,
.secondary-button:active {
    transform: scale(0.98);
}

.secondary-button {
    margin-top: 12px;

    border: 1px solid var(--border);

    background: transparent;
    color: var(--text);
}


/* =========================================================
   MESSAGE
========================================================= */

.message {
    margin-top: 18px;
    padding: 12px 14px;

    border-radius: 10px;

    background: #f8fafc;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.5;
}

.message.error {
    background: #fff1f1;
    color: var(--danger);
}

.message.success {
    background: var(--success-soft);
    color: var(--success);
}


/* =========================================================
   SUCCESS
========================================================= */

.success-step {
    text-align: center;
}

.success-icon {
    width: 64px;
    height: 64px;

    margin: 0 auto 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--success-soft);

    color: var(--success);

    font-size: 30px;
    font-weight: 800;
}

.success-step .primary-button {
    margin-top: 28px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 480px) {

    .forgot-page {
        padding: 0;
        align-items: stretch;
    }

    .forgot-card {
        min-height: 100vh;

        max-width: none;

        padding:
            28px 22px;

        border-radius: 0;

        box-shadow: none;
    }
}
