/**
 * Reset Password Page Styles
 *
 * Styles specific to the reset password page.
 * Extracted from reset-password.php inline styles.
 */

/* ========================================
   Reset Container
   ======================================== */

.reset-container {
    max-width: 500px;
    margin: 3rem auto 4rem;
    padding: 0 1rem;
}

/* ========================================
   Reset Header
   ======================================== */

.reset-header {
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
    border-bottom: 3px solid #e0e0e0;
    width: 100%;
}

.reset-header::after {
    content: "";
    display: block;
    width: 100px;
    height: 3px;
    background-color: #e63946;
    position: absolute;
    bottom: -3px;
    left: 0;
}

.reset-title {
    color: #14264A;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.reset-subtitle {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* ========================================
   Form Styles
   ======================================== */

.reset-container .form-group {
    margin-bottom: 1.5rem;
}

.reset-container .form-label {
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 0.5rem;
}

.reset-container .form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.reset-container .form-control:focus {
    border-color: #14264A;
    outline: none;
    box-shadow: 0 0 0 2px rgba(20, 38, 74, 0.2);
}

.form-error {
    color: #e63946;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
}

/* ========================================
   Reset Button
   ======================================== */

.reset-button {
    display: inline-block;
    padding: 0.875rem 2rem;
    background-color: #e63946;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    margin-top: 1rem;
}

.reset-button:hover {
    background-color: #c1121f;
}

.reset-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* ========================================
   Alerts
   ======================================== */

.reset-container .alert {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
    font-weight: 500;
}

.reset-container .alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.reset-container .alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ========================================
   Password Requirements
   ======================================== */

.password-requirements {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #666;
}

/* ========================================
   Loading Overlay
   ======================================== */

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #e63946;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
