@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: #efefef;
    font-family: "Open Sans", sans-serif;
    background-image: url(../images/authentication-customer-background-image.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

main {
    min-height: 100svh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: .8rem;
}

form {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    border: 2px solid #000;
    background-color: #fff;
    border-radius: .3rem;
}

h2 {
    margin: 0 0 1.2rem 0;
}

.form-row {
    margin-bottom: .5rem;
    display: grid;
    grid-template: 1fr max-content / max-content 1fr;
    gap: .2rem .8rem;
}

input,
label {
    justify-self: center;
    align-self: center;
}

input {
    width: 100%;
    padding: .3rem .5rem;
    font-size: 1rem;
    border-radius: .3rem;
    border: 1px solid #000;
}

.form-error:not(:empty) {
    grid-column: 1 / 3;
    max-width: 40ch;
    background-color: #ff8585;
    color: #8e0000;
    border: 2px solid #8e0000;
    padding: .2rem;
}

button {
    padding: .5rem .5rem;
    font-size: 1rem;
    margin-bottom: .5rem;
    cursor: pointer;
    background-color: #003566;
    border: none;
    color: #fff;
    border-radius: .3rem;
}

button:hover {
    background-color: #001D3D;
}

a.back {
    display: block;
    margin-bottom: .5rem;
    padding: .4rem .8rem;
    border-radius: .3rem;
    background-color: #fff;
    border: 2px solid #000;
    width: max-content;
}

a {
    color: #003566;
}

footer {
    background-color: #003566;
    align-items: center;
    justify-content: center;
    display: flex;
    padding: 10px;
    margin-top: auto;
    margin-bottom: 0;
    color:#ffd60a ;
}