html{
  font-family: 'Viga';
  height: 100%;
}

body {
  background-image: url("../Img/BackgroundTeleEventos.png");
  background-size:cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position:center;
  margin: 0;
}

.main-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100%;
}

.login-card {
  background-color: #FFF;
  border-radius: 16px;
  padding: 2rem;
  width: 100%;
  max-width: 420px;
  color: #1d0137;
}

.logo {
  width: 80%;
  padding-bottom: 1rem;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-control, .form-select {
  background-color: rgba(255, 255, 255, 0.05);
  border: none;
  color: #1d0137;
  padding: 0.8rem 1rem;
  margin-bottom: 1rem;
  border-radius: 0.375rem !important;
}

.form-control:focus, .form-select:focus {
  background-color: rgba(255, 255, 255, 0.1);
  outline: none !important;
  box-shadow: none !important;
  color: #1d0137;
  border-color: #AE1857 !important;
}

.form-control::placeholder, .form-select::placeholder {
  color: #1d0137;
}

.form-label {
  color: #1d0137;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.info-text {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  color: #1d0137
}

button {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.btn-enter {
  width: 40%;
  margin-top: 1rem;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  border-width: 0px;
  border-radius: 9999px;
  transition-duration: 300ms;
  border: 1px #AE1857 solid !important;
  background-color: #AE1857;
  color: #FFF;
  outline: none;
}

.btn-enter:hover {
  background-color: #971460;
}

.btn-back {
  width: 40%;
  margin-top: 1rem;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  border: 1px #AE1857 solid !important;
  border-radius: 9999px;
  transition-duration: 300ms;
  background-color: #FFF;
  color: #AE1857;
  outline: none;
}

.btn-back:hover {
  background-color: rgba(174, 24, 87, 0.2);
}

.subtitle {
  color: #1d0137;
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
}

.password-field {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: #1d0137 !important;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
}

.submit-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.forgot-password-text a {
  position: relative;
  top: -12px;
  font-size: 0.9rem;
  color: #1d0137;
}

.forgot-password-text a:hover {
  color: #1d0137;
}

.text-red {
  color: rgb(239 68 68);
}

#form .alert-container {
  position: relative;
  top: -10px;
}

.alert-container {
  position: relative;
  top: -100px;
}

.Absolute-Center.is-Responsive {
  width: 80%; 
  height: 80%;
  padding: 100px;
}

@media (max-width: 768px) {
  html {
    font-size: 90%;
  }

  body {
    align-items: center;
    justify-content: start;
  }

  .main-content {
    height: initial;
  }

  .login-card {
    width: 95%;
    margin-top: 4rem;
  }
}