* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    min-height: 100vh;
    background-color: white;
    color: #f4eeee;
}

.fields-error {
    background-color: #ffcdcd;
    border: 1px solid #ffbaba;
    color: #d41010;
    padding: 16px 15px;
    margin: 15px 5px;
    border-radius: 8px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.attempts-error {
    background-color: #ffcdcd;
    border: 1px solid #ffbaba;
    color: #d41010;
    padding: 16px 15px;
    margin: 15px 5px;
    border-radius: 8px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.success-msg {
    background-color: #d1efd0;
    border: 1px solid #d1efd0;
    color: #4bd410;
    padding: 16px 15px;
    margin: 15px 5px;
    border-radius: 8px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* New container to center only the login form */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* This ensures the login form takes full screen height */
    padding-top: 5px; /* Adjust if your navbar height is different */
}

.wrapper {
    width: 90%;
    max-width: 400px;
    background: transparent;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.wrapper .form {
    width: 100%;
    padding: 20px;
}

.form h2 {
    font-size: 24px;
    color: rgb(0, 0, 0);
    text-align: center;
}

.input-box {
    position: relative;
    width: 100%;
    margin: 20px 0;
}

.input-box label {
    font-size: 16px;
    color: rgb(0, 0, 0);
    font-weight: 500;
    display: block;
}

.input-box input {
    width: 100%;
    height: 40px;
    background: transparent;
    border: 1px solid rgb(0, 0, 0);
    border-radius: 5px;
    outline: none;
    margin-top: 5px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 500;
    color: rgb(0, 0, 0);
    padding: 0 10px;
    transition: all ease-in-out 0.5s;
}

.input-box input:focus {
    border-color: rgb(117, 145, 255);
}

.remember-forget {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: black;
    font-weight: 500;
    margin: -10px 0 15px 0;
}

.remember-forget label input {
    accent-color: rgb(7, 179, 12);
    margin-right: 5px;
}

.remember-forget a {
    text-decoration: none;
    font-weight: 600;
    color: rgb(56, 56, 251);
}

.login-btn {
    width: 100%;
    height: 40px;
    color: white;
    font-weight: 500;
    font-size: 16px;
    background-color: #1B4332;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

.login-btn:hover {
    background-color: #1b4332de;
}

.sign-up {
    font-size: 14px;
    text-align: center;
    color: black;
    margin-top: 20px;
}

.sign-up p a {
    font-weight: 600;
    color: rgb(56, 56, 251);
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 480px) {
    .wrapper {
        width: 95%;
        padding: 15px;
    }

    .form h2 {
        font-size: 20px;
    }

    .input-box label {
        font-size: 14px;
    }

    .input-box input {
        height: 35px;
        font-size: 14px;
    }

    .remember-forget {
        font-size: 12px;
    }

    .login-btn {
        font-size: 14px;
        height: 35px;
    }

    .sign-up {
        font-size: 12px;
    }
}
