/* === AULA VIRTUAL - Acceso SweetAlert === */

.acceso-swal-popup {
  width: min(960px, 92vw);
  padding: 2rem;
  border-radius: 18px;
  padding: 1em 0 !important;
}

.acceso-grid h3{
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
}

.acceso-grid {
  display: grid;
  grid-template-columns: 230px 1fr;
  align-items: center;
}

.acceso-grid .acceso-mascota img {
  max-width: 90%;
  height: auto;
  display: block;
}

.acceso-grid .acceso-panel {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 24px);
  align-items: center;
}

.acceso-grid .acceso-titulo {
  font-weight: 900;
  font-size: clamp(26px, 4vw, 44px);
  text-align: center;
  line-height: 1.1;
  margin: 0;
}

.acceso-grid .acceso-sub {
  font-weight: 900;
  font-size: clamp(18px, 2.6vw, 30px);
  text-align: center;
  margin: 0;
}

.acceso-grid .acceso-botones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  align-items: stretch;
}

.acceso-grid .acceso-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* texto arriba, botón abajo */
  align-items: stretch;
}

.acceso-grid .acceso-etq {
  font-size: clamp(12px, 1.6vw, 14px);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2em;          /* base para 1–2 líneas */
  margin-bottom: 1em;
}

/* ===== BOTONES: altura fija y centrado, para evitar descuadres con 2 líneas ===== */
.acceso-grid .swal-btn {
  width: 100%;
  border: none;
  border-radius: 16px;
  padding: 16px 20px;
  font-weight: 800;
  font-size: clamp(16px, 1.8vw, 20px);
  cursor: pointer;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.35);
  transition: transform 0.05s ease, box-shadow 0.05s ease;
  margin: 0;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: normal;      /* permitimos 2 líneas si lo necesita */
  word-break: keep-all;     /* evita cortes raros */
  min-height: clamp(54px, 6.2vw, 64px); /* misma altura para los 3 */
}

.acceso-grid hr{
	margin: 0 0 1rem 0;
}

/* === Botones con sombra en el tono del color === */

.acceso-grid .swal-btn--junior {
  background: #f6a7c4;
  box-shadow: 0 6px 0 #e27ca7; /* tono más oscuro del rosa */
}

.acceso-grid .swal-btn--elemental {
  background: #f4c43c;
  box-shadow: 0 6px 0 #d4a526; /* tono más oscuro del amarillo */
}

.acceso-grid .swal-btn--profesional {
  background: #a4dfc9;
  box-shadow: 0 6px 0 #72c2a2; /* tono más oscuro del verde agua */
}

.acceso-grid .swal-btn--gestion {
  background: #7ed0e6;
  box-shadow: 0 6px 0 #47b0cc; /* tono más oscuro del azul */
}

/* efecto al pulsar */
.acceso-grid .swal-btn:active {
  transform: translateY(2px);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.25); /* sombreado más corto */
}


/*.acceso-gestion {
  width: min(520px, 100%);
  margin-bottom: 1em;
}*/
.acceso-gestion {
  width: 33%;
  min-width: 180px;
  max-width: 240px;
  margin-inline: auto;
}
/* Responsive */
@media (max-width: 860px) {
  .acceso-grid {
    grid-template-columns: 1fr;
  }
  .acceso-grid .acceso-mascota {
    order: 2;
    display: flex;
    justify-content: center;
  }
  .acceso-grid .acceso-panel {
    order: 1;
  }
  .acceso-grid .acceso-mascota img{
    display: none !important;
  }
  .acceso-gestion {
    margin-bottom: 0;
  }
}

@media (max-width: 640px) {
  .acceso-grid .acceso-botones {
    grid-template-columns: 1fr;
  }
  /* un pelín menos altos en móvil */
  .acceso-grid .swal-btn {
    min-height: 52px;
  }
}
@media (min-width: 861px) {
  .acceso-grid .swal-btn { white-space: nowrap; font-size: clamp(15px, 1.6vw, 18px); }
}
/* CSS Document */
