/* ACCESO · Credenciales, segundo factor y aviso de vencimiento. */

#admin-dialog.auth-modal {
  width: min(490px, calc(100% - 24px));
  padding: 24px;
  background: #fff;
  color: #172c3c;
}
.auth-view {
  max-width: 100%;
}
.auth-symbol {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 52px;
  height: 52px;
  background: #edf5fa;
  color: #034269;
  border-radius: 14px;
  margin: 12px 0 20px;
}
.auth-symbol svg {
  width: 25px;
  height: 25px;
}
.auth-step {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: #627889;
  margin-bottom: 8px;
}
.auth-view h3 {
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.6px;
  margin: 0 0 12px;
  color: #034269;
}
.auth-description {
  font-size: 15px;
  line-height: 1.6;
  color: #536775;
  margin: 0 0 18px;
}

#auth-form {
  display: grid;
  gap: 18px;
}
#auth-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #233d50;
}
#auth-form input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 12px;
  font: inherit;
  font-size: 16px;
  color: #17374c;
  background: #fff;
  border: 1px solid #ccd8e0;
  border-radius: 8px;
}
.auth-password {
  display: flex;
  position: relative;
}
#auth-password {
  padding-right: 50px;
}
#auth-show-password {
  position: absolute;
  right: 0;
  top: 0;
  height: 48px;
  width: 48px;
  border: none;
  background: transparent;
  color: #456276;
  display: grid;
  place-items: center;
}
#auth-show-password svg {
  width: 20px;
  height: 20px;
}
.auth-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  width: 100%;
  padding: 12px;
  background: #034269;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 9px;
}
.auth-submit svg {
  width: 18px;
  height: 18px;
}
.auth-submit:disabled {
  opacity: 0.65;
}
.auth-feedback {
  font-size: 13px;
  line-height: 1.5;
  color: #a52626;
  margin: 0;
}
.auth-feedback:empty {
  display: none;
}
.auth-view small {
  font-size: 12px;
  line-height: 1.6;
  color: #536775;
}
.auth-code {
  text-align: center;
  letter-spacing: 8px;
}
.auth-account {
  font-size: 14px;
  overflow-wrap: anywhere;
  margin: 0;
  color: #034269;
}
.auth-text-action {
  display: block;
  min-height: 44px;
  margin: 8px auto 0;
  padding: 8px;
  border: none;
  background: transparent;
  color: #034269;
  font: inherit;
  font-size: 13px;
  text-decoration: underline;
}
.auth-footer {
  text-align: center;
  color: #657986;
  font-size: 12px;
  margin: 24px 0 0;
  line-height: 1.5;
}
.auth-login-success {
  padding: 14px;
  background: #e7f5ed;
  color: #17683c;
  border-radius: 8px;
  margin-bottom: 18px;
  font-size: 14px;
}
@media (max-width: 480px) {
  #admin-dialog.auth-modal {
    padding: 18px;
  }
  .auth-view h3 {
    font-size: 23px;
  }
}
