/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

/* app/assets/stylesheets/application.css */
.pagination {
  @apply join;
}

.pagination a,
.pagination span {
  @apply join-item btn btn-sm;
}

.pagination .current {
  @apply btn-active;
}

.pagination .disabled {
  @apply btn-disabled;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-100%); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-slide-down {
  animation: slideDown 200ms ease-out;
}

.skeleton-active {
  color: transparent !important;
  pointer-events: none;
}

.skeleton-active * {
  visibility: hidden !important;
}

.btn-primary {
  position: relative;
  overflow: visible;
  box-shadow:
    3px 3px 30px rgba(73, 37, 233, 0.12),
    3px 3px 30px rgba(239, 100, 255, 0.12);
}

.btn-primary:hover {
  box-shadow:
    2px 2px 14px rgba(73, 37, 233, 0.25),
    2px 2px 14px rgba(239, 100, 255, 0.25);
}

.btn-gradient-outline {
  border: 1.5px solid transparent;
  background:
    linear-gradient(white, white) padding-box,
    linear-gradient(135deg, #4925e9, #ef64ff) border-box;
}

.btn-gradient-outline:hover {
  background:
    linear-gradient(135deg, rgba(73, 37, 233, 0.06), rgba(239, 100, 255, 0.06))
      padding-box,
    linear-gradient(135deg, #4925e9, #ef64ff) border-box;
  box-shadow: 0 2px 8px rgba(73, 37, 233, 0.15);
  color: white;
}

/* AI Search chat bubbles */
.chat-bubble-ai {
  background-color: rgba(209, 200, 249, 0.45);
  color: #1f1f1f;
}

.chat-bubble-user-brand {
  background-color: rgba(192, 216, 204, 0.45);
  color: #1f1f1f;
}

/* Dual-range slider: two overlapping range inputs sharing a custom track */
.dual-range-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  pointer-events: none;
  z-index: 2;
}

.dual-range-input::-webkit-slider-runnable-track {
  appearance: none;
  -webkit-appearance: none;
  height: 0;
}

.dual-range-input::-moz-range-track {
  appearance: none;
  height: 0;
}

.dual-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  pointer-events: all;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-primary, #000);
  border: 2px solid var(--color-primary-content, #fff);
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  position: relative;
}

.dual-range-input::-moz-range-thumb {
  pointer-events: all;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-primary, #000);
  border: 2px solid var(--color-primary-content, #fff);
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.dual-range-input:focus {
  outline: none;
}

.dual-range-input:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.15);
}

.dual-range-input:focus::-moz-range-thumb {
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.15);
}

