/* ============================================
   ELEVA AMAPÁ — Configurações
   ============================================ */

.config-card {
  background: #18181b;
  border: 1px solid rgba(255,255,255,0.08);
}

/* Checkbox visual de "dia da semana" (reaproveitado do Dashboard) */
.dia-checkbox {
  cursor: pointer;
}
.dia-checkbox span {
  display: block;
  text-align: center;
  padding: 0.5rem 0;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  background: #0c0c0e;
  border: 1px solid rgba(255,255,255,0.1);
  color: #a1a1aa;
  transition: all 0.15s ease;
}
.dia-checkbox input:checked + span {
  background: rgba(245, 158, 11, 0.15);
  border-color: #f59e0b;
  color: #fbbf24;
}

/* Toggle switch (liga/desliga notificações) */
.toggle-switch {
  position: relative;
  width: 3rem;
  height: 1.65rem;
  border-radius: 9999px;
  background: #27272a;
  border: 1px solid rgba(255,255,255,0.1);
  flex-shrink: 0;
  transition: background 0.2s ease;
  cursor: pointer;
}
.toggle-switch[aria-pressed="true"] {
  background: #10b981;
  border-color: #10b981;
}
.toggle-switch.locked {
  cursor: not-allowed;
  opacity: 0.45;
}
.toggle-knob {
  position: absolute;
  top: 0.15rem;
  left: 0.15rem;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
}
.toggle-switch[aria-pressed="true"] .toggle-knob {
  transform: translateX(1.35rem);
}

.feedback-sucesso { color: #34d399; }
.feedback-erro { color: #f87171; }

/* Modal (mesmo padrão visual do dashboard.css) */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-box {
  background: #0c0c0e;
  border: 1px solid rgba(255,255,255,0.08);
  max-height: 90vh;
  overflow-y: auto;
}

/* Overlay de bloqueio para seções exclusivas do Plano Estudante
   (ex: Meta de Redação). Fica por cima do conteúdo real, que
   continua no DOM (só some visualmente) — assim, quando o aluno
   evolui de plano, não precisa recarregar a página pra desbloquear. */
.lock-overlay {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
  padding: 1.5rem;
  background: rgba(9, 9, 11, 0.82);
  backdrop-filter: blur(3px);
  border-radius: 1rem;
  z-index: 10;
}