body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f7f7f7;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
}

.forgot-password {
    width: 500px;
	
    background: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 2px solid #a83232;
}

h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #a83232;
    text-align: center;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
    text-align: center;
}

input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 2px solid #a83232;
    border-radius: 5px;
    font-size: 14px;
    text-align: center;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #a83232;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 600;
}

button:hover {
    background-color: #911f1f;
}

.error-message {
    background-color: #ffefef;
    border: 1px solid #f44336;
    color: #a83232;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    text-align: center;
}
.show-password {
    display: inline-flex; /* Keeps everything in a single line */
    align-items: center; /* Vertically centers the checkbox and text */
    gap: 10px; /* Adds space between the checkbox and the label */
    margin-top: 10px; /* Adds space above the checkbox section */
    white-space: nowrap; /* Prevents wrapping of "Show Password" text */
}

.show-password input[type="checkbox"] {
    margin: 0;
    transform: scale(1.2); /* Makes the checkbox slightly larger for usability */
	accent-color: #a83232;
}

.show-password label {
    font-size: 1rem; /* Adjusted font size for better readability */
    cursor: pointer; /* Makes clicking the text toggle the checkbox */
	margin-top: 7px;
}



/* Responsive Design */
@media (max-width: 768px) {
    .forgot-password {
        padding: 20px;
		width: 80%;
    }
    h2 {
        font-size: 20px;
    }
}

/* Ensure all inputs and buttons are perfectly aligned */
.forgot-password input,
.forgot-password button {
    width: calc(100% - 20px);
    max-width: 350px;
    text-align: center;
    margin: 10px auto;
}
