@charset "UTF-8";
/**
 * Frontend SCSS - Search Form Styling (Flatsome/Bootstrap Compatible)
 */
:root {
  --mbws-bds-primary: #446084;
  --mbws-bds-secondary: #7a9c59;
}

.mbws-bds-search-wrapper {
  margin: 20px 0;
}
.mbws-bds-search-wrapper .eps-widget31 {
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.mbws-bds-search-wrapper .eps-widget31.rounded-box {
  border-radius: 8px;
}
.mbws-bds-search-wrapper .eps-widget31.bg-white {
  background-color: #fff;
}

.bds-search-form .row {
  margin-right: -10px;
  margin-left: -10px;
}
.bds-search-form [class*=col-] {
  padding-right: 10px;
  padding-left: 10px;
}

.global-search-div {
  display: flex;
  align-items: center;
  border-radius: 4px;
  overflow: hidden;
}
.global-search-div.bg-grey {
  background-color: #f5f5f5;
}
.global-search-div .selecte-input {
  padding: 12px 15px;
  font-weight: 600;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  white-space: nowrap;
  min-width: 120px;
  transition: background-color 0.2s ease;
}
.global-search-div .selecte-input:hover {
  background-color: rgba(0, 0, 0, 0.05);
}
.global-search-div .border-left {
  border-left: 1px solid #ddd;
}
.global-search-div .search-input {
  border: none;
  padding: 12px 15px;
  flex-grow: 1;
}
.global-search-div .search-input:focus {
  outline: none;
  box-shadow: none;
}
.global-search-div .search-input.bg-white {
  background-color: #fff;
}
.global-search-div .search-icon {
  position: absolute;
  right: 15px;
  color: #999;
  pointer-events: none;
}

.dropdown-menu {
  border-radius: 4px;
  border: 1px solid #ddd;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 8px 0;
}
.dropdown-menu .dropdown-item {
  padding: 8px 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.dropdown-menu .dropdown-item:hover {
  background-color: #f5f5f5;
}
.dropdown-menu .dropdown-item .custom-control {
  margin-bottom: 0;
}
.dropdown-menu .dropdown-item .custom-control-input:checked ~ .custom-control-label {
  color: var(--mbws-bds-primary);
  font-weight: 600;
}

.input-group {
  height: 48px;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  background-color: #fff;
}
.input-group.h-100 {
  height: 100%;
}
.input-group .selecte-input {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.input-group .selecte-input:hover {
  background-color: #f5f5f5;
}
.input-group .selecte-input::after {
  content: "";
  display: inline-block;
  margin-left: auto;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 4px 0 4px;
  border-color: #666 transparent transparent transparent;
}

.more-filters .more-options {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
  transition: all 0.2s ease;
}
.more-filters .more-options:hover {
  background-color: #f5f5f5;
  border-color: var(--mbws-bds-primary);
  color: var(--mbws-bds-primary);
}
.more-filters .more-options svg {
  fill: currentColor;
}

.re-search-form-inner {
  margin-bottom: 0;
}
.re-search-form-inner .re-field-keyword input {
  height: 48px !important;
  border-radius: 8px !important;
  margin-bottom: 0;
  border: 1px solid #ced4da;
}
.re-search-form-inner .re-field-keyword input::placeholder {
  color: #000;
}
.re-search-form-inner .re-search-basic {
  display: flex;
  flex-flow: row wrap;
  gap: 20px;
  align-items: center;
}
.re-search-form-inner .re-search-basic .re-search-field {
  background: #F0F0F0;
  padding: 10px;
  border-radius: 8px;
}
.re-search-form-inner .re-search-basic .re-field-keyword {
  width: 40%;
}
@media (max-width: 768px) {
  .re-search-form-inner .re-search-basic .re-field-keyword {
    width: 100%;
  }
}
.re-search-form-inner .re-search-basic .re-field-category {
  width: 35%;
}
@media (max-width: 768px) {
  .re-search-form-inner .re-search-basic .re-field-category {
    width: 80%;
  }
}
.re-search-form-inner .re-search-basic .re-field-category .select2-selection__rendered li {
  margin: 0;
}
.re-search-form-inner .re-search-basic .re-field-category .select2-selection.select2-selection--multiple {
  padding: 0 10px;
  height: 48px;
  border: 1px solid #ced4da;
  border-radius: 8px;
}
.re-search-form-inner .re-search-basic .re-search-toggle {
  width: calc(25% - 40px);
}
@media (max-width: 768px) {
  .re-search-form-inner .re-search-basic .re-search-toggle {
    width: calc(20% - 20px);
  }
}
.re-search-form-inner .re-search-basic .re-search-toggle .re-show-more-btn {
  margin: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  gap: 8px;
  color: #495057;
}
@media (max-width: 768px) {
  .re-search-form-inner .re-search-basic .re-search-toggle .re-show-more-btn .re-show-more-text {
    display: none;
  }
}
.re-search-form-inner .re-field-submit {
  margin-top: 20px;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 30px;
}
.re-search-form-inner .re-field-submit button {
  padding: 8px 24px;
  font-size: 14px;
  font-weight: 400;
  border-radius: 4px;
  transition: all 0.2s ease;
  margin: 0 !important;
}

.btn {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}
.btn.btn-primary {
  background-color: var(--mbws-bds-primary);
  border-color: var(--mbws-bds-primary);
}
.btn.btn-primary:hover {
  background-color: var(--mbws-bds-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
.btn.btn-outline-secondary {
  border-color: #ddd;
  color: #666;
  background-color: #fff;
}
.btn.btn-outline-secondary:hover {
  background-color: #f5f5f5;
  border-color: #999;
  color: #333;
}
.btn.btn-secondary {
  background-color: #6c757d;
  border-color: #6c757d;
  color: #fff;
}
.btn.btn-secondary:hover {
  background-color: #5a6268;
}

.modal .modal-dialog {
  max-width: 800px;
}
.modal .modal-header {
  border-bottom: 1px solid #ddd;
  padding: 20px 30px;
}
.modal .modal-header .modal-title {
  font-size: 20px;
  font-weight: 700;
  color: #333;
}
.modal .modal-header .btn-close {
  cursor: pointer;
}
.modal .modal-body {
  padding: 30px;
}
.modal .modal-footer {
  border-top: 1px solid #ddd;
  padding: 20px 30px;
  justify-content: space-between;
}

.form-group label {
  font-weight: 600;
  font-size: 14px;
  color: #333;
  margin-bottom: 10px;
  display: block;
}
.form-group .input-group {
  display: flex;
  gap: 10px;
}
.form-group .input-group input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}
.form-group .input-group input:focus {
  outline: none;
  border-color: var(--mbws-bds-primary);
}

.filter-pill-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.filter-pill-container .button input[type=checkbox] {
  display: none;
}
.filter-pill-container .button span {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  background-color: #fff;
  color: #666;
}
.filter-pill-container .button:hover span, .filter-pill-container .button.active span {
  background-color: var(--mbws-bds-primary);
  border-color: var(--mbws-bds-primary);
  color: #fff;
}

.amenities-container .amenity-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  cursor: pointer;
  font-size: 14px;
}
.amenities-container .amenity-item input[type=checkbox] {
  cursor: pointer;
}
.amenities-container .amenity-item:hover {
  color: var(--mbws-bds-primary);
}
.amenities-container .hidden-amenity {
  display: none;
}

/* Select2 - Hide selected options */
.select2-results__option[aria-selected=true] {
  display: none;
}

/* Custom Dropdown Styling */
.custom-dropdown {
  position: relative;
  width: 100%;
}
.custom-dropdown .custom-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 48px;
  margin-bottom: 0;
  padding: 0 15px;
  background: #fff;
  border: 1px solid #ced4da;
  border-radius: 8px;
  font-size: 14px;
  color: #000;
  cursor: pointer;
  transition: all 0.2s ease;
  margin: 0 !important;
  font-weight: 400;
}
.custom-dropdown .custom-dropdown-toggle:hover {
  border-color: #999;
}
.custom-dropdown .custom-dropdown-toggle:focus {
  outline: none;
  border-color: var(--mbws-bds-primary);
  box-shadow: 0 0 0 3px rgba(68, 96, 132, 0.1);
}
.custom-dropdown .custom-dropdown-toggle .selected-text {
  flex: 1;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1rem;
}
.custom-dropdown .custom-dropdown-toggle .dropdown-arrow {
  margin-left: 8px;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.custom-dropdown.active .custom-dropdown-toggle {
  border-color: var(--mbws-bds-primary);
}
.custom-dropdown.active .custom-dropdown-toggle .dropdown-arrow {
  transform: rotate(180deg);
}
.custom-dropdown .custom-dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
}
.custom-dropdown .custom-dropdown-menu.show {
  display: block;
}
.custom-dropdown .custom-dropdown-item {
  padding: 10px 15px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  transition: all 0.2s ease;
}
.custom-dropdown .custom-dropdown-item:hover {
  background-color: #f5f5f5;
}
.custom-dropdown .custom-dropdown-item.selected {
  background-color: var(--mbws-bds-primary);
  color: #fff;
  font-weight: 600;
}
.custom-dropdown .custom-dropdown-item:first-child {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}
.custom-dropdown .custom-dropdown-item:last-child {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}
.custom-dropdown input[type=hidden] {
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
}

#re-advanced-search {
  max-width: 490px;
  padding: 30px;
  border-radius: 10px;
}
#re-advanced-search .re-search-field {
  margin-bottom: 20px;
}
#re-advanced-search .re-search-field select {
  height: 48px;
  border-radius: 5px;
}
#re-advanced-search .re-search-field > label {
  font-weight: 400;
  font-size: 1.1rem;
}
#re-advanced-search .re-search-field .re-price-range {
  display: flex;
}
#re-advanced-search .re-search-field .re-price-range input {
  height: 48px;
}
#re-advanced-search .re-search-field .re-price-range input[name=min_price] {
  border-radius: 5px 0 0 5px;
  margin-right: -1px;
}
#re-advanced-search .re-search-field .re-price-range input[name=max_price] {
  border-radius: 0 5px 5px 0;
}
#re-advanced-search .re-search-field .re-checkbox-group {
  display: flex;
  gap: 0 10px;
  flex-wrap: wrap;
}
#re-advanced-search .re-search-field .re-checkbox-group input[type=checkbox] {
  display: none;
}
#re-advanced-search .re-search-field .re-checkbox-group input:checked + span {
  background-color: var(--mbws-bds-primary);
  color: #fff;
  border-color: var(--mbws-bds-primary);
}
#re-advanced-search .re-search-field .re-checkbox-group span {
  font-weight: 400;
  border-radius: 10px;
  border: 1px solid #212529;
  padding: 0 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: block;
  margin-bottom: 10px;
}
#re-advanced-search .re-search-field .re-checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#re-advanced-search .re-search-field .re-checkbox-list .re-checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 400;
  font-size: 14px;
}
#re-advanced-search .re-search-field .re-checkbox-list .re-checkbox-label input[type=checkbox] {
  appearance: none;
  width: 18px;
  height: 18px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-right: 12px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  flex-shrink: 0;
  margin-bottom: 0;
  margin-top: 0;
}
#re-advanced-search .re-search-field .re-checkbox-list .re-checkbox-label input[type=checkbox]:checked {
  background-color: #2196f3;
  border-color: #2196f3;
}
#re-advanced-search .re-search-field .re-checkbox-list .re-checkbox-label input[type=checkbox]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
#re-advanced-search .re-search-field .re-checkbox-list .re-checkbox-label input[type=checkbox]:hover {
  border-color: #2196f3;
}
#re-advanced-search .re-search-field .re-checkbox-list .re-checkbox-label span {
  flex: 1;
}

