/* Forgot Password Page Styles */
body {
    background: linear-gradient(135deg, #18554C 0%, #247f71 50%, #2a8f7f 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.forgot-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    padding: 40px;
    width: 90%;
    max-width: 500px;
    margin: 20px;
    backdrop-filter: blur(10px);
}

h2 {
    color: #18554C;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-align: center;
    background: none;
    padding: 0;
}

.description {
    color: #666;
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 600;
}

.input-group {
    display: flex;
    align-items: center;
    background-color: #fff;
    border: 2px solid #e1e1e1;
    border-radius: 10px;
    padding: 12px 15px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.input-group:focus-within {
    border-color: #18554C;
    box-shadow: 0 0 0 3px rgba(24, 85, 76, 0.1);
}

.input-group i {
    font-size: 20px;
    margin-right: 10px;
    color: #18554C;
}

.input-group input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 1rem;
    background: none;
    font-weight: 600;
}

.input-group input::placeholder {
    font-weight: 600;
    opacity: 0.7;
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
}

.btn, .btn_cancel, .btn_home {
    flex: 1;
    min-width: 120px;
    padding: 12px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn {
    background: #18554C;
    color: white;
}

.btn:hover {
    background: #247f71;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(24, 85, 76, 0.3);
}

.btn_cancel {
    background: #e1e1e1;
    color: #666;
}

.btn_cancel:hover {
    background: #d0d0d0;
    transform: translateY(-2px);
}

.btn_home {
    background: #4a90e2;
    color: white;
    width: 100%;
}

.btn_home:hover {
    background: #357abd;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

.message {
    color: #dc3545;
    font-size: 0.9rem;
    text-align: center;
    margin-top: 15px;
    font-weight: 600;
}

.error-message {
    background: #ffe6e6;
    color: #dc3545;
    padding: 10px;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 0.9rem;
    text-align: center;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 576px) {
    .forgot-container {
        padding: 30px 20px;
        margin: 15px;
    }

    h2 {
        font-size: 2rem;
    }

    .description {
        font-size: 1rem;
    }

    .input-group {
        padding: 10px 12px;
    }

    .input-group i {
        font-size: 18px;
    }

    .input-group input {
        font-size: 0.9rem;
    }

    .btn, .btn_cancel, .btn_home {
        padding: 10px;
        font-size: 1rem;
    }

    .btn-group {
        gap: 10px;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.forgot-container {
    animation: fadeIn 0.6s ease-out;
}

/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: none;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.loading-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #18554C;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loading-text {
    color: #18554C;
    font-size: 1.2rem;
    font-weight: 600;
}

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

/* Disable form elements during loading */
.loading .forgot-container {
    pointer-events: none;
    opacity: 0.7;
} 