:root {
  --color-pontos: #ffc107;
  --color-xp: #0dcaf0;
  --color-level: #198754;
  --color-chaves: #dc3545;
}

body {
  font-size: 0.95rem;
}

/* Bottom nav */
.bottom-nav {
  height: 60px;
  z-index: 1030;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #adb5bd;
  text-decoration: none;
  font-size: 0.65rem;
  padding: 8px 12px;
  transition: color 0.2s;
  min-width: 50px;
}

.bottom-nav-item i {
  font-size: 1.3rem;
  margin-bottom: 2px;
}

.bottom-nav-item.active,
.bottom-nav-item:hover {
  color: #ffc107;
}

/* Cards de status */
.stat-card {
  border-radius: 12px;
  border: none;
  transition: transform 0.15s;
}

.stat-card:hover {
  transform: translateY(-2px);
}

.stat-number {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
}

/* XP bar */
.xp-bar-container {
  background: #343a40;
  border-radius: 8px;
  padding: 10px 14px;
}

.xp-bar {
  height: 10px;
  border-radius: 5px;
  background: linear-gradient(90deg, #0dcaf0, #6610f2);
  transition: width 0.5s ease;
}

.xp-bar-bg {
  background: #495057;
  border-radius: 5px;
  overflow: hidden;
}

/* Task cards */
.tarefa-card {
  border-left: 4px solid transparent;
  border-radius: 10px;
  transition: box-shadow 0.15s;
}

.tarefa-card:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.tarefa-card.diaria { border-left-color: #0dcaf0; }
.tarefa-card.semanal { border-left-color: #6f42c1; }
.tarefa-card.mensal { border-left-color: #fd7e14; }
.tarefa-card.unica { border-left-color: #198754; }

/* Badges de recorrência */
.badge-diaria { background-color: #0dcaf0; color: #000; }
.badge-semanal { background-color: #6f42c1; }
.badge-mensal { background-color: #fd7e14; color: #000; }
.badge-unica { background-color: #198754; }

/* Botão concluir */
.btn-concluir {
  min-width: 90px;
}

/* Progresso de projeto/meta */
.progress-label {
  font-size: 0.75rem;
  color: #6c757d;
}

/* Movimento de pontos */
.movimento-item {
  border-left: 3px solid #dee2e6;
  padding-left: 10px;
}

.movimento-item.ganho { border-left-color: #198754; }
.movimento-item.gasto { border-left-color: #dc3545; }

/* Formulários */
.form-card {
  max-width: 600px;
  margin: 0 auto;
}

/* Loja - item card */
.item-loja-card {
  border-radius: 12px;
  border: 1px solid #dee2e6;
  transition: box-shadow 0.15s;
}

.item-loja-card:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Responsivo */
@media (max-width: 576px) {
  .stat-number { font-size: 1.3rem; }
  .container-fluid { padding-left: 12px; padding-right: 12px; }
  h4 { font-size: 1.1rem; }
}

/* Botões de seleção de dificuldade */
.btn-dificuldade {
  border: 2px solid #dee2e6;
  background: #fff;
  border-radius: 10px;
  padding: 8px 14px;
  text-align: center;
  min-width: 90px;
  cursor: pointer;
  transition: all 0.15s;
  color: #212529;
  line-height: 1.2;
}

.btn-dificuldade:hover {
  border-color: #6f42c1;
  background: #f3eeff;
  color: #6f42c1;
}

.btn-dificuldade.active {
  border-color: #6f42c1;
  background: #6f42c1;
  color: #fff;
  box-shadow: 0 2px 8px rgba(111, 66, 193, 0.35);
}

/* Radio como botão para recorrência */
.form-check-inline input[type="radio"] {
  display: none;
}

.form-check-inline input[type="radio"]:checked + label {
  background-color: #0d6efd;
  color: #fff;
  border-color: #0d6efd;
}

/* Animação level up */
@keyframes levelUp {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.level-up-anim {
  animation: levelUp 0.5s ease 2;
}
