/* forgot-password.html / reset-password.html - same look as the login page (light page, white card, REEDS blue / red) */
:root {
    --blue: #1e4f9c;
    --blue-soft: #e8f0fb;
    --red: #d92d3a;
    --red-dark: #b71f2b;
    --ink: #1f2a37;
    --muted: #6b7686;
    --line: #dfe5ee;
    --page: #f3f6fb;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Rubik", "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    background:
        radial-gradient(circle at 0% 0%, rgba(30, 79, 156, .16) 0, rgba(30, 79, 156, 0) 42%),
        radial-gradient(circle at 100% 100%, rgba(217, 45, 58, .10) 0, rgba(217, 45, 58, 0) 40%),
        var(--page);
}

.rp-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
}

.rp-box {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: #fff;
    border: 1px solid #edf1f7;
    border-radius: 18px;
    padding: 36px 36px 28px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 18px 40px rgba(30, 79, 156, .10);
    overflow: hidden;
}

.rp-box::before {
    /* REEDS blue -> red accent on top of the card */
    content: "";
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--blue) 0%, #2f6fd0 55%, var(--red) 100%);
}

.rp-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.rp-brand img {
    height: 52px;
    width: auto;
    background: #fff;
    border-radius: 12px;
    padding: 4px;
    box-shadow: 0 4px 14px rgba(30, 79, 156, .14);
}

.rp-brand span {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--blue);
}

h1 { font-size: 22px; margin: 0 0 6px; font-weight: 600; color: var(--ink); }

.rp-sub { font-size: 14px; color: var(--muted); margin: 0 0 20px; line-height: 1.55; }
.rp-sub b { color: var(--ink); font-weight: 600; }

label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #344054;
    margin: 16px 0 7px;
}

.rp-field { position: relative; }

input {
    width: 100%;
    height: 46px;
    font-family: inherit;
    font-size: 14px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--ink);
    background: #fbfcfe;
    transition: border-color .15s, box-shadow .15s, background .15s;
}

.rp-field input { padding-right: 64px; }

input::placeholder { color: #a0a9b8; }

input:focus {
    outline: none;
    border-color: var(--blue);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(30, 79, 156, .12);
}

.rp-eye {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: 0;
    border-radius: 8px;
    color: var(--blue);
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 8px;
}

.rp-eye:hover { background: var(--blue-soft); }

.rp-hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }

button.rp-btn {
    display: block;
    width: 100%;
    height: 48px;
    margin-top: 24px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .3px;
    color: #fff;
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(217, 45, 58, .25);
    transition: box-shadow .15s, transform .12s, opacity .15s;
}

button.rp-btn:hover { box-shadow: 0 10px 22px rgba(217, 45, 58, .32); }
button.rp-btn:active { transform: translateY(1px); }
button.rp-btn[disabled] { opacity: .7; cursor: progress; }

.rp-msg {
    display: none;
    margin: 0 0 6px;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 13.5px;
    line-height: 1.5;
}

.rp-msg.err { background: #fef2f2; border: 1px solid #fecaca; color: #b42318; }
.rp-msg.ok { background: #ecfdf3; border: 1px solid #abefc6; color: #067647; }

.rp-links { margin-top: 20px; font-size: 13.5px; text-align: center; color: var(--muted); }
.rp-links a { color: var(--blue); font-weight: 500; text-decoration: none; }
.rp-links a:hover { text-decoration: underline; }

.rp-copy {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #eef2f7;
    font-size: 12px;
    color: var(--muted);
    text-align: center;
}

@media (max-width: 480px) {
    .rp-box { padding: 30px 22px 24px; border-radius: 14px; }
}
