/* ═══════════════════════════════════════════════════════════════════
   OutReal — forgot-password.css
   Exact same design tokens as login.css (Inter, dashboard palette).
   Loaded after login.css in index.html; shared class names are
   intentionally identical so the cascade is idempotent.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Shared class redeclarations (same values as login.css) ───────── */

/* input-wrapper: positions icon relative to the input, not the group */
.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-color);
    transition: var(--transition-fast);
    pointer-events: none;
    line-height: 1;
}

.input-field:focus + .input-icon {
    color: var(--primary-color);
}

/* ── Forgot-password-specific additions ───────────────────────────── */

/* Inline alert replaces the old Modal-only feedback */
.fp-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.45;
}

.fp-alert--success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22C55E;
}

.fp-alert--error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #EF4444;
}

.fp-alert i { margin-top: 2px; flex-shrink: 0; }

/* Submit button — full-width gradient primary */
.fp-btn-submit {
    width: 100%;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Back link — styled as a secondary outlined button */
.fp-btn-back {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--gray-color);
    font-size: 0.95rem;
    font-weight: 500;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-medium);
}

.fp-btn-back:hover {
    border-color: var(--primary-color);
    color: var(--light-color);
    background: rgba(5, 40, 242, 0.06);
}
