* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    justify-content: center;
    overflow: hidden;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh;
    background: #F2F5FC;
    color: #333;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 300;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overscroll-behavior-y: none;
}



.grid-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh;

}

footer {
    width: 411px;
    max-width: 411px;
    display: flex;
    justify-content: center;
    height: 100%;
    margin-top: 5%;


}

.footer-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 10px 0;
}

.footer-logo {
    display: flex;
    align-items: baseline;
    gap: 10px
}

.footer-version {
    font-size: 12px;
    color: #707070;
    margin-top: 10px;

}

.footer-links a {
    color: #3091DE;
    font-size: 12px;
    text-decoration: none;
}

.ylm-logo img {
    width: auto;
    height: 30px;
}

.forms-container {
    position: relative;
    margin-top: 25%;
    width: 411px;
    max-width: 411px;
    height: 600px;
    padding: 30px 40px 70px 40px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25);

}

.promotion {
    grid-row: span 3;
}

.options {
    display: grid;
    grid-template-rows: max-content 1fr max-content;
}

.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.sl-logo {
    width: 100px;
    height: 100%;

}

.choose-lang {
    display: flex;
    align-items: center;
    position: relative;
    padding: 8px;
    gap: 4px;
    font-size: 14px;
    background-color: #f5f3f3;
    border-radius: 4px;
    cursor: pointer;
}

.lang-menu.open {
    visibility: visible;
    opacity: 1;

}

.choose-lang span {
    width: 30px
}

.choose-lang-globe {
    width: 15px;
    height: 15px;
}

.choose-lang-down {
    width: auto;
    height: 4px;
}

.lang-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    width: 100%;
    top: 100%;
    left: 0;
    padding: 10px 0;
    gap: 8px;
    visibility: hidden;
    opacity: 0;
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25);
    transition: opacity 0.1s ease-in-out;
    transition: transform 0.3s ease-in-out;
}

.lang-menu>span {
    width: 90%;
    padding: 8px;
    text-align: center;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s ease-in-out;
}


.login-form {
    width: 100%;
    color: black;
}

.logo {
    width: 100%;
    margin-bottom: 25px;
    margin-top: 25px;
    text-align: center;
}

.logo-img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100px;
}

.field-container {
    width: 100%;
}

.label-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

input {
    width: 100%;
    height: 40px;
    font-size: 14px;
    padding: 8px;
    border-radius: 4px;
    background-color: white;
    border: solid 1px #707070;
    transition: all 0.2s ease-in-out;
}

input:hover {
    outline: none;
    border: solid 1px #3091DE;
    background-color: rgb(250, 250, 250);
}

input:focus {
    outline: none;
    border: solid 1px #3091DE;
    box-shadow: 0 0 0 1px #3091DE;
}


.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
}

.btn {
    width: 100%;
    height: 50px;
    margin-top: 40px;
    text-align: center;
    border: solid 1px transparent;
    border-radius: 4px;
    background-color: #3091DE;
    color: white;
    font-size: 18px;
    text-decoration: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #1f6ab9;
    border: solid 1px #1f6ab9;
    transition: all 0.2s ease-in-out;
}

.btn[disabled] {
    background-color: #a0b9d3;
    border: solid 1px #a0b9d3;
    color: #666;
    cursor: not-allowed;
}

fieldset {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: none;
}

label {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    line-height: 2em;
    color: #707070;
}

.tools {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tools a {
    color: #3091DE;
    font-size: 14px;
}

.error {
    padding: 8px;
    text-align: center;
    border-radius: 4px;
    background-color: #FF593A;
    color: white;
    font-size: 14px;
}

.success {
    padding: 8px;
    text-align: center;
    border-radius: 4px;
    background-color: #00B300;
    color: white;
    font-size: 14px;
}

.info {
    padding: 8px;
    text-align: center;
    border-radius: 4px;
    background-color: #29B6F6;
    color: white;
    font-size: 14px;
}

.success a {
    color: white;
    text-decoration: none;
}

.user-locked {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.user-locked svg {
    margin-top: 50px;
    margin-bottom: 50px;
}

.gdpr-line {
    position: absolute;
    bottom: 25px;
    margin-top: 10px;
    font-size: 12px;
}

.gdpr-line a {
    color: #333;
}


.lang-menu>span[lang] {
    display: block !important;
}

.lang-menu>span[lang].active {
    background-color: #3091DE;
    color: #fff;
}
.configurationError {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}
.configurationError > img{
     width: 400px;   
     max-width: 100%;
    padding: 10px;
   
}
.configurationError > h2{
    font-size:30px;
    color: #707070;
}
.configurationError > h3{
   font-size: 20px;
   color: #707070;
}
@media screen and (max-width: 450px) {
    
    .configurationError > h2{
        font-size:24px;
     
    }
    .configurationError > h3{
       font-size: 18px;
       
    }
    .error-link {
        font-size: 16px;
    }
    .error-link img {
        width: 10px;
        height: 10px;
    }
    
}
.error-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin-top: 10px;

}
.error-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    color: #3091DE;
}
.error-link img {
    width: 15px;
    height: 15px;
}
#clear-menu {
    display: none;
    width: 120px; 
    padding: 2px 10px; 
    background:white; 
    text-align:left;
    bottom: 20px;
    left: 130px; 
    position: relative;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25);
    border-radius: 5px;
}
#clear-menu.open {
    display: block;
}



@media screen and (max-width: 450px) {


    form,
    .loading {
        min-height: 200px;
    }

    .logo {
        width: 100%;
        margin-bottom: 10px !important;
        margin-top: 10px !important;
    }

    .forms-container {
        width: 350px;
        max-width: 350px;
        margin-top: 10%;
    }

    footer {
        width: 350px;
        max-width: 350px;
        margin-top: 1%;

    }

    .footer-wrapper {
        padding: 40px 20px;
    }

    .footer-version {
        font-size: 12px;
    }

    .footer-links a {
        font-size: 10px;
        color: #3091DE;
    }

    .tools a {
        font-size: 14px !important;
    }

    .gdpr-line {
        max-width: 270px;
    }
}