#loadable_content {
  display: none;
}

#dt-responsive-list_filter {
  display: none;
}

img {
  object-fit: cover;
  object-position: center;
}

.content {
  margin-bottom: 50px;
}

#accordion_collapsed {
  background-color: white;
}

.button_filter {
  background-color: #F6F6F6 !important;
}

.button_active {
  background-color: #6DCFF6 !important;
}

.tooltip-inner {
  background-color: #6dcff6 !important;
  color: #fff !important; 
  font-weight: bold;
}

.tooltip.bs-tooltip-top .tooltip-arrow::before,
.tooltip.bs-tooltip-bottom .tooltip-arrow::before,
.tooltip.bs-tooltip-start .tooltip-arrow::before,
.tooltip.bs-tooltip-end .tooltip-arrow::before {
  border-top-color: #6dcff6 !important;
  border-bottom-color: #6dcff6 !important;
  border-left-color: #6dcff6 !important;
  border-right-color: #6dcff6 !important;
}

.filters-toolbar {
  position: relative;     /* sube por encima si había overlays */
  z-index: 2;
  background: var(--bs-body-bg, #fff);
  border-radius: 9999px;  /* equivalente a "pill" */
}

.min_width_max {
  min-width: max-content;
}

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

.pagination > * {
  margin-top: 0.5rem;
}

.swal2-actions {
  gap: 0.5rem;
}

.swal2-actions > button + button {
  margin: 0;
}

tr.odd {
  background-color: ghostwhite;
}

#user_image {
  border: solid 2px rgba(255, 255, 255, 0.85);
}

.secondary_background {
  background: linear-gradient(135deg, #5d7280, #0a0a0a 200%);
}

#id_lang_flags_container img {
  object-fit: contain;
}

.visualization_mode_card {
  text-align: center;
  display: flex;
  flex-direction: column;
  margin-top: 0;
}

.visualization_mode_content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.visualization_mode_img {
  width: 100%;
}

/* BOTONES DEL INDEX */
.buttons_section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  height: 100%;
  place-content: center;
}

.button_container {
  text-align: center;
}

.button_container button {
  font-size: 2.25rem;
  font-weight: 500;
  padding: 2rem;
  border: solid white 0.3rem;
  border-radius: 4rem;
  color: white;
  background: radial-gradient(at 50% -150%, #ffc69e, #d25600);
  box-shadow: black 0px 0px 0px 0px;
}

.button_container button:hover:not(:active) {
  scale: 1.02;
  transition: 0.2s;
}
/* //BOTONES DEL INDEX */

.profile_image {
  aspect-ratio: 1;
}

.cls-hidden {
  display: none;
}

#create_group_form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

#create_group_name {
  max-width: 20rem;
}

#create_group_button {
  width: fit-content;
}

#delivery_cost_container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#delivery_cost_container input {
  width: 5rem;
}

#min_payment_container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#min_payment_container input {
  width: 5rem;
}

#modify_group_buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

#profile_username {
  color: white;
}

#profile_button:hover #profile_username {
  color: black;
}

.gallery-container {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
}

.gallery-item {
  position: relative;
}

.img-fluid {
  max-width: 100%;
  height: auto;
  max-height: 600px;
}

.image-container {
  position: relative;
  /* margin-bottom: 10px; */
  margin: 0 20px 0 0px;
}

.delete-icon {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: red; /* Puedes ajustar el color según tus preferencias */
  cursor: pointer; /* Hace que el cursor cambie a una mano cuando pasa sobre el icono de borrar */
}

.image-container:hover .delete-icon {
  display: block;
}

/* ANALYTICS - TOP PRODUCTS */
.top_products_img_container {
  border: solid #d83f13;
  border-radius: 25%;
  overflow: hidden;
}

.top_products_img_container img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.product_div {
  padding: 1rem;
  gap: 0.5rem;
  display: flex;
  flex-direction: column;
}

.top_products_info_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.top_products_total {
  font-weight: bold;
  margin: 0;
}

.top_products_category {
  color: grey;
}

.top_products_name {
  font-weight: bold;
}
/* end ANALYTICS - TOP PRODUCTS */

