body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif !important;
}

.container {
  flex: 1; /* Ensures the main content takes up available space */
}
.navbar {
  height: 4.5rem;
  background-color: white;
}
.nav-link {
  color: black !important;
}
.search-btn {
  background-color: #fc385c;
  color: white;
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  padding: 0 1rem 0 1rem;
}
.search-btn:hover {
  background-color: #fc385c;
  color: white;
  transform: scale(1.05);
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}
.search-input {
  border-radius: 25px;
  padding: 0.5rem 12rem 0.5rem 2rem;
  font-size: 1rem;
}
@media (max-width: 767.98px) {
  .custom-sticky {
    position: static !important;
  }
}
@media (min-width: 768px) {
  .custom-sticky {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    z-index: 1030;
  }
}

/* Wishlist Heart Button */
.wishlist-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
  padding: 5px;
}

.wishlist-btn:hover {
  transform: scale(1.15);
}

.wishlist-btn i {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}

.wishlist-btn.active i {
  color: #dc2626;
  animation: heartBeat 0.6s ease-in-out;
}

.wishlist-btn:hover i {
  color: #dc2626;
}

/* Listing Card Styles */
.listing-card {
  cursor: pointer;
}

.book-now-btn {
  font-size: 0.8rem;
  position: relative;
  z-index: 10;
}

/* Navbar Dropdown Enhancements */
.dropdown-menu {
  border-radius: 12px;
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  padding: 0.5rem 0;
  min-width: 200px;
  animation: dropdownFadeIn 0.2s ease-out;
}

/* Position dropdown properly relative to user avatar */
.dropdown-menu-end {
  --bs-position: absolute;
  right: 0;
  left: auto;
  transform: none;
}

/* Adjust dropdown position to align with user avatar */
.navbar .dropdown-menu-end {
  right: 0 !important;
  left: auto !important;
  transform: translateX(-20px) !important;
  margin-top: 5px;
}

/* Force dropdown to stay within viewport on small screens */
@media (max-width: 576px) {
  .navbar .dropdown-menu-end {
    right: -10px !important;
    left: auto !important;
    min-width: 180px;
    transform: translateX(-10px) !important;
  }
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-item {
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  border-radius: 0;
}

.dropdown-item:hover {
  transform: translateX(5px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.dropdown-item:hover i {
  transform: scale(1.1);
}

.dropdown-item.text-danger:hover {
  transform: translateX(5px);
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.2);
}

.dropdown-item.text-danger:hover i {
  transform: scale(1.1);
}

.dropdown-divider {
  margin: 0.25rem 1rem;
  opacity: 0.2;
}

.user-avatar-wrapper {
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 50%;
  overflow: hidden;
}

.user-avatar-wrapper:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(252, 56, 92, 0.3);
}

/* Heart Animation Keyframes */
@keyframes heartBeat {
  0% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.3);
  }
  50% {
    transform: scale(1.1);
  }
  75% {
    transform: scale(1.25);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes heartPulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.4);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.wishlist-btn.clicked {
  animation: heartPulse 0.4s ease-out;
}

.f-bar {
  height: 40px;
  width: 100%;
}
.support a:hover {
  text-decoration: underline;
  color: #000;
}
.f-icons a i:hover {
  color: #000;
  background-color: #f0f0f0;
}

.lang {
  display: flex;
  align-items: center;
  background: none;
  border: none;
  outline: none;
  gap: 5px;
  font-size: 14px;
  color: #222222;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s background-radius 0.2s;
}

.lang:hover {
  border-radius: 8px;
  background-color: #f0f0f0;
  color: #000;
}

.listing-card {
  border: none !important;
  will-change: transform;
  contain: layout paint;
  margin-bottom: 0.5rem;
}
.card:hover {
  transition: transform 0.2s ease-in-out !important;
  transform: scale(1.02) !important;
  cursor: pointer;
}

/* Remove hover effects for listing show page main card */
.show-card:hover {
  transition: none !important;
  transform: none !important;
  cursor: default !important;
}

/* Custom styling for Book This Stay button to maintain rounded shape */
.book-this-stay {
  border-radius: 50px !important;
  transition: all 0.2s ease !important;
}

