/* Application styles */
.grid-container {
  display: flex;
  justify-content: center;
  padding: 60px;
}

.card {
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background-color: #fff;
}

.card-body {
  display: flex;
  flex-direction: column;
}

.card-price {
  font-size: 1.5em;
  font-weight: bold;
}

.card-address {
  font-size: 0.875em;
  color: #666;
}

.card-actions {
  display: flex;
  gap: 10px;
}

.btn {
  padding: 8px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
}

.btn-show {
  background-color: #007bff;
  color: #fff;
}

.btn-edit {
  background-color: #ffc107;
  color: #fff;
}

.btn-delete {
  background-color: #dc3545;
  color: #fff;
}

.btn-toggle.active {
  background-color: #3b82f6; /* Blue */
  color: white;
}

.btn-toggle.inactive {
  background-color: #6b7280; /* Gray */
  color: white;
}

.new-property-card {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid;
  border-image-slice: 1;
  border-image-source: linear-gradient(to right, #3b82f6, #a855f7);
  border-radius: 8px;
  height: 100%;
  cursor: pointer;
  transition: transform 0.2s;
}

.new-property-card:hover {
  transform: scale(1.05);
}

.card-content {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  width: 100px;
}

.plus-icon {
  font-size: 2rem;
  color: #3b82f6;
}

#filter-menu {
  height: 100vh; /* Full height for large screens */
  position: sticky;
  top: 0;
  overflow-y: auto;
}

@media (max-width: 1024px) {
  #filter-menu {
    position: fixed; /* Fix the position when opened on small screens */
    top: 0;
    left: 0;
    width: 100%; /* Full width for mobile */
    height: 100vh; /* Full height */
    z-index: 50; /* Ensure it overlays other content */
    background-color: white; /* Match the background */
  }
}

.embed-tool__caption {
  display: none;
}

.swiper-wrapper {
  width: 100%;
  height: max-content !important;
  -webkit-transition-timing-function: linear !important;
  transition-timing-function: linear !important;
  position: relative;
  }
  .swiper-pagination-bullet {
  background: #4f46e5;
  }

  .slider_container {
    width: 100%;
    height: 400px
  }

  @media (max-width: 800px) {
    .slider_container {
      width: 100%;
      height: 275px
    }
  }

  .slider_container img {
    max-height: 100%;
    max-width: 100%;
  }