.navbar {
  display: flex;
  align-items: center;
  padding: 1rem;
  justify-content: start;
}

.button-menu {
  background-color: #fff;
  border-color: #dbdbdb;
  border-width: 1px;
  color: #363636;
  cursor: pointer;
  justify-content: center;
  padding-bottom: calc(0.5em - 1px);
  padding-left: 1em;
  padding-right: 1em;
  padding-top: calc(0.5em - 1px);
  text-align: center;
  white-space: nowrap;
  border-radius: 9999px;
  padding-left: calc(1em + 0.25em);
  padding-right: calc(1em + 0.25em);
}

.menuCalendar {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.5rem;
  margin: 10px 0px;
}

.housing-event {
  position: relative;
  white-space: nowrap;
  border-radius: var(--border-radius);
  padding: var(--fc-event-padding-y) var(--fc-event-padding-x);
  width: 200px !important;
}

#events-container {
  max-height: 920px;
  overflow-y: auto;
  scrollbar-width: none;
}

#events-container::-webkit-scrollbar {
  width: 10px;
}

.custom-dropdown {
  position: relative;
  display: inline-block;
}

.prevButton {
  cursor: pointer;
  font-size: 16px;
}

.nextButton {
  cursor: pointer;
  font-size: 16px;
}

.custom-select {
  background: white;
  border: 1px solid #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 20px;
}
.custom-select::after {
  content: "\25BC"; /* Código Unicode para la flecha hacia abajo */
  position: absolute;
  right: 10px;
  pointer-events: none;
}

button.fc-customDropdown-button.fc-button.fc-button-primary,
button.fc-customHeader-button.fc-button.fc-button-primary {
  display: none;
}

.datepicker-container {
  background: #f6f6f6;
  padding: 15px;
  border: 1px solid #f6f6f6;
  width: 180px;
  border-radius: 30px;
  margin: 20px 0px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}

.title-planning {
  padding: 10px;
  border: 1px solid #e6e6e6;
  border-radius: 43px;
  color: #e6e6e6;
  font-size: 14px;
}

.title-page-planning {
  padding: 10px;
  border: 1px solid #e6e6e6;
  border-radius: 43px;
  color: #787878;
  font-size: 14px;
  background: white;
}

.calendar-nav {
  display: flex;
  gap: 20px;
  font-size: 20px;
}
.fc .fc-timeline-slot-cushion {
  color: #6DCFF6;
}

.fc .fc-datagrid-cell-cushion {
  overflow: hidden;
  padding: 8px;
  white-space: normal;
  text-overflow: ellipsis;
}

.fc-datagrid-cell-main {
  font-size: 14px;
  font-weight: 500;
}

.fc-event-time {
  display: none;
}

.fc-event-title.fc-sticky {
  font-size: 14px;
  font-weight: 500;
  color: #000;
  margin-left: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fc-direction-ltr .fc-timeline-event.fc-event-end,
.fc-direction-ltr .fc-timeline-more-link {
  margin-right: 1px;
  border-radius: 30px;
}

#housingSelect, #workerSelect {
  font-size: 18px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 20px;
  width: 85%;
  background: #f6f6f6;
}

.start-input {
  font-size: 18px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 20px;
  width: 85%;
  background: #f6f6f6;
}

.end-input {
  font-size: 18px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 20px;
  width: 85%;
  background: #f6f6f6;
}

#portal-select {
  font-size: 18px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 20px;
  background: white;
}
/* WELCS DATE INPUTS */
.date_range_container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  height: 2rem;
}

