/* Let the shared layout span the Astra content container on this view only. */
#content > .ast-container:has(> .redes-escritorio) {
  width: 100%;
  max-width: none;
  padding-inline: 0;
}

.redes-escritorio {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  min-height: 100vh;
}

.redes-escritorio__content {
  flex: 1 0 auto;
  min-width: 0;
}

.redes-escritorio__content:has(.tutor-login-wrap) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding-inline: var(--margen);
}

.redes-escritorio .tutor-login-wrap {
  background: var(--fondo);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.redes-escritorio .tutor-login-form-wrapper {
  color: var(--tinta);
  font-family: var(--f-texto);
}

.redes-escritorio .tutor-login-form-wrapper > :is(.tutor-h3, .tutor-fs-4) {
  font-family: var(--f-titular);
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 400;
  line-height: 1.1;
  text-transform: uppercase;
}

/* Reveal Tutor's existing labels without changing the form markup. */
.redes-escritorio #tutor-login-form label[for^="tutor-login-form-"].screen-reader-text {
  position: static !important;
  display: block;
  clip: auto;
  clip-path: none;
  width: auto;
  height: auto;
  margin: 0 0 .4rem;
  overflow: visible;
  white-space: normal;
  font-size: 1rem;
  font-weight: 700;
}

.redes-escritorio #tutor-login-form input.tutor-form-control:is([name="log"], [name="pwd"]) {
  width: 100%;
  min-height: 52px;
  padding: .85rem 1rem;
  color: var(--tinta);
  background: var(--fondo);
  border: 1.5px solid #8a8a8a;
  border-radius: 0;
  font: inherit;
  font-size: 1.0625rem;
}

.redes-escritorio #tutor-login-form input.tutor-form-control:is([name="log"], [name="pwd"]):focus-visible {
  border-color: var(--azul);
  box-shadow: var(--foco);
}

.redes-escritorio #tutor-login-form input.tutor-form-control:is([name="log"], [name="pwd"])[aria-invalid="true"] {
  border-color: #b3261e;
}

.redes-escritorio #tutor-login-form > .tutor-justify-between {
  flex-wrap: wrap;
  gap: .5rem 1rem;
}

.redes-escritorio #tutor-login-form a {
  color: var(--azul);
  text-decoration: underline;
}

.redes-escritorio #tutor-login-form button[type="submit"] {
  background: var(--tinta);
  border-color: transparent;
  border-radius: var(--radio-pill);
  color: var(--fondo);
  font-family: inherit;
  font-weight: 700;
  font-size: 1.125rem;
  min-height: 56px;
}

.redes-escritorio #tutor-login-form button[type="submit"]:enabled:hover {
  background: #2a2a2a;
}
