/* Auth Overlay CSS */
.auth-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 12, 41, 0.95);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  animation: fadeIn 0.4s ease-out;
}
.auth-card {
  background: var(--surface);
  padding: 3rem;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  max-width: 500px;
  width: 90%;
}
.auth-title { font-size: 3rem; color: var(--primary-light); margin-bottom: 1rem; }
.auth-subtitle { font-size: 1.2rem; margin-bottom: 2rem; color: var(--text-muted); }
.auth-buttons { display: flex; flex-direction: column; gap: 1rem; }

.auth-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.8);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-modal-content {
  background: var(--surface);
  padding: 2.5rem;
  border-radius: 20px;
  width: 90%;
  max-width: 400px;
  position: relative;
  border: 1px solid var(--border);
}
.close-modal {
  position: absolute;
  top: 15px; right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
}
.close-modal:hover { color: #fff; }

.empty-state-sm {
  text-align: center;
  padding: 2rem 1rem;
}

/* ---- School Sponsor (Sidebar) ---- */
.school-sponsor {
  text-align: center;
  padding: 12px 8px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  margin-bottom: 12px;
  background: rgba(255,255,255,0.04);
}
.sponsor-label {
  display: block;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.school-logo {
  width: 100%;
  max-width: 130px;
  border-radius: 8px;
  background: rgba(255,255,255,0.92);
  padding: 4px 6px;
}

/* ---- Auth Overlay School Badge ---- */
.auth-school-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.auth-school-logo {
  width: 150px;
  border-radius: 12px;
  background: rgba(255,255,255,0.92);
  padding: 6px 10px;
  filter: none;
  margin-bottom: 12px;
}
.auth-school-label {
  font-size: 0.75rem;
  color: #a78bfa;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ---- Clasera Button ---- */
.btn-clasera {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1.05rem;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(59,130,246,0.4);
}
.btn-clasera:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(59,130,246,0.6);
}
.auth-note {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  margin: 0.5rem 0;
}
