@font-face {
  font-family: "DIN-REGULAR";
  src: url("./assets/fonts/DINPro-Regular.ttf");
}

*{
  padding:0;
  margin:0;
  font-family: "DIN-REGULAR";
}

.main {
  height: 98vh;

display: grid;             /* grid = fácil para centrar */
  place-items: center;       /* centra horizontal y vertical */

  flex-direction: column;
  align-items: center;
  justify-content: center;

  @media(max-width: 500px) {
  justify-content: space-between;
  }
}
.loginConteiner {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto;
  border-radius: 40px;
  height: 529px;
  width: 646px;
  padding: 60px 0;
  box-shadow: 0px 0px 15.9px 9px #0000000f;
  justify-content: center;

  @media (max-width: 500px) {
    width: 98%;
    margin: 0;
    height: 619px;
    box-shadow: none;
    gap: 20px;
  }
}

.form {
  display: flex;
  flex-direction: column;
  gap: 41px;
  width: 100%;
  align-items: center;
  height: 80%;
  margin-top: 60px;

  @media (max-width: 500px) {
   
    gap: 56px;
  }
}

.form-otp {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  align-items: center;
  height: 80%;
  margin-top: 60px;

  @media (max-width: 500px) {

    gap: 41px;
  }
}

.field {
  width: 65%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e1e1e1;
  border-radius: 5px;

  @media (max-width: 500px) {
    width: 78%;
   
  }
  
}

.field-otp {
  width: 65%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;

  @media (max-width: 500px) {
    width: 78%;

  }

}

.label {
  display: block;
  font-size: 14px;
  padding: 0 5px;
  color: #646363;
  position: absolute;
  background-color: white;
  top: -11px;
  left: 10px;
}

.input {
  width: auto;
  min-width: 90%;
  border: none;
  padding: 16px 0;
  font-size: 18px;

}

.input-otp {
  width: auto;
  min-width: 10%;
   margin-right:5px;
  padding: 16px 0;
  font-size: 18px;
  text-align:center;
  border-radius: 5px;
border: 1px solid #e1e1e1;
}

.input:focus{
    outline: none;
    border: none;
}

.button{
    font-weight: 700;
    background-color: #FF2F1F;
    color: white;
    border-radius: 5px;
    outline: none;
    border: none;
    padding: 15px 80px;
    font-size: 15px;
}


.button:disabled {
  background-color: #D7D5D5;
  color: #646363;
  border: none;
  opacity: 0.7;
}


.link{
    color:#572B98;
    font-weight: 900;
}

.submit{
    display: flex;
    flex-direction: column;
    gap: 27px;
}


.error {
  color: red;
  font-size: 0.9em;
  margin-top: 4px;
  display: block;
  position: absolute;
  bottom: -24px;
    left: 16px;
}

.toggle-icon{
    position: absolute;
    right: 20px;
}

.fotter-text{
    display: flex;
    gap: 10px;
    justify-content: center;

    @media (max-width: 500px) {
        flex-direction: column;
        align-items: center;
        width: 70%;
        text-align: center;
  }
}

.line{
    @media (max-width: 500px) {
       display: none;
  }
}

.modalOneButton {

    position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;


}

.modalOneButton-conteiner{
    background: white;
    padding: 40px 60px;
    text-align: center;
    width: 430px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    border-radius: 10px;
  }

.buttonPrimary{
    background-color: #FF2F1F;
    padding: 15px 70px;
    border-radius: 5px;
    color: white;
    font-weight: 700;
    cursor: pointer;
    border: none;
}




.loader {
            border: 8px solid #f3f3f3;
            border-top: 8px solid #3498db;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            animation: spin 1s linear infinite;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 9999;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }


        #spinner {
            display: none;
        }


.input::placeholder {
  color: #999;

}

.placeholder-select {
  color: #000;
}

.placeholder-select.placeholder {
  color: #999;
}

.modalOneButton-text{
    color: #999;
    width: 495px;
}
.span-message{
text-align:center;
}

.info-message {
  background-color: #F4EFFA;
  padding: 12px 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  font-family: sans-serif;
  position: relative;
}

.info-icon {
  background-color: #6a0dad;
  color: white;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 10px;
}

.info-text {
  flex-grow: 1;
}

.close-btn {
  background: none;
  border: none;
  font-size: 20px;
  color: #4b0082;
  cursor: pointer;
  margin-left: 25px;
}

.sessionConteiner {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto;
  border-radius: 40px;
  height: 529px;
  width: 646px;
  padding: 60px 0;
  box-shadow: 0px 0px 15.9px 9px #0000000f;
  justify-content: center;
  padding-top:200x;

  @media (max-width: 500px) {
    width: 98%;
    margin: 0;
    height: 619px;
    box-shadow: none;
    gap: 20px;
  }
}

.form-session {
  display: flex;
  flex-direction: column;
  gap: 41px;
  width: 100%;
  align-items: center;
   margin-top:25px;

  @media (max-width: 500px) {

    gap: 56px;
  }
}