/* =============================================================
   ŞİFREMİ UNUTTUM — AniList Design System
   ============================================================= */
.reset-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding: 2rem 1rem;
}
.reset-card {
    width: 100%;
    max-width: 440px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow);
}
.reset-card h1 {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-bright);
    margin: 0 0 0.4rem;
}
.reset-card .reset-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 1.75rem;
    line-height: 1.5;
}
.reset-icon {
    text-align: center;
    margin-bottom: 1.25rem;
}
.reset-icon i {
    font-size: 3rem;
    color: var(--accent);
    opacity: 0.8;
}

/* Alert */
.reset-alert {
    padding: 12px 16px;
    margin-bottom: 1.25rem;
    border-radius: var(--radius);
    font-size: 0.88rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.5;
}
.reset-alert.alert-error {
    background: rgba(232, 93, 117, 0.1);
    border: 1px solid var(--red);
    color: var(--red);
}
.reset-alert.alert-success {
    background: rgba(76, 202, 81, 0.1);
    border: 1px solid var(--green);
    color: var(--green);
}

/* Form */
.reset-field { margin-bottom: 1.1rem; }
.reset-field label {
    display: block; font-weight: 600; font-size: 0.85rem;
    color: var(--text-secondary); margin-bottom: 6px;
}
.reset-input-wrap { position: relative; }
.reset-field input[type="email"],
.reset-field input[type="password"] {
    width: 100%; padding: 10px 14px;
    background: var(--bg-input); border: 1px solid var(--border);
    border-radius: var(--radius); color: var(--text-primary);
    font-family: var(--font); font-size: 0.9rem;
    transition: all 0.15s;
}
.reset-field input::placeholder { color: var(--text-muted); }
.reset-field input:focus {
    outline: none; border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.reset-eye {
    position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
    background: none; border: none; color: var(--text-muted);
    cursor: pointer; padding: 6px; font-size: 0.95rem; transition: color 0.15s;
}
.reset-eye:hover { color: var(--accent); }

.reset-validation {
    font-size: 0.8rem; min-height: 1.2rem; padding-top: 4px; font-weight: 600;
}
.reset-validation.valid { color: var(--green); }
.reset-validation.invalid { color: var(--red); }

/* Şifre gücü barı */
.password-strength {
    display: flex; gap: 4px; margin-top: 8px;
}
.strength-bar {
    flex: 1; height: 4px;
    background: var(--border); border-radius: 2px;
    transition: background 0.3s;
}
.strength-bar.active.weak { background: var(--red); }
.strength-bar.active.medium { background: var(--orange); }
.strength-bar.active.strong { background: var(--green); }

.strength-text {
    font-size: 0.78rem; font-weight: 600;
    margin-top: 4px; text-align: right;
}
.strength-text.weak { color: var(--red); }
.strength-text.medium { color: var(--orange); }
.strength-text.strong { color: var(--green); }

/* Button */
.reset-btn {
    width: 100%; padding: 12px; border: none;
    border-radius: var(--radius);
    background: var(--accent); color: #fff;
    font-family: var(--font); font-size: 1rem; font-weight: 700;
    cursor: pointer; transition: all 0.15s;
    margin-top: 0.5rem;
}
.reset-btn:hover:not(:disabled) {
    background: var(--accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px var(--accent-glow);
}
.reset-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Loading state */
.reset-btn.loading {
    pointer-events: none; opacity: 0.7;
    position: relative;
}
.reset-btn.loading::after {
    content: ''; position: absolute;
    width: 18px; height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    right: 16px; top: 50%;
    transform: translateY(-50%);
    animation: resetSpin 0.6s linear infinite;
}
@keyframes resetSpin { to { transform: translateY(-50%) rotate(360deg); } }

/* Back link */
.reset-back {
    text-align: center;
    margin-top: 1.5rem;
}
.reset-back a {
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.reset-back a:hover { color: var(--accent); }

/* Success state */
.reset-success-icon {
    text-align: center;
    margin-bottom: 1rem;
}
.reset-success-icon i {
    font-size: 3.5rem;
    color: var(--green);
}
.reset-success-msg {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.reset-login-link {
    display: block;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: var(--radius);
    background: var(--accent);
    color: #fff;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: all 0.15s;
}
.reset-login-link:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px var(--accent-glow);
}

@media (max-width: 480px) {
    .reset-card { padding: 1.5rem; }
}