.spinnerForModals{
    position: fixed;
    z-index: 10;
    left: 50%!important;
    top: 50%!important;
    overflow: hidden;
    background-color: white!important;
    width: 60px!important;
    height: 60px!important;
}


.modalForAccount {
    display: none;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.4);
  }
  
  .modal-contentForAccount{
    margin: 10vh auto; 
    padding: 10px;
    border: 1px solid #888;
    background: white;
    width: 360px;
    height: 520px;
    text-align: center;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    position: relative;
  }

.modal-contentForAccount::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/logo.svg');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    scale: 0.4;
    pointer-events: none
    
}


  .modalTitle{
        display: flex;

  }
  .modalTitle>button{
    flex: 1;
    border: solid 1px #626262;
    font-family: 'Catamaran';
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    padding: 3px;
  }

  .modalTitle>button:hover{
    background: #94c5ef;
  }

  .modalTitle>button:first-of-type{
    border-radius: 10px 0 0 10px;
  }
  
  .activeElement{
    background: #94c5ef;
  }

  .modalTitle>button:last-of-type{
    border-radius: 0 10px 10px 0;
  }

  .modalAccountBody input{
    border: none;
    width: 100%;
    font-family: 'Catamaran';
    margin-top: 10px;
    padding: 5px 0 5px 5px;
    background: aliceblue;
    position: relative;
  }

  .registerForModal{
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
  }

  .signInForModal{
    transition: opacity 0.5s ease;
  }

  .inputMarker{
    content: '';
    background: #7c25eb;
    width: 0%;
    height: 1.5px;
    transition: width 0.3s ease;
    margin-top: 2px;
  }

  .modalAccountBody input:focus +.inputMarker{
    width: 293px;
  }

  .password{
    display:flex; 
    align-items: baseline; 
    margin-top: 0px !important;
    margin-bottom: 0px !important;
  }

  .modalAccountBody input:focus{
    outline: none;
  }

  .inlineLinkForModal{
    color: #7c25eb;
    font-weight: 700;
  }

  .modalAccountBody{
    width: 80%;
    margin: 10px auto;
  }

  .emailAuth{
    display: none;
  }
  
  .modalAccountBody h2{
    font-weight: 800;
  }

  .modalAccountBody div:not(.inputMarker){
    margin: 25px 0;
    text-align: left;
  }

  .signInButtonOnModal, .registerButtonOnModal, .getCode, .checkCode{
    background: #7c25eb;
    padding: 7px 0;
    border: none;
    font-family: 'Catamaran';
    font-weight: 700;
    color: white;
    font-size: 15px;
    border-radius: 8px;
    width: 50%;
    margin-left: 50%;
    transform: translate(-50%, 0px);
    cursor: pointer;
  }

  .getCode, .checkCode{
    width: 40%;
    margin-left: 100%;
    transform: translate(-100%, 0px);
  }

  .checkCode{
    margin-bottom: 20px;
  }

  .codeForRegister{
    display: none;
    font-size: 13px;
  }
  
.error{
    display: none;
    border-radius: 5px;
    padding: 5px 10px;
    font-weight: 800;
    font-size: 14px;
    color: darkblue;
    background: beige;
    text-align: center;
}

.correct{
    display: none;
    border-radius: 5px;
    padding: 5px 10px;
    background: rgba(0, 200, 0, 0.1);
    color: rgb(0,200,0);
    font-size: 15px;
    font-weight: 700;
}

@keyframes vibrate {
    0% { transform: translateX(0); }
    12.5% { transform: translateX(-3px); }
    25% { transform: translateX(3px); }
    37.5% { transform: translateX(-3px); }
    50% { transform: translateX(3px); }
    62.5% { transform: translateX(-3px); }
    75% { transform: translateX(3px); }
    87.5% { transform: translateX(-3px); }
    100% { transform: translateX(0); }
}
.vibrate {
    animation: vibrate 0.5s linear;
}

#timer{
    font-family: Lato;
}

.changeMail{
    color: #7c25eb;
    display: flex;
    margin-left: auto;
    font-weight: 700;
    width: fit-content;
    cursor: pointer;
    margin-bottom: 15px;
}
.changeMail:nth-of-type(2){
    display: none;
}

.closeModalButton{
    background: transparent;
    border: none;
    display: flex;
    margin-left: auto;
    margin-bottom: 15px;
    cursor: pointer;
    margin-top: -5px;
    padding: 5px 4px;
}

.closeModalButton:hover{
    background: #fd4343;
}

.passwordBtn{
  padding: 0 5px 2px 0;
    height: 32px;
    width: 40px;
    margin: 0;
    background: aliceblue;
    border: none;
    cursor: pointer;
}


.googleSignUp{
    display: flex;
    gap: 5px;
    padding: 6px 5px;
    align-items: center;
    font-family: Catamaran;
    cursor: pointer;
    margin: 5px auto;
}

.useEmailOrPasswordSpan{
    text-align: center;
    display: block;
    font-size: 13px;
    font-weight: 500;
}