/* ===== FILTER MODAL ===== */
#modal-filter .modal-custom__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
#modal-filter .modal-custom__footer {
  justify-content: space-between;
  margin-top: auto;
}
#modal-filter .modal-custom__btn--cancel {
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #374151;
}
#modal-filter .modal-custom__btn--cancel:hover {
  background: #f9fafb;
}
#modal-filter .modal-custom__btn--confirm {
  background: #dc2626;
  color: #fff;
}
#modal-filter .modal-custom__btn--confirm:hover {
  background: #b91c1c;
}

.filter-modal {
  /* Form */
  /* Transaction Type Tabs */
  /* Filter Sections */
  /* Room List */
  /* Direction Chart */
  /* Tags */
  /* Field Button */
  /* Badge */
  /* Verified Section */
  /* Toggle Switch */
  /* Legacy styles (keep for backward compatibility) */
}
.filter-modal__dialog {
  max-width: 860px;
  margin: 8vh auto;
  border-radius: 16px;
}
.filter-modal__form {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.filter-modal__transaction-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  position: relative;
}
.filter-modal__transaction-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.filter-modal__transaction-input:checked + .filter-modal__transaction-tab {
  background: #374151;
  color: #fff;  
}
.filter-modal__transaction-tab {
  flex: 1;
  padding: 7px 10px;
  border: none;
  background: #f3f4f6;
  color: #6b7280;
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  display: block;
}
.filter-modal__transaction-tab:hover {
  background: #e5e7eb;
}
.filter-modal__transaction-tab.is-active {
  background: #374151;
  color: #fff;
}
.filter-modal__sections {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.filter-modal__section {
  padding-bottom: 10px;
  border-bottom: 1px solid #f3f4f6;
}
.filter-modal__section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.filter-modal__section-header {
  margin-bottom: 5px;
}
.filter-modal__section-title {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.filter-modal__section-content {

}
.filter-modal__room-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.filter-modal__room-item {
  position: relative;
}
.filter-modal__room-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.filter-modal__room-checkbox:checked + .filter-modal__room-label {
  background: #dc2626;
  color: #fff;
  border-color: #dc2626;
}
.filter-modal__room-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 36px;
  padding: 0 20px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  font-size: 15px;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}
.filter-modal__room-label:hover {
  background: #e5e7eb;
  border-color: #d1d5db;
}
.filter-modal__direction-chart {
  padding: 20px;
  position: relative;
  width: fit-content;
  margin: 0 auto;
}
.filter-modal__direction-svg {
  width: 100%;
  max-width: 280px;
  height: 280px;
  cursor: pointer;
  display: block;
  transform: rotate(-23deg);
}
.filter-modal__direction-segment {
  cursor: pointer;
  transition: fill 0.2s ease;
  fill: #e5e7eb;
  stroke: #fff;
  stroke-width: 1;
}
.filter-modal__direction-segment:hover {
  fill: #fca5a5;
}
.filter-modal__direction-segment.is-selected {
  fill: #dc2626;
}
.filter-modal__direction-text {
  font-size: 11px;
  fill: #374151;
  font-weight: 500;
  pointer-events: none;
  user-select: none;
  position: absolute;
}
.filter-modal__direction-text.selected {
  color: white;
}
.filter-modal__direction-text:nth-child(1) {
  left: 50%;
  top: 75px;
  transform: translateX(-50%);
}
.filter-modal__direction-text:nth-child(2) {
  top: 33%;
  left: 59%;
}
.filter-modal__direction-text:nth-child(3) {
  top: 47%;
  left: 69%;
}
.filter-modal__direction-text:nth-child(4) {
  top: 61%;
  left: 58%;
}
.filter-modal__direction-text:nth-child(5) {
  top: 71%;
  left: 46%;
}
.filter-modal__direction-text:nth-child(6) {
  top: 64%;
  left: 26%;
}
.filter-modal__direction-text:nth-child(7) {
  top: 49%;
  left: 23%;
}
.filter-modal__direction-text:nth-child(8) {
  top: 30%;
  left: 27%;
}
.filter-modal__direction-checkbox-hidden {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}
.filter-modal__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.filter-modal__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #f3f4f6;
  border-radius: 6px;
  font-size: 14px;
  color: #374151;
}
.filter-modal__tag-remove {
  background: none;
  border: none;
  font-size: 18px;
  line-height: 1;
  color: #6b7280;
  cursor: pointer;
  padding: 0;
  margin-left: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}
