/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Chart Type Selector Styles */
.chart-type-tile.selected > div {
  @apply border-blue-600 ring-2 ring-blue-200 bg-blue-100 dark:bg-blue-800;
}

/* Sortable Annex Files Styles */
.sortable-item {
  transition: all 0.2s ease;
}

.sortable-ghost {
  opacity: 0.4;
  background-color: #f3f4f6;
  border: 2px dashed #9ca3af;
}

.sortable-chosen {
  transform: scale(1.02);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.sortable-drag {
  transform: rotate(2deg);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.drag-handle:hover {
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
  padding: 2px;
}

/* Dark mode styles for sortable */
.dark .sortable-ghost {
  background-color: #374151;
  border-color: #6b7280;
}

.dark .drag-handle:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

/* Tab Animation Styles */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeIn {
  animation: fadeIn 0.3s ease-out;
}

