/* PORTAL WEB AC LOCAL v0.7.4
   Controls del carrusel reforçats: botons blaus, fletxes blanques i dots més grans. */

.carousel-control {
  width: 64px !important;
  height: 64px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #0f4d81 !important;
  color: #ffffff !important;
  font-size: 1.9rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  box-shadow: 0 18px 36px rgba(5, 42, 76, 0.26), 0 8px 18px rgba(5, 42, 76, 0.16) !important;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.24s ease, background-color 0.24s ease !important;
}

.carousel-control:hover,
.carousel-control:focus-visible {
  transform: translateY(calc(-50% - 5px)) scale(1.08) !important;
  background: #14629f !important;
  color: #ffffff !important;
  box-shadow: 0 26px 46px rgba(5, 42, 76, 0.32), 0 12px 22px rgba(5, 42, 76, 0.20) !important;
}

.carousel-control:active {
  transform: translateY(calc(-50% - 2px)) scale(1.02) !important;
}

.carousel-dots {
  gap: 12px !important;
  margin-top: 28px !important;
  min-height: 18px;
  align-items: center;
}

.carousel-dots button {
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  min-height: 14px !important;
  border-radius: 999px !important;
  background: rgba(15, 77, 129, 0.24) !important;
  transition: width 0.22s ease, transform 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease !important;
}

.carousel-dots button:hover {
  transform: scale(1.18);
  background: rgba(15, 77, 129, 0.42) !important;
}

.carousel-dots button.is-active {
  width: 52px !important;
  height: 14px !important;
  background: #0f4d81 !important;
  box-shadow: 0 8px 18px rgba(5, 42, 76, 0.20) !important;
}

@media (max-width: 820px) {
  .carousel-control {
    width: 54px !important;
    height: 54px !important;
    font-size: 1.55rem !important;
  }

  .carousel-dots button {
    width: 12px !important;
    height: 12px !important;
    min-width: 12px !important;
    min-height: 12px !important;
  }

  .carousel-dots button.is-active {
    width: 42px !important;
    height: 12px !important;
  }
}

/* v0.9.3 — auditoria responsive: hit-area tàctil >=44 px mantenint el punt visual original. */
.carousel-dots {
  gap: 0 !important;
}

.carousel-dots button {
  position: relative;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  padding: 0 !important;
  background: transparent !important;
}

.carousel-dots button::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: rgba(15, 77, 129, 0.24);
  transform: translate(-50%, -50%);
  transition: width 0.22s ease, transform 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease;
}

.carousel-dots button:hover {
  transform: none;
  background: transparent !important;
}
.carousel-dots button:hover::before {
  transform: translate(-50%, -50%) scale(1.18);
  background: rgba(15, 77, 129, 0.42);
}
.carousel-dots button.is-active {
  width: 52px !important;
  height: 44px !important;
  background: transparent !important;
  box-shadow: none !important;
}
.carousel-dots button.is-active::before {
  width: 52px;
  height: 14px;
  background: #0f4d81;
  box-shadow: 0 8px 18px rgba(5, 42, 76, 0.20);
}

@media (max-width: 820px) {
  .carousel-dots button {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
  }
  .carousel-dots button::before { width: 12px; height: 12px; }
  .carousel-dots button.is-active { width: 44px !important; height: 44px !important; }
  .carousel-dots button.is-active::before { width: 42px; height: 12px; }
}

