/*
 * 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.
 */

/*
 *= require_tree .
 *= require_self
 */

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

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

/* Sidebar toggle functionality */
.sidebar-collapsed {
  width: 0 !important;
  overflow: hidden;
}

.sidebar-expanded {
  width: 20rem; /* 320px - w-80 */
}

.main-content-collapsed {
  margin-left: 20rem; /* 320px - w-80 */
}

.main-content-expanded {
  margin-left: 0;
}

/* Pill-style Tag Checkboxes - Hidden checkboxes only */
.tag-selector {
  @apply absolute scale-0;
}

/* Checked state styling */
.tag-selector:checked + label {
  @apply bg-purple-600 text-white;
}

.tag-selector:checked + label:hover {
  @apply bg-purple-700;
}
