body
{
    font-family: 'Montserrat', sans-serif;
    width: 100vw;
    height: 100vh;
    margin: 0;
}

.input-form
{
    display: grid;
    grid-template-columns: 1fr;
    margin: 0 auto;
    width: 40%;
    align-items: center;
    padding-bottom: 1.5em;
}

#login-form
{
    border: 1px solid var(--main-colour);
    padding: 2em;
    padding-top: 0.5em;
    row-gap: 1.5em;
    margin-top: 3em;
    width: 35%;
    background-color: #FFFFFF;
}

#login-form label
{
    font-weight: bold;
    color: var(--main-colour);
    font-size: 1.25em;
}

a
{
    font-weight: bold;
    color: var(--main-colour);
    text-decoration: none;
}

.customer-input
{
    border: 2px solid #000000;
    padding: 0.25em;
    font-size: 1em;
}

.customer-input:focus
{
    /* border: 1px solid #AEA77D; */
    border-radius: inherit;
    outline: 3px solid transparent;
    /* padding: 0.25em; */
}

input[type="submit"]
{
    background-color: var(--main-colour);
    border: 0;
    color: #FFFFFF;
    font-size: 1.5em;
    font-weight: normal;
    height: 2em;
    width: 10em;
    justify-self: start;
    cursor: pointer;
}

#inactive_msg
{
    text-align: center;
    font-weight: bold;
}

#error_msg
{
    height: 2em;
}

.error
{
    color: red;
}

/* #inactive_msg
{
    visibility: hidden;
}
 */

 .hidden
{
    visibility: hidden;
}

.wait
{
	position: fixed;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	background-color: rgba(0, 0, 0, 0.5);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-content: center;
	z-index: 3;
	margin: 0 auto;
}

.password
{
    position: relative;
    display: flex;
    align-items: center;
}
  
.password input
{
    width: 100%;
    padding-right: 2.5rem; /* Space for the toggle button */
}

.password button
{
    position: absolute;
    right: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    align-content: center;
}

.password button::after
{
    content: attr(aria-label);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    font-size: 12px;
    z-index: 10;
}

.password button:hover:after
{
    opacity: 1;
}