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

/* Editor specific styles */
.selection-box {
  pointer-events: none;
}

.selected {
  cursor: move;
}

/* Form input styles */
.form-input {
  @apply block w-full rounded-md border border-gray-300 px-3 py-2 shadow-sm focus:border-blue-500 focus:ring-1 focus:ring-blue-500 sm:text-sm;
}

.form-select {
  @apply block w-full rounded-md border border-gray-300 px-3 py-2 shadow-sm focus:border-blue-500 focus:ring-1 focus:ring-blue-500 sm:text-sm bg-white;
}

.form-textarea {
  @apply block w-full rounded-md border border-gray-300 px-3 py-2 shadow-sm focus:border-blue-500 focus:ring-1 focus:ring-blue-500 sm:text-sm;
}

/* Carousel styles */
.carousel-slides {
  position: relative;
  width: 100%;
  height: auto;
}

.carousel-slide {
  display: none;
  width: 100%;
  transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
  display: block;
}

.carousel-indicator {
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-indicator:hover {
  transform: translateY(-1px);
}

.carousel-dot {
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot:hover {
  transform: scale(1.2);
}

/* Tooltip bounce animation */
.tooltip-bounce {
  animation: tooltipBounce 0.6s ease-out;
}

@keyframes tooltipBounce {
  0% {
    transform: translateY(10px);
    opacity: 0;
  }
  50% {
    transform: translateY(-5px);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

