/* Component-specific CSS for InnoTone ML Platform */

/* Button components */
.btn-primary,
.btn-secondary {
  background-color: #2563eb;
  color: white;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: background-color 0.15s ease-in-out;
}

.btn-primary:hover,
.btn-secondary:hover {
  background-color: #1d4ed8;
}

.btn-secondary {
  background-color: #e5e7eb;
  color: #111827;
}

/* Card components */
.card {
  background-color: white;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
  padding: 1.5rem;
}

/* Form components */
.form-input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  background-color: white;
  color: #111827;
}

.form-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px #3b82f6;
  border-color: transparent;
}

/* Navigation components */
.nav-link {
  color: #4b5563;
  transition: color 0.15s ease-in-out;
}

.nav-link:hover {
  color: #111827;
}

.nav-link-active {
  color: #2563eb;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 500;
}

/* Chevron rotation for collapsible elements */
.rotate-180 {
  transform: rotate(180deg);
}

/* Smooth transition for the chevron */
svg.transition-transform {
  transition: transform 200ms ease-in-out;
}

/* Dataset item hover states */
.dataset-item:hover {
  background-color: #f9fafb;
  /* bg-gray-50 */
}

/* Dataset summary cursor */
.dataset-summary {
  cursor: pointer;
}

/* Ensure action buttons don't trigger row click */
.dataset-summary button,
.dataset-summary a {
  cursor: pointer;
}