/* Garmin Training Dashboard — custom styles over Tabler */

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* KPI cards */
.kpi-card {
  border: 0.5px solid #e5e7eb;
  border-radius: 12px;
  padding: 18px 20px;
  background: #fff;
}

.kpi-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #94a3b8;
  margin-bottom: 6px;
}

.kpi-value {
  font-size: 32px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1;
}

.kpi-unit {
  font-size: 14px;
  color: #94a3b8;
  font-weight: 400;
  margin-left: 4px;
}

.kpi-trend {
  font-size: 12px;
  margin-top: 6px;
}

.kpi-progress {
  height: 4px;
  border-radius: 2px;
  background: #f1f5f9;
  margin-top: 10px;
  overflow: hidden;
}

.kpi-progress-fill {
  height: 4px;
  border-radius: 2px;
  transition: width .5s ease;
}

/* Alert badges */
.badge-green  { background: #D9EAD3; color: #3B6D11; }
.badge-yellow { background: #FAEEDA; color: #633806; }
.badge-red    { background: #FCEBEB; color: #791F1F; }
.badge-gray   { background: #F1EFE8; color: #444441; }

/* Plan week row */
.plan-session-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 0.5px solid #f1f5f9;
  font-size: 13px;
}

.plan-session-row:last-child { border-bottom: none; }

.plan-day-label {
  width: 30px;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  flex-shrink: 0;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Activity table */
.activity-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Navbar sidebar customização */
.navbar-vertical .navbar-brand {
  padding: 1rem 1.25rem;
}

.navbar-vertical .nav-link {
  font-size: 13px;
}

/* Dias para a raça */
.race-countdown {
  background: #f8fafc;
  border-radius: 8px;
  padding: 10px 14px;
  margin: 0 12px 12px;
}

/* Gráficos — remover border desnecessário */
.apexcharts-canvas {
  background: transparent !important;
}

/* Cards */
.card {
  border: 0.5px solid #e5e7eb;
  border-radius: 12px;
}

.card-header {
  border-bottom: 0.5px solid #f1f5f9;
  padding: 14px 18px;
}

.card-body {
  padding: 16px 18px;
}