.filter-modal__tag-remove:hover {
  color: #111827;
}
.filter-modal__add-more {
  background: none;
  border: none;
  color: #dc2626;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
}
.filter-modal__add-more:hover {
  color: #b91c1c;
}
.filter-modal__field {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  position: relative;
}
.filter-modal__field:hover {
  border-color: #d1d5db;
  background: #f9fafb;
}
.filter-modal__field-select {
  flex: 1;
  font-size: 15px;
  color: #111827;
  border: none;
  background: transparent;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 0;
  margin: 0;
  width: 100%;
}
.filter-modal__field-select:focus {
  outline: none;
}
.filter-modal__field-icon {
  font-size: 20px;
  color: #6b7280;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}
.filter-modal__field-icon.material-icons-outlined {
  font-size: 20px;
}
.filter-modal__field-text {
  flex: 1;
  font-size: 15px;
  color: #111827;
}
.filter-modal__field-arrow {
  font-size: 20px;
  color: #9ca3af;
  flex-shrink: 0;
  pointer-events: none;
}
.filter-modal__badge {
  display: inline-block;
  padding: 2px 8px;
  background: #10b981;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.filter-modal__verified-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.filter-modal__verified-label {
  font-size: 15px;
  font-weight: 500;
  color: #111827;
  cursor: pointer;
}
.filter-modal__toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  cursor: pointer;
}
.filter-modal__toggle-input {
  opacity: 0;
  width: 0;
  height: 0;
}
.filter-modal__toggle-input:checked + .filter-modal__toggle-slider {
  background-color: #10b981;
}
.filter-modal__toggle-input:checked + .filter-modal__toggle-slider:before {
  transform: translateX(20px);
}
.filter-modal__toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #d1d5db;
  transition: 0.3s;
  border-radius: 24px;
}
.filter-modal__toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}
.filter-modal__verified-content {
  padding-left: 0;
}
.filter-modal__verified-text {
  font-size: 14px;
  color: #6b7280;
  margin: 0 0 8px 0;
}
.filter-modal__verified-list {
  margin: 0;
  padding-left: 20px;
  list-style: disc;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.6;
}
.filter-modal__verified-list li {
  margin-bottom: 4px;
}
.filter-modal__tabs {
  display: flex;
  gap: 12px;
  padding: 0 5px 15px;
  border-bottom: 1px solid #eee;
  overflow-x: auto;
  margin-bottom: 15px;
}
.filter-modal__tab {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s ease;
}
.filter-modal__tab:hover {
  border-color: #2563eb;
  color: #2563eb;
}
.filter-modal__tab.is-active {
  border-color: #2563eb;
  color: #2563eb;
  font-weight: 600;
  background: rgba(37, 99, 235, 0.1);
}
.filter-modal__panel {
  display: none;
}
.filter-modal__panel.is-active {
  display: block;
  animation: fadeIn 0.3s ease;
}
.filter-modal__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.filter-modal__col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.filter-modal__option {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  cursor: pointer;
}
.filter-modal__option input {
  width: 18px;
  height: 18px;
  border: 2px solid #666;
}
.filter-modal__label {
  line-height: 1.4;
}

/* ===== PROPERTY TYPE MODAL ===== */
.property-type-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 16px 20px;
}
.property-type-modal__back {
  position: absolute;
  left: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111827;
  z-index: 1;
}
.property-type-modal__back .material-icons-outlined {
  font-size: 24px;
}
.property-type-modal__back:hover {
  color: #374151;
}
.property-type-modal__body {
  padding: 0;
  max-height: calc(90vh - 140px);
}
.property-type-modal__list {
  display: flex;
  flex-direction: column;
}
.property-type-modal__group {
  display: flex;
  flex-direction: column;
}
.property-type-modal__subitems {
  padding-left: 48px;
  display: flex;
  flex-direction: column;
}
.property-type-modal__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid #f3f4f6;
}
.property-type-modal__item:hover {
  background-color: #f9fafb;
}
.property-type-modal__item--parent {
  font-weight: 500;
}
.property-type-modal__item--child {
  padding-left: 20px;
  font-weight: 400;
}
.property-type-modal__icon {
  font-size: 24px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.property-type-modal__label {
  flex: 1;
  font-size: 15px;
  color: #111827;
  user-select: none;
}
.property-type-modal__checkbox {
  width: 20px;
  height: 20px;
  min-width: 20px;
  cursor: pointer;
  accent-color: #dc2626;
  flex-shrink: 0;
  margin: 0;
}
.property-type-modal__reset {
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #374151;
}
.property-type-modal__reset:hover {
  background: #f9fafb;
}
.property-type-modal__apply {
  background: #dc2626;
  color: #fff;
}
.property-type-modal__apply:hover {
  background: #b91c1c;
}

#modal-property-type .modal-custom__title {
  flex: 1;
  text-align: center;
  margin: 0;
}
#modal-property-type .modal-custom__header {
  padding: 16px 20px;
}

