body {
  font-family: "Poppins", sans-serif !important;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  flex: 1;
}

/* Navbar */
.navbar {
  height: 5rem;
  background-color: white;
}

.logo-container{
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-container .logo-text{
  margin-left: -0.3rem;
  color: #fe424d;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 500;
}

.fa-compass {
  color: #fe424d;
  font-size: 2rem;
}

.nav-link {
  color: #222222 !important;
}  

/* Footer */
.f-info-links a {
  text-decoration: none;
  color: #222222;
}

.f-info-links a:hover {
  text-decoration: underline;
}

.f-info-links,
.f-info-socials,
.f-info-brand {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.f-info-socials i {
  font-size: 1.2rem;
  margin-right: 1rem;
}

.f-info {
  text-align: center;
  height: 8rem;
  background-color: #ebebeb;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: space-evenly;
}

/* Cards */
.listing-card {
  border: none !important;
  margin-bottom: 4rem;
}

.card-img-top {
  border-radius: 1rem !important;
  width: 100% !important;
  object-fit: cover !important;
}

.card-body {
  padding: 0 !important;
  margin-bottom: -2rem;
}

.card-text p {
  font-weight: 400;
}

.listing-link {
  text-decoration: none;
}

/* Card Effect */
.card-img-overlay {
  opacity: 0;
}

.card-img-overlay:hover {
  opacity: 0.2;
  background-color: white;
}

/* listing */
.result{
  min-height: 30vh;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* New Page */
.add-btn {
  background-color: #fe424d !important;
  border: none !important;
}

/* Edit Page */
.edit-btn {
  background-color: #fe424d !important;
  border: none !important;
}

/* Show Page */
.show-img {
  height: 40vh;
}

.btns {
  display: flex;
}

.show-card {
  padding-left: 0;
  padding-right: 0;
}

.review-container{
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.card-layout{
  width: 312px;
}

#map {
  height: 400px;
  width: 100%;
  border-radius: 10px;
}

/* Search bar*/
.search-btn {
  background-color: #fe424d;
  color: #fff;
  border-radius: 25px;
  padding: 0 1rem 0 1rem;
}

.search-btn:hover {
  background-color: #fe424d;
  color: #fff;
}

.search-btn i {
  display: inline;
  margin-right: 0.5rem;
}

.search-inp {
  border-radius: 25px;
  padding: 0.5rem 3rem 0.5rem 3rem;
  font-size: 1rem;
}

/* Filter scroll wrapper */
.filter-scroll-wrapper {
  margin-bottom: 1.5rem;
}

.filters-container {
  display: flex;
  align-items: center;
  position: relative;
  padding: 0 1rem;
  overflow: hidden;
}

/* Scrollable filters */
#filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  flex: 1;
}

#filters::-webkit-scrollbar {
  display: none;
}

#filters {
  scrollbar-width: none;
}

/* Slide buttons */
.slideBtn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: none;
  background: rgba(218, 216, 216, 0.548);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
}

#backBtn {
  margin-right: 0.5rem;
}

#nextBtn {
  margin-left: 0.5rem;
  flex-shrink: 0;
}

.slideBtn[disabled] {
  opacity: 0.7;
  cursor: default;
}

.slideBtn img {
  width: 1rem;
  height: 1rem;
}

/* Filter items */
.filter {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 5rem;
  text-align: center;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease-in-out;
  opacity: 0.7;
  color: inherit;
  text-decoration: none;
}

.filter:active {
  transform: scale(0.98);
}

.filter div i {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.filter p {
  font-size: 0.85rem;
}

.filter.active-filter {
  color: #000;
}

.filter:hover {
  opacity: 1;
  cursor: pointer;
}

/* Tax toggle */
.tax-toggle {
  flex-shrink: 0;
  margin-left: 2rem;
  display: flex;
  align-items: center;
  border: 1px solid black;
  border-radius: 1rem;
  padding: 0.5rem 1rem;
  height: 3.25rem;
  white-space: nowrap;
  cursor: pointer;
}

.tax-info{
  display: none;
}

/* Responsive adjustments */
@media (max-width: 1400px) {
  .card-layout{
    width: 100%;
  }
}

@media (max-width: 768px) {
  .filters-container {
    padding: 0 0.5rem;
  }

  .slideBtn {
    width: 2rem;
    height: 2rem;
  }

  .show-img {
    height: 30vh;
  }

  .collapse{
    margin-top: 1.5rem;
  }

  .tax-toggle {
    padding: 0.25rem 0.5rem;
    height: 2.5rem;
    font-size: 0.85rem;
  }

  .card{
    width: 100%;
  }
}

/* Responsive for mobile */
@media (max-width: 576px) {
  .filters-container {
    flex-wrap: wrap;
    padding: 0.5rem;
  }

  #filters {
    flex: 1 1 100%;
    order: 1;
    margin-bottom: 0.2rem;
    margin-left: 2rem;
    margin-right: 2rem;
    position: relative;
  }

  #backBtn,
  #nextBtn {
    position: absolute;
    top: 35%;
    transform: translateY(-50%);
    z-index: 20;
    width: 2rem;
    height: 2rem;
  }

  #backBtn {
    left: 0;
  }
  #nextBtn {
    right: 0;
  }

  .tax-toggle {
    display: flex;
    order: 2;
    align-items: center;
    justify-content: center;
    width: 82%;
  }

  .tax-toggle label{
    margin-right: 1.8rem;
  }

  .card {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}