/* Custom Checkbox for Multi-Select Dropdown */
.custom-dropdown-multi .custom-dropdown-menu {
  padding: 8px 0;
}
.custom-dropdown-multi .custom-dropdown-item-checkbox {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin: 0;
  font-weight: 400;
}
.custom-dropdown-multi .custom-dropdown-item-checkbox:hover {
  background-color: #f0f7ff;
}
.custom-dropdown-multi .custom-dropdown-item-checkbox input[type=checkbox] {
  appearance: none;
  width: 18px;
  height: 18px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-right: 12px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  flex-shrink: 0;
  margin-bottom: 0;
  margin-top: 0;
}
.custom-dropdown-multi .custom-dropdown-item-checkbox input[type=checkbox]:checked {
  background-color: #2196f3;
  border-color: #2196f3;
}
.custom-dropdown-multi .custom-dropdown-item-checkbox input[type=checkbox]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.custom-dropdown-multi .custom-dropdown-item-checkbox input[type=checkbox]:hover {
  border-color: #2196f3;
}
.custom-dropdown-multi .custom-dropdown-item-checkbox .checkbox-label {
  flex: 1;
  font-size: 14px;
  color: #333;
  user-select: none;
}

/* Property Info Component */
.re-property-info {
  margin-bottom: 30px;
}
.re-property-info-title {
  margin: 0 0 20px 0;
  font-weight: 600;
}
.re-property-info-grid {
  display: grid;
  grid-template-columns: repeat(var(--re-columns, 2), 1fr);
  gap: var(--re-gap, 15px);
}
.re-property-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px;
  background: #fff;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.re-property-info-item .re-info-icon {
  font-size: 20px;
  color: var(--mbws-bds-primary, #446084);
  margin-top: 2px;
  flex-shrink: 0;
}
.re-property-info-item .re-info-content {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  flex: 1;
}
.re-property-info-item .re-info-label {
  font-size: 1rem;
  color: #212529;
  font-weight: 500;
  min-width: 70px;
}
.re-property-info-item .re-info-value {
  font-size: 1rem;
  color: #212529;
  text-align: right;
}

