
/* ==========================
   MODAL PORTAL - ESTILO INSTITUCIONAL
========================== */
#portalModal .modal-header {
  justify-content: center;
  position: relative;
}

#portalModal .modal-title {
  text-align: center;
  width: 100%;
}
#portalModal .btn-close {
  cursor: pointer;
}
#portalModal .btn-close:hover {
  transform: scale(1.15);
  transition: transform 0.2s ease;
}

#portalModal .modal-content {
  border-radius: 22px;
  border: none;
  background: linear-gradient(
    180deg,
    var(--light) 0%,
    #ffffff 100%
  );
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

/* Header */
#portalModal .modal-header {
  border-bottom: none;
  padding: 22px 26px;
}

#portalModal .modal-title {
  font-family: 'Saira', sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--primary);
  text-transform: uppercase;
}

/* Body */
#portalModal .modal-body {
  padding: 26px;
}

/* ==========================
   BOTONES PORTAL
========================== */

.portal-choice {
  position: relative;
  flex: 1;
  padding: 26px 18px;
  border-radius: 18px;
  color: #fff;
  text-align: center;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  transition: all 0.35s ease;
  overflow: hidden;
}

/* Iconos */
.portal-choice i {
  font-size: 2.2rem;
  transition: transform 0.35s ease;
}

/* Texto */
.portal-choice span,
.portal-choice {
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.4px;
}

/* Alumno */
.portal-choice.aluno {
  background: linear-gradient(
    135deg,
    var(--koga) 0%,
    #0d6efd 100%
  );
}

/* Profesor */
.portal-choice.professor {
  background: linear-gradient(
    135deg,
    #146c43 0%,
    #198754 100%
  );
}

/* Hover elegante */
.portal-choice::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top,
    rgba(255, 255, 255, 0.35),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}

.portal-choice:hover::before {
  opacity: 1;
}

.portal-choice:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.35);
}

.portal-choice:hover i {
  transform: scale(1.15);
}

/* ==========================
   RESPONSIVE
========================== */

@media (max-width: 575.98px) {
  #portalModal .modal-body {
    flex-direction: column;
  }

  .portal-choice {
    padding: 22px;
  }
}
