/* General Reset */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', Arial, sans-serif;
    height: 100%;
    overflow: hidden;
}

/* Background Video */
#background_video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(60%); /* Dimmed for better contrast with content */
}

/* Overlay to Center the Forgot Password Form */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

/* Forgot Password Container */
.forgot-password-container {
    padding: 20px 30px;
    width: 450px;
    border-radius: 15px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.7);
    text-align: center;
    z-index: 1;
    animation: fadeIn 0.6s ease-in-out;
}

.forgot-password-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Forgot Password Header */
.forgot-password-header h2 {
    font-size: 28px;
    color: black;
    font-weight: bold;
}

.forgot-password-header p {
    font-size: 16px;
    color: black;
    margin-bottom: 25px;
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

input {
    width: 100%;
    padding: 12px;
    font-size: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    transition: border-color 0.3s, background-color 0.3s;
    box-sizing: border-box;
}

input:focus {
    border-color: #4CAF50;
    background-color: #fff;
    outline: none;
}

/* Error Message Styling */
span {
    color: red;
    font-size: 12px;
}

/* Reset Button */
.reset-btn {
    width: 100%;
    padding: 12px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(135deg, #4CAF50, #3e8e41);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 6px;
    transition: background 0.3s;
}

.reset-btn:hover {
    background: linear-gradient(135deg, #3e8e41, #4CAF50);
}

/* Success Message */
.success-message {
    display: none; 
    color: white; 
    font-weight: bold; 
    font-size: 25px;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .forgot-password-container {
        width: 90%;
        padding: 30px;
    }

    .forgot-password-header h2 {
        font-size: 24px;
    }

    .reset-btn {
        font-size: 16px;
    }
}
