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

/* Splide Carousel Customization */
.splide__arrow {
  background: rgba(0, 0, 0, 0.5);
  opacity: 1;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  transition: background 0.2s ease;
}

.splide__arrow:hover:not(:disabled) {
  background: rgba(0, 0, 0, 0.7);
}

.splide__arrow:disabled {
  opacity: 0.3;
}

.splide__arrow svg {
  fill: white;
  width: 1rem;
  height: 1rem;
}

.splide__arrow--prev {
  left: 1rem;
}

.splide__arrow--next {
  right: 1rem;
}

.splide__pagination {
  bottom: -1.75rem;
  gap: 0.5rem;
}

.splide__pagination__page {
  background: #d6d3d1; /* stone-300 */
  opacity: 1;
  width: 0.5rem;
  height: 0.5rem;
  margin: 0;
}

.splide__pagination__page.is-active {
  background: #d97706; /* amber-600 */
  transform: scale(1);
}