/* ===== PRICE RANGE MODAL ===== */
.price-range-modal {
  /* Custom Price Input */
  /* Price Range List */
}
.price-range-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 16px 20px;
}
.price-range-modal__back {
  position: absolute;
  left: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111827;
  z-index: 1;
}
.price-range-modal__back .material-icons-outlined {
  font-size: 24px;
}
.price-range-modal__back:hover {
  color: #374151;
}
.price-range-modal__body {
  padding: 20px;
  max-height: calc(90vh - 140px);
}
.price-range-modal__custom {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #f3f4f6;
}
.price-range-modal__input-group {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}
.price-range-modal__input-label {
  font-size: 14px;
  color: #6b7280;
  white-space: nowrap;
}
.price-range-modal__input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 15px;
  color: #111827;
  min-width: 0;
  width: 100%;
}
.price-range-modal__input:focus {
  outline: none;
  border-color: #dc2626;
}
.price-range-modal__unit {
  font-size: 14px;
  color: #6b7280;
  white-space: nowrap;
}
.price-range-modal__arrow {
  font-size: 18px;
  color: #9ca3af;
  font-weight: 500;
}
.price-range-modal__list {
  display: flex;
  flex-direction: column;
  max-height: 300px;
  overflow-y: auto;
}
.price-range-modal__item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 0;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid #f9fafb;
}
.price-range-modal__item:hover {
  background-color: #f9fafb;
}
.price-range-modal__item:last-child {
  border-bottom: none;
}
.price-range-modal__radio {
  width: 14px;
  height: 14px;
  cursor: pointer;
  accent-color: #dc2626;
  flex-shrink: 0;
  margin: 0;
}
.price-range-modal__label {
  flex: 1;
  font-size: 15px;
  color: #111827;
  user-select: none;
}
.price-range-modal__reset {
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #374151;
}
.price-range-modal__reset:hover {
  background: #f9fafb;
}
.price-range-modal__apply {
  background: #dc2626;
  color: #fff;
}
.price-range-modal__apply:hover {
  background: #b91c1c;
}

#modal-price-range .modal-custom__title {
  flex: 1;
  text-align: center;
  margin: 0;
}
#modal-price-range .modal-custom__header {
  padding: 16px 20px;
}

/* ===== AREA SIZE MODAL ===== */
.area-size-modal {
  /* Custom Area Input */
  /* Area Size List */
}
.area-size-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 16px 20px;
}
.area-size-modal__back {
  position: absolute;
  left: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111827;
  z-index: 1;
}
.area-size-modal__back .material-icons-outlined {
  font-size: 24px;
}
.area-size-modal__back:hover {
  color: #374151;
}
.area-size-modal__body {
  padding: 20px;
  max-height: calc(90vh - 140px);
}
.area-size-modal__custom {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #f3f4f6;
}
.area-size-modal__input-group {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}
.area-size-modal__input-label {
  font-size: 14px;
  color: #6b7280;
  white-space: nowrap;
}
.area-size-modal__input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 15px;
  color: #111827;
  min-width: 0;
  width: 100%;
}
.area-size-modal__input:focus {
  outline: none;
  border-color: #dc2626;
}
.area-size-modal__unit {
  font-size: 14px;
  color: #6b7280;
  white-space: nowrap;
}
.area-size-modal__arrow {
  font-size: 18px;
  color: #9ca3af;
  font-weight: 500;
}
.area-size-modal__list {
  display: flex;
  flex-direction: column;
  max-height: 300px;
  overflow-y: auto;
}
.area-size-modal__item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 0;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid #f9fafb;
}
.area-size-modal__item:hover {
  background-color: #f9fafb;
}
.area-size-modal__item:last-child {
  border-bottom: none;
}
.area-size-modal__radio {
  width: 14px;
  height: 14px;
  cursor: pointer;
  accent-color: #dc2626;
  flex-shrink: 0;
  margin: 0;
}
.area-size-modal__label {
  flex: 1;
  font-size: 15px;
  color: #111827;
  user-select: none;
}
.area-size-modal__reset {
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #374151;
}
.area-size-modal__reset:hover {
  background: #f9fafb;
}
.area-size-modal__apply {
  background: #dc2626;
  color: #fff;
}
.area-size-modal__apply:hover {
  background: #b91c1c;
}

#modal-area-size .modal-custom__title {
  flex: 1;
  text-align: center;
  margin: 0;
}
#modal-area-size .modal-custom__header {
  padding: 16px 20px;
}

/* ===== AREA & PROJECT MODAL ===== */
.area-project-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 16px 20px;
}
.area-project-modal__back {
  position: absolute;
  left: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111827;
  z-index: 1;
}
.area-project-modal__back .material-icons-outlined {
  font-size: 24px;
}
.area-project-modal__back:hover {
  color: #374151;
}
.area-project-modal__body {
  padding: 20px;
  max-height: calc(90vh - 140px);
}
.area-project-modal__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.area-project-modal__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.area-project-modal__label {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
}
.area-project-modal__select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 15px;
  color: #111827;
  background: #fff;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 40px;
  transition: border-color 0.2s ease;
}
.area-project-modal__select:focus {
  outline: none;
  border-color: #dc2626;
}
.area-project-modal__select:hover {
  border-color: #d1d5db;
}
.area-project-modal__reset {
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #374151;
}
.area-project-modal__reset:hover {
  background: #f9fafb;
}
.area-project-modal__apply {
  background: #dc2626;
  color: #fff;
}
.area-project-modal__apply:hover {
  background: #b91c1c;
}

#modal-area-project .modal-custom__title {
  flex: 1;
  text-align: center;
  margin: 0;
}
#modal-area-project .modal-custom__header {
  padding: 16px 20px;
}
/*# sourceMappingURL=maps/filter-modal.css.map */
