/* ===================================================
   TEC — Estilos globais
   =================================================== */

/* ---------- Page header ---------- */
.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #dee2e6;
}
.page-header-title {
  font-size: 1.375rem;
  font-weight: 700;
  margin: 0;
  color: #212529;
}
.page-header-subtitle {
  font-size: 0.875rem;
  color: #6c757d;
  margin: 0.15rem 0 0;
}

/* ---------- Stat cards (audiência) ---------- */
.stat-card {
  border: none;
  border-left: 4px solid #0d6efd;
  border-radius: 0.5rem;
  background: #fff;
}
.stat-card.stat-success { border-left-color: #198754; }
.stat-card.stat-info    { border-left-color: #0dcaf0; }
.stat-card.stat-warning { border-left-color: #ffc107; }
.stat-card.stat-danger  { border-left-color: #dc3545; }

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  color: #212529;
}
.stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6c757d;
  margin-top: 0.35rem;
}

/* ---------- Feature cards (index) ---------- */
.feature-card {
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 0.75rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,.12) !important;
  color: inherit;
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

/* ---------- Card headers ---------- */
.card-header.section-header {
  background: #f8f9fa;
  border-bottom: 2px solid #e9ecef;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1rem;
}

/* ---------- Tables ---------- */
.tec-table thead th {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  background-color: #212529;
  color: #fff;
}
.tec-table tbody td {
  vertical-align: middle;
}

/* ---------- Navbar ---------- */
.navbar-brand {
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 1rem;
}
.navbar .dropdown-item {
  font-size: 0.875rem;
}
.navbar .dropdown-item i {
  width: 1.1rem;
}

/* ---------- Alerts ---------- */
.alert-autofade {
  animation: alertIn 0.25s ease;
}
@keyframes alertIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Login ---------- */
.login-logo-wrap {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 16px rgba(13,110,253,.35);
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: #212529;
  color: #adb5bd;
  padding: 1.25rem 0;
  margin-top: 3rem;
  font-size: 0.8125rem;
  text-align: center;
}

/* ---------- Misc ---------- */
body {
  background-color: #f4f6f9;
}
.card {
  border-radius: 0.625rem;
  border: 1px solid rgba(0,0,0,.075);
}
