.bodyContainer {
  min-height: 88vh !important;
  height: auto;
}

.bodyContainer h1 {
  text-align: center;
  padding: 2%;
  padding-bottom: 1%;
}

/* MODO MOBILE */
@media (max-width: 1000px) {
  .bodyContainer h1 {
    margin: 4% 2% !important;
  }
}

/* ----------------------- BUTTONS ----------------------- */

.btn {
  align-content: center !important;
  height: max-content;
}

.btn-green {
  background-color: #00BA00 !important;
  color: white !important;
}

.btn-green:hover {
  background-color: #01a001 !important;
}

.btn-red {
  background-color: #f64b5f !important;
  color: white !important;
  border: none !important;
}

.btn-red:hover {
  background-color: #d84254 !important;
  scale: 1.03 !important;
}

.btn-blue {
  background-color: #3c6181 !important;
  color: white !important;
}

.btn-blue:hover {
  background-color: #334f6a !important;
  color: white !important;
}

.btn-black {
  background-color: #6c757d !important;
  color: white !important;
}

.btn-black:hover {
  background-color: #555c62 !important;
}


/* forms styles */
input,
select {
  font: inherit;
  margin: 0;
  padding: 4px;
  border: 1px solid #bbb;
}

.input-text {
  min-width: 150px;
  background-color: #fff;
}

select {
  min-width: 150px;
}

label {
  margin-right: 4px;
}

.inputDisabled {
  border: none !important;
  font-weight: bold;
}

.inputDisabled:focus {
  outline: none !important;
}

.error {
  color: #dc3545;
  font-size: 0.85rem;
}

.trashMember {
  position: absolute;
  width: auto;
  height: 40px;
  background-color: red;
  border-radius: 5px;
}

.trashMember:hover {
  scale: 1.05;
}

.trashMember h1 {
  width: 70%;
}

.trashMember img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

/* ----------------------- BAR FILTERS ----------------------- */

.table-filters {
  display: flex;
  justify-content: left;
  gap: 10px;
  width: 70%;
  flex-direction: row-reverse;
  align-items: center;
}

.bar-filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2%;
  padding-top: 0;
  width: auto;
}

.bar-filters input,
select {
  width: 90%;
}


.down-filters,
.upper-filters {
  display: flex;
}

.down-filters {
  gap: 10px;
}

.upper-filters .btn {
  position: absolute;
  right: 3%;
}

.service-name {
  display: none;
}

/* MODO MOBILE */
@media (max-width: 1000px) {

  .table-filters {
    width: 100%;
    display: block;
    margin-bottom: 2%;
  }

  .bar-filters input,
  select {
    width: 100%;
  }

  .down-filters {
    width: 100%;
    display: flex;
    margin-top: 2%;
  }

  .down-filters .input-text {
    min-width: 0;
    max-width: 95% !important;
  }

  .upper-filters {
    display: flex;
    justify-content: space-between;
    align-items: end;
  }

  .filter {
    max-width: 100% !important;
  }

  .upper-filters .filter {
    width: 50%;
  }

  .upper-filters .btn {
    position: relative;
  }

  .service-name {
    display: block;
  }
}


/* ------------------------------- AUTOCOMPLETE ------------------------------------ */

.autocomplete-container {
  position: relative;
  width: 70%;
}

.autocomplete-container input {
  width: 100% !important;
}


.autocomplete-container {
  position: relative;
}

.autoCompSelect {
  position: absolute;
  top: 100%;
  left: 0;

  display: none;
  z-index: 9999;

  font-size: 20px !important;
  padding: 0 !important;
  border-radius: 0px 0px 4px 4px !important;
  width: 100% !important;
}

.autoCompSelect.autoCompFilter {
  display: block !important;
  position: relative !important;
  font: inherit;
  font-size: initial !important;
  margin: 0;
  padding: 4px !important;
  border: 1px solid #bbb;
  border-radius: 0 !important;
}

.autoCompSelect option:checked {
  background: #ddd !important;
}

.autoCompSelect option {
  padding: 1% !important;
  border-style: solid;
  border-color: lightgrey;
  border-width: 0.1px;
}

/* flechita */
.autocomplete-container::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);

  width: 12px;
  height: 12px;

  pointer-events: none;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23000000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

.select {
  font-size: 20px !important;
  border-radius: 4px !important;
  border-width: 2px;
  width: 100%;
  height: auto;
  padding: 6px 4px !important;
}

/* ------------------------------- TOOLTIP ------------------------------------ */

.tooltip-container {
  position: relative;
}

.tooltip-text {
  position: absolute;
  bottom: 100%;
  right: 0;

  background: #333;
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.tooltip-container:hover .tooltip-text {
  opacity: 1;
}