/* Ventana de ingreso con correo. Todo bajo #agruAcceso para ganar a Bootstrap y a cada página. */
#agruAcceso {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: flex;
  overflow-y: auto;
  padding: 16px;
  background: rgba(10, 12, 16, .72);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  text-align: left;
}
#agruAcceso[hidden],
#agruAcceso [hidden] { display: none !important; }
#agruAcceso .aa-caja {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 380px;
  margin: auto;
  padding: 28px 24px 20px;
  border-radius: 14px;
  background: #fff;
  color: #1f2329;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}
#agruAcceso h2 {
  margin: 0 28px 6px 0;
  font-family: inherit;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
  color: #1f2329;
}
#agruAcceso .aa-ayuda {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.5;
  color: #5b616b;
  overflow-wrap: anywhere;
}
#agruAcceso .aa-ayuda:empty { margin-bottom: 10px; }
#agruAcceso form { display: flex; flex-direction: column; gap: 12px; margin: 0; }
#agruAcceso label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #1f2329;
}
#agruAcceso input[type="email"],
#agruAcceso input[type="password"],
#agruAcceso input[type="text"] {
  box-sizing: border-box;
  width: 100%;
  height: 44px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid #c9cdd3;
  border-radius: 8px;
  background: #fff;
  color: #1f2329;
  font-family: inherit;
  font-size: 16px; /* menos de 16px hace zoom en iPhone */
  font-weight: 400;
}
#agruAcceso input:focus-visible,
#agruAcceso button:focus-visible { outline: 2px solid #f26522; outline-offset: 2px; }
#agruAcceso .aa-oculto {
  position: absolute;
  width: 1px !important;
  height: 1px !important;
  opacity: 0;
  pointer-events: none;
}
#agruAcceso label.aa-ver { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; }
#agruAcceso label.aa-ver input { width: 16px; height: 16px; margin: 0; }
#agruAcceso .aa-boton {
  height: 46px;
  margin: 4px 0 0;
  border: 0;
  border-radius: 8px;
  background: #b9520f;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
#agruAcceso .aa-boton:hover { background: #a2470c; }
#agruAcceso .aa-boton:disabled { opacity: .55; cursor: progress; }
#agruAcceso .aa-enlaces { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
#agruAcceso .aa-enlaces button {
  padding: 6px 0;
  border: 0;
  background: none;
  color: #9c4510;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}
#agruAcceso .aa-cerrar {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: #5b616b;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
#agruAcceso .aa-cerrar:hover { background: #f0f1f3; }
#agruAcceso .aa-aviso { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: #b3261e; }
#agruAcceso .aa-aviso:empty { display: none; }
