body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    background-image: url('../images/backFuture.png'); 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat; 
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100vh;
}
.login-container {
    width: 300px;
    padding: 20px;
    background-color: white;
    border-radius: 8px; /* rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-right: 20%; /* right-aligned by default */
}

/*  */
.password-container {
    position: relative;
    width: 100%;
}

.password-container input {
    line-height: normal; /* Ensures consistent alignment */
    height: 40px; /* Ensure the input height is explicitly defined */
}

.password-container i {
    position: absolute;
    right: 12px; /* Adjust spacing from the right edge */
    top: 40%; /* Center relative to the container */
    transform: translateY(-50%); /* Correct vertical alignment */
    font-size: 14px; /* Adjust icon size */
    cursor: pointer;
    color: #888;
    line-height: normal; /* Match input's line-height */
}

.password-container i:hover {
    color: #000;
}

/*  */
.error {
    color: red;
    font-size: 14px;
    margin-bottom: 10px;
}
form {
    display: flex;
    flex-direction: column; /* Stack form elements vertically */
}
label {
    margin-bottom: 5px;
    font-weight: bold;
}
input {
    margin-bottom: 15px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}
button {
    padding: 10px;
    font-size: 16px;
    color: white;
    background-color: #007bff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
button:hover {
    background-color: #0056b3;
}
.g-recaptcha {
    margin-bottom: 15px;
}


@media (max-width: 740px) {
    .login-container {
        margin: 0 auto; /* centers horizontally */
        margin-top: 10%; /* centers vertically with some top margin */
        width: 80%; /* wider but not full width */
    }
}


@media (max-width: 600px) {
    .login-container {
        width: 100%;
        height: 100vh; /* full viewport height */
        margin: 0; /* no margin to fully fill screen */
        border-radius: 0; /* remove rounded corners */
        padding: 20px; /* maintain padding */
        box-shadow: none; /* remove shadow for simpler design */
    }
}