/* forgot-password.css */
/* Forgot Password Page Specific Styles */

.forgot-password-container {
    max-width: 100%;
    overflow: hidden;
}

.forgot-password-hero {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.forgot-password-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(46, 125, 50, 0.7);
}

.forgot-password-content {
    position: relative;
    z-index: 1;
    padding: 20px;
}

.forgot-password-content h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.forgot-password-content p {
    font-size: 1.2rem;
    margin-bottom: 0;
}

.forgot-password-form-section {
    padding: 50px 20px;
    background-color: #f9f9f9;
}

.forgot-password-form-container {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.progress-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.step {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #e0e0e0;
    color: #9e9e9e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.step.active {
    background-color: #2e7d32;
    color: white;
}

.line {
    width: 60px;
    height: 2px;
    background-color: #e0e0e0;
    margin: 0 10px;
}

.forgot-password-form-container h2 {
    color: #2e7d32;
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.forgot-password-form-container h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #2e7d32;
}

.instruction {
    text-align: center;
    color: #555;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: #2e7d32;
    outline: none;
    box-shadow: 0 0 0 2px rgba(46, 125, 50, 0.2);
}

.submit-button {
    width: 100%;
    padding: 14px;
    background-color: #2e7d32;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-bottom: 20px;
}

.submit-button:hover {
    background-color: #1b5e20;
}

.back-to-login {
    text-align: center;
}

.back-to-login a {
    color: #2e7d32;
    text-decoration: none;
    font-weight: 500;
}

.back-to-login a:hover {
    text-decoration: underline;
}

/* Success Message Styles */
.success-message {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #4caf50;
    color: white;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.success-message h3 {
    color: #2e7d32;
    margin-bottom: 15px;
}

.success-message p {
    color: #555;
    margin-bottom: 10px;
}

.email-sent {
    background-color: #f5f5f5;
    padding: 10px;
    border-radius: 4px;
    font-weight: 500;
}

.resend-link {
    margin-top: 20px;
}

.resend-link a {
    color: #2e7d32;
    text-decoration: none;
    font-weight: 500;
}

.resend-link a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 600px) {
    .forgot-password-hero {
        height: 200px;
    }
    
    .forgot-password-content h1 {
        font-size: 2rem;
    }
    
    .forgot-password-form-container {
        padding: 30px 20px;
    }
    
    .line {
        width: 30px;
    }
}