/* Amenities Component (Tiện ích) */
.re-tien-ich {
  margin-bottom: 30px;
}
.re-tien-ich-title {
  margin: 0 0 20px 0;
  font-weight: 600;
}
.re-tien-ich-grid {
  display: grid;
  grid-template-columns: repeat(var(--re-columns, 2), 1fr);
  gap: var(--re-gap, 15px);
}
.re-tien-ich-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  background: #fff;
  border-radius: 6px;
  font-size: 1rem;
  transition: all 0.2s ease;
}
.re-tien-ich-item i {
  font-size: 16px;
  color: var(--mbws-bds-secondary, #7a9c59);
  flex-shrink: 0;
}
.re-tien-ich-item span {
  color: #212529;
  font-weight: 500;
}

/* Product Listing Metadata */
.re-product-address {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 0px;
  margin-bottom: 10px;
  font-size: 14px;
  color: #333;
}
.re-product-address i {
  font-size: 14px;
  width: 16px;
  text-align: center;
}
.re-product-address span {
  font-weight: 400;
}

.re-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 15px;
  margin-top: 10px;
  margin-bottom: 0px;
  font-size: 14px;
  color: #666;
}
.re-product-meta .re-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  line-height: 1.4;
}
.re-product-meta .re-meta-item i {
  font-size: 15px;
  color: #d1d1d1;
  width: 16px;
  text-align: center;
}
.re-product-meta .re-meta-item span {
  font-weight: 400;
  color: #212529;
  margin-left: 5px;
}
.re-product-meta .re-meta-item.re-meta-address {
  flex-basis: 100%;
  color: #333;
}
.re-product-meta .re-meta-item.re-meta-address i {
  color: var(--mbws-bds-primary, #2196f3);
}

@media (max-width: 991px) {
  .mbws-bds-search-wrapper .eps-widget31 {
    padding: 20px;
  }
  .more-filters .more-options span.d-none {
    display: none !important;
  }
}
@media (max-width: 767px) {
  .global-search-div {
    flex-direction: column;
    align-items: stretch;
  }
  .global-search-div .selecte-input {
    border-bottom: 1px solid #ddd;
  }
  .filter-pill-container .button span {
    padding: 6px 12px;
    font-size: 13px;
  }
  .re-property-info-grid,
  .re-tien-ich-grid {
    grid-template-columns: 1fr !important;
  }
}/*# sourceMappingURL=frontend.css.map */