﻿:root {
    font-size: 18px;
}

html {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #FFF;
    color: #121212;
    font-size: 1rem;
    margin: 0;
    padding: 0;
    font-family: "Barlow", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.aevwl-mainLogo-container {
    text-align: center;
    margin-bottom: 2rem;
    margin-top: 1rem;
}

.main-content {
    max-width: 400px;
    width: calc(100% - 60px);
    box-sizing: border-box;
    vertical-align: middle;
}

footer {
    display: flex;
    flex-direction: row;
    gap: .5rem;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    padding-bottom: 1rem;
    flex-wrap: wrap;
    font-size: 16px;
}

.aevwl-main-content {
    background-color: #FFF;
    display: flex;
    vertical-align: middle;
    flex-direction: column;
    align-self: center;
    border-radius: 2px;
    background-clip: padding-box;
}

.aevwl-main-content h1 {
    color: rgb(136, 56, 77);
    font-size: 2rem;
    font-weight: 400;
}

.aevwl-title {
    font-family: "Noto Serif", Times, serif;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-bottom: 1rem;
}

.aevwl-label {
    font-size: 1rem;
    font-weight: 600;
    padding: 5px 0;
    display: block;
}

.aevwl-label-normal {
    font-size: 1rem;
    padding-bottom: .5rem;
    display: block;
}

.aevwl-textfield-wrapper {
    display: flex;
    flex-direction: column;
    position: relative;
}

.aevwl-textfield {
    font-family: "Barlow", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    outline: 0;
    box-shadow: none;
    box-sizing: border-box;
    border-width: 2px;
    border-style: solid;
    border-color: transparent;
    border-radius: .5rem;
    color: rgb(50, 49, 48);
    padding: 10px 14px;
    width: 100%;
    margin: 0 0 .5rem;
    background-color: rgb(229, 231, 233);
    font-size: 1rem;
    height: 44px;
}

.aevwl-textfield::placeholder {
    color: rgb(50, 49, 48);
}

.aevwl-textfield:focus {
    border-color: rgb(0, 0, 0);
}


.aevwl-textfield-errorlabel {
    position: relative;
    top: -5px;
    font-size: 1rem;
    margin-bottom: .5rem;
    color: rgb(220, 0, 0);
}

.aevwl-textfield-errorlabel li:before {
    content: "Fehler: ";
}

.aevwl-textfield-errorlabel ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.aevwl-button-container {
    margin-top: 1rem;
}

.aevwl-primary-button {
    padding: 14px 28px;
    border-radius: 50px;
    border: 1px solid #88384d;
    background-color: #88384d;
    color: #FFF;
    font-size: 1rem;
    font-weight: 600;
    font-family: Barlow, Arial, sans-serif;
    cursor: pointer;
    line-height: 1;
    width: 100%;
    margin-bottom: 1rem;
}

.aevwl-primary-button:hover, .aevwl-primary-button:visited:hover {
    background-color: rgb(51, 51, 51);
    border-color: rgb(51, 51, 51);
}

.aevwl-primary-button:visited {
    color: #FFF;
}

.aevwl-primary-button:active {
    background-color: rgb(84, 84, 84);
    border-color: rgb(84, 84, 84);
}

.aevwl-primary-button-link {
    padding: 14px 28px;
    border-radius: 50px;
    border: 1px solid #88384d;
    background-color: #88384d;
    font-size: 1rem;
    font-weight: 600;
    font-family: Barlow, Arial, sans-serif;
    cursor: pointer;
    line-height: 1;
    width: calc(100% - 56px);
    display: block;
    margin-bottom: 1rem;
    margin-top: 1rem;
    color: #FFF !important;
    text-align: center;
}

.aevwl-primary-button-link:hover {
    background-color: rgb(51, 51, 51);
    border-color: rgb(51, 51, 51);
}

.aevwl-primary-button-link:active {
    background-color: rgb(84, 84, 84);
    border-color: rgb(84, 84, 84);
}

.aevwl-redirect-link {
    margin-bottom: 30px;
}

.aevwl-link-container {
    margin-bottom: 1.5rem;
}

.aevwl-link, .aevwl-link:visited {
    color: rgb(136, 56, 77);
    text-decoration: none;
    position: relative;
    cursor: pointer;
    display: inline-block;
}

.aevwl-link:hover, .aevwl-link:visited:hover {
    color: rgb(84, 84, 84);
}

.aevwl-link::before {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgb(136, 56, 77);
    transform-origin: center;
    transform: scaleX(1);
}

.aevwl-link:hover::before {
    animation: line .4s;
}

@keyframes line {
    0% {
        transform: scaleX(1);
    }
    70% {
        transform: scaleX(0);
    }
    100% {
        transform: scaleX(1);
    }
}

.aevwl-link-button, a.aevwl-link-button:visited {
    color: rgb(136, 56, 77);
    border: 0;
    padding: 0;
    background-color: transparent;
    text-decoration: none;
    position: relative;
    cursor: pointer;
    font-size: 1rem;
}

.aevwl-link-button:hover, .aevwl-link-button:visited:hover {
    color: rgb(84, 84, 84);
}

.aevwl-link-button::before {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgb(136, 56, 77);
    transform-origin: center;
    transform: scaleX(1);
}

.aevwl-link-button:hover::before {
    animation: line .4s;
}

.aevwl-checkbox-container {
    margin-top: .5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
}

.aevwl-checkbox {
    border: 1px solid rgb(50, 49, 48);
    border-radius: 2px;
    height: 20px;
    width: 20px;
    margin: 0 4px 0 0;
    cursor: pointer;
    accent-color: rgb(136, 56, 77);
}

.aevwl-checkbox-label {
    display: inline-block;
}

.aevwl-checkbox-label-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.aevwl-error-bar, .aevwl-success-bar {
    padding: 8px 0 8px 12px;
    margin-bottom: 1rem;
}

.aevwl-error-bar {
    background: rgb(253, 231, 233);
}

.aevwl-error-bar ul {
    list-style: none;
    padding-left: 20px;
    padding-right: 20px;
}

.aevwl-success-bar {
    background: #498205;
}

a, a:visited {
    color: rgb(136, 56, 77);
    text-decoration: none;
}

#qrCode {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;

    & img {
        border: 2px solid #FFF;
    }
}

