/* ==========================================================
   Estilo Global - Sistema de Avaliação de Alunos (Yii2)
   ========================================================== */

:root {
  --primary: #2563eb;         /* Azul moderno */
  --primary-light: #eff6ff;
  --accent: #38bdf8;          /* Ciano leve */
  --success: #22c55e;
  --danger: #ef4444;
  --warning: #f59e0b;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --border: #e2e8f0;
}

/* ====== Base ====== */

body {
  font-family: "Inter", "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  margin: 0;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: #1d4ed8;
  text-decoration: none;
}

hr {
  border-color: var(--border);
}

/* ====== Cabeçalho principal ====== */

.page-header {
linear-gradient(135deg, #0f763b 0%, #2a3b43 100%);
  color: white;
  padding: 1.8rem 0;
  margin-bottom: 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.page-header h1 {
  font-weight: 600;
}

.page-header p {
  color: rgba(255, 255, 255, 0.9);
}

/* ====== Botões ====== */

.btn-primary {
  background-color: var(--primary);
  border: none;
  border-radius: 8px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #1d4ed8;
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* ====== Cartões ====== */

.card {
  border: none;
  background: var(--bg-card);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.card-header {
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}

/* ====== Tabelas ====== */

.table {
  color: var(--text-dark);
}

.table th {
  background-color: var(--primary-light);
  color: var(--text-dark);
  font-weight: 600;
  border-bottom: 2px solid var(--border);
}

.table td {
  vertical-align: middle;
  border-bottom: 1px solid var(--border);
}

.table-hover tbody tr:hover {
  background-color: #f1f5f9;
}



/* ====== Edição Inline ====== */

.editable-cell {
  position: relative;
}

.session-name {
  font-weight: 500;
}

.fa-pen-to-square {
  color: var(--text-muted);
  cursor: pointer;
  margin-left: 8px;
  transition: color 0.2s ease;
}

.fa-pen-to-square:hover {
  color: var(--primary);
}

.editable-input {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.95rem;
  width: 90%;
  color: var(--text-dark);
  background-color: #f1f5f9;
}

/* ====== Ações ====== */
/*
.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  margin-right: 4px;
  background: #f1f5f9;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.action-btn:hover {
  background: var(--primary-light);
  color: var(--primary);
  transform: scale(1.08);
}
`/
/* ====== Toasts / Alertas ====== */

.toast-success {
  background-color: var(--success);
  color: white;
  border-radius: 8px;
  padding: 0.8rem 1rem;
}

.toast-error {
  background-color: var(--danger);
  color: white;
  border-radius: 8px;
  padding: 0.8rem 1rem;
}

/* ====== Rodapé (opcional) ====== */

.footer {
  text-align: center;
  padding: 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 2rem;
}
