/* Action buttons for index pages */
.action-btn {
  display: inline-block;
  padding: 6px 8px;
  margin: 0 2px;
  text-decoration: none;
  border: none;
  background: #f8f9fa;
  color: #666;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.action-btn:hover {
  background: #e9ecef;
  color: #333;
  transform: translateY(-1px);
}

.action-btn.delete-btn {
  background: #fff5f5;
  color: #e53e3e;
}

.action-btn.delete-btn:hover {
  background: #fed7d7;
  color: #c53030;
}

/* Dropdown menu styles */
.dropdown-container {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  background: none;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 6px;
  transition: background-color 0.2s ease;
  font-size: 18px;
  color: #666;
  line-height: 1;
}

.dropdown-toggle:hover {
  background-color: #f8f9fa;
  color: #333;
}

/* Scoped to .dropdown-container so these rules don't leak onto the
   lessons-style kebab menus (.kebab-wrap > .dropdown-menu, toggled via .open). */
.dropdown-container .dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 160px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  padding: 4px 0;
}

.dropdown-container .dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.2s ease;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
  color: #333;
}

.dropdown-item.delete-action {
  color: #dc3545;
}

.dropdown-item.delete-action:hover {
  background-color: #fff5f5;
  color: #c82333;
}

/* Training actions styling */
.training-actions {
  display: flex;
  gap: 4px;
  align-items: center;
}

/* Trainer actions styling */
.trainer-actions {
  display: flex;
  gap: 4px;
  align-items: center;
}

/* Location actions styling */
.location-actions {
  display: flex;
  gap: 4px;
  align-items: center;
}