body{
}
.wrapper{
    position: relative;
    /* width: max-content; */
    min-width: 100%;
    /* overflow-x: hidden; */
}
.back-img {
    position: fixed;
    left: 0;
    right: 10px;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    margin: 0;
    /* overflow: hidden; */
}
body.authcode-enter{
    overflow-y: hidden;
}
body.authcode-enter header {
    background-color: #ffffff30
}
.back-img > div{
    position: relative;
    width: 100%;
    height: 100%;
    transform: translateY( calc( 0.5* var(--trans-y) ));
    transition: transform var(--trans-dur);
}
.back-img > div > img{
    position: absolute;
    top: 0px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.3);
    transition: opacity var(--trans-dur);
    z-index: 1;
}

/*----------------------------------------*/
.auth-code-page {
    margin-top: calc(-1 * var(--header-height));
    height: calc(100vh - 0 * var(--header-height) - 35px);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: height 0.7s 0s, visibility 0s 0.7s;
}
body:not(.authcode-enter) .auth-code-page {
    height: 0px;
    visibility: hidden;
}
.auth-code-page .card-wp {
    max-width: 700px;
    width: min-content;
    position: relative;
}
.auth-code-page .card {
    display: flex;
    flex-direction: column;
    padding: 20px;
    width: auto;
    /* position: relative; */
    background: #3e517a80;
    box-shadow: none;
    /* border: 1px solid #fff; */
}
.auth-code-page .card label {
    color: #ccc;
}
.auth-code-page .card label.wrong, .auth-code-page .card label.wrong-acc-missing {
    padding: 5px 15px;
    margin-top: 20px;
    background: red;
    color: #fff;
    border-radius: 30px;
}
body:not(.wrong) .auth-code-page .card label.wrong {
    display: none;
}
body:not(.wrong-acc-missing) .auth-code-page .card label.wrong-acc-missing {
    display: none;
}
.auth-code-page .card .auth-code {
    display: flex;
    flex-direction: row;
    width: auto;
}
.auth-code-page .card .auth-code input[type="text"]{
    margin: 20px 10px 0px 10px;
    display: block;
    /*width: calc(100% - 4*20px);*/
    width: 2.8em;
    font-size: 2rem;
    background: #FFF0;
    color: white;
    font-family: alwyn-new-web, Arial;
    text-transform: uppercase;
}

/*-------------------------- waiting spinner ------------------------------------*/
body.waiting .waiting-wp{
    display: flex;
}
.waiting-wp{
    display: none;
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    justify-content: center;
    align-items: center;
    /* z-index: 0; */
}

.lds-ripple {
  display: inline-block;
  position: relative;
  width: 60vw;
  height: 60vw;
  z-index: 0;
}
.lds-ripple div {
  position: absolute;
  border: 4px solid var(--col-blue-2);
  opacity: 1;
  border-radius: 50%;
  animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
  z-index: 0;
}
.lds-ripple div:nth-child(2) {
  animation-delay: -0.5s;
}
@keyframes lds-ripple {
  0% {
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    top: -1px;
    left: -1px;
    width: 95%;
    height: 95%;
    opacity: 0;
  }
}

body.authcode-enter .content{
    display: none;
}
/*-------------------------------- main page ------------------------------------*/

footer{
    position: relative;
}
body.authcode-enter footer{
    position: fixed;
    bottom: 5px;
    left: 0;
    right: 0;
}
@media (max-width: 610px){
    .auth-code-page .card .auth-code input[type="text"]{
        margin: 20px 5px 0px 5px;
        display: block;
        width: 2.8em;
        font-size: 1.2rem;
    }
}