/* Personalizar la barra de desplazamiento vertical */
::-webkit-scrollbar {
  width: 10px;
  /* Ancho de la barra de desplazamiento */
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  /* Color del fondo de la pista de la barra de desplazamiento */
}

::-webkit-scrollbar-thumb {
  background: #888;
  /* Color del "pulgar" de la barra de desplazamiento */
}

/* Personalizar la barra de desplazamiento horizontal */
::-webkit-scrollbar-horizontal {
  height: 10px;
  /* Altura de la barra de desplazamiento horizontal */
}

::-webkit-scrollbar-thumb:horizontal {
  background: #888;
  /* Color del "pulgar" de la barra de desplazamiento horizontal */
}

@media screen and (min-width: 576px) {
  .mobile {
    display: block !important;
  }

  .web {
    display: none !important;
  }
}

@media screen and (max-width: 575px) {
  .mobile {
    display: block !important;
  }

  .web {
    display: none !important;
  }
}

table th {
  background: #3700B3 !important;
  color: white !important;
  font-weight: 500 !important;
  font-family: "Poppins", sans-serif !important;
}

.modal-header {
  background-color: #3700B3;
  color: white;
}

.modalPersonalizado {
  background-color: rgba(123, 124, 127, 0.7);
}

.form-control,
.form-select,
.form-check-input {
  border: var(--bs-border-width) solid #c3c7cb !important;
}

#formDatos label {
  /*color: rgba(1, 41, 112, 0.6);
  font-weight: 600 !important;*/
}

.btn-success {
  --bs-btn-color: #fff;
  --bs-btn-bg: #3700B3;
  --bs-btn-border-color: #3700B3;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #6200EE;
  --bs-btn-hover-border-color: #6200EE;
  --bs-btn-focus-shadow-rgb: 60, 153, 110;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #6200EE;
  --bs-btn-active-border-color: #6200EE;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #3700B3;
  --bs-btn-disabled-border-color: #3700B3;
}

.swal2-confirm,
.swal2-cancel {
  background-color: #3700B3 !important;
}

.swal2-cancel:hover,
.swal2-confirm:hover {
  background-color: #6200EE !important;
  /* Puedes cambiar este color al que desees */
}

/*
.swal2-container{
  backdrop-filter: blur(3px) !important;
}*/

.form-check-input:valid:checked,
.form-check-input:checked {
  background-color: #6200EE;
  border-color: #6200EE;
}

.publicarLabel,
.publicarLabelCheck {
  font-size: 0.875rem !important;
}

/*----------swipper---------*/
.swiper-button-next,
.swiper-button-prev {
  color: #3700B3;
}

.swiper-pagination-bullet-active {
  background: #3700B3;
}

#imagenCargada .swiper-button-next,
#imagenCargada .swiper-button-prev {
  --swiper-navigation-size: 20px;
  background-color: #3700B3;
  color: #fcf6ef;
  height: 70px;
  width: 50px;
  margin-top: -35;
}

#imagenCargada .swiper-button-prev {
  border-radius: 0 65px 65px 0;
  left: -10px;
}

#imagenCargada .swiper-button-next {
  border-radius: 65px 0 0 65px;
  right: -10px;
}

#imagenCargada .swiper-button-next:hover,
#imagenCargada .swiper-button-prev:hover {
  background-color: #6200EE;
}

#imagenCargada:hover .swiper-button-next,
#imagenCargada:hover .swiper-button-prev,
#imagenCargada:hover .card-overlay button {
  opacity: 1;
}

#imagenCargada .swiper-button-next,
#imagenCargada .swiper-button-prev,
#imagenCargada .card-overlay button {
  opacity: 0;
  transition: opacity 0.5s;
}

/* Estilos para el dropdown */
.dropdown-item-tpago:hover {
  background: #6200EE !important;
  color: #fcf6ef;
}

.popupPersonalizado {
  background-color: rgba(0, 0, 0, 0.5) !important;
  backdrop-filter: blur(12px) !important;
}

.select2Personalizado {
  border: var(--bs-border-width) solid #c3c7cb;
}


/*----------Dashboard---------*/
#idPropiedadPorBarrio,
#idRankingMasPagadas,
#idPropiedadPorClientes,
#idPropiedadPorClientesParticular {
  max-height: 300px;
  overflow-y: auto;
  padding-right: 10px;
}

.thead-fixed-personalizado {
  position: sticky;
  top: 0;
  z-index: 1;
}

.tbody-fixed-personalizado {
  display: block;
  overflow-y: auto;
  max-height: 300px;
}


/*bootstrap table*/
.bootstrap-table .pagination li.active a {
  background-color: #3700B3 !important;
  /* Color de fondo para la página activa */
  border-color: #3700B3 !important;
}

.bootstrap-table .pagination li a {
  color: black;
}

.bootstrap-table .pagination li a:hover {
  background-color: #6200EE;
  color: #f8f9fa;
}

.bootstrap-table .pagination .page-item.disabled a {
  color: #cccccc;
  /* Color del texto para elementos deshabilitados */
  background-color: #f8f9fa;
  /* Color de fondo para elementos deshabilitados */
}

.bootstrap-table .btn.btn-secondary {
  color: #ffffff;
  /* Color del texto */
  background-color: #3700B3;
  /* Color de fondo */
  border-color: #3700B3;
  /* Color del borde */
}

/* Estilo para cuando el dropdown está abierto */
.bootstrap-table .btn.btn-secondary.dropdown-toggle.show {
  background-color: #3700B3;
  /* Color de fondo cuando está abierto */
  border-color: #3700B3;
  /* Color del borde cuando está abierto */
}

/* Estilo para cuando el botón está en hover o focus */
.bootstrap-table .btn.btn-secondary:hover,
.bootstrap-table .btn.btn-secondary:focus {
  background-color: #6200EE;
  /* Color de fondo al pasar el mouse */
  border-color: #6200EE;
  /* Color del borde al pasar el mouse */
}

/* Estilo personalizado para el item activo en el dropdown */
.dropdown-item.active {
  color: #ffffff;
  /* Color del texto */
  background-color: #6200EE;
  /* Color de fondo */
}

/* Opcional: Cambiar el estilo al pasar el mouse sobre el item activo */
.dropdown-item.active:hover,
.dropdown-item.active:focus {
  background-color: #6200EE;
  /* Color de fondo cuando está en hover */
  color: #6200EE;
  /* Color del texto cuando está en hover */
}

/* ESTADOS DE EJECUCIÓN DE SERVICIOS*/
.badge-estado-pendiente-servicios {
  background-color: #fb8c00;
  color: white;
}

.badge-estado-activo-servicios {
  background-color: #43a047;
  color: white;
}

.badge-estado-en-transito-servicios {
  background-color: #f5f5f5;
  color: black;
}

.badge-estado-en-espera-servicios {
  background-color: #e53935;
  color: white;
}

.badge-estado-agendado-servicios {
  background-color: #fb8c00;
  color: white;
}

.badge-estado-finalizado-servicios {
  background-color: #1976d2;
  color: white;
}

/*
Pendiente        Naranja
Activo                Verde
En Transito        Blanco
En Espera         Rojo
Agendado        Naranja
Finalizado        Azul
*/