.recovery-code-container {
    text-align: center;
    padding: 20px;
    border: 1px solid #CCC;
    margin-top: 20px;
    margin-bottom: 20px;
}

.recovery-code-container code {
    display: block;
}

.recovery-code-container code:not(:last-child) {
    margin-bottom: 10px;
}

.recovery-code-action-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.recovery-code-action-row a {
    cursor: pointer;
}

#recovery-code {
    opacity: 0;
    height: 0;
    width: 0;
    position: absolute;
}

.small-text {
    font-size: 0.9em;
}

.aevwl-centered-text {
    text-align: center;
}

.aevwl-action-bar {
    margin-top: 1rem;
}

@font-face {
    font-display: swap;
    font-family: Barlow;
    font-style: normal;
    font-weight: 400;
    src: url("Fonts/Barlow/barlow-v11-latin-regular.woff2") format("woff2")
}

@font-face {
    font-display: swap;
    font-family: Barlow;
    font-style: italic;
    font-weight: 400;
    src: url("Fonts/Barlow/barlow-v11-latin-regular.woff2") format("woff2")
}

@font-face {
    font-display: swap;
    font-family: Barlow;
    font-style: normal;
    font-weight: 500;
    src: url("Fonts/Barlow/barlow-v11-latin-500.woff2") format("woff2")
}

@font-face {
    font-display: swap;
    font-family: Barlow;
    font-style: normal;
    font-weight: 600;
    src: url("Fonts/Barlow/barlow-v11-latin-600.woff2") format("woff2")
}

@font-face {
    font-display: swap;
    font-family: Barlow;
    font-style: normal;
    font-weight: 700;
    src: url("Fonts/Barlow/barlow-v11-latin-700.woff2") format("woff2")
}

@font-face {
    font-display: swap;
    font-family: Noto Serif;
    font-style: normal;
    font-weight: 400;
    src: url("Fonts/Noto_Serif/noto-serif-v20-latin-regular.woff2") format("woff2");
}

.aevwl-signout-iframe {
    display: none;
    width: 0;
    height: 0;
}

.aevwl-hidden-submit-button {
    position: absolute;
    left: -150%;
}

.aevwl-otp-hint {
    margin-bottom: .5rem;
}

.aevwl-otp-reset-button {
    text-align: left;
}