.container-fluid {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 40px);
}

.text-blue {
  color: var(--blue-color);
}

.text-black {
  color: #000;
}

.text-white {
  color: white;
}

.text-center {
  text-align: center;
}

.card {
  border-radius: 12px;
  background-color: var(--card-bg);
  padding: 15px;
  position: relative;
}

.map-card {
  background-color: var(--map-card-bg);
  border: 1px var(--border-color) solid;
  border-radius: 12px;
}

.card .icon-wrapper {
  width: 90px;
  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;
}

.card .card-info {
  width: 300px;
}

.card .img-card {
  border-radius: 12px 12px 0px 0px;
}

.card .overlay {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  border: 1px var(--blue-color) solid;

  padding: 20px;

  background: rgba(0, 0, 0, 0.75);

  opacity: 0;
  visibility: hidden;

  text-decoration: none;

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.card .overlay p {
  font-size: 20px;
  font-weight: 600;
  text-align: center;
}

.card:hover .overlay {
  opacity: 1;
  visibility: visible;
}

.card ul li {
  margin-bottom: 15px;
}

.card.with-dot:before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #575757;
  position: absolute;
  left: -57px;
  top: 0px;
}

.circle {
  width: 37px;
  height: 37px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.h-100 {
  height: 100%;
}

.btn {
  background: var(--blue-color);
  border-radius: 12px;
  display: inline-block;
  padding: 15px 15px;
  color: #121212;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
}

.img-fluid {
  max-width: 100%;
}

.municipio {
  cursor: pointer;
}

.card-new {
  display: flex;
  align-items: center;
  margin: 15px 0px;
}

.img-new {
  border-radius: 8px;
  flex-shrink: 0;
}

.card-new a {
  color: var(--blue-color);
}

.heatmap-wrapper {
  width: 100%;
}

#heatmap {
  max-width: 100%;
  min-height: 500px;
}

.faq-item {
  overflow: hidden;
  margin-bottom: 16px;
  border-bottom: 1px var(--border-color) solid;
  padding: 15px;
}

.faq-question {
  width: 100%;
  border: none;
  background: transparent;
  padding: 20px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  cursor: pointer;

  font-size: 18px;
  font-weight: 600;
  color: var(--text-color);

  position: relative;
  text-align: left;
}

/* círculo */
.faq-question::after {
  content: '+';

  width: 32px;
  height: 32px;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px var(--border-color) solid;
  color: var(--border-color);

  font-size: 20px;
  font-weight: 400;

  flex-shrink: 0;

  transition: 0.3s ease;
}

/* cuando está abierto */
.faq-item.active .faq-question::after {
  content: '−';
  transform: rotate(180deg);
  border: 1px var(--text-color) solid;
  color: var(--text-color);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;

  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 20px 20px;
  margin: 0;
}

.border-radius-8 {
  border-radius: 8px;
}

.media-slider {
  margin: 24px -12px;
}

.media-slider .slide {
  width: 100%;
  display: flex;
}

.media-slider .card {
  width: 100%;
  height: 100%;

  display: flex;
  flex-direction: column;
}

.media-slider .slide {
  padding: 0 12px;
}

.media-image {
  width: 100%;
  height: 240px;

  object-fit: cover;

  border-radius: 12px;
}

.media-section {
  position: relative;
}

.custom-arrow {
  position: absolute;
  top: -70px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s ease;
  z-index: 2;
}

.custom-arrow svg path {
  stroke: var(--card-bg);
}

.custom-arrow:last-of-type {
  background: var(--card-bg);
}

.custom-arrow:last-of-type svg path {
  stroke: var(--text-color);
}

.custom-arrow:hover {
  transform: scale(1.05);
}

.list {
  display: flex;
  flex-wrap: wrap;
}

.list li {
  width: 45%;
}

.position-relative {
  position: relative;
}

.que-hacemos-section {
  background: var(--card-bg);
  border-radius: 12px;
}
.que-hacemos-section .card {
  background: var(--card2-bg);
}

.link1 {
  position: relative;
  padding-right: 24px;
  background: url('../images/link1.svg') no-repeat right center / 22px;
}

.link2 {
  position: relative;
  padding-right: 18px;
  background: url('../images/link2.svg') no-repeat right center / 14px;
}

.pagination-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.pagination-wrapper .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  margin: 0 5px;
  border-radius: 50%;
  text-decoration: none;
  background: var(--card-bg);
  color: var(--text-color);
  font-size: 18px;
  font-weight: bold;
  transition: 0.2s ease;
}

.pagination-wrapper .page-numbers:hover {
  background: var(--blue-color);
  color: #fff;
}

