/* General Reset */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    height: 100%;
}

/* Centered Forgot Password Container */
.forgot-password-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: url(https://fastly.picsum.photos/id/29/4000/2670.jpg?hmac=rCbRAl24FzrSzwlR5tL-Aqzyu5tX_PA95VJtnUXegGU);
    background-size: cover; /* Ensures the image covers the entire container */
    background-position: center;
    position: relative; /* Allows layering for a darker overlay */
}

/* Darker Overlay */
.forgot-password-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Adjust the transparency level */
    z-index: 1; /* Ensures overlay is behind the form */
}

/* Reset Password Form */
.reset-password-form {
    background: rgba(255, 255, 255, 0.2); /* Slightly opaque background */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4); /* Enhanced shadow for visibility */
    text-align: center;
    width: 100%;
    max-width: 400px;
    position: relative; /* Ensures form is above the overlay */
    z-index: 2; /* Ensures form is above the dark overlay */
}



/* Form Elements */
.reset-password-form h2 {
    margin-bottom: 20px;
    color: rgb(255, 253, 253);
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: rgb(250, 249, 249);
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

.btn {
    background: #4e73df;
    color: #fff;
    border: none;
    padding: 8px 16px; /* Reduced padding for a smaller button */
    font-size: 14px; /* Smaller font size */
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    width: auto; /* Change to auto to adjust button width */
    display: inline-block; /* Makes the button size dependent on content */
    margin: 10px auto; /* Centers the button horizontally */
}

.btn:hover {
    background: #3757c3;
}

/* Error Message */
.error-msg {
    color: #e74a3b;
    font-size: 14px;
    margin-bottom: 15px;
}

.success-msg {
    color: #27ae60;
    font-size: 14px;
    margin-bottom: 15px;
}

.back-button {
    text-align: center; 
    margin-top: 10px;
}

.back-button a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
 }
 
 .back-button a:hover {
    text-decoration: underline;
 }