/* assets/css/style.css */

.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after,
.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after {
  content: '' !important;
}
.swiper-button-next svg,
.swiper-button-prev svg {
  width: 24px !important;
  height: 24px !important;
}
.swiper-button-next,
.swiper-button-prev {
  position: relative !important;
}
.swiper-slide.swiper-slide-active {
  --tw-border-opacity: 1 !important;
  border-color: rgb(79 70 229 / var(--tw-border-opacity)) !important;
}
.nav-link {
  border-width: 0px;
  background-color: inherit;
  font-size: 18px;
  font-weight: 600;
  color: #343f52;
  transition: color 0.2s ease-in-out;
}
.dropdown-item {
  clear: both;
  display: block;
  width: 100%;
  background-color: transparent;
  padding: 0.2rem 1.5rem;
  white-space: nowrap;
  color: #343f52;
  font-size: 16px;
  font-weight: 600;
}
.tooltip { width: 250px; }
footer { font-size: 17px; }
.item-menu-mobile, .item-submenu-mobile { border-bottom: 1px solid #e0e4eb; }
.item-submenu-mobile:last-child { border-bottom: none; }

/* Sliders mobile com barra de progresso azul */
.custom-slider-mobile {
  -webkit-appearance: none;
  appearance: none;
  background: #e2e8f0; /* fallback */
  border-radius: 9999px;
  height: 6px;
}

.custom-slider-mobile::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 19px;
  height: 19px;
  background: #2563eb;
  border-radius: 50%;
  border: 2px solid white;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  margin-top: -6px;
}

.custom-slider-mobile::-webkit-slider-runnable-track {
  height: 6px;
  background: transparent;
  border-radius: 9999px;
}

.custom-slider-mobile::-moz-range-track {
  height: 6px;
  background: transparent;
  border-radius: 9999px;
}

.custom-slider-mobile::-moz-range-thumb {
  width: 19px;
  height: 19px;
  background: #2563eb;
  border-radius: 50%;
  border: 2px solid white;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.custom-slider-mobile::-moz-range-progress {
  height: 6px;
  background: #2563eb;
  border-radius: 9999px;
}

/* Estilos da navbar fixa (se ainda usa) */
.navbar-fixed {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: top 0.3s ease-in-out;
  background-color: inherit;
}
.navbar-fixed.navbar-hidden { top: -100%; }
.navbar-placeholder {
  display: block;
  width: 100%;
  visibility: hidden;
  pointer-events: none;
}
body { margin: 0; padding: 0; }

html {
  overflow-x: hidden;
}

/* Ajustes gerais para toasts */
.toast-custom-popup {
  padding: 0.75rem 1rem !important;
  font-size: 0.875rem !important;
  border-radius: 0.5rem !important;
  width: auto !important;
  max-width: 90vw !important;
  display: flex !important;
  align-items: center !important;
}

.toast-custom-title {
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}

.swal2-toast h2:where(.swal2-title) {
  margin: .5em 0 !important;
}

@media (max-width: 640px) {
  .toast-custom-popup {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.8rem !important;
  }

  .toast-custom-title {
    font-size: 1rem !important;
  }

  .toast-custom-popup .swal2-icon {
    animation: none !important;
    transform: scale(0.7);
    transform-origin: center center;
    margin-right: 0rem !important;
    margin-left: -0.5rem !important;
  }
}

.ss-main {
  --ss-border-radius: 0.375rem !important;
  min-height: 42px!important;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="range"]) {
    height: 42px !important;
}

.ss-main:focus {
    border-color: var(--ss-primary-color);
    outline: none !important;
    box-shadow: unset!important;
}

.ss-main .ss-values {
    color: rgb(17, 24, 39);
}

.ss-content .ss-list .ss-option {
    line-height: 1.6;
}

.ss-main.ss-disabled {
    background-color: #e5e7eb!important;
}

.ss-main .ss-values .ss-placeholder {
  color: #6b7280 !important;
}

.ss-main.border-red-500 {
    border-color: #ef4444 !important;
}

.scrollbar-hidden {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.scrollbar-hidden::-webkit-scrollbar {
  display: none;
}