/* CustomProgramBuilder.css */
.container {
  font-family: 'Arial', sans-serif;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.hover-card:hover {
  cursor: pointer;
}

.card-header {
  font-weight: bold;
}

.remove-btn {
  background-color: #ff4d4f;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 14px;
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.input-group-text {
  background-color: #f7f7f7;
}
.react-tabs__tab-list {
  border-bottom: 1px solid #aaa !important;
  margin: -3px 0 10px !important;
  padding: 0 !important;
}


.exercise-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  margin-bottom: 6px;
  border-radius: 8px;
  border: 1px solid #dee2e6;
  background: #ffffff;
  transition: background 0.2s, box-shadow 0.2s;
  position: relative;
}

.exercise-card:hover {
  background: #f8f9fa;
}

.exercise-card.dragging {
  background: #e6fffa;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.drag-handle {
  cursor: grab;
  color: #6c757d;
  font-size: 18px;
  padding: 0 4px;
  user-select: none;
}

.exercise-name {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: #212529;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.remove-btn {
  border: none;
  background: #dc3545;
  color: white;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  font-size: 14px;
  cursor: pointer;
  line-height: 1;
}

.remove-btn:hover {
  background: #bb2d3b;
}
