/* Forgot Password Page Styles
   ========================================================================== */

/* Layout
   ========================================================================== */
.forgot-password-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.forgot-password-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: var(--spacing-xl) var(--spacing-md);
}

/* Background Animation
   ========================================================================== */
.forgot-password-section::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: var(--gradient-glow);
    opacity: 0.05;
    filter: blur(100px);
    animation: rotate 20s linear infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Form Container
   ========================================================================== */
.form-container {
    width: 100%;
    max-width: 420px;
    background: var(--background-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: var(--spacing-2xl);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(12px);
    animation: slideUp 0.5s ease forwards;
}

.form-container::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: var(--gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: -1;
}

.form-container:hover::before {
    opacity: 1;
}

/* Description Text
   ========================================================================== */
.description {
    text-align: center;
    color: var(--text-light);
    margin-bottom: var(--spacing-xl);
    font-size: 0.9375rem;
    line-height: 1.5;
}

/* Form Elements
   ========================================================================== */
.form-group {
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-sm);
    color: var(--text-light);
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: var(--spacing-md);
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text);
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.form-error {
    color: var(--error);
    font-size: 0.875rem;
    margin-top: var(--spacing-xs);
    min-height: 1.25rem;
}

.has-error .form-input {
    border-color: var(--error);
}

.has-error .form-input:focus {
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}

/* Reset Button
   ========================================================================== */
.btn-reset {
    width: 100%;
    padding: var(--spacing-md);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xl);
}

/* Back to Login Link
   ========================================================================== */
.back-to-login {
    text-align: center;
    color: var(--text-light);
}

.back-to-login a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.back-to-login a:hover {
    text-decoration: underline;
}

/* Success Message
   ========================================================================== */
.success-message {
    display: none;
    text-align: center;
    color: var(--success);
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid var(--success);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.success-message.visible {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design
   ========================================================================== */
@media (max-width: 480px) {
    .form-container {
        padding: var(--spacing-xl);
    }
} 