.pagination-wrapper .page-numbers.current {
  background: var(--blue-color);
  color: #fff;
}

.media-slider .swiper-wrapper {
  align-items: stretch;
}

.media-slider .swiper-slide {
  height: auto;
  display: flex;
}

.media-slider .swiper-slide .card {
  width: 100%;
  height: auto;
}

.slider-nav {
  display: flex;
  gap: 12px;
}

.slider-nav .swiper-button-prev,
.slider-nav .swiper-button-next {
  position: relative;
  top: auto;
  left: auto;
  right: auto;

  width: 48px;
  height: 48px;
  background: var(--text-color);
  margin-top: 0;
  border-radius: 50%;
}

.slider-nav .swiper-button-prev:hover,
.slider-nav .swiper-button-next:hover {
  transform: scale(1.05);
}

.slider-nav .swiper-button-prev::after,
.slider-nav .swiper-button-next::after {
  font-size: 16px;
  font-weight: bold;
  color: var(--card-bg);
}

.timeline-controls {
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: center;
}

button#timeline-play {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

#timeline-range {
  background: var(--text-color);
}

#timeline-range::-webkit-slider-runnable-track {
  color: var(--text-color);
}

select {
  padding: 15px;
  border-radius: 12px;
  background: var(--card-bg);
  color: var(--text-color);
}

.highcharts-data-label {
  pointer-events: none;
  z-index: 1 !important;
}

.highcharts-tooltip {
  max-width: 300px;
  pointer-events: auto !important;
  z-index: 9999 !important;
}

.highcharts-tooltip > span {
  overflow-x: hidden;
  overflow-y: auto;
  display: block;
}

.text-bold {
  font-weight: bold;
}

.sort button {
  background-color: transparent;
  border: none;
  box-shadow: none;
  cursor: pointer;
  transition: all 0.5s ease-out;
}

.sort button.active svg path,
.sort button.active svg rect,
.sort button:hover svg path,
.sort button:hover svg rect {
  stroke: #0a84ff;
}

.chart-download {
  position: relative;
  display: inline-block;
  font-family: var(--primary-font, sans-serif);
  flex-shrink: 0;
}

/* botón principal */
.chart-download-btn,
.share-btn {
  background: none;
  color: #0a84ff;
  border: none;
  padding: 8px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s ease;
  font-size: 16px;
  font-weight: bold;
}

.chart-download-btn:hover,
.share-btn:hover {
  background: #2a2a2a;
  border-color: rgba(255, 255, 255, 0.2);
}

/* menú */
.chart-download-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;

  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 6px;
  min-width: 200px;

  list-style: none;
  margin: 0;

  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;

  transition: all 0.2s ease;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  z-index: 999;
}

/* mostrar menú */
.chart-download.open .chart-download-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* items */
.chart-download-menu li {
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  color: #e5e5e5;
  padding-left: 40px;
  background-image: url('../images/download.svg');
  background-repeat: no-repeat;
  background-position: 8px center;
  background-color: transparent;
  transition: background-color 0.15s ease;
}

.chart-download-menu li:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

#reporte_diario {
  max-width: 1200px;
}

#reporte_diario .hide_in_report {
  visibility: hidden !important;
  height: 0px !important;
  margin: 0px !important;
}
#reporte_diario img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

#tabla_registros {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--card-bg);
  border: 1px solid var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 30px;
}

#tabla_registros thead th {
  padding: 14px 16px;
  background: var(--card-bg);
  border-bottom: 1px solid var(--card-bg);
  font-size: 14px;
  font-weight: bold;
  text-align: left;
  white-space: nowrap;
}

#tabla_registros tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
  vertical-align: middle;
}

#tabla_registros tbody tr:last-child td {
  border-bottom: 0;
}

#tabla_registros tbody tr:hover {
  background: var(--card2-bg);
}

#tabla_registros tbody td:nth-child(2) {
  font-weight: 600;
}

#tabla_registros a {
  color: #56418c;
  font-weight: 600;
  text-decoration: none;
}

#tabla_registros a:hover {
  text-decoration: underline;
}

.cursor-pointer {
  cursor: pointer;
}

@media all and (max-width: 991px) {
  .heatmap-wrapper {
    overflow-x: auto;
  }

  /*#heatmap {
    min-width: 900px;
    height: 500px;
  }*/
  .list li {
    width: 100%;
  }
  #sinaloa-map {
    min-height: 100vw;
  }

  .card.with-dot:before {
    display: none;
  }
}

@media all and (max-width: 767px) {
  .card-clasificacion p {
    font-size: 14px;
  }
}
