/* Color Variables */
:root {
  --yellow: #f9d20a;
  --green: #20603d;
  --blue: #10a2dd;
  --blue-dark: #0d8bc7;
}

/* 🌟 Global Container */
.search-container {
  max-width: 800px;
  background: #ffffff;
  border-radius: 0px;
  border: 1px solid #eee;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* 🔍 Field Group */
.form-field-group {
  position: relative;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

/* 🎯 Icon Alignment */
.field-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blue);
  font-size: 18px;
  z-index: 2;
  pointer-events: none;
  transition: color 0.3s ease;
}

/* 🏷️ Label Styling */
.form-label {
  font-weight: 600;
  margin-bottom: 8px;
  color: #222;
  display: block;
}

/* ✏️ Inputs + Selects */
.form-field-group .form-select,
.form-field-group .form-control,
.form-field-group .select2-container--default .select2-selection--single {
  width: 100%;
  padding-left: 45px;
  height: 45px;
  border-radius: 0px;
  border: 2px solid #fff;
  background-color: var(--yellow);
  font-size: 15px;
  transition: all 0.3s ease;
}

.form-field-group .form-control {
  padding-right: 60px;
  background-color: #fff;
}

/* 🧠 Focus Effect */
.form-field-group .form-select:focus,
.form-field-group .form-control:focus,
.select2-container--default .select2-selection--single:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(16, 162, 221, 0.2);
  outline: none;
}

/* ✨ Hover Effect */
.form-field-group:hover .field-icon {
  color: var(--blue);
}

/* Search Button inside input */
.form-field-group .btn {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  height: 35px;
  padding: 0 15px;
  z-index: 3;
}

/* Search Cards & Inputs */
.search-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 0px;
  padding: 2rem;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  backdrop-filter: blur(10px);
}

.search-main-input {
  border: 2px solid var(--blue);
  margin-bottom: 1.5rem;
}

.search-main-input .input-group {
  border-radius: 0px;
  overflow: hidden;
}

.search-main-input .input-group-text {
  background: white;
  border: none;
  padding: 0.75rem 1rem;
  color: var(--blue);
}

.search-main-input .form-control {
  border: none;
  padding: 0.75rem;
  font-size: 1rem;
  background: white;
}

.search-main-input .form-control:focus {
  box-shadow: none;
  outline: none;
}

.search-main-input .btn {
  padding: 0.75rem 2rem;
  border-radius: 0px;
  font-weight: 600;
  background: var(--blue);
  border: none;
  position: static;
  transform: none;
  height: auto;
}

.search-main-input .btn:hover {
  background: var(--blue-dark);
}

/* Buttons */
.btn-group-vertical .btn.btn-flat:first-of-type,
.btn-group-vertical .btn.btn-flat:last-of-type,
.btn.btn-flat {
  border-radius: 0;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px,
    rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.btn.btn-flat {
  border-width: 1px;
}

.search-btn {
  width: 100%;
  padding: 12px;
  background: var(--blue);
  color: white;
  border: none;
  border-radius: 0px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.search-btn:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}

.btn-view {
  flex: 1;
  background: var(--blue);
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 0px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
  font-size: 0.9rem;
}

.btn-view:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  color: white;
}

.btn-save {
  background: transparent;
  border: 1px solid #e2e8f0;
  color: #4a5568;
  padding: 10px 15px;
  border-radius: 0px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-save:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.apply-filters {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 0px;
  font-weight: 600;
  width: 100%;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.apply-filters:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(16, 162, 221, 0.3);
}

.reset-filters {
  background: transparent;
  color: #718096;
  border: 1px solid #e2e8f0;
  padding: 10px 20px;
  border-radius: 0px;
  font-weight: 500;
  width: 100%;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 8px;
}

.reset-filters:hover {
  color: var(--blue);
  border-color: var(--blue);
}

/* Select Dropdown Styles */
.hero
  .hero-content
  .search-container
  .property-search-form
  .search-field
  select,
.form-field-group .form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
  padding-right: 2rem;
}

