body {
    background-color: #e9eaed;
    font-family: 'Roboto', sans-serif;
}

.container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

h1 {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 30px;
}

form {
    margin: 0 auto;
    margin-top: 10%;
    max-width: 400px;
    border-radius: 4px;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .13);
}

label, a,
.form-message {
    display: block;
    margin-bottom: 5px;
    font-family: 'Roboto', sans-serif;
}



.password-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%; /* Full width to match other inputs */
}

.submit-button {
    background-color: #6cb1ea;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 4px;
    font-size: 16px;
    width: 100%;
    cursor: pointer;
}

.submit-button :hover {
    background-color: #50a2e1;
}


/* Input field base styles */
.fname, .otp, .email, .password {
    width: calc(100% - 2.5em); /* Adjust the width to leave space for the icon */
    padding: 1em; /* Ensures adequate padding inside the input */
    font-size: 1em;
    border: 1px solid #333333;
    border-radius: 5px;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 1em; /* Space between fields */
}

@media (max-width: 768px) {
    form {
        max-width: 90%; /* Increased width for mobile devices */
        padding: 15px; /* Slightly less padding to fit smaller screens */
        margin-top: 10%; /* Reduced top margin for better positioning */
    }

    .fname, .otp, .email, .password {
        width: 85%; /* Adjusted width */
        margin-top: 0.2em; /* Added some space above each field */
        margin-bottom: 0.2em; /* Increased bottom margin for spacing */
    }

    .submit-button {
        padding: 12px; /* More padding for easier interaction */
        font-size: 18px; /* Larger font size for better visibility */
    }
}

.logo-container {
    text-align: center;
    margin-bottom: 30px;
}

.logo-container img {
    max-width: 200px;
    margin-top: 8%;
}

/* Eye slash icon inside the password input */
.eye-slash {
    position: absolute;
    right: 10px; /* Right alignment within the container */
    height: 100%; /* Full height of the container to center vertically */
    display: flex;
    align-items: center; /* Centers the icon vertically */
    cursor: pointer;
    color: #3f3e40;
    padding-right: 0.8em;
}