.book-this-stay:hover {
  border-radius: 50px !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 8px rgba(252, 56, 92, 0.3) !important;
}
.card-img-top {
  border-radius: 1rem !important;
  width: 100%;
  height: 18rem;
  object-fit: cover !important;
}
.card-body {
  padding: 0px !important;
}
.card-text {
  font-size: 14px;
  font-weight: 400;
}
.card-img-overlay {
  opacity: 0;
}
.card-img-overlay:hover {
  opacity: 0.2;
  background-color: whitesmoke !important;
}
.show-img {
  height: 70vh;
  border-radius: 1rem !important;
  object-fit: fill !important;
}

@media (max-width: 576px) {
  .show-img {
    height: 45vh;
    object-fit: cover;
    .go-back {
      font-size: 0.9rem;
    }

    .btn-color {
      width: 100%;
    }
  }
}
.show-card {
  padding-left: 0px !important;
  padding-right: 0px !important;
}

/* Override: Ensure proper content padding for show card */
.show-card .card-body {
  padding: 1.5rem !important;
  margin: 0;
}

.btn-color {
  background-color: #fc385c !important;
  color: white !important;
  font-weight: 500 !important;
  transition: transform 0.3sec ease;
}
.btn-color:hover {
  transform: scale(1.05);
}
.btns {
  display: flex;
}

#map {
  height: 400px;
  width: 100vp;
  border-radius: 25px;
}
.marker-wrap {
  position: relative;
  width: 40px;
  height: 40px;
}

.pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  background: rgba(252, 56, 92, 0.4); /* same as marker color, soft ring */
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 1.5s infinite ease-in-out;
}

.custom-marker {
  position: relative;
  width: 40px;
  height: 40px;
  background: white;
  border: 2px solid #333;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.custom-marker i {
  position: absolute;
  transform: rotate(45deg);
  top: 50%;
  left: 50%;
  font-size: 18px;
  transform: translate(-50%, -50%) rotate(45deg);
  color: #fc385c;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
}

.category-scroll {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
  max-width: 1000px;
  white-space: nowrap;
}

.category-scroll::-webkit-scrollbar {
  display: none;
}

.category-btn {
  width: 70px;
  flex-shrink: 0;
  text-align: center;
  opacity: 0.6;
  transition: transform 0.3s ease;
}

.category-btn.active,
.category-btn:hover {
  transform: scale(1.2);
  background-color: #f8f9fa;
  cursor: pointer;
  opacity: 1;
}

.taxSwitch {
  border: 1px solid #ced4da;
  border-radius: 25px;
  background-color: #fff;
  transition: transform 0.3s ease;
  height: 45px;
  width: 150px;
}
.login:hover,
.signup:hover,
.logout:hover,
.taxSwitch:hover,
.user-avatar-wrapper:hover {
  transform: scale(1.05);
  border-color: #adb5bd;
  opacity: 1;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
  cursor: pointer;
}

.user-avatar-wrapper {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.user-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.user-avatar-initials {
  width: 34px;
  height: 34px;
  font-size: 1rem;
  background-color: #f6778e;
  border-radius: 50%;
  cursor: pointer;
}
.review-avatar {
  width: 24px;
  height: 24px;
  background-color: #f6778e;
  font-size: 1rem;
  border-radius: 50%;
  cursor: pointer;
}

.signup,
.login,
.logout {
  opacity: 0.8;
  border-radius: 25px;
  transition: transform 0.3s ease;
}

.underline-slide {
  position: relative;
  background: none;
  border: none;
  font-weight: 500;
  cursor: pointer;
  padding-bottom: 2px; /* spacing for underline */
}

.underline-slide::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  height: 2px;
  width: 100%;
  background-color: #fc385c;
  transition: transform 0.5s ease;
}

.underline-slide:hover::after,
.underline-slide.active::after {
  transform: translateX(-50%) scaleX(1);
}

.review-summary {
  border: 1px solid #dee2e6;
  border-radius: 25px;
  padding: 1rem;
  background: #fff;
}

.eye-toggle {
  top: 72%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 1.4rem;
  color: black;
  opacity: 0.6;
  z-index: 2;
}
