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

/* TailAdmin styles are imported in tailwind/application.css */

/* Alpine.js x-cloak directive */
[x-cloak] { display: none !important; }

/* Loading dots animation */
.loading-dots::after {
  content: '';
  animation: loading-dots 1.5s infinite;
}

@keyframes loading-dots {
  0%, 20% {
    content: '';
  }
  40% {
    content: '.';
  }
  60% {
    content: '..';
  }
  80%, 100% {
    content: '...';
  }
}

/* Stats tabs styles */
.stats-tab-button {
  @apply px-6 py-3 text-sm font-semibold text-gray-700 bg-gray-100 hover:bg-gray-200 rounded-t-lg cursor-pointer transition-all duration-200 border-b-2 border-transparent;
}

.stats-tab-button.active {
  @apply text-blue-700 bg-white border-b-2 border-blue-600 shadow-sm;
}

.stats-tab-button:hover {
  @apply transform -translate-y-0.5;
}
