/* Logo Clientes */
.img-logo {
  width: 90%;
  aspect-ratio: 16 / 9;
  object-fit: scale-down;
}

/* Colores Clientes */
.text-primary {
  color: var(--primary-color) !important;
}
.dashboard-body .dash-card-one .icon {
  background: var(--primary-color);
}
.dash-aside-navbar {
  .logout-btn {
    &:hover {
      color: var(--secondary-color);
      .icon {
        background: var(--secondary-color);
      }
    }
  }
  .close-btn {
    font-size: 28px;
    color: #000;
    &:hover {
      color: var(--primary-color);
    }
  }
}

.swiper-pagination-bullet-active {
  background: var(--primary-color) !important;
}

/* Botones */
.dash-aside-navbar .dasboard-main-nav li a.active {
  background: var(--primary-color);
}
.btn-five {
  background: var(--primary-color);
  &:hover,
  &:focus {
    background: var(--secondary-color);
  }
}

.property-status-rented {
  display: inline-block;
  line-height: 35px;
  border-radius: 40px;
  font-size: 15px;
  padding: 0 25px;
  color: #29a54c;
  background: #d0f3da;
}

.property-status-for-rent {
  display: inline-block;
  line-height: 35px;
  border-radius: 40px;
  font-size: 15px;
  padding: 0 25px;
  background: #fee9e9;
  color: #d06767;
}

.description-box {
  max-height: 300px;
  overflow-y: auto;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fafafa;
  margin-bottom: 30px;
}

.p-40 {
  padding: 40px !important;
}

.short-filter {
  .nice-select {
    font-size: 12px !important;
  }
}

/* Language Switcher  */
/* CONTENEDOR */
.lang-switcher {
  position: relative;
  margin-left: 12px;
  margin-right: 12px;
}
/* BOTÓN PRINCIPAL */
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid #ccc;
  padding: 4px 12px;
  border-radius: 0.75rem;
  font-size: 14px;
  cursor: pointer;
}
/* MENU */
.lang-menu {
  display: none;
  position: absolute;
  top: 110%;
  right: 0;
  background: white;
  border-radius: 8px;
  padding: 6px 0;
  width: 150px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.12);
  z-index: 9999;
}
/* OPCIONES */
.lang-option {
  padding: 8px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.lang-option:hover {
  background: #f5f5f5;
}
/* ABIERTO */
.lang-switcher.open .lang-menu {
  display: block;
}
/* OPCIÓN DESHABILITADA (IDIOMA ACTUAL) */
.lang-option.disabled {
  opacity: 0.4;
  pointer-events: none;
}
/* desktop */
#lang-label::after {
  content: attr(data-full);
}
/* mobile */
@media (max-width: 767px) {
  #lang-label::after {
    content: attr(data-short);
  }
}

@media only screen and (max-width: 991px) {
  .table.table-no-more,
  .table.table-no-more thead,
  .table.table-no-more tbody,
  .table.table-no-more tr,
  .table.table-no-more th,
  .table.table-no-more td {
    display: block;
  }

  .table.table-no-more thead tr {
    left: -9999px;
    position: absolute;
    top: -9999px;
  }

  .table.table-no-more tr {
    border-bottom: 1px solid #ddd;
  }

  .table.table-no-more td {
    border: none;
    position: relative;
    text-align: left;
    white-space: normal;
  }

  .table.table-no-more td:before {
    content: attr(data-title);
    font-weight: bold;
    padding-right: 10px;
    position: absolute;
    text-align: left;
    top: 8px;
    white-space: nowrap;
  }

  .table.table-no-more.table-bordered td {
    border-bottom: 1px solid #dedede;
  }

  .table.table-no-more.table-sm td:before {
    top: 5px;
  }
}
