/* Enter page styles - matching .class-result from teacher dashboard */
.enter-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  padding: 2rem;
}

.enter-container {
  text-align: center;
  max-width: 1000px;
  width: 100%;
}

.enter-title {
  font-family: 'Rubik', sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--content-primary);
  margin-bottom: 3rem;
}

.enter-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  justify-content: center;
}

/* Card styles matching .class-result */
.enter-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  border-radius: 26px;
  color: var(--content-on-accent-primary);
  font-weight: 600;
  font-family: var(--font-display, 'Rubik', sans-serif);
  box-shadow: 0 18px 60px var(--shadow-strong, rgba(0, 0, 0, 0.15));
  padding: 24px;
  text-align: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.enter-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Icon circle matching .class-result__icon */
.enter-card__icon {
  font-size: 32px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface-primary);
  color: var(--content-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 3px var(--shadow-inset-highlight, rgba(0, 0, 0, 0.1));
}

.enter-card__icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--content-primary);
}

.enter-card__title {
  margin: 0;
  font-size: 18px;
}

/* Card colors matching .class-result--* */
.enter-card--student {
  background: var(--card-green, #22c55e);
}

.enter-card--teacher {
  background: var(--card-blue, #3b82f6);
}

.enter-card--administration {
  background: var(--card-yellow, #eab308);
  color: var(--content-primary);
}

/* Light theme: Student and Teacher cards should have black text */
[data-theme="light"] .enter-card--student,
[data-theme="light"] .enter-card--teacher {
  color: var(--content-primary);
}

/* Theme toggle */
.enter-theme-toggle {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.enter-theme-toggle__label {
  font-size: 1.25rem;
  color: var(--content-primary);
  opacity: 0.6;
}

.enter-theme-toggle__button {
  width: 48px;
  height: 26px;
  border-radius: 13px;
  border: none;
  background: var(--surface-primary);
  cursor: pointer;
  position: relative;
  transition: background 0.2s ease;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.enter-theme-toggle__button::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--content-primary);
  transition: transform 0.2s ease;
}

.enter-theme-toggle__button[aria-checked="true"]::after {
  transform: translateX(22px);
}


/* Responsive */
@media (max-width: 768px) {
  .enter-cards {
    grid-template-columns: 1fr;
  }

  .enter-title {
    font-size: 2rem;
  }
}
