/* ==============PASSWORD RESET SECTION STARTS========= */

.password-reset-section {
    position: relative;
    min-height: 100vh;
    width: 100%;
    background: radial-gradient(circle at center, #333261 0%, #2d3748 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    margin: 0;
    overflow-y: auto;
}

/* Optional: Add background effects */
.password-reset-section::before {
    content: '';
    position: fixed;
    top: -50px;
    right: -50px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.password-reset-section::after {
    content: '';
    position: fixed;
    bottom: -80px;
    left: -80px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

/* Ensure the reset container sits above the background effects */
.password-reset-section .reset-container {
    position: relative;
    z-index: 2;
}

/* Main container */
.reset-container {
    width: 100%;
    max-width: 500px;
    padding: 15px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    animation: slideUpFade 0.6s ease-out;
}

/* Card styling */
.reset-header {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(203, 213, 225, 0.8);
    border-radius: 8px 8px 0 0;
    padding: 20px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.12);
}

/* Glow effects */
.reset-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.reset-header::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.reset-header h1 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e293b;
    font-family: 'Tilt Neon', sans-serif;
    margin: 5px 0 3px 0;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}

.reset-header p {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* Form section */
.reset-form {
    background: #ffffff;
    border: 1px solid rgba(203, 213, 225, 0.8);
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 25px 30px;
    box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.08);
}

/* Reset button */
.btn-reset {
    width: auto;
    min-width: 280px;
    padding: 12px 24px;
    margin-top: 20px !important;
    background: linear-gradient(135deg, #37455d, #414d67, #4f4e74);
    background-size: 200% 200%;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-family: 'Quicksand', sans-serif;
    letter-spacing: 0.3px;
    margin: 15px auto 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.25);
    animation: gradientShift 5s ease infinite;
}

/* Glossy highlight effect */
.btn-reset::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: left 0.5s ease;
}

.btn-reset:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.btn-reset:hover::before {
    left: 100%;
}

.btn-reset i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.btn-reset:hover i {
    transform: translateX(3px);
}

/* Reset link section */
.reset-link {
    text-align: center;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #e2e8f0;
    font-size: 0.9rem;
    color: #64748b;
}

.reset-link a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 6px;
}

.reset-link a i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.reset-link a:hover {
    color: #2563eb;
    background: #eff6ff;
}

.reset-link a:hover i {
    transform: translateX(3px);
}

/* Mobile styles */
@media (max-width: 768px) {
    .reset-container {
        max-width: 450px;
        padding: 12px;
    }
    
    .reset-header {
        padding: 18px 25px;
    }
    
    .reset-header h1 {
        font-size: 1.4rem;
    }
    
    .reset-form {
        padding: 22px 25px;
    }
    
    .btn-reset {
        padding: 11px 16px;
        font-size: 0.95rem;
        margin-top: 10px;
    }
}

/* Small mobile styles */
@media (max-width: 480px) {
    .reset-container {
        max-width: 100%;
        padding: 8px;
    }
    
    .reset-header {
        padding: 16px 18px;
    }
    
    .reset-header h1 {
        font-size: 1.3rem;
        margin: 3px 0 2px 0;
    }
    
    .reset-header p {
        font-size: 0.85rem;
    }
    
    .reset-form {
        padding: 18px 16px;
    }
    
    .btn-reset {
        padding: 10px 14px;
        font-size: 0.9rem;
        margin-top: 8px;
        gap: 8px;
    }
    
    .btn-reset i {
        font-size: 1rem;
    }
    
    .reset-link {
        margin-top: 16px;
        padding-top: 12px;
        font-size: 0.85rem;
    }
}

/* Animation */
@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}