/* ========== Filter Form ========== */

.filter-form-container {
  display: flex;
  justify-content: center;
}

.filter-form {
  width: 100%;
  max-width: 768px;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(1, 1fr);
  padding: 0.5rem;
  background-color: #ffffff;
}

@media (min-width: 768px) {
  .filter-form {
    grid-template-columns: repeat(4, 1fr);
  }
}


/* ========== Table Wrapper ========== */

.table-wrapper {
  overflow-x: auto;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
  overflow-x: auto;
  background-color: #fff;
  /*padding: 1rem;*/

}
/* ========== Table Structure ========== */

.property-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}

/* Header row styling */
.property-table thead th {
  background-color: #f3f4f6;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
  color: #4b5563;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  white-space: nowrap;
}

/* Indicate sortable columns with cursor change */
.property-table thead th.sortable {
  cursor: pointer;
}

/* Table body cell styling */
.property-table tbody td {
  padding: 0.5rem;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: top;
  /*word-break: break-word;*/
  color: #374151;
}

/* Row hover effect */
.property-table tbody tr:hover {
  background-color: #f9fafb;
}


/* ========== Highlights Tags ========== */

.highlight-tag {
  display: inline-block;
  background-color: #e5e7eb;
  color: #1f2937;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  margin: 0.125rem;
}


/* ========== Status Badge Styles ========== */

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 9999px;
  text-align: left;
}

.status-available {
  background-color: #d1fae5;
  color: #065f46;
}

.status-sold {
  background-color: #fee2e2;
  color: #991b1b;
}

.status-inactive {
  background-color: #e5e7eb;
  color: #4b5563;
}

.status-hold {
  background-color: #ffedd5;
  color: #92400e;
}

.status-negotiation {
  background-color: #fef9c3;
  color: #92400e;
}

.status-default {
  background-color: #dbeafe;
  color: #1e3a8a;
}

/* ===== Base Container Layout ===== */
.max-w-7xl {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem;
}

/* ===== Filter Form Styling ===== */
.filter-form-container {
  background-color: #fff;
  /*padding: 1.5rem;*/
  /*border-radius: 8px;*/
  /*box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);*/
  /*margin-bottom: 2rem;*/
  max-width: 600px;
}

.filter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
}

.form-label {
  font-weight: 600;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.5rem;
}

.form-select {
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  min-width: 200px;
}

.form-button-container {
  flex-grow: 1;
}

.btn-primary {
  background-color: #007185;
  color: #fff;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 2px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}

.btn-primary:hover {
  background-color: #007185;
}

.property-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.property-table thead {
  background-color: #f3f4f6;
  color: #374151;
  font-weight: bold;
}

.property-table th,
.property-table td {
  padding: 0.9rem;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  vertical-align: top;
}

.property-table tbody tr:hover {
  background-color: #f9fafb;
}

.sortable {
  cursor: pointer;
  position: relative;
}

.sortable::after {
  content: ' ⇅';
  font-size: 0.8rem;
  color: #888;
}

.sortable.asc::after {
  content: ' ↑';
}

.sortable.desc::after {
  content: ' ↓';
}

/* ===== Highlight Tags ===== */
.highlight-tag {
  display: inline-block;
  background-color: #e5e7eb;
  color: #111827;
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin: 2px 4px 2px 0;
  white-space: nowrap;
}

/* ===== Status Badges ===== */
.status-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  display: inline-block;
}

.status-available {
  background-color: #d1fae5;
  color: #065f46;
}

.status-sold {
  background-color: #fee2e2;
  color: #991b1b;
}

.status-inactive {
  background-color: #e5e7eb;
  color: #6b7280;
}

.status-negotiation {
  background-color: #fef3c7;
  color: #92400e;
}

.status-hold {
  background-color: #fed7aa;
  color: #c2410c;
}

.status-default {
  background-color: #dbeafe;
  color: #1e40af;
}

/* ===== Heading (Breadcrumb or Title) ===== */
.bed {
    font-size: 1.8em;
    margin: auto;
    /* padding: 15px 2%; */
    text-rendering: optimizeLegibility;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
    text-transform: capitalize;
}



