/* Custom styles for FITTOM */
body {
  background-color: #f8f9fa;
}

.navbar-brand {
  font-weight: 700;
}

/* Boutons icônes uniquement - carrés et étroits */
.btn-icon-only {
  padding: 0.25rem 0.375rem !important;
  min-width: 32px;
  width: 32px;
  aspect-ratio: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}

.table th {
  white-space: nowrap;
}

.badge {
  font-size: 0.9em;
}

/* Couleurs des tags - alignées avec l'application mobile */
/* Types */
.bg-type-cardio {
  background-color: #DC3545;
}

.bg-type-muscu {
  background-color: #000000;
}

/* Cardio categories - toutes en #C9490E */
.bg-categorie-cardio {
  background-color: #C9490E;
}

/* Musculation zones */
.bg-zone-abdominaux { background-color: #7BB3CC; }
.bg-zone-biceps { background-color: #4171D9; }
.bg-zone-triceps { background-color: #673AB7; }
.bg-zone-dos { background-color: #7B1FA2; }
.bg-zone-epaules { background-color: #00A9F2; }
.bg-zone-jambes { background-color: #3EBB9E; }
.bg-zone-pectoraux { background-color: #283593; }
.bg-zone-avant-bras { background-color: #1A237E; }
.bg-zone-fessiers { background-color: #00674F; }
.bg-zone-mollets { background-color: #455A8A; }

.card {
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-validate {
  background-color: #A4CFA0;
  color: white;
  border: none;
}

.btn-validate:hover {
  background-color: #8db891;
  color: white;
}

.btn {
  border-radius: 5px;
}

/* Exercise thumbnail with hover effect */
.exercise-thumbnail {
  max-height: 50px;
  max-width: 50px;
  cursor: pointer;
  transform-origin: left center;
  border-radius: 4px;
}

.exercise-thumbnail:hover {
  transform: scale(5);
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  z-index: 10;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .table-responsive {
    overflow-x: auto;
  }
  
  .display-4 {
    font-size: 2.5rem;
  }
}