html, body {
    min-height: 100%;
    min-height: 100svh;
    margin: 0;
}

body {
    display: flex;
    font-family: 'Lato', 'Roboto', sans-serif;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    background-image: url('../pictures/bg.webp');
    background-position: center;
    background-size: cover;
    color: var(--eld-dark);
}

#bgVideo {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
}

h1 {
    font-size: clamp(1.75rem, 4vw, 2rem);
    font-weight: 700;
    margin: 0 0 0.5rem;
    text-align: center;
    color: #293633;
}

h2 {
    font-size: clamp(0.875rem, 3vw, 1rem);
    font-weight: 400;
    margin: 0 0 2rem;
    text-align: center;
    line-height: 24px;
    color: #3B4746;
}

a {
    color: var(--eld-dark);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.button {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    gap: 0.5rem;
    width: 15rem;
    height: 3rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: #E5F3F4;
    background-color: var(--eld-primary);
    border-radius: 3rem;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.button:active {
    transform: scale(0.98);
}

.button:hover {
    filter: brightness(0.95);
}

.container {
    --container-width: 30.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(calc(100vw - 1.5rem), var(--container-width));
    padding: 1rem 0;
    z-index: 1;
}

.logo {
    margin-bottom: 1rem;
}

.svg-icon {
    display: block;
    width: 18px;
    height: 16px;
    background-color: currentColor;
    mask-size: contain;
    mask-position: center;
    mask-repeat: no-repeat;
}

.arrow-next-icon {
    mask-image: url("../pictures/arrow-next.svg");
}

.arrow-back-icon {
    mask-image: url("../pictures/arrow-back.svg");
}

.eye-icon {
    cursor: pointer;
    mask-image: url("../pictures/eye.svg");
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    box-shadow: inset 0 0 2rem 2rem #fff;
}

.form-field {
    display: flex;
    position: relative;
    flex-direction: column;
    flex-grow: 1;
    width: 100%;
    margin-bottom: 1rem;
}

.form-field label {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.form-field .input-wrapper {
    display: flex;
    align-items: center;
    background-color: #fff;
    border: 1px solid var(--eld-primary2);
    border-radius: 0.5rem;
    padding-inline: 0.75rem;
}

.form-field input {
    font-size: 0.875rem;
    padding: 0.875rem 0;
    width: 100%;
    box-sizing: border-box;
    border: none;
}

.form-field input:focus {
    outline: none;
}

.form-field small {
    display: none;
    color: var(--eld-error);
    position: absolute;
    bottom: -1.4rem;
    left: 0.5rem;
}

.form-field.error .input-wrapper {
    border-color: var(--eld-error);
}


.form-field.error small {
    display: block;
}

.alert-danger {
    width: 100%;
    box-sizing: border-box;
    color: #fff;
    background-color: var(--eld-error);
    padding: 1rem;
    border-radius: 0.5rem;
}

.alert-danger button {
    display: none;
}

/*Back button*/
.fixed-corner {
    max-width: 100%;
    position: fixed;
    top: clamp(0.5rem, 2vw, 1.5rem);
    left: clamp(0.5rem, 2vw, 1.5rem);
    padding: 0.5rem 1rem;
    color: #293633;
    z-index: 2;
    font-size: 1.125rem;
    line-height: 1.5rem;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.375rem;
}

.form-field label {
    color: #003439;
}

.form-field .input-wrapper {
    border: 1px solid #00343914;
    backdrop-filter: blur(50px);
    background-color: #00343905;
    padding: 12px 14px;
    border-radius: 0.5rem;
}

.form-field input {
    padding: 0;
}

input {
    background: transparent !important;
}

.select-vehicles .vehicle-error {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0;
}