select::after {
  content: "\f078";
  font-family: "Font Awesome 7 Pro";
  font-weight: 300;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #6b7280;
}

/* 🔄 Search Results Dropdown */
.search-results {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  color: #fff;
  background: var(--blue);
  border-radius: 0px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 100;
  overflow: hidden;
}

.search-section {
  padding: 12px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.search-section:last-child {
  border-bottom: none;
}

.section-title {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* 🏷️ Tags */
.search-tags,
.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-tag,
.tag-btn {
  padding: 5px 10px;
  background: var(--yellow);
  border-radius: 0px;
  font-size: 13px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
  display: inline-block;
}

.tag-btn {
  background: #f7fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 0.5rem 1rem;
  color: #4a5568;
  font-size: 0.9rem;
}

.search-tag:hover,
.tag-btn:hover {
  background: #fff;
  color: var(--blue);
  transform: translateY(-2px);
  text-decoration: none;
}

.tag-btn:hover {
  border-color: var(--blue);
}

/* 🧱 Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.service-btn {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  background: var(--yellow);
  border: 1px solid transparent;
  border-radius: 0px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.service-btn:hover {
  background: #fff;
  color: var(--blue);
  text-decoration: none;
}

.service-btn:hover .service-icon {
  color: var(--blue);
}

.service-icon {
  margin-right: 10px;
  color: var(--blue);
  font-size: 18px;
  transition: color 0.3s ease;
}

.service-name {
  font-size: 14px;
  font-weight: 500;
}

/* 🧹 Clear Recent */
.clear-recent {
  font-size: 12px;
  color: #fff;
  cursor: pointer;
  float: right;
  transition: color 0.3s ease;
  background: none;
  border: none;
}

.clear-recent:hover {
  color: var(--yellow);
  text-decoration: underline;
}

/* Search Header */
.search-header {
  padding: 20px;
  color: white;
  text-align: center;
}

.search-header h3 {
  margin: 0;
  font-weight: 700;
}

.search-header p {
  margin: 5px 0 0;
  opacity: 0.9;
}

/* Nav Tabs */
.nav-underline .nav-link {
  color: #666;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 12px 15px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-underline .nav-link.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
  background: transparent;
}

.nav-underline .nav-link:hover {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

/* Tab Content */
.tab-content {
  padding: 20px;
}

/* Property Search Section */
.property-search {
  background: linear-gradient(135deg, var(--blue) 0%, var(--yellow) 100%);
  padding: 80px 0;
  color: white;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 1rem;
  color: white;
}

.advanced-filters .form-label {
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 0.5rem;
}

.advanced-filters .form-select {
  border-radius: 0px;
  border: 2px solid #e2e8f0;
  padding: 0.75rem;
}

.advanced-filters .form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(16, 162, 221, 0.1);
}

.filter-toggle-link {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.filter-toggle-link:hover {
  color: var(--blue-dark);
}

.quick-search-tags {
  border-top: 1px solid #e2e8f0;
  padding-top: 1.5rem;
}

.tags-title {
  color: #4a5568;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Animation Classes */
.rotated {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

.search-main-input .input-group:focus-within {
  transform: translateY(-2px);
  transition: transform 0.3s ease;
}

.filter-title[aria-expanded="true"] .fa-chevron-down {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

.filter-title[aria-expanded="false"] .fa-chevron-down {
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}

/* Full Screen Layout */
.full-screen-layout {
  display: flex;
  min-height: calc(100vh - 160px);
  background: #f8f9fa;
}

/* Sidebar Styles */
.sidebar {
  width: 350px;
  background: white;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.08);
  overflow-y: auto;
  position: relative;
  z-index: 100;
}

.sidebar-content {
  padding: 30px 25px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.sidebar-header {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f0f0f0;
}

.sidebar-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--yellow) 100%);
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
}

.sidebar-company {
  font-size: 1.2rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 5px;
}

.sidebar-tagline {
  color: #718096;
  font-size: 0.85rem;
}

/* Filter Section */
.filter-section {
  margin-bottom: 25px;
}

.filter-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-title i {
  margin-right: 8px;
  color: var(--blue);
}

.filter-group {
  margin-bottom: 20px;
}

.filter-label {
  display: block;
  font-weight: 500;
  color: #4a5568;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.filter-select,
.filter-input {
  width: 100%;
  padding: 10px 12px;
  border: 2px solid #e2e8f0;
  border-radius: 0px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  background: white;
}

.filter-select:focus,
.filter-input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(16, 162, 221, 0.1);
}

/* Checkbox and Radio Styles */
.filter-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-option {
  display: flex;
  align-items: center;
  padding: 8px 0;
  cursor: pointer;
}

.filter-option input {
  margin-right: 10px;
  transform: scale(1.1);
}

.filter-option label {
  cursor: pointer;
  color: #4a5568;
  font-size: 0.9rem;
}

/* Price Range */
.price-inputs {
  display: flex;
  gap: 10px;
  align-items: center;
}

.price-inputs .filter-input {
  flex: 1;
}

.price-separator {
  color: #718096;
  font-weight: 500;
}

/* Main Content */
.main-content {
  flex: 1;
  padding: 30px;
  background: #f8f9fa;
  overflow-y: auto;
}

/* Results Header */
.results-header,
.search-results-header {
  background: white;
  padding: 25px 30px;
  border-radius: 0px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}

.search-results-header {
  background: linear-gradient(135deg, var(--yellow) 0%, #ffd166 100%);
  color: white;
  padding: 60px 0 40px;
  margin-bottom: 40px;
}

.results-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 10px;
}

.results-count {
  color: #718096;
  font-size: 1rem;
}

.results-stats {
  display: flex;
  gap: 20px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4a5568;
  font-size: 0.9rem;
}

.stat-icon {
  color: var(--blue);
}

/* Property Grid */
.properties-grid {
  display: grid;
  gap: 25px;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

/* Property Card */
.property-card {
  background: white;
  border-radius: 0px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  margin-bottom: 30px;
  height: 100%;
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.property-image {
  height: 250px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--yellow) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.property-card:hover .property-image img {
  transform: scale(1.05);
}

.property-badges {
  position: absolute;
  top: 15px;
  left: 15px;
  display: flex;
  gap: 8px;
}

.property-badge {
  padding: 6px 12px;
  border-radius: 0px;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
}

.badge-featured {
  background: var(--yellow);
  color: #2d3748;
}

.badge-new {
  background: var(--blue);
}

.badge-popular {
  background: #48bb78;
}

.property-content {
  padding: 25px;
}

.property-header {
  margin-bottom: 15px;
}

.property-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 5px;
}

.property-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 10px;
  line-height: 1.4;
}

.property-title a {
  color: #2d3436;
  text-decoration: none;
}

.property-title a:hover {
  color: var(--blue);
}

.property-location {
  color: #718096;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 15px;
}

.property-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 20px 0;
  padding: 15px;
  background: #f7fafc;
  border-radius: 0px;
}

.feature {
  text-align: center;
}

.feature-icon {
  color: var(--blue);
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.feature-value {
  font-weight: 600;
  color: #2d3748;
  font-size: 0.9rem;
}

.feature-label {
  color: #718096;
  font-size: 0.75rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #555;
  font-size: 0.9rem;
}

.property-amenities {
  margin-bottom: 15px;
}

.amenity-tag {
  background: #f8f9fa;
  color: #495057;
  padding: 4px 10px;
  border-radius: 0px;
  font-size: 0.8rem;
  margin-right: 5px;
  margin-bottom: 5px;
  display: inline-block;
  border: 1px solid #e9ecef;
}

.property-details {
  margin-bottom: 20px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #4a5568;
  font-size: 0.85rem;
}

.detail-icon {
  color: var(--yellow);
  width: 16px;
}

.property-actions {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid #e9ecef;
}

.property-status {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 0px;
}

.status-available {
  background: #d4edda;
  color: #155724;
}

.status-occupied {
  background: #f8d7da;
  color: #721c24;
}

/* No Results */
.no-results {
  text-align: center;
  padding: 60px 40px;
  background: white;
  border-radius: 0px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.no-results-icon {
  font-size: 4rem;
  color: var(--blue);
  margin-bottom: 20px;
  opacity: 0.7;
}

.no-results-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 15px;
}

.no-results-message {
  color: #718096;
  margin-bottom: 30px;
}

/* Search Filters */
.search-filters {
  background: white;
  padding: 25px;
  border-radius: 0px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.filter-title {
  font-weight: 600;
  margin-bottom: 15px;
  color: #2d3436;
}

.active-filter {
  background: var(--blue);
  color: white;
  padding: 5px 12px;
  border-radius: 0px;
  font-size: 0.9rem;
  margin-right: 8px;
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.clear-filters {
  color: var(--blue);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.clear-filters:hover {
  color: #e55a2b;
  text-decoration: underline;
}

.search-summary {
  background: #f8f9fa;
  border-radius: 0px;
  padding: 20px;
  margin-bottom: 30px;
}

/* Blog & Article Styles */
.article-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 4rem 0;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.author-avatar,
.post-author-img,
.sidebar-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.post-author-img {
  width: 40px;
  height: 40px;
}

.article-content {
  line-height: 1.8;
  font-size: 1.1rem;
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 2rem 0;
}

.tags-list .badge {
  font-size: 0.875rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.related-post,
.blog-post-card {
  border-radius: 0px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
}

.related-post:hover,
.blog-post-card:hover {
  transform: translateY(-5px);
}

.related-post img,
.blog-post-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.featured-post {
  position: relative;
  border-radius: 0px;
  overflow: hidden;
  height: 500px;
}

.featured-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 2rem;
}

.post-meta .category {
  background: #007bff;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 0px;
  font-size: 0.875rem;
}

.secondary-post {
  border-radius: 0px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.secondary-post img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.tab-post {
  border-bottom: 1px solid #eee;
  padding: 1rem 0;
}

.tab-post:last-child {
  border-bottom: none;
}

/* Map Styles */
#map {
  height: 400px;
  border-radius: 0px;
}

.location-badge {
  font-size: 0.9em;
}

.loading {
  opacity: 0.6;
  pointer-events: none;
}

.error-message {
  color: #dc3545;
  font-size: 0.875em;
  margin-top: 5px;
}

.card {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  border: 1px solid rgba(0, 0, 0, 0.125);
}

/* Select2 Styles */
.select2-container {
  box-sizing: border-box;
  display: inline-block;
  margin: 0;
  position: relative;
  vertical-align: middle;
}

.select2-container .select2-selection--single {
  box-sizing: border-box;
  cursor: pointer;
  display: block;
  height: 38px;
  user-select: none;
  -webkit-user-select: none;
}

.select2-container .select2-selection--single .select2-selection__rendered {
  display: block;
  padding-left: 8px;
  padding-right: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.select2-container--default .select2-selection--single {
  background-color: transparent;
  border: 2px solid #fff;
  border-radius: 0px;
  height: 45px;
  display: flex;
  align-items: center;
  padding: 5px 10px;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  color: #444;
  line-height: 28px;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 26px;
  position: absolute;
  top: 1px;
  right: 1px;
  width: 20px;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow
  b {
  border-color: #fff transparent transparent transparent;
  border-style: solid;
  border-width: 5px 4px 0 4px;
  height: 0;
  left: 50%;
  margin-left: -4px;
  margin-top: -2px;
  position: absolute;
  top: 50%;
  width: 0;
}

.select2-container--default.select2-container--open
  .select2-selection--single
  .select2-selection__arrow
  b {
  border-color: transparent transparent #888 transparent;
  border-width: 0 4px 5px 4px;
}

.select2-dropdown {
  background-color: white;
  border: 2px solid #fff;
  border-radius: 0px;
  box-sizing: border-box;
  display: block;
  position: absolute;
  left: -100000px;
  width: 100%;
  z-index: 1051;
}

.select2-container--open .select2-dropdown {
  left: 0;
}

.select2-results__options {
  list-style: none;
  margin: 0;
  padding: 0;
}

.select2-results__option {
  padding: 6px;
  user-select: none;
  -webkit-user-select: none;
}

.select2-results__option--selectable {
  cursor: pointer;
}

.select2-container--default
  .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: #5897fb;
  color: white;
}

/* Animations */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sidebar {
  animation: fadeInLeft 0.6s ease-out;
}

.property-card {
  animation: fadeInUp 0.6s ease-out;
}

.property-card:nth-child(1) {
  animation-delay: 0.1s;
}
.property-card:nth-child(2) {
  animation-delay: 0.2s;
}
.property-card:nth-child(3) {
  animation-delay: 0.3s;
}

/* 📱 Responsive Design */
@media (max-width: 1024px) {
  .full-screen-layout {
    flex-direction: column;
    min-height: auto;
  }

  .sidebar {
    width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  }

  .main-content {
    padding: 25px 20px;
  }

  .properties-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .property-search {
    padding: 40px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .search-card {
    padding: 1.5rem;
    margin: 0 1rem;
  }

  .search-main-input .btn {
    padding: 0.75rem 1rem;
  }

  .tags-container {
    justify-content: center;
  }

  .sidebar-content {
    padding: 25px 20px;
  }

  .results-header {
    padding: 20px 25px;
  }

  .properties-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .property-features {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .form-field-group .form-select,
  .form-field-group .form-control {
    font-size: 14px;
  }

  .nav-justified .nav-item {
    flex: 1;
  }

  .nav-underline .nav-link {
    padding: 10px 8px;
    font-size: 14px;
  }

  .main-content {
    padding: 20px 15px;
  }

  .results-header {
    padding: 15px 20px;
  }

  .property-content {
    padding: 15px;
  }

  .property-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .main-content {
    padding: 20px 15px;
  }

  .results-header {
    padding: 15px 20px;
  }

  .property-content {
    padding: 15px;
  }

  .property-actions {
    flex-direction: column;
  }
}

/* Scrollbar Styling */
.sidebar::-webkit-scrollbar,
.main-content::-webkit-scrollbar {
  width: 6px;
}

.sidebar::-webkit-scrollbar-track,
.main-content::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.sidebar::-webkit-scrollbar-thumb,
.main-content::-webkit-scrollbar-thumb {
  background: var(--blue);
  border-radius: 0px;
}

.sidebar::-webkit-scrollbar-thumb:hover,
.main-content::-webkit-scrollbar-thumb:hover {
  background: var(--blue-dark);
}
.share-dropdown {
  width: 100%;
}

.share-dropdown .dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 15px;
  transition: all 0.3s ease;
}

.share-dropdown .dropdown-item:hover {
  background-color: #f8f9fa;
}

.share-dropdown .dropdown-item i {
  width: 20px;
  text-align: center;
}

.save-property-btn.saved {
  background-color: #198754;
  border-color: #198754;
  color: white;
}

.save-property-btn.saved .save-text::before {
  content: "Saved";
}

.save-property-btn:not(.saved) .save-text::before {
  content: "Save";
}

/* Share Preview Styles */
.share-preview-card {
  border: 1px solid #dee2e6;
  border-radius: 8px;
  overflow: hidden;
  max-width: 500px;
  margin: 0 auto;
}

.share-preview-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.share-preview-content {
  padding: 15px;
}

.share-preview-content h6 {
  margin-bottom: 10px;
  font-weight: 600;
}

.share-preview-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
}

/* QR Code Styles */
#qrCodeContainer {
  padding: 10px;
  background: white;
  border-radius: 8px;
  display: inline-block;
}
