/* Body */
body {
    padding: 0;
    margin: 0; /* Remove any default margin */
    text-align: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: arial, helvetica, sans-serif;
}


/* Group container for fields and button */
.show-password-wrapper {
    display: flex;
    align-items: center; /* Vertically align items */
    margin: 0; /* Remove margins */
    padding: 0; /* Remove padding */
}

/* Username and Password Fields */
.username, .password {
    height: 5vmin;
    border: darkturquoise 0.25vmin solid;
    border-radius: 1.25vmin;
    margin: 2.5vmin 0; /* Remove all margins */
    padding: 0 1.25vmin;
    box-sizing: border-box;
    font-size: 2.5vmin;
    outline: none;
    color: darkturquoise;
}

.username::placeholder, .password::placeholder {
    color: paleturquoise;
}

/* Password Field Width */
.username {
    width: 90vmin;
}

.password {
    width: 85vmin;
    border-radius: 1.25vmin 0 0 1.25vmin;
    border-style: solid none solid solid;
}

/* Show Password Button */
.show-password {
    appearance: none;
    width: 5vmin;
    outline: none;
    height: 5vmin;
    border-color: darkturquoise;
    border-width: 0.25vmin;
    border-style: solid solid solid none;
    border-radius: 0 1.25vmin 1.25vmin 0;
    box-sizing: border-box;
    background-image: url('hide_password.svg');
    background-repeat: no-repeat;
    background-origin: border-box;
    background-position: center;
    background-size: 3.75vmin;
    transition: background-image 0.25s linear;
    margin: 0; /* Remove margin */
}

.show-password:checked {
    background-image: url('show_password.svg');
}

/* Button */
button {
    width: 90vmin;
    height: 5vmin;
    border: darkturquoise 0.25vmin solid;
    border-radius: 1.25vmin;
    background-color: transparent;
    box-sizing: border-box;
    color: darkturquoise;
    padding: 0 1.25vmin;
    font-size: 2.5vmin;
    transition: background-color 0.25s linear, color 0.25s linear;
    margin: 2.5vmin 0;
}

/* Hover effect */
button:hover {
    background-color: darkturquoise;
    color: white;
}

a {
    color: darkturquoise;
    text-decoration: none;
}

.login {
    color: darkturquoise;
    text-decoration: underline;
}

a:hover {
    text-decoration: underline;
}

.submit-error {
    color: red;
}