.date_range_container label {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.date_range_container input[type="date"] {
  width: 7.5rem;
  border: none;
  padding: 0 0.5rem;
  border-radius: 3rem;
}

.date_range_container input[type="button"] {
  border: none;
  padding: 0 1.5rem;
  border-radius: 3rem;
  background-color: #6DCFF6;
  font-weight: bold;
}

.date_range_container * {
  height: 100%;
}

input.welcs_month_input {
  padding: 0 1rem;
  margin: 0;
  border-radius: 2rem;
  border: none;
  background-color: #f6f6f6;
}

input.welcs_date_input:focus,
input.welcs_month_input:focus {
  outline: none;
}

/* CUSTOM SWAL */
.swal2-header {
  background-color: #6DCFF6 !important;
}

.swal2-footer {
  background-color: #6DCFF6 !important;
}

.welcs_swal {
  width: fit-content;
  background-color: #f6f6f6;
  justify-items: center;
}

.welcs_swal .custom_container {
  padding: 1.5rem;
  padding-bottom: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.welcs_swal input:focus {
  outline: solid #fff0bc;
  box-shadow: none;
}

.welcs_swal .swal2-close {
  z-index: 100;
  justify-content: center;
}
.toggle-button {
  margin-bottom: 20px;
  padding: 10px 20px;
  background-color: #f6f6f6;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-grid.hidden,
.selected-logos.hidden {
  display: none;
}

.logo-grid,
.selected-logos {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin: 20px 10px;
}

.black-color {
  color: black;
}

.logo-row {
  display: flex;
}

.logo-cell {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 180px;
  height: 100px;
  background-color: #fff;
  border: 1px solid #ddd;
  margin: 5px;
  cursor: pointer;
  position: relative;
  border-radius: 20px;
  flex-direction: column;
}

.logo-cell img {
  max-width: 80%;
  max-height: 80%;
}

.logo-cell.selected {
  background-color: #fcd34d;
}

.logo-cell.selected::after {
  content: "→";
  font-size: 20px;
  position: absolute;
  right: 0px;
  color: white;
}

.selected-logo {
  display: flex;
  align-items: center;
  margin: 5px;
  padding: 5px;
  background-color: #f1f4f9;
  border: 1px solid #ddd;
  border-radius: 20px;
  max-width: 450px;
  height: 100px;
  width: 180px;
  justify-content: center;
}

.selected-logo img {
  max-width: 80%;
  max-height: 80%;
}

.selected-logo .remove-icon {
  position: relativa;
  top: -25px;
  right: 5px;
  color: red;
  cursor: pointer;
}

.container-gtp {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 50px 0;
  margin-bottom: 250px;
}

.cards {
  display: flex;
  justify-content: center;
  gap: 5rem;
  padding: 20px;
  margin-top: 50px;
}

.card-gpt {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  width: 300px;
  border-radius: 20px;
  background-color: #f6f6f6;
  box-shadow: -1px 14px 10px 4px rgba(0, 0, 0, 0.1);
}

.card-gpt img {
  width: 35px;
  height: 35px;
  margin-bottom: 10px;
}

.text-card {
  font-size: 16px;
  font-weight: 400;
  color: #787878;
}

.title {
  font-size: 20px;
  font-weight: bold;
}

.input-gtp {
  padding: 10px 20px;
  background-color: #f6f6f6;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  flex: 1;
}

.btn-circular {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #eec52b;
  background-color: #eec52b;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}
.btn-circular:hover {
  background-color: #eec52b;
  color: #eec52b;
}

.hidden {
  display: none;
}

.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2em;
  margin-top: 20px;
}

.chat-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
  overflow-y: auto;
  max-height: 80vh;
  padding: 10px;
  margin-bottom: 50px;
}

.chat-bubble {
  max-width: 60%;
  padding: 10px;
  border-radius: 15px;
  margin-bottom: 10px;
}

.user-bubble {
  align-self: flex-end;
  background-color: #f1f0f0;
}

.bot-bubble {
  align-self: flex-start;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.bot-bubble span {
  font-weight: bold;
  padding: 10px;
}

.input-group.mb-3.fixed-bottom-card {
  position: fixed;
  bottom: 0;
  width: 80%;
  z-index: 1000;
}

.typing-indicator {
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  margin-left: 0.2em;
  background: #ccc;
  border-radius: 50%;
  animation: typing 1s infinite steps(1);
}

@keyframes typing {
  0% {
    background: #ccc;
  }
  50% {
    background: #999;
  }
  100% {
    background: #ccc;
  }
}

.typing-container {
  display: flex;
  align-items: center;
  gap: 5px;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover,
.flatpickr-day.selected.prevMonthDay,
.flatpickr-day.startRange.prevMonthDay,
.flatpickr-day.endRange.prevMonthDay,
.flatpickr-day.selected.nextMonthDay,
.flatpickr-day.startRange.nextMonthDay,
.flatpickr-day.endRange.nextMonthDay {
  background: #eec52b !important;
  -webkit-box-shadow: none;
  box-shadow: none;
  color: #fff;
  border-color: #eec52b !important;
}

.no_control_number_input {
}

.no_control_number_input {
  -moz-appearance: textfield; /* Firefox */
}

.no_control_number_input::-webkit-outer-spin-button,
.no_control_number_input::-webkit-inner-spin-button {
  -webkit-appearance: none; /* Chrome y Safari */
  margin: 0;
}


.dropdown-close {
  cursor: pointer;
}

.d-flex-center{
  display: flex;
  align-items: center;
}

.image-preview img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-right: 5px;
}

.image-preview .remove-button {
  position: absolute;
  top: 0;
  right: 0;
  background-color: #ff0000;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  cursor: pointer;
  font-size: 12px;
  line-height: 16px;
}

.image-preview div {
  position: relative;
  display: inline-block;
  margin-right: 10px;
}

.input-wizard {
    background: #f3f4f6;
    border: #f3f4f6;
}

.input-housing-edit {
    background: #fff;
    border: #f3f4f6;
}

textarea:-moz-placeholder, /* Firefox 18- */
textarea::-moz-placeholder, /* Firefox 19+ */
textarea:-ms-input-placeholder, /* IE 10+ */
textarea::-webkit-input-placeholder, /* Webkit based */
textarea::placeholder { /* Modern browsers */
  color: #787878;  
}

.iventory-empty{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

#carouselExampleIndicators {
  max-width: 600px; /* Ajusta el ancho máximo del carrusel */
  margin: auto; /* Centra el carrusel horizontalmente */
}

/* Ajusta el tamaño de las imágenes dentro del carrusel */
#carouselExampleIndicators .carousel-inner img {
  width: 100%; /* Hace que la imagen se ajuste al ancho del contenedor */
  height: auto; /* Mantiene la proporción de la imagen */
}

.carousel-inner img {
  width: 100%; /* Asegura que la imagen se ajuste al ancho del contenedor */
  height: 100%; /* Hace que la imagen se ajuste a la altura del contenedor */
  object-fit: contain; /* Cubre el contenedor sin distorsionar la imagen */
}

/* Opcional: Ajusta el alto del carrusel si es necesario */
.carousel-inner {
  max-height: 400px; /* Ajusta la altura máxima del contenedor de las imágenes */
  overflow: hidden; /* Oculta cualquier parte de la imagen que sobresalga */
}

 .carousel-control-prev,
    .carousel-control-next {
        width: 5%; /* Ajusta el tamaño del botón */
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        background-color: rgba(0, 0, 0, 0.5); /* Color de fondo del icono */
        background-size: 100%, 100%; /* Asegura que el icono se ajuste al botón */
        border-radius: 50%; /* Hacer el fondo del icono redondo */
    }

    .carousel-control-prev-icon {
        background-image: url('../images/welcs/iconsax/caret-down-thin.svg'); /* Cambia el icono de 'prev' si es necesario */

    }

    .carousel-control-next-icon {
        background-image: url('../images/welcs/iconsax/caret-down-thin.svg'); /* Cambia el icono de 'next' si es necesario */
        transform: rotate(180deg); /* Gira el icono de 'next' */
    }




.image-preview-gallery {
  max-height: 10rem;
}

.close_btn {
  position: absolute;
  aspect-ratio: 1;
  height: 3rem;
  top: 0;
  right: 0;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #000;
}

.close_btn:hover {
  color: red;
}
  
  /* Mostrar los botones solo en pantallas pequeñas */

  /* #scrollRight, #scrollLeft {
    display: none;
  } */
/* 
  @media (max-width: 768px) {
      #scrollRight, #scrollLeft {
          display: block;
      }
  } */

.item-image-hover {
    transition: transform 0.2s ease;
}

.item-image-hover:hover {
    transform: scale(3);
    z-index: 1000;
    position: relative;
}