/* =============================================================
   [RESET] Forgot Password Page — Premium Design
   Matches login/signup design system
   ============================================================= */

/* Full-page gradient background (matching login page) */
.reset-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-purple-gradient, linear-gradient(160deg, #f8f6ff 0%, #ede9fe 40%, #e0e7ff 100%));
    padding: 1rem;
    position: relative;
    overflow: hidden;
}

/* Subtle decorative circles */
.reset-page::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.reset-page::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(118, 75, 162, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Reset Card */
.reset-card {
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.12), 0 8px 24px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 1;
    animation: cardFadeIn 0.5s ease;
}

@keyframes cardFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Logo */
.reset-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.reset-logo img {
    width: 36px;
    height: 36px;
}

.reset-logo span {
    font-family: 'Chela One', cursive;
    font-size: 1.5rem;
    color: #5D38DE;
    font-weight: 400;
}

/* Heading */
.reset-heading {
    text-align: center;
    margin-bottom: 0.5rem;
}

.reset-heading h1 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #111;
    margin: 0;
}

.reset-heading h1 span {
    background: linear-gradient(to right, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.reset-heading p {
    font-size: 0.88rem;
    color: #888;
    margin: 0.5rem 0 0;
    line-height: 1.5;
}

/* Form */
.reset-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #444;
}

.form-group .input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.form-group .input-wrapper input {
    width: 100%;
    padding: 12px 16px;
    background: #f0effa;
    border: 2px solid transparent;
    border-radius: 12px;
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    color: #333;
    transition: all 0.2s ease;
    outline: none;
}

.form-group .input-wrapper input::placeholder {
    color: #b0b0c8;
}

.form-group .input-wrapper input:focus {
    background: #fff;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

/* Submit button */
.reset-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 12px;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-top: 0.25rem;
}

.reset-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(102, 126, 234, 0.35);
}

.reset-submit:active {
    transform: translateY(0);
}

/* Back to login link */
.reset-back-link {
    text-align: center;
    margin-top: 1.25rem;
    font-size: 0.85rem;
    color: #888;
}

.reset-back-link a {
    color: #667eea;
    font-weight: 700;
    text-decoration: none;
    margin-left: 4px;
    transition: color 0.2s;
}

.reset-back-link a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Form error messages */
.form-error {
    color: #dc2626;
    font-size: 0.82rem;
    margin-top: 2px;
    line-height: 1.4;
}

.form-error p {
    margin: 2px 0;
}

/* Mobile */
@media (max-width: 480px) {
    .reset-card {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }

    .reset-heading h1 {
        font-size: 1.35rem;
    }

    .form-group .input-wrapper input {
        padding: 11px 14px;
        font-size: 0.85rem;
    }

    .reset-submit {
        padding: 12px;
        font-size: 0.92rem;
    }
}
