
@font-face {
  font-family: 'Phosphor';
  src: url('https://cdn.jsdelivr.net/npm/@phosphor-icons/web@2.1.1/src/regular/Phosphor.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Phosphor-Fill';
  src: url('https://cdn.jsdelivr.net/npm/@phosphor-icons/web@2.1.1/src/fill/Phosphor-Fill.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'bootstrap-icons';
  src: url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/fonts/bootstrap-icons.woff2?1fa40e8900654d2863d011707b9fb6f2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* This makes the browser show fallback font first, then swap */
}


body {
  font-family: 'Inter', sans-serif; 
  margin-bottom: 0;
}


/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/*root rgb(210, 173, 137)*/
:root {
  /*Colors*/
  --text-color: #181d25;
  --text-light-color: rgb(24, 29, 37, 1);
  --primary-color: #F55266;
  --primary2-color: #F55266;
  --primary-light-color: rgb(243, 86, 110, .1);
  --primary-hover-color: #F03D3D;
  --green-color: #33B368;
  --blue-color: #306FD4;
  --blue-hover-color: #265BB5;
  --top-bar-color: #222934;
  --white-color: white;
  --top-bar-op-color: #EEF1F6;
  --op-color: #EEF1F6;
  --gradient: linear-gradient(to right, #ACCBEE, #E7F0FD);
  --gradient2: linear-gradient(to left, #ACCBEE, #E7F0FD);

  --gold-color: #FB9231;
  --bg-color: #f3f4f6;


  --border-color: #e0e5eb;
  --card-color: white;
  --card2-color: white;
  --footer-bg-color: #F5F7FA;
  --details-color: rgb(255, 255, 255, .9);


  --skeleton-bg: #e0e0e0;
  --skeleton-shimmer: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);

  --border1: 6px;
  --border2: 16px;
  --border3: 24px;
  --border4: 50%;
  --border5: 8px;
}


.dark-theme {
  --text-color: #FFFFFF;
  --text-light-color: rgb(255, 255, 255, 1);
  --bg-color: #181d25;
  --op-color: #333D4C;
  --gradient: linear-gradient(to right, #1B2739, #1F2632);
  --gradient2: linear-gradient(to left, #1B2739, #1F2632);
  --footer-bg-color: #222934;
  --border-color: #555c68;
  --card-color: #222934;
  --card2-color: #222934;
  --details-color: rgb(33, 40, 51, .9);
  --border-color: rgb(224, 229, 235, .1);
}
 
/*reset*/
ul {
  list-style: none;
}

a {
  text-decoration: none;
}

button,
a,
div {
  -webkit-tap-highlight-color: transparent;
}



p {
  margin: 0;
}

h5 {
  font-size: 14px;
  font-weight: 500;
  margin: 0;
}

hr {
  opacity: .2;
  margin: 0;
}

img {
  max-width: 100%;
  object-fit: cover;
  display: flex;
  justify-content: center;
}


body {
  font-family: 'Roboto', sans-serif;
  background: var(--bg-color)!important;
  background-attachment: fixed;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  min-height: 100vh;
  padding: 0;
  margin: 0;
  color: var(--text-color)!important;
  position: relative;
  user-select: none;
}

/*Container*/
.container-no-pad {
  width: 100%;
  /* Full width */
  margin: 0;
  /* Center horizontally with auto margin */
  padding: 0;
}


/*Topspace*/
.top-space {
  margin-top: 60px;
}

/*Animations*/
@keyframes heartbeat {
  0% {
    transform: scale(1);
  }

  14% {
    transform: scale(1.3);
  }

  28% {
    transform: scale(1);
  }

  42% {
    transform: scale(1.3);
  }

  70% {
    transform: scale(1);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes shake {
  0% {
    transform: rotate(0deg);
  }

  14% {
    transform: rotate(0deg);
  }

  28% {
    transform: rotate(-10deg);
  }

  42% {
    transform: rotate(10deg);
  }

  70% {
    transform: rotate(-5deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

/*===================================== Topbar ============*/
/*TOP BAR1 BAR CONTAINER STYLES */
.top-bar-container {
  width: 100%;
  max-width: 100vw;
  color: var(--white-color);
  backdrop-filter: blur(40px);
  padding: 12px 48px 8px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  background-color:#222934;
}
/*Hidden*/
.cloned-fixed-bar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
/*Show*/
.cloned-fixed-bar.slide-down {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/*Top bar2 BAR CONTAINER STYLES */
.top-bar-container2{
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  color: var(--white-color);
  display: flex;
  align-items: end;
  z-index: 999;
  background-color: #222934;
  height: max-content;

} 
/*Hidden*/
.cloned-fixed-bar2 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #222934;
  z-index: 999;
  opacity: 0;
  transform: translateY(-100%);
  transition: transform 0.4s ease, opacity 0.4s ease;
  pointer-events: none;
}
/*Show*/
.cloned-fixed-bar2.visible {
  opacity: 1;
  transform: translateY(60px);
  pointer-events: auto;
}
/*Hidden*/
.cloned-fixed-bar2.hidden {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

/*Top bar portions*/
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 0;
}

.top-bar-center{
  display: none;
  min-width: 400px;
  margin-right: 14px;
}

.top-bar-center .search-name{
  background: linear-gradient(to right, #ACCBEE, #E7F0FD);
  color: #333D4C;
  opacity: 1;
  flex: 1;
display: flex;
justify-content: center;
align-items: center;
  border-radius: 0 100px 100px 0;
  font-size: 14px;
}

.top-bar-right {
  display: flex;
  align-items: center;

}

.nav-categories {
  background-color: #333D4C;
  width: 300px;
  position: relative;
  cursor: pointer;
  transition: .3s ease-in-out;
  border-radius: 8px 8px 0 0;
  padding: 12px 24px;
}

.category-hover-details {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-color);
  color: var(--text-color);
  width: 300px;
  border-radius: 0 0 8px 8px;
  border: 1px solid var(--op-color);
  border-top: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 10;
  /* Scrollable content */
  max-height: 80vh;
  /* or any height you prefer */
  overflow-y: auto;
}

.category-hover-details::-webkit-scrollbar {
  width: 0px;
  /* or height for horizontal scrollbar */
}

.category-hover-details::-webkit-scrollbar-track {
  background: var(--op-color);
  /* light gray - background of scrollbar track */
  border-radius: inherit;
}

.category-hover-details::-webkit-scrollbar-thumb {
  background-color: var(--op-color);
  /* deep blue - thumb color */
  border-radius: 6px;
  border: 2px solid var(--bg-color);
  /* gives space between thumb and track */
}

/* Initially disabled */
.nav-categories.hover-active:hover .category-hover-details {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/*Category list*/
.category-item {
  border-radius: 4px;
  transition: 0.3s ease;
  font-size: 14px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mcategory-item {
  padding: 10px 24px;
  transition: 0.3s ease;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mcategory-item:hover {
  background-color: var(--op-color);
  cursor: pointer;
}

.label-container{
  display: flex;
  flex-direction: column;
}

.category-count{
  font-size: 14px;
}

.category-item:hover {
  background-color: var(--op-color);
  cursor: pointer;
  transform: translateX(2px);
}

.category-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}

/*============Offer====================*/
.top-bar-left-offer{
  display: none;
}

.top-bar-left-offer-icon{
display: flex;
align-items: center;
justify-content: center;
padding: 15px;
color: var(--primary-color);
border-radius: 50%;
background-color: #333D4C;
}

.offer-period{
  width: max-content;
  font-size: 14px;
  line-height: 1.2;
  color: #DEE7ED;
  opacity: .7;
}

.offer-amount{
  width: max-content;
  font-size: 15px;
  line-height: 1;
}

.toggle-more {
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--white-color);
  font-size: 28px;
  height: 40px;
  width: 40px;
  border-radius: var(--border4);
  cursor: pointer;
  transition: background-color .15s ease-in-out;
}

.toggle-more:hover {
  background-color: #333D4C;
}


/*Top bar toggle*/
.menu-toggle,
.menu-toggle-center {
  width: 20px;
  height: 16px;
  position: relative;
  cursor: pointer;
  display: none;
  flex-direction: column;
  justify-content: space-between;
}

.menu-toggle-center {
  margin-right: 12px;
}

.menu-toggle span,
.menu-toggle-center span {
  display: block;
  height: 2px;
  background: var(--white-color);
  border-radius: 2px;
  transition: all 0.2s ease;
}

/* Hover effect (only when NOT active) */
.menu-toggle:not(.active):hover span:nth-child(1),
.menu-toggle-center:not(.active):hover span:nth-child(1) {
  transform-origin: left;
  transform: scaleX(0.7);
}

.menu-toggle:not(.active):hover span:nth-child(3),
.menu-toggle-center:not(.active):hover span:nth-child(3) {
  transform-origin: right;
  transform: scaleX(0.7);
}

/* Active animation (X) */
.menu-toggle.active span:nth-child(1),
.menu-toggle-center.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2),
.menu-toggle-center.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3),
.menu-toggle-center.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

  
.floating-user-container {
  top: 0;
  left: 0;
  width: 95%;
  max-width: 400px;
  z-index: 9999;
  background-color: var(--bg-color);
  border-right: 1px solid var(--op-color);
  opacity: 0;
  flex-direction: column;
  transform: translateX(-100%);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
  /* prevents interactions while hidden */
}

.floating-user-container.show {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.floating-user-container-top{
  position: sticky;
  top: 0;
  border-bottom: 1px solid var(--op-color);
}

.floating-user-container-center {
  max-height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  margin-top: 12px;
}

/* WebKit Scrollbar Styling */
.floating-user-container-center::-webkit-scrollbar {
  width: 0px; /* width of the scrollbar */
}

.floating-user-container-center::-webkit-scrollbar-track {
  background: transparent; /* scrollbar track background */
  border-radius: 4px;
}

.floating-user-container-center::-webkit-scrollbar-thumb {
  background: transparent; /* scrollbar handle color */
  border-radius: 4px;
}

.floating-user-container-center::-webkit-scrollbar-thumb:hover {
  background: transparent; /* color on hover */
}


.browse-calva-text{
  font-size: 24px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}

.browse-calva-close-icon{
  font-size: 30px;
  opacity: .7;
}


.browse-calva-close-icon:hover i{
  animation: heartbeat 1s ease-in-out 1 forwards;
}

.floating-user-details {
  display: flex;
}

.floating-user-details-quick-actions{
gap: 12px;
margin-bottom: 4px;
}

.quick-actions1{
  position: relative;
  flex: 1;
  justify-content: center;
  background-color:  var(--footer-bg-color);
  height: 45px;
  align-items: center;
  font-size: 14px;
  border-radius: 5px;
}

.quick-actions1:hover,
.quick-actions2:hover{
  background-color:  var(--op-color);
}

.quick-actions1:hover i{
  animation: shake 1s ease-in-out 1 forwards;
}

.quick-actions2{
  flex: 1;
  justify-content: center;
  background-color:  var(--footer-bg-color);
  height: 45px;
  align-items: center;
  font-size: 14px;
  border-radius: 5px;
}

.quick-actions2:hover i{
  animation: heartbeat 1s ease-in-out 1 forwards;
}

.floating-user-details.hidden {
  border-bottom: 1px solid var(--op-color);
  display: none !important;
}

.floating-user-details img {
  height: 40px;
  width: 40px;
  border-radius: 8px;
  border: 2px solid var(--op-color);
}

.floating-user{
  flex:1;
}

.floating-user p {
  line-height: 1;
  color: var(--text-color);
  opacity: .8;
}

.floating-user:hover p {
  opacity: 1;
}

.floating-user-name {
  font-weight: 500;
  font-size: 14px;
}

.floating-user-role {
  margin-top: 5px;
  font-size: 10px;
}

.floating-user-edit{
  color: var(--white-color);
  background-color: var(--blue-color);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 8px 12px;
  border-radius: 4px;
  gap: 12px;
  transition: .2s ease-in-out;
}

.floating-user-edit:hover{
  background-color: var(--blue-hover-color);
}

.floating-user-container-btn {
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .3s ease-in-out;
  font-size: 14px;
  font-weight: 500;
  border-left: 1px solid transparent;
  padding: 10px 18px;
}

.floating-user-container-btn-search{
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .3s ease-in-out;
  font-size: 14px;
  font-weight: 500;
  border-left: 1px solid transparent;
  padding: 10px 18px;
  margin-bottom: 8px;
  border: 1px solid transparent;
  opacity: .7;
  border: 1px solid var(--border-color);
}

.floating-user-container-btn-search:hover{
  opacity: 1;
}

.floating-user-container-btn2{
  display: flex;
  align-items: center;
  font-size: 16px;
  margin-top: auto;
  color: var(--white-color);
  font-weight: 500;
  gap: 4px;
}

.floating-user-container-btn i {
  font-size: 16px;
}

.floating-user-container-btn:hover {
  border-left: 2px solid var(--text-color);
}

#myRentals{
  display: none;
}

.floating-user-container-btn.categories{
  background-color: var(--op-color);
}

.Categories-side-nav {
  max-height: 0;
  overflow-y: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;

  color: var(--text-color);
  border: 1px solid var(--op-color);
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
  opacity: 0;
  pointer-events: none;
}

.Categories-side-nav.open {
  max-height: 300px;
  /* Adjust to desired visible height */
  overflow-y: auto;
  /* ✅ Enable scroll only when open */
  opacity: 1;
  pointer-events: auto;
}

/* Transition effect for chevron rotation */
.chevron-icon {
  transition: transform 0.3s ease;
}

/* Rotate chevron when active */
.chevron-icon.rotate {
  transform: rotate(180deg);
}

/* Optional: custom scrollbar for WebKit browsers */
.Categories-side-nav::-webkit-scrollbar {
  width: 6px;
}

.Categories-side-nav::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 3px;
}


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


.top-bar-calva {
  font-family: 'Poppins', sans-serif;
  display: flex;
  color: var(--white-color);
  line-height: 1;
  align-items: center;
  gap: 10px;
  max-width: 200px;
}

.top-bar-calva img{
  border-radius: 50%;
  overflow: hidden;
}

.top-bar-calva .name{
  font-size: 25px;
  font-weight: 600;
  display: flex;
}

.top-bar-calva .progress-nav-page-title {
  white-space: nowrap;      /* Prevent text from wrapping */
  overflow: hidden;         /* Hide overflowing text */
  text-overflow: ellipsis;  /* Add "..." at the end */
  display: block;           /* Ensure it behaves correctly */
  max-width: 100%;          /* Restrict width to parent */
  font-size: 18px!important;
  line-height: 1.5;
}


.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.status-online {
  background-color: var(--green-color); /* green */
}

.status-offline {
  background-color: #6c757d; /* gray */
}

.status-away {
  background-color: #ffc107; /* yellow */
}

.status-busy {
  background-color: #dc3545; /* red */
}



.top-bar-calva.image {
  display: block;
  height: 40px;
  width: 40px;
  display: flex;
  align-items:  center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
}

.top-bar-calva.image img {
  height: 30px;
}


.top-bar-right-details {
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  width: 100%;
}

.top-bar-calva-details {
  color: var(--white-color);
  font-size: 24px;
  line-height: 1;
  font-weight: 500;
  max-width: 60%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
}

/*nav*/
nav {
  display: flex;
  gap: 2rem;
  position: relative;
  align-items: center;

}

.nav-item {
  position: relative;
  color: var(--white-color);
  cursor: pointer;
}

.nav-item-group {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 16px;
  color: var(--white-color);
  font-weight: 500;
}

.nav-item-group i {
  font-size: 16px;
}

.hover-details {
  position: absolute;
  top: 200%;
  left: 0;
  background: var(--bg-color);
  color: #1f2937;
  padding: 1rem;
  min-width: 200px;
  box-shadow: 0 0 0 .1rem var(--op-color);
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 10;
}

.nav-item:hover .hover-details {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}




.top-bar-center-search{
  border: 1px solid var(--white-color);
  color: var(--white-color);
  font-size: 16px;
  font-weight: 400;
}

.top-bar-center-search:hover{
  background-color: #333D4C;
}

.top-bar-center-search p{
  color: var(--white-color);
  opacity: .6;
}

.notice-top-nav {
  position: relative;
  color: var(--white-color);
  display: flex;
  height: 40px;
  width: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--border4);

}

.notice-top-nav:hover i {
  animation: shake 1s ease-in-out 1 forwards;
}

.favorite-top-nav:hover i {
  animation: heartbeat 1s ease-in-out 1 forwards;
}


.favorite-top-nav {
  position: relative;
  color: var(--white-color);
  display: none;
  background-color: #333D4C;
  height: 40px;
  width: 40px;
  padding-top: 2px;
  align-items: center;
  justify-content: center;
  border-radius: var(--border4);
}

.favorite-top-nav .nav-alert {
  position: absolute;
  top: -3px;
  right: -3px;
  font-size: 9px;
  background-color: #15AD73;
  box-shadow: 0 0 0 .25rem #222934;;
  color: var(--white-color);
  width: 15px;
  height: 15px;
  font-weight: bold;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: var(--border4);
  line-height: 1;
}

.notice-nav-alert {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 9px;
  background-color: #15AD73;
  color: var(--white-color);
  width: 10px;
  height: 10px;
  font-weight: bold;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: var(--border4);
  line-height: 1;
}

.custom-swal-popup {
  background-color: var(--bg-color)!important;  /* Change background */
  border: 1px solid var(--border-color); /* Border */
  border-radius: 16px; /* Optional rounded corners */
  color: var(--text-color);
}

.custom-cancel-btn {
  color: var(--text-color) !important; /* ✅ apply text color */
  border-radius: 100px;
  width: 150px;
}

.custom-confirm-btn{
  border-radius: 100px;
  width: 150px;
}


.accoutBtn {
  display: none;
  border-top: 1px solid var(--op-color);
  position: sticky;
  bottom: 0;
  z-index: 2;
  background-color: var(--bg2-color);
}

.accoutBtn div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  transition: .3s ease-in-out;
  cursor: pointer;
  flex: 1;
  width: 100%;
  color: var(--text-color);
}

.accoutBtn div:hover {
  background-color: var(--op-color);
}

.accoutBtn-signup{
  border-left: 1px solid var(--op-color);
}

.accoutBtn.logout{
  color: var(--primary-color);
}

.theme-nav-icon {
  position: relative;
  color: var(--white-color);
  display: flex;
  height: 40px;
  width: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--border4);
  text-align: center;
}

.theme-nav-icon:hover i,
#townsToggle:hover i {
  animation: heartbeat 1s ease-in-out 1 forwards;
}

#townsToggle{
  background:  linear-gradient(to right, #00a2d4, var(--primary-color));
  font-size: 14px;
  color: var(--white-color);
}
#townsToggle i{
  font-size: 16px;
}

#townsToggle:hover{
  background-color: var(--primary-hover-color);
  box-shadow: none;
}

.hero-wrapper {
  display: flex;
  width: 100%;
  gap: 20px;
  height: 500px;
  padding-inline: 48px;
}

.category-hero-top {
  border: 1px solid var(--op-color);
  border-radius: 0 0 20px 20px;
  min-width: 300px;
  overflow: hidden;
  margin-bottom: 10px;
  height: 100%;
}

.categorySideNav {
  height: 100%;
  /* Adjust this height as needed */
  overflow-y: auto;
  overflow-x: hidden;

}

.categorySideNav::-webkit-scrollbar {
  width: 6px;
}

.categorySideNav::-webkit-scrollbar-track {
  background: var(--bg-color);
}

.categorySideNav::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 10px;
}

.categorySideNav::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.hero {
  display: flex;
  color: var(--text-color);
  height: 100%;
  align-items: center;
}

.hero-swiper-container {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: var(--gradient);
  gap: 0;
  margin-top: 24px;

}

 /* Make text & image side by side */
.text-swiper,
.image-swiper {
  flex: 1;
}

.image-swiper{
  margin-top: auto;
}

.swiper {
  display: flex;
  color: var(--text-color);
  overflow: hidden;
  align-items: center;
  width: 100%;
  position: relative;
  overflow: hidden;
}




.slider-section {
  flex: 1;
}

.hero-content {
  margin-left: 48px;
}

.hero-content {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease;
  position: relative;
  z-index: 3;
}

.swiper-slide-active .hero-content {
  opacity: 1;
  transform: translateX(0);
}

.hero-content-plan {
  font-size: 50px;
  line-height: 1;
  font-weight: 700;
  margin-top: 8px;
}

.hero-content-plan-details {
  font-weight: 400;
  opacity: .7;
}


.hero-content-btn,
.hero-content-btn-link {
  background: var(--primary-color);
  border: none;
  font-size: 16px;
  font-weight: 500;
  color: var(--white-color);
  margin-top: 24px;
  padding: 10px 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
}

.hero-content-btn:hover,
.hero-content-btn-link:hover {
  background-color: var(--blue-hover-color);
  color: var(--white-color);
}


.hero-content-btn:hover i,
.hero-content-btn-link:hover i{
  animation: shake 1.5s forwards;
}


.hero-image-container {
  margin-top: auto;
}

.hero-image {
  height: 100%;
}

.hero-image {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.swiper-slide-active .hero-image {
  opacity: 1;
}


.hero-image.sm {
  display: none;
}

.hero-image.lr {
  display: block;
}

.hero-image-container .shake {
  animation: logoFloatIn 2s ease-out forwards, logoPulse 3s ease-in-out infinite;
  opacity: 1;
}

@keyframes logoFloatIn {
  0% {
    opacity: 1;
    transform: translateY(-20px) scale(0.9);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes logoPulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

/* Pagination bar styling */
.swiper-pagination.slide-indicator-bar {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 24px;
  overflow: hidden;
  gap: 4px;
  padding: 0;
}

.active-bullet {
  position: absolute;
  top: 0;
  left: 0;
  width: calc((100% / 5) - 4px);
  /* 5 = number of slides, adjust gap */
  height: 100%;
  background-color: white;
  border-radius: 24px;
  transition: transform 0.6s ease;
  /* smooth “drive” effect */
}

.favorite-top-search i{
  font-size: 16px;
}

.favorite-top-search i:hover{
  animation: heartbeat 1s ease-in-out 1 forwards;
}

.post-btn-toggle{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 40px;
  background-color: #333D4C;
  color: var(--white-color);
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  border: none;
}

.post-btn-toggle i{
  font-size: 24px;
}

.post-btn-toggle:hover {
  background-color: #333D4C;
}

.top-search-btn{
  display: none;
  border-radius: var(--border4);
  font-weight: 500;
  color: var(--white-color);
  cursor: pointer;
}

.categories-mtop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 10px 15px;
  backdrop-filter: blur(40px);
  background: var(--bg-color);
  color: var(--text-color);
  transition: 0.5s ease;
  opacity: 0;
  pointer-events: none;
}


/* When active */
.categories-mtop.active {
  opacity: 1;
  pointer-events: auto;
  top: 60px;
  display: none;
}

/* Optional: Hide scrollbars */
.categories-mtop::-webkit-scrollbar {
  display: none;
}

#enable-notifications{
  border: none;
  background-color: var(--primary-color);
  border-radius: 5px;
  padding: 6px 12px;
  color: var(--white-color);
  transition: .3s ease-in-out;
  align-items: center;
  justify-content: center;
}

#enable-notifications:hover{
  background-color: var(--primary-hover-color);
}

.Section-Header{
  font-size: 24px;
  margin-inline-end: auto;
  padding-bottom: 12px;
  line-height: 1;
  font-weight: 500;
  align-items: end;
  margin: 24px auto 48px;
  gap: 12px;
  border-bottom: 1px solid var(--op-color);
}



.county-link{
  font-size: 14px;
  color: var(--text-color);
  line-height: 1;
  opacity: .6;
  transition: .3s ease-in-out;
}

.county-link:hover{
  opacity: 1;
}

.fade-in {
  opacity: 0;
  animation: fadeIn 0.4s ease-out forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

  .card-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 per row on small */
    max-width: 100%;
    margin: 12px auto 0;
  }

  @media (min-width: 992px) {
    .card-container {
      grid-template-columns: repeat(2, 1fr);
      /* 4 per row on large */
    }
  }

  .car {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    text-decoration: none;


    transition: all 0.2s ease-in-out;
    overflow: hidden;
  }

.g1 .div1{
  background: var(--gradient2);
  border-radius: 12px 12px 0;
}

  .g2 .div1{
    background: var(--gradient);
    border-radius: 12px 12px 12px 0;
  }



  .car .div1{
    padding: 12px;
  }

  .car .div2 {
    font-size: 1rem;
    height: 40px;
    width: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-color);
    color: var(--white-color);
    transition: background .3s ease-in-out;
  }

  .car:hover .div2 i{
    animation: heartbeat 1s ease-in-out 1 forwards;
  }

  .car:hover .div2{
    background: var(--blue-hover-color);
  }

  .car:hover small .bi-arrow-right-short{
    animation: shake 1s ease-in-out 1 forwards;
  }


  .car h6 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
  }

  .user-credts{
    font-size: 10px;
  }

  small {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 400;
    font-size: 10px;
    border-top: 1px dashed var(--bg-color);
    padding: 6px 12px;
    width: 100%;
    line-height: 1;
    color: var(--text-color);
  }

  .g1 small{
    background: var(--gradient2);
    border-radius: 12px 0 12px 12px;
  }

  .g2 small{
    background: var(--gradient);
    border-radius: 0 12px 12px 12px;
  }

  small i{
    font-size: 24px;
    line-height: 1;
  }

  small .bi-app-indicator{
    font-size: 14px;
    line-height: 1;
    margin-right: 8px;
  }



/*============ All Rentals html ============*/


#rental-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Always 4 on large screens */
  gap: 4px;

}

/* On small screens (mobile/tablet) → 2 columns */
@media (max-width: 768px) {
  #rental-container {
    display: grid; /* make sure it's grid */
    grid-template-columns: repeat(2, 1fr);
    row-gap: 18px;   /* vertical space */
    column-gap: 4px; /* optional horizontal space */
    /* or simply gap: 20px; → applies to both */
  }
}


.all-rental-container {
  position: relative;
  transition: .3s ease-in-out;
  overflow: hidden;
  background-color: var(--card2-color);
  border: 1px solid var(--o-color);
  border-radius: 12px;
}

.all-rental-container:hover{
  box-shadow:  0 6px 18px rgba(0, 0, 0, 0.08);
}

.all-rental-container:hover .image-scroll::after{
opacity: 0;
}


.all-rental-user {
  display: none;
  align-items: center;
  position: absolute;
  bottom: 7px;
  left: 10px;
}

.all-rental-pic {
  border-radius: var(--border4);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.all-rental-pic img {
  object-fit: cover;
  width: 30px;
  height: 30px;


}

.all-rental-user-name {
  margin-left: 10px;
  color: var(--white-color);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.all-rental-user-name h5 {
  font-size: 10px;
  font-weight: 500;
  color: var(--white-color);
}

.all-rental-user-name p {
  display: flex;
  font-size: 8px;
  border-radius: var(--border2);
  width: max-content;
  align-items: center;
  gap: 2px;
}

.all-rental-container .time {
  margin-left: auto;
  font-size: 9px;
  border-radius: var(--border2);
  color: var(--white-color);
}


.all-rental-image {
  position: relative;
  scrollbar-width: none;
  align-items: center;
  justify-content: center;
  display: flex;
  overflow: hidden;
}


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


.image-scroll {
  overflow-x: auto;
  /* Enable horizontal scrolling */
  scroll-snap-type: x mandatory;
  /* Snaps the images into place */
  -webkit-overflow-scrolling: touch;
  /* Smooth scrolling on mobile */
  display: flex;
  /* Align images in a row */
  gap: 10px;
  /* Optional: space between images */
  width: 100%;
  /* Ensure full width */

}

.image-scroll img {
  flex-shrink: 0;
  width: 100%;
  height: 250px;
  scroll-snap-align: center;
  display: block;
  border-radius: 4px 4px 0 0;
}

.image-scroll {
  position: relative; /* needed for ::after to position correctly */
  display: inline-block;
}


/* Overlay */
.image-scroll::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2); /* semi-transparent black */
  pointer-events: none; /* keeps image clickable */
  transition: .3s ease-in-out;
  border-radius: 4px 4px 0 0;
  
}

.lazy-image {
  opacity: .7;
  transition: opacity 0.8s ease-in-out;
}

.lazy-image.fade-in {
  opacity: 1;
}


.all-rental-price {
  position: absolute;
  bottom: 10px;
  left: 0;
  animation: all-rental-price-in 0.9s ease-out forwards;
  display: flex;
  align-items: center;
  transition: transform .3s ease-in-out;
  overflow: hidden;
  color: var(--text-color);
  background-color: var(--details-color);
  padding: 10px;
  border-radius: 0 100px 100px 0;
  line-height: 1;
}


@keyframes all-rental-price-in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.all-rental-price .money {
  font-weight: bold;
  font-size: 14px;
  transition: 0.3s ease-in-out;
  z-index: 2;
  list-style: 1;
}


.all-rental-price .per-month {
  font-family: 'Inter', sans-serif; 
  font-size: 14px;
  transition: 0.3s ease-in-out;
  list-style: 1;
}


.all-rental-detail {
  display: flex;
  flex-direction: column;
  align-items: start;
  color: var(--text-color);
  padding: 12px;

}

.all-rental-detail .rental-name {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
}

.rental-name-text {
  max-width: 50%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
}


.all-rental-detail .location-name {
  display: flex;
  gap: 5px;
  align-items: center;
  font-size: 11px;
  color: var(--text-color);
  width: 100%;
  opacity: .7;
}


.verify-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 10px;
  border-radius: 100px;
  color: var(--green-color);
  padding: 0 4px;
  background-color: var(--footer-bg-color);
}

.verify-status p{
  line-height: 1;
}


.status-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 5px;
}

.rentalTime {
  display: flex;
  align-items: center;
  font-size: 10px;
  opacity: .7;
  gap: 5px;
  line-height: 1
}

.rentalTime span {
  line-height: 1;
}

.status-box {
  color: white;
  padding: 5px 10px;
  border-radius: 24px;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  margin: 0;
}

.rental-more {
  position: absolute;
  margin-left: auto;
  right: 10px;
  top: 10px;
  font-size: 14px;
  height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: .3s ease-in-out;
  z-index: 2;
}



.all-rental-number {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  width: 100%;
  margin: 10px 0;
  padding-bottom: 4px;

}


.all-rental-number span {
  display: flex;
  align-items: center;
  gap: 5px;
  line-height: 1;
  align-items: center;
  color: var(--text-color);
  border-radius: var(--border3);
  opacity: .7;

}

.all-rental-number span i{
  font-size: 16px;
}

.action-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* directly under action-buttons (100) */
  background-color: rgba(0, 0, 0, .4);
  z-index: 10;
}

.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background-color: var(--bg-color);
  border: 1px solid var(--op-color);
  border-radius: 12px;
  position: absolute;
  width: 200px;
  height: max-content;
  top: 600px;
  right: 20px;
  z-index: 1000;
  padding: 12px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.action-buttons.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}


.all-rentals .share,
.all-rentals .edit,
.all-rentals .whatsapp,
.all-rentals .call {
  cursor: pointer;
  color: var(--text-color);
  flex: 1;
  display: flex;
  gap: 16px;
  padding: 15px;
  line-height: 1;
  font-size: 14px;
  transition: transform 0.3s ease-in-out;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  width: 100%;
}


.all-rentals .share i,
.all-rentals .edit,
.all-rentals .whatsapp i,
.all-rentals .call i {
  font-size: 16px;
}

.all-rentals .share:hover,
.all-rentals .edit:hover,
.all-rentals .whatsapp:hover,
.all-rentals .call:hover {
   background-color: var(--footer-bg-color);
  transition: 0.3s linear;
  transform: translateY(-1px);
}

.all-rental-container .favorite {
  top: 10px;
  right: 58px;
  position: absolute;
  height: 40px;
  width: 40px; 
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  border-radius: 50%;
  overflow: hidden;
  background:  var(--bg-color);
 color: var(--text-color);
  /* Subtle gray icon */
  cursor: pointer;
  transition: .3s ease-in-out;
  z-index: 2;

}

.favorite.saved i {
  color: var(--primary-color);
   width: 100%;
   height: 100%;
   border-radius: inherit;
   display: flex;
   align-items: center;
   justify-content: center;
   transition: .3s ease-in-out;
 }
 
 .favorite.saved {
   background-color: var(--bg-color);
   /* Semi-transparent white */
 }
 

.all-rental-container .favorite i {
  margin-top: 2px;
}


.all-rental-container .favorite:hover i {
  animation: heartbeat 1.5s forwards;
}

/* Modal Background */
.share-modal {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0, 0, 0, 0.5);
  /* Semi-transparent background */
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease forwards;
}

/* Modal Content */
.share-modal-content {
  background: var(--bg-color);
  padding: 30px 20px;
  border-radius: 15px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  text-align: center;
  animation: fadeIn 0.3s ease forwards;
}

/* Close Button */
.share-modal-content .close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 25px;
  color: var(--text-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .3s ease-in-out
}

.share-modal-content .close:hover{
  animation: shake 1.5s forwards;
}

/* Modal Title */
.share-modal-content h3 {
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: bold;
 color: var(--text-color);
  /* Deep blue */
}

/* Social Buttons */
.social-icons button {
  background-color: var(--op-color);
  border: none;
  border-radius: 8px;
  padding: 10px 15px;
  margin: 8px 0px;
  font-size: 16px;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.3s, transform 0.3s;
  width: 100%;
  justify-content: center;
  cursor: pointer;
}

.social-icons button:hover {
  background-color: #e0e7ff;
  /* Light blue hover */
  transform: translateY(-2px);
  color: var(--black-color);
}

/* Icons inside buttons */
.social-icons i {
  font-size: 20px;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

#qldomg7n3cc41755956926493{
  display: none!important;
}

.camera-number {
  position: absolute;
  top: 10px;
  left: 15px;
  color: var(--white-color);
  font-size: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
}

.camera-number i{
  font-size: 16px;
}

.badgeVerified-container{
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .3s ease-in-out;
  padding: 7px 10px;
  border-radius: 6px;
  background-color: var(--blue-color);
  font-size: 9px;
  line-height: 1;
}

.map i{
  color:  var(--text-color);
}

.ratings-container{
  display: flex;
  gap: 5px;
  align-items: center;
  margin-bottom: 8px;
  font-size: 12px;
}

.ratings-container i{
  font-size: 12px;
  color: var(--gold-color);
}

.ratings-container p{
  font-size: 12px;
  color: var(--text-color);
  line-height: 1;
  opacity: .6;
}

.badgeVerified {
  font-size: 8px;
  font-weight: 500;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--white-color);
  line-height: 1;
}


.badgeVerified i {
  font-size: 12px;
}


.vacancy-bar {
  display: flex;
  height: 4px;
  width: 100%;
  background: var(--op-color); /* fallback grey */
  border-radius: 100px;
  overflow: hidden;
}

.vacancy-bar .vacant {
  background: var(--primary-color);
  height: 100%;
  border-radius: 100px;
}

.vacancy-bar .occupied {
  background: var(--op-color);
  height: 100%;
  flex-grow: 1; /* take remaining */
}

.vacancy-status{
  color: var(--text-color);
  font-size: 10px;
  opacity: .7;
}

/*====================================================== RENTAL DETAILS HTML*/

.topbarAccountContainer {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--bg-color);
  padding: 12px;
  border-radius: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease-in-out, transform .3s ease-in-out;
  border: 1px solid var(--op-color);
  z-index: 100;
}

/* Show instantly */
.topbarAccountContainer.show{
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(8px);
  transition-delay: 0s; /* no delay when showing */
}

.loginTopBar{
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 4px 24px;
  border-radius: 4px;
  transition: .15s ease-in-out;
}

.logoutTopBar{
  background-color: var(--op-color);
  color: var(--text-color);
  padding: 6px 24px;
  border-radius: 4px;
  transition: .15s ease-in-out;
width: 100%;
}

.logoutTopBar:hover{
  transform: translateY(-2px);
}

.loginTopBar:hover{
  background-color: var(--text-color);
  color: var(--bg-color);
}

.userIconTopBar{
  font-size: 24px;
  width: 30px;
}

.userIconTopBar:hover{
animation: heartbeat 1.5s forwards;
}

.progress-nav {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  gap: 10px;
  line-height: 1;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  -ms-overflow-style: none;  /* Hide scrollbar in IE/Edge */
  scrollbar-width: none;     /* Hide scrollbar in Firefox */
}

/* Hide scrollbar for WebKit browsers */
.progress-nav::-webkit-scrollbar {
  display: none;
}



.progress-nav a {
  color: var(--text-color);
  font-weight: 500;
}

.progress-nav i {
  font-size: 14px;
}

.progress-nav span {
  opacity: .5;
}

.details-page-rental-name {
  display: flex;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
  font-size: 24px;
  font-weight: 500;
}

.details-page-rental-name::first-letter {
  text-transform: uppercase;
}

/* Overlay background */
.distance-container-overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Show overlay */
.distance-container-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Hide overlay completely */
.distance-container-overlay.hidden {
  display: none;
}

/* Modal box */
.rental-distance-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 240px;
  border: 1px solid var(--op-color);
  border-radius: 12px;
  background-color: var(--bg-color);
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.3s ease;
  margin: 20px;
  overflow: hidden;
}

/* Animate in */
.distance-container-overlay.active .rental-distance-container {
  transform: translateY(0);
  opacity: 1;
}

/* Categories */
.distance-category {
  display: flex;
  align-items: center;
  padding: 12px;
  gap: 10px;
  border-bottom: 1px solid var(--op-color);
}

.distance-category:last-child {
  border-bottom: none;
}

.distance-category-icon {
  font-size: 1.5rem;
  color: var(--blue-color);
}

.distance-category-icon.d2{
  color: var(--green-color);
}

.distance-category-icon.d3{
  color: var(--gold-color);
}

.distance-category-icon.d4{
  color: var(--primary-color);
}

/* Floating button */
.distance-toggle {
  background-color: var(--blue-color);
  height: 50px;
  width: 50px;
  color: var(--white-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(0, 69, 173, 0.25);
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.distance-toggle:hover {
  background-color: var(--blue-hover-color);
  transform: scale(1.1);
}

.distance-toggle.hidden {
  display: none !important;
}


.distance-category-info{
  font-size: 10px;
}

.arrived{
  color: var(--green-color);
}

.rental-info {
  margin: 0 20px;
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--op-color);
}

.rental-info-nav {
  font-size: 14px;
  opacity: .6;
  cursor: pointer;
  font-weight: 500;
}

.rental-info-nav:hover {
  opacity: 1;
}

.info-selected {
  opacity: 1;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--text-color);
}

.rental-containers {
  display: flex;
  flex-direction: column;

  gap: 20px;
  margin: 20px;
  max-width: 100%;
  overflow-x: auto;
}

.hidden {
  display: none;
}

.rental-general-container-top {
  display: flex;
  gap: 50px;
}



.info-container {
  flex: 1;
  min-width: 0;
}

.review-header{
  max-width: 800px;
}

.review-header .title{
  font-size: 24px;
  font-weight: 500;
}

.review-header-btn{
  background-color: var(--op-color);
  font-weight: 14px;
}

.total-reviews-container{
  display: flex;
  max-width: 800px;
  height: max-content;
}

.total-reviews-top{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  background-color: var(--op-color);
  padding: 24px;
}

.total-reviews-top-average{
  font-size: 24px;
  font-weight: 500;
}

.total-reviews-top-average-stars{
  color: var(--gold-color);
  font-size: 14px;
}

.total-reviews-top-all{
  font-size: 14px;
  opacity: .5;
}

.total-reviews-end{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  flex: 1;
}

.total-reviews-end-column{
  display: flex;
  align-items: center;
  width: 100%;
  gap: 12px;
}

.total-reviews-end i{
  font-size: 14px;
color: var(--gold-color);
}

.total-reviews-end p{
  font-size: 14px;
  opacity: .5;
  line-height: 1;
  font-weight: 600;
}

.total-reviews-end-bar{
  flex: 1;
  background-color: var(--gold-color);
  height: 5px;
  border-radius: 100px;
}

.total-reviews-end-bar.empty{
  flex: 1;
  background-color: var(--op-color);
  height: 5px;
  border-radius: 100px;
}

.each-review{
  max-width: 800px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 12px;
}

.review-user-name{
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
}

.review-user i{
  color: #15AD73;
  font-size: 18px;
  line-height: 1;
}

.review-date{
  opacity: .5;
  font-size: 14px;
}

.review-rating{
  font-size: 12px;
  color: var(--gold-color);
}

.bi-star{
  color: var(--gold-color)!important;
}

.bi-star-half {
  background: linear-gradient(to right, var(--gold-color) 50%, var(--gold-color) 50%)!important;
  -webkit-background-clip: text!important;
  -webkit-text-fill-color: transparent!important;
}

.total-reviews-top-average-stars i{
  margin-right: 4px; /* adjust spacing as needed */
}

.review-rating i {
  margin-right: 4px; /* adjust spacing as needed */
}


.review-info{
  font-size: 14px;
}


.review-thumbs-up i{
  color: #15AD73;
  font-size: 18px;
}

.review-thumbs-down i{
  color: var(--primary-hover-color);
  font-size: 18px;
}

/* Animation Keyframes */
@keyframes slideInFromRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInFromLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Common Classes for Animation */
.slide-in-left {
  animation: slideInFromLeft 0.4s ease forwards;
}

.slide-in-right {
  animation: slideInFromRight 0.4s ease forwards;
}

/* Hiding container */
.hidden {
  display: none;
}


.rental-general-container-images,
.rental-general-container-right {
  flex: 1;
  overflow-x: visible;
  padding-bottom: 24px;

}

.rental-general-container-right {
  flex-direction: column;
  display: flex;
  flex-direction: column;
}

.rental-general-container-images {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  position: relative;
}

.rental-images-container-main {
  display: flex;
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
}

.rental-details-status-container{
  background-color:  var(--op-color);
}


.rental-details-category {
  display: flex;
  align-items: center;
  gap: 14px;
  line-height: 1;
}

.rental-details-location{
  font-size: 14px;
}

.rental-details-category span,
.rental-details-location a {
  width: max-content;
  font-size: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-style: initial;
  font-weight: 500;
  color: var(--text-color);
  line-height: 1;
  transition: .3s ease-in-out;
  gap: 4px;
  border-bottom: 1px solid transparent;
  padding: 8px 16px;
  background-color:  var(--footer-bg-color);
  border-radius: 4px;
}

.rental-details-category i,
.rental-details-location i {
  font-size: 12px;
}

.rental-details-category span:hover,
.rental-details-location a:hover{
  background-color: var(--op-color);
}

.rental-details-location p {
  color: var(--text-color);
  font-size: 12px;
}


.rental-details-location {
  display: flex;
  align-items: center;
  color: var(--text-color);
}

.rental-detail-number {
  display: flex;
  gap: 10px;
}

.rental-detail-number div {
  font-size: 10px;
  border-radius: 100px;
  justify-content: center;
  display: flex;
  gap: 10px;
  padding: 5px 10px;
  align-items: center;
  background-color: var(--footer-bg-color);
  border-radius: var(--border3);
}

.rental-id{
  font-size: 12px;
}

.rental-detail-price-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--text-color);
  gap: 8px;
  width: 100%;
}

.rental-detail-price {
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: end;
  line-height: 1;
}

.rental-detail-price-period {
  font-weight: 200;

}

.rental-detail-vacant-container {
  display: flex;
  align-items: center;
  line-height: 1;
  gap: 10px;
  padding: 10px 20px;
  font-size: 14px;
  width: max-content;
  z-index: 999;
  border-radius: 100px;
}

/* Container for the rental details owner section */
.rental-detail-action-btn-container {
  display: flex;
  justify-content: space-between;
  align-items: start;
  width: 100%;

}


/* Owner section */
.rental-details-owner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.rental-details-owner-image-container {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--op-color); /* subtle gold border for accent */
}

.rental-details-owner-main i{
z-index: 20;
right: 0;
top: 30px;
color: var(--green-color);
width: 20px;
height: 20px;
display: none;
align-items: center;
justify-content: center;
background-color: var(--op-color);
border-radius: 50%;
font-size: 14px;
}

.rental-details-owner-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rental-details-owner-name {
  font-weight: 600;
  font-size: 12px;
  margin: 0;
  color: var(--text-color); /* deep blue for primary text */
}

.rental-details-owner-role {
  font-size: 10px;
  color: var(--text-color); /* gray for secondary text */
  opacity: .6;
}

.rental-details-owner-info{
  font-size: 10px;
  padding: 8px 12px;
  color: var(--white-color);
  background-color: var(--blue-color);
  border-radius: 100px;
  line-height: 1;
}

/* Contact buttons */
.rental-detail-contact-action-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.rental-detail-contact-action-btn a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  flex: 1;
  padding: 10px;
  font-size: 12px;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
  border-radius: 6px;
}

.rental-detail-contact-action-btn .whatsapp{
  background-color: var(--blue-color);
  color: var(--white-color);
  border: 1px solid var(--blue-color);
}

.rental-detail-contact-action-btn .call{
  background-color: var(--footer-bg-color);
  color: var(--blue-color);
  border: 1px solid var(--border-color);
}


/* Responsive tweak */
@media (max-width: 576px) {
  .rental-detail-action-btn-container {
      gap: 0;
      width: 100%;
      overflow: hidden;
      margin-inline: auto;
      flex-direction: column;
      gap: 8px;
      position: relative;
      border-top: 1px solid var(--op-color);
      border-bottom: 1px solid var(--op-color);
      align-items: start;
      padding-block: 12px;
  }

  .rental-details-owner-info-container{
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
  }

  .rental-details-owner-info{
    position: absolute;
    right: 10px;
    top: 10px;
  }

  .rental-details-owner{
    width: 100%;
    align-items: center;
  }

  .rental-detail-contact-action-btn {
    display: flex;
    flex-direction: row;
      gap: 8px;
      width: 100%;
  }

  .rental-detail-contact-action-btn .call,
  .rental-detail-contact-action-btn .whatsapp {
    flex: 1;
    padding: 10px;
    border-radius: 5px;
  }

  .rental-detail-contact-action-btn .whatsapp:hover{
    background-color: var(--blue-hover-color);
  } 

}

.action-details-container{
  display: flex;
  width: max-content;
  z-index: 100;
  margin-left: auto;
}

.action-details-container .share,
.bookmark{
  color: var(--text-color);
  font-size: 14px;
  justify-content: center;
}

.bookmark:hover i {
  animation: heartbeat 1.5s ease-in-out 1 forwards;
}

.bookmark .saved {
 color: var(--primary-color);
}

.share:hover i {
  animation: shake 1s ease-in-out 1 forwards;
}

.rental-detail-status {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 12px;
}

.rental-detail-status div {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  align-items: center;
  font-weight: 400;
}

.rental-detail-status div p {
  border: 1px dotted var(--op-color);
  margin-inline: 12px;
  flex: 1;
}

.rental-detail-status div span {
  font-size: 12px;
  font-weight: 500;
}

.rental-detail-section-title {
  font-size: 14px;
}

.vacancy-container{
  margin-bottom: 4px;
}

.rental-details-deposit-container {
  display: flex;
  font-size: 16px;
}

.rental-details-deposit-details {
  display: flex;
  flex-wrap: wrap;
  /* <-- This enables wrapping */
  gap: 5px;
  font-size: 12px;
}

.request-container{
  max-width: 800px;
}

.report-button {
  background-color: var(--op-color);
  color: var(--text-color);
  padding: 10px;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex: 1;
  font-size: 14px;
}

.luxury-report-form {
  max-width: 450px;
  margin: 40px auto;
  background: var(--bg-color);
  padding: 30px;
  color: var(--text-color);
  font-family: 'Segoe UI', sans-serif;
  border: 1px solid var(--op-color);
}

.luxury-report-form h3 {
  font-size: 1.6em;
  margin-bottom: 20px;
  color: var(--text-color);
  letter-spacing: 1px;
}

.luxury-report-form label {
  display: block;
  margin: 14px 0 6px;
  font-weight: 500;
  color: var(--text-color);
  font-size: 0.95em;
}

.luxury-report-form select,
.luxury-report-form textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid var(--op-color);
  background: transparent;
  color: var(--text-color);
  font-size: 0.95em;
  transition: all 0.3s ease;
}

.luxury-report-form select:focus,
.luxury-report-form textarea:focus {
  outline: none;
  border-color: var(--text-color);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 8px var(--op-color);
}

.luxury-report-form option {
  background: var(--bg-color);
  color: var(--text-color);
}

.luxury-report-form textarea {
  resize: none;
}

.luxury-report-form button {
  width: 100%;
  padding: 10px;
  margin-top: 18px;
  background: var(--primary-color);
  color: var(--white-color);
  border: none;
  border-radius: 30px;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.luxury-report-form button:hover {
  background: var(--primary-hover-color);
  transform: translateY(-2px);
}

#closeReportForm {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5em;
  cursor: pointer;
  color: var(--primary-color)
}

#reportFormOverlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.call-back-btn {
  background-color: var(--text-color);
  color: var(--bg-color);
  padding: 10px;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex: 1;
  font-size: 14px;
}


.facility-group h5 {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-color) !important;
}


.facility-list li {
  margin-bottom: 0.25rem;
}

/* Force SweetAlert2 to appear above everything */
.swal2-container {
  z-index: 99999 !important;
}


.swal2-popup {
  transition: all 0.3s ease-in-out;
}

/* Make map container relative for absolute positioning inside */
#rentalMap {
  position: relative;
  /* Added */
  height: 400px;
  margin: 20px;
  border-radius: 14px;

}


#customInfoBox {
  display: none;
  position: absolute;
  background: var(--bg-color);
  color: var(--text-color) !important;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  padding: 0;
  backdrop-filter: blur(10px);
  width: 260px;
  z-index: 1000;
  transform: translate(-50%, -100%);
  /* This centers horizontally and places it above the marker */
}

#customInfoBox img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
}

#customInfoBox .content {
  padding: 10px;
  color: var(--text-color);
  font-size: 14px;
}

#customCloseBtn {
  position: absolute;
  top: 6px;
  right: 6px;
  color: var(--text-color);
  background-color: transparent;
  border: none;
  border-radius: 5px;
  width: 30px;
  height: 30px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

#noMapMessage {
  margin: 20px;
}

/* calll back request */
.callback-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Modal container */
.callback-modal {
  position: relative;
  background: var(--bg-color);
  border-radius: 24px;
  width: 90%;
  max-width: 500px;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.4s ease;
  border: 1px solid var(--op-color);
  padding: 8px;
}

/* Show animation */
.callback-modal.show {
  opacity: 1;
  transform: translateY(0);
}

/* Hide animation */
.callback-modal.hide {
  opacity: 0;
  transform: translateY(40px);
}

/* Close button */
.callback-close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 1rem;
  color: var(-primary-color);
  cursor: pointer;
  background-color: var(--op-color);
  height: 40px;
  width: 40px;
  transition: .3s ease-in-out;
}

.callback-close-btn:hover {
  background-color: var(--op-color);
}

/*================== footer top ===============*/
.footer-top {
  background:  var(--footer-bg-color);
  padding: 48px 24px;
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: auto;
}

.footer-top div{
  flex: 1;
}


.newsletter-container {
  flex: 1;
}

.newsletter-container span {
  font-size: 18px;
  font-weight: 500;
 color: var(--text-color);
}

.newsletter-container p {
  margin-top: 10px;
  font-size: 14px;
 color: var(--text-color);
  opacity: .8;
}


/*Suscibe*/
/* Container */
.subscribe-form-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

/* Input field */
.subscribe-input {
  flex: 1;
}

.subscribe-input input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color); /* deep blue */
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: 0.3s ease;
  background: var(--footer-bg-color);
  color: var(--text-color);
}

/* Button */
.subscribe-btn {
  padding: 12px 30px;
  border: none;
  border-radius: 6px;
  background: var(--blue-color);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s ease;
  white-space: nowrap;
  border: 1px solid var(--blue-color);
}

.subscribe-btn:hover {
  background: var(--blue-hover-color);
  border: 1px solid var(--blue-hover-color);
}

.subscribe-btn:active {
  transform: scale(0.97);
}



.footer-socila-icons-group {
  display: flex;
  justify-content: start;
  gap: 20px;
  margin-top: 20px;

}


.footer-social-icons i{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--border4);
  background-color: var(--op-color);
  color: var(--text-color);
  opacity: .7;
  font-size: 16px;
}

.footer-social-icons:hover i {
  animation: heartbeat 1.5s ease-in-out 1 forwards;
}

.footer-help {
 color: var(--text-color);
  display: flex;
  flex-direction: column;
}

.footer-help span {
  font-size: 18px;
  font-weight: 500;
 color: var(--text-color);
}

.calva-footer-name{
  font-family: 'Poppins', sans-serif;
}

.footer-help p {
  margin-top: 12px;
  font-size: 14px;
 color: var(--text-color);
  opacity: .8;
}

.help-btn-container {
  position: relative;
  width: 200px;
}

.help-btn {
  padding: 12px 0;
  background-color: var(--op-color);
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 500;
  transition: .3s ease-in-out;
 color: var(--text-color);
  opacity: .8;
}

.help-btn:hover{
  opacity: 1;
}

.help-btn-group {
  position: absolute;
  background-color: var(--bg-color);
  border: 1px solid var(--op-color);
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  top: 100%;
  z-index: 2;
  transition: opacity 0.3s ease, transform 0.3s ease;
  padding: 18px;
  border-radius: 16px;
  gap: 5px;
  width:100%;
}

.help-btn-group.open {
  opacity: 1;
  transform: translateY(-120%);
  pointer-events: auto;
}


.help-btn-group a {
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 12px;
  transition: .2s ease-in-out;
  border-radius: 5px;
  color: var(--text-color);
  font-size: 14px;
}

.help-btn-group a span {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-color);
}

.help-btn-group a i {
  font-size: 16px;
}

.help-btn-group a:hover {
  background-color: var(--footer-bg-color);
}

.help-btn-group a:hover .help-btn-icon {
  animation: heartbeat 1.5s ease-in-out 1 forwards;
}


.quick-links a {
  font-size: 14px;
 color: var(--text-color);
  opacity: .8;
  width: max-content;
}

.quick-links a:hover {
  opacity: 1;
}


footer {
  background-color: #181d25;
  width: 100%;
  padding: 18px;

}

.footer-right {
  color: white;
  font-size: 12px;
  width: 100%;
  display: flex;
  justify-content: center;
  font-weight: 300;
}


/*section title*/
.section-title {
  margin: 20px 20px 20px;
  color: var(--text-color);
  font-size: 18px;
}

.section-title-categories {
  margin: 0;
  color: var(--text-color);
  font-size: 14px;
}

/* alert message slide from bottom*/
.alert-message-container {
  position: fixed;
  bottom: 300px;
  /* Start below the screen */
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  background-color: var(--primary-color);
  backdrop-filter: blur(40px);
  box-shadow: 0 0 0 .25rem rgba(0, 0, 0, 0.05);
  padding: 10px 30px;
  width: max-content;
  border-radius: var(--border1);
  text-align: center;
  z-index: 9999;
  opacity: 0;
  /* Start as invisible */
  transition: bottom 0.5s ease, opacity 0.5s ease;
  /* Transition both position and opacity */
}

.alert-message-container.active {
  bottom: 320px;
  /* Slide up to 20px from the bottom */
  opacity: 1;
  /* Make it visible */
}

.alert-message-container .alert-message {
  margin: 0;
  color: var(--white-color);
  font-weight: 400;
  /*background: linear-gradient(135deg, #FAFF01, #00FFF9);
  background-clip: text;
  -webkit-text-fill-color: transparent;*/
}

.toast {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--blue-color);
  color: var(--white-color)!important;
  padding: 8px 30px;
  border-radius: var(--border5);
  font-size: 12px;
  width: max-content;
  z-index: 100001;
  gap: 0.5em;
  opacity: 0;
  transition: bottom 0.4s ease, opacity 0.4s ease;
}

.toast.show {
  bottom: 10px;
  opacity: 1;
}

.toast.hidden {
  bottom: -100px;
  opacity: 0;
}

.toast-icon {
  font-size: 1.2em;
}

.text-with-lines-container {
  display: flex;
  justify-content: center;
  padding: 20px;
}

.text-with-lines {
  display: flex;
  align-items: center;
  width: 100%;
}

.text-with-lines hr {
  flex-grow: 1;
  height: 1px;
  border: none;
  background-color: var(--text-color);
}

.text-with-lines span {
  padding: 0 10px;
  color: var(--text-color);
  font-size: 9px;
}



/*top bottom space*/

.bottom-space {
  height: 50px;
}

/*404 error page html*/
.error-container {
  display: grid;
  width: 100%;
  height: 100vh;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.error-container .error-image img {
  height: 200px;
  width: 200px;
}

.error-image {
  display: grid;
  gap: 50px;
}

.home-btn {
  display: flex;
  gap: 5px;
  justify-content: center;
  align-items: center;
  color: var(--text-color);
  background-color: var(--op-color);
  padding: 10px;
  border-radius: var(--border3);
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 6px var(--op-black-color);
}

/*=============side bar nav===============*/
.nav-list {
  visibility: hidden;
  pointer-events: none;
  flex-direction: column;
  align-items: start;
  height: 100%;
  position: fixed;
  overflow: hidden;
  left: 0;
  top: 0;
  border: 1px solid var(--op-color);
  z-index: 1001;
  opacity: 0;
  transform: translateX(-100%);
  transition: transform 0.3s ease, opacity 0.3s ease-in-out, visibility 0s linear 0.3s, height 0s;

  width: 250px;
  background: var(--bg-color);
  color: var(--text-color);
  backdrop-filter: blur(20px);
  padding: 0 1rem 1rem;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
}

.nav-list.active {
  visibility: visible;
  display: flex;
  pointer-events: auto;
  transform: translateX(0);
  opacity: 1;
  transition-delay: 0s;

}



.sidebar-overlay {
  position: fixed;
  transition: .3s ease-in-out;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  /* semi-transparent black */
  z-index: 999;
  display: none;
}

/* Show overlay when active */
.sidebar-overlay.active {
  display: block;
}

.side-nav-list-header {
  width: 100%;
  padding: 10px;
  border-bottom: 1px solid var(--op-color);
  margin-bottom: 10px;
  display: flex;
}

.side-nav-list-header-main {
  width: 100%;
  padding: 10px;
  border-bottom: 1px solid var(--op-color);
  margin-bottom: 10px;
  display: flex;
  font-weight: 700;
  font-size: 18px;
}

.side-nav-list-header:hover {
  background-color: var(--op-color);
}

.side-nav-list-header a {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  font-size: 14px;
  margin: 0 !important;
  padding: 0 !important;
  align-items: start !important;
}

.side-nav-list-header A span {
  font-weight: normal;
  font-size: 10px;
  background-color: var(--op-color);
  line-height: 1;
}

.side-nav-list-header a img {
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--op-color);
}

.nav-list a {
  display: flex;
  align-items: center;

  padding: 0.5rem 1rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
  width: 100%;
  text-decoration: none;
  transition: 0.3s ease-in-out;
}

.nav-list a:hover,
.nav-list a.selected {
  border-left: 2px solid var(--op-color);
}

.nav-icon {
  margin-right: 0.8rem;
  font-size: 1rem;
}

.nav-name {
  flex-grow: 1;
  display: flex;
  font-weight: 400;
  justify-content: space-between;
  font-size: 1rem;
}

.nav-list a:hover .nav-icon {
  animation: shake 1.5s ease-in-out 1 forwards;
}

.settings {
  margin-top: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.settings a {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-weight: 500;
}

.settings a img {
  height: 50px;
  border-radius: var(--border4);
}


.settings div button {
  border: none;
  background-color: var(--op-color);
  color: var(--text-color);
  padding: 6px 0;
  font-size: 1rem;
  width: 100%;
  gap: 10px;
  justify-content: center;
  font-weight: 500;
}

.settings div button:hover {
  background-color: var(--primary-hover-color);
  color: var(--black-color);
}

/* Collapsible */
.collapsible-btn {
  background: none;
  border: none;
  color: var(--text-color);
  width: 100%;
  text-align: left;
  padding: 0.5rem 1rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  border-radius: 8px;
  transition: 0.3s ease-in-out;
}

.collapsible-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px 8px 0 0;
}

.collapsible-content {
  display: none;
  padding-top: 0.5rem;
  overflow: auto;
  background-color: var(--op-color);
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
}

.collapsible-content::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Opera */
}

.collapsible-content.show {
  display: block;
}

/*========== notification html ==============*/
#main-content{
  max-width: 789px;
  margin-top: 50px;
}

  .notification-details {
    background: var(--card-color);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-inline: 16px;
    border-bottom: 1px solid var(--op-color);
    position: relative;
  }

  .notification-details:hover {
    background: var(--op-color);
  }

  .notification-time {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--op-color);
    line-height: 1;
  }

  .notification-time i {
    margin-right: 4px;
    color: var(--op-color);
    margin-top: 5px;
  }

  .notification-details a {
    display: inline-block;
    margin-top: 10px;
    background: var(--primary-color);
    color: white;
    padding: 6px 14px;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
  }

  .notification-details h5 {
    font-size: 14px;
    margin: 0 0 5px;
   color: var(--text-color);

  }

  .notification-details p {
    margin: 0;
    font-size: 14px;
    color: var(--text-color);
  }

  .notification-details.unread {
    background-color: var(--bg-color);
    border: 1px solid var(--primary-color); /* deep blue bar */
  }
  
  .unread-dot {
   color: var(--text-color);
    border-radius: 50%;
    display: inline-block;
    position: absolute;
    top: 0;
    right: 10px;
    font-size: 20px;
  }

/*-------------ripple effect-----------------*/

.ripplebtn {
  padding: 15px 25px;
  border: none;
  border-radius: 2rem;
  background-color: white;
  font-weight: 500;
  color: rgba(52, 52, 52, 1);
  cursor: pointer;
  position: relative;
  /* Needed for ripple effect */
  overflow: hidden;
  /* Confines the ripple within the button */
  transition: background-color 0.15s, box-shadow 0.15s;
  appearance: none;
  /* Removes browser default styles */
  -webkit-tap-highlight-color: transparent;
  /* Suppress unwanted highlight on mobile */
}


.ripplebtn:focus-visible {
  outline: none;
  /* Additional fallback for modern browsers */
}

.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  /* Starts the ripple at scale 0 */
  animation: ripple 0.6s linear;
  /* Smooth scale and fade-out */
  background-color: var(--op-color);
  pointer-events: none;
  /* Prevent ripple from interfering with button click */
  z-index: 10;
}

@keyframes ripple {
  to {
    transform: scale(4);
    /* Ripple grows 4x */
    opacity: 0;
    /* Fades out */
  }
}

/*logo*/
.logo {
  display: flex;
  align-items: center;
  margin: 0 auto;
  color: black;
  font-family: 'Montserrat', sans-serif;
}

.logo img {
  width: 40px;
}

/*content pages html*/
.content-container {
  max-width: 900px;
  margin: 24px;
  /* Adjusted for fixed top bar */
  border-radius: 24px;
  border: 1px solid var(--border-color);
}

/*town rentals*/
.property-slider {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  scroll-behavior: smooth;
  padding: 5px 10px;
}

.property-card {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  width: max-content;
  min-height: 40px;
  margin-right: 10px;
  background: var(--op-color);
  padding: 10px 30px;
  border-radius: var(--border3);
  transition: transform 0.3s ease-in-out;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: var(--text-color);
  font-weight: bold;
  font-size: 14px;
}

.property-card.selected {
  border: none;
  font-weight: bold;
  color: var(--bg-color);
  max-height: 40px;
  background-color: var(--text-color);
}

.tick-icon {
  font-size: 16px;
  color: var(--bg-color);
  /* Change this if needed */
}

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

.property-count {
  font-size: 10px;
  color: var(--op-color);
  line-height: 1;
}

/*more my rentals html*/
/* Overlay styles (small part at the bottom) */
/* Overlay backdrop (covers whole screen to block clicks) */
.overlay-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  /* Semi-transparent */
  z-index: 999;
  /* Ensures it’s above other elements */
  display: none;
  /* Hidden by default */
}

/* Overlay styles (small part at the bottom) */
.overlay {
  position: fixed;
  bottom: -100%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 400px;
  background: var(--active-color);
  padding: 10px;
  text-align: center;
  transition: bottom 0.4s ease-in-out;
  z-index: 1000;
  /* Above the backdrop */
}

/* Show overlay */
.overlay.show {
  bottom: 0;
}

.overlay-backdrop.show {
  display: block;
}

/* Overlay content */
.overlay-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Buttons inside overlay */
.overlay-button {
  background: var(--op-color);
  color: var(--text-color);
  padding: 10px 20px;
  border: none;
  width: 100%;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  justify-content: center;
  border-radius: var(--border3);
  display: flex;
  gap: 10px;
  opacity: 0.7;
  position: relative;
  overflow: hidden;
}

.overlay-button:hover {
  opacity: 1;
}

/* Close button */
#closeOverlay {
  background-color: var(--text-color);
  border: none;
  border-radius: var(--border3);
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  padding: 3px 25px;
  text-align: center;
  opacity: 0.1;
  width: 15px;
  margin: 0 auto 5px;
}

.all-rental-container .more {
  position: absolute;
  top: 5px;
  right: 10px;
  z-index: 2;
  height: 30px;
  width: 30px;
  background-color: var(--op-color);
  cursor: pointer;
  height: 30px;
  width: 30px;
  font-size: 16px;
  color: var(--white-color);
  border-radius: var(--border4);
}

.all-rental-container .more-container {
  height: 100%;
  width: 100%;
  border-radius: inherit;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/*/* Loader animation */
.loader {
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
  position: absolute;
  z-index: 1;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Hide the image initially */
.hidden {
  display: none;
}

.rental-skeleton {
  background: var(--footer-bg-color);
  border-radius: 12px;
  margin: 0;
  padding: 1em;
  animation: pulse 1.5s infinite ease-in-out;
  
}

.skeleton {
  background: var(--op-color);
  border-radius: 8px;
  height: 60vh;
}

.skeleton.avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 5px;
}

.skeleton.text-line {
  height: 14px;
  width: 80%;
  margin-bottom: 5px;
}

.skeleton.text-line.short {
  width: 50%;
  margin-bottom: 5px;
}

.skeleton.image-box {
  width: 100%;
  height: 150px;
  border-radius: 10px;
  margin-bottom: 5px;
}

@keyframes pulse {
  0% {
    background-color: var(--op-color);
  }

  50% {
    background-color: var(--footer-bg-color);
  }

  100% {
    background-color: var(--op-color);
  }
}

.load-more-btn {
  display: none;
  padding: 10px 48px;
  background-color: var(--primary-color);
  color: var(--white-color);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  margin-inline: auto;
  font-weight: 500;
}

.load-more-btn:hover{
  background-color: var(--primary-hover-color);
}

/*================================================*/
/*ADD NEW RENYTAL HTML PAGE*/
.edit-form-container {
  width: 100%;
}

.add-rental-form {
  max-width: 786px;
  margin: 20px auto;
  padding: 0 10px;
}


.progressbar {
  display: flex;
  justify-content: space-evenly;
  list-style: none;
}

.progressbar li {
  width: 45px;
  height: 45px;
  border-radius: 16px;
  background-color: var(--op-color);
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: background-color 0.3s, transform 0.3s;
}


/* Active step colors */
.progressbar li.active{
  background-color: var(--primary-color);
 color: var(--white-color);
  /* Step 1 - Blue */
}

.form-step {
  display: none;
  border: 1px solid var(--border-color);
  padding: 12px;
}

.form-step.active {
  display: block;
  margin: 0 auto 50px;
}

.form-navigation {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  max-width: 786px;
  margin: 20px auto;
  gap: 12px;
}

@media (max-width: 576px) {
  .form-navigation {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    margin-inline: auto;
    background-color: var(--bg-color);
    border-top: 1px solid var(--op-color);
    gap: 12px;
    margin: 0 auto;
  }

  .form-navigation-container{
    width: 100%;
    max-width: 789px;
  }

  .form-step{
    padding-bottom: 50px;
  }
}

.form-navigation button {
  border: none;
  font-size: 14px;
  align-items: center;
  flex: 1;
  opacity: 1;
}

.form-navigation button i{
  font-size: 14px;
  line-height: 1;
  padding: 0;
}

.form-navigation .nextBtn {
  background-color: var(--primary-color);
  color: var(--white-color);
}

.form-navigation .nextBtn:hover{
  color: white;
  background-color: var(--primary-hover-color);
}

.form-navigation .prevBtn {
  border: 1px solid var(--op-color);
  color: var(--text-color);
  background-color: transparent;
}

.form-navigation .prevBtn:hover{
  background-color: var(--op-color);
}

.input-container {
  margin-bottom: 10px;
}

.input-label {
  font-size: 14px;
  color: var(--text-color);
  font-weight: 500;
  margin-bottom: 10px;
}

.input-container input {
  font-size: 14px;
  color: var(--text-color) !important;
  background-color: var(--op-color);
  padding: 10px;
}

.input-container input::placeholder {
  color: var(--text-color);
  font-size: 14px;
}

.form-check {
 margin: 10px;
 margin-bottom: 5px;
 width: max-content;
}

.form-check-label {
  font-size: 14px;
}

.input-group-text {
  border-radius: 14px;
  color: var(--text-color);
  background-color: var(--bg-color);
  border: 1px solid var(--op-color);
}

.form-text {
  font-size: 14px;
 color: var(--text-color);
}

.wallpaper-label {
  position: absolute;
  bottom: 5px;
  left: 5px;
  background-color: #F3566E;
  /* Gold */
  color: var(--white-color);
  /* Deep blue */
  padding: 4px 8px;
  font-weight: 400;
  font-size: 10px;
  border-radius: 4px;
}

.image-item {
  transition: border 0.3s ease;
}

.facility-card-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  max-width: 800px;
}

.facility-card {
  padding: 10px 16px;
  border: 1px solid var(--op-color);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease-in-out;
  font-size: small;
  max-width: 800px;
  margin-top: 12px;

}


.facility-card.selected {
  background-color: var(--primary-color);
  color: var(--white-color);
  border-color: var(--primary-color);
}

.select-all-btn {
  padding: 4px 10px;
  font-size: 14px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  background: #374151;
  color: white;
  transition: background 0.2s;
}

.clear-btn {
  padding: 4px 10px;
  font-size: 14px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  background: var(--primary-light-color);
 color: var(--text-color);
  transition: background 0.2s;
}

.select-all-btn:hover {
  background: var(--primary-color);
}

.clear-btn:hover {
  background: var(--op-color);
}


.hidden-Container{
  padding: 10px;
  border: 1px solid var(--op-color);
}

/*======================================*/
/*PROFILE HTML*/
.profile-form {
  padding: 20px;
  margin: 24px auto;
  max-width: max-content;
  background-color: var(--footer-bg-color);
  border: 1px solid var(--border-color);
}

.profile-image-wrapper {
  position: relative;
  text-align: center;
  width: max-content;
  margin: auto;
}

.profile-container {
  position: relative;
  width: 150px;
  height: 150px;
  margin: auto;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid #ccc;
  transition: .2s ease-in-out;
}

.profile-container:hover {
  border: 3px solid #868686;
}

.profile-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.remove-image-icon i {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: var(--primary-color);
  color: var(--white-color);
  border-radius: 50%;
  height: 30px;
  width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  backdrop-filter: blur(10px);
}

.remove-image-icon i:hover {
  animation: heartbeat 1.5s ease-in-out infinite forwards;
}

.submit-btn {
  border: none;
  background-color: var(--green-color);
  color: white;
  width: max-content;
  padding: 6px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto;
  transition: .3s ease-in-out;
  font-weight: 500;
}

.submit-btn:hover {
  background-color: var(--op-color);
 color: var(--text-color);
}

.submit-btn i {
  transition: .2rs ease-in-out;
}

.submit-btn:hover i {
  animation: heartbeat 1.5s ease-in-out infinite forwards;
}


.filepond--credits {
  display: none !important;
}

.input-invalid {
  box-shadow: 0 0 0 .25rem rgba(255, 0, 0, 0.3) !important;
  border-color: #f00 !important;
}

.input-warning {
  box-shadow: 0 0 0 .25rem rgba(255, 166, 0, 0.3) !important;
  border-color: orange !important;
}

.input-valid {
  box-shadow: 0 0 0 .25rem rgba(21, 173, 115, 0.3) !important;
  border-color: #15AD73 !important;
}


/* Input background and text color */
.form-control {
  background-color: transparent !important;
  color: var(--text-color) !important;
  transition: .3s ease-in-out;
  height: 45px;
  border-color: var(--border-color);
}

.form-control:hover {
  background-color: var(--op-color) !important;
}

.form-control::placeholder{
  color: var(--text-color);
  opacity: .7;
}

.form-select {
  background-color: transparent !important;
  height: 45px;
  font-size: 14px;
  color: var(--text-color);
  border-color: var(--border-color);
}

select option {
  color: var(--text-color);
  /* Text color inside dropdown list */
  background-color: var(--bg-color);
  /* Optional: background for options */
}

select optgroup {
  color: var(--primary-color);
  /* Gold text for group labels */
  font-weight: bold;
  background-color: var(--bg2-color);
  /* Not supported everywhere */
}


.close {
  background-color: var(--op-color);
 color: var(--text-color);
  opacity: .8;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2;
  transition: .3s ease-in-out;
  height: 35px;
  width: 35px;
  border-radius: 50%;
}

.close:hover {
  opacity: 1;
}

.submit-terms {
  font-size: 14px;
  text-align: center;
}

.submit-terms a {
 color: var(--text-color);
}

.loader {
  border: 8px solid #f3f3f3;
  border-top: 8px solid var(--primary-color);
  /* Deep Blue */
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*========PREMIUM PACKAGES=========*/
.package-overlay {
  height: 100vh;
  display: none;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 10000;
  width: 100%;
  background-color:rgba(0, 0, 0, 0.5);
}



/* Your content container */
.package-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: 70px 30px 30px;
  border: 1px solid var(--op-color);
  border-radius: 24px;
  background-color: var(--bg-color);
  width: 100%;
  max-width: 400px; /* Optional: to keep a nice max width */
  box-sizing: border-box; /* Ensure padding is included in width */
}


.package-name {
  font-size: 1.5rem;
  font-weight: 500;
}

.package-users {
  font-size: small;
  display: flex;
  gap: 10px;
}

.package-recommend{
  left: 40px;
  color: var(--white-color);
  background-color: var(--primary-color);
  border-radius: 0 0 14px 14px;
  padding-inline: 20px;
  font-size: 14px;
}

.package-price {
  font-size: 48px;
  line-height: 1;
  font-weight: 500;
}


.package-payment-period {
  font-size: small;
}


.package-button {
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: .8rem;
  font-weight: 500;
  color: white;
  padding: 15px 60px;
  width: 100%;
  border: none;
  transition: .3s ease-in-out;
  margin-top: auto;
}

.package-button:hover {
  background-color: #ff002b;
}

.package-close-btn {
  z-index: 5;
  font-size: 24px;
  top: 20px;
  right: 20px;
  color: var(--text-color);
  height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--op-color);
  border-radius: 50%;
  line-height: 1;
  opacity: .8;
  transition: .3s ease-in-out;
}

.package-close-btn:hover {
opacity: 1;
}

/*==================Link Underline*/
.underline-hover {
  position: relative;
  display: inline-block;
  text-decoration: none;
  overflow: hidden;
  cursor: pointer;
  font-weight: 500;
}

.underline-hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px;
  border-radius: 24px;
  background-color: currentColor; /* 👈 same as text color */
  width: 100%;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  pointer-events: none;
}

/* Hover state */
.underline-hover.hovered::after {
  transform: translateX(0%);
}

/* Leaving animation */
.underline-hover.leaving::after {
  transform: translateX(100%);
}

/* Hidden reset */
.underline-hover.hidden::after {
  transition: none;
  transform: translateX(-100%);
}

/* ✅ Keep underline visible when active */
.underline-hover.active::after {
  transform: translateX(0%) !important;
  transition: none !important; /* stays fixed */
}


/* ====================== BASE (Mobile First) ====================== */
/* General styles here apply to smallest devices first */


/* ====================== PHONE ONLY (≤ 768px) ====================== */
@media (max-width: 768px) {
  /* Content */
  .content-container {
     margin: 12px;
  }

  .calva-help-center-container{
    flex-direction: column;
  }
  .top-search-btn {
    display: flex;
  }
  .content-title {
    font-size: 1rem;
  }
  .content-section h2 {
    font-size: 1.2rem;
  }
  .content-section p,
  .content-list li {
    font-size: 0.9rem;
  }


  /* Hero */
  .hero-wrapper {
    padding-inline: 16px;
    height: 550px;
    border-radius: 12px;
  }

  .hero-swiper-container{
    flex-direction: column;
  }

  .hero {
    flex-direction: column;
    justify-content: center;
  }
  .hero-content {
    text-align: center;
    margin-inline: auto;
    width: 80%;
    margin-top: 60px;
  }
  .hero-content-plan-details {
    font-weight: 400;
  }
  .hero-content-btn,
  .hero-content-btn-link {
    margin-inline: auto;

  }
  .hero-content-plan {
    font-size: 40px;
    margin-top: 12px;
    font-weight: bold;
  }
  .hero-image-container {
    display: flex;
    align-items: flex-end; /* fixed invalid value */
    margin-top: auto;
    flex: 1;
  }
  .hero-image.sm {
    display: block;
  }
  .hero-image.lr,
  .top-bar-calva.image {
    display: none;
  }

  .swiper-pagination.slide-indicator-bar{
    width: 70%;
  }

  .rental-info{
    gap: 24px;
  }
  
  .total-reviews-container {
    flex-direction: column;
  }

  .review-header-btn{
    font-size: 14px;
  }

  /* Footer */
  .footer-top {
    flex-direction: column;
    gap: 50px;
  }
  .footer-help {
    margin: auto 0;
    color: var(--text-color);
  }
}


/* ====================== TABLET AND SMALL DESKTOP (≤ 992px) ====================== */
@media (max-width: 992px) {
  /* Cards & Avatars */
  .group-card {
    text-align: center;
  }
  .avatar-stack {
    justify-content: center;
  }
  .category-hero-top {
    display: none;
  }

  /* Top Bar */
  .top-space {
    margin-top: 60px;
  }
  .top-bar-calva .name {
    font-size: 24px;
    font-weight: 600;
    margin-left: 8px;
  }
  .top-bar-container2,
  .logo-container img,
  .top-sign-up-btn,
  .top-nav-list {
    display: none;
  }
  .menu-toggle,
  .toggle-more {
    display: flex;
    margin-left: 12px;
  }
  .top-bar-container {
    padding: 10px 20px 10px 16px;
  }
  .top-bar-left {
    margin-left: auto;
    gap: 10px;
  }

  /* Taglines */
  .tagline {
    font-size: 30px;
    margin: 50px 0 20px;
  }
  .tagline-2 {
    font-size: 14px;
    margin: 20px 0;
  }

  /* Categories & Rentals */
  .categories-mtop.active {
    display: flex;
  }
  .rental-general-container-top {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .menu-toggle-center {
    display: none;
  }
}


/* ====================== TABLET AND UP (≥ 768px) ====================== */
@media (min-width: 768px) {
  body {
    justify-content: flex-start;
  }
  /* .container {
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }*/
}

/* ====================== DESKTOP AND UP (≥ 992px) ====================== */
@media (min-width: 992px) {
  .package-background {
    max-width: 400px;
  }
  .container-no-pad {
    padding: 0 20px;
  }

  /* Top Bar */
  .top-bar-left {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .top-bar-center,
  .top-bar-left-offer {
    display: flex;
  }

  /* Show desktop elements */
  .top-bar-container2,
  .logo-container img,
  .top-sign-up-btn,
  .top-nav-list {
    display: flex;
  }

  /* Hide mobile elements */
  .menu-toggle,
  .toggle-more {
    display: none;
  }
}


/* ====================== RENTAL GRID ====================== */
@media (max-width: 1200px) {
  #rental-container {
    grid-template-columns: repeat(2, 1fr);
    /* 2 rentals for smaller desktops */
  }
}
@media (max-width: 900px) {
  #rental-container {
    grid-template-columns: repeat(2, 1fr);
    /* 2 rentals for tablets */
  }
}
@media (max-width: 500px) {
  #rental-container {
    grid-template-columns: 1fr;
    /* Single column for mobile */
  }

  /* Share modal */
  .share-modal-content {
    width: 95%;
    padding: 20px 15px;
  }
}


/*=========== login page html===============*/
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; 
  background: rgba(0,0,0,.7);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 9999;
}

.modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.login-form {
  position: relative;
  width: 90%;
  max-width: 400px;
  backdrop-filter: blur(40px);
  background-color: var(--bg-color);
  color: var(--text-color);
  z-index: 9999;
  transform: translateY(20px);
  opacity: 1;
  transition: all 0.4s ease;
  display: none;
  animation-duration: 0.4s;
  animation-fill-mode: both;
  opacity: 0;
  border: 1px solid var(--op-color);
  transform: translateY(20px);
}

.login-form.showing {
  display: flex;
  animation-name: fadeSlideIn;
  justify-content: center;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-overlay.show .login-form {
  transform: translateY(0);
  opacity: 1;
}

.login-close-btn {
  display: flex;
  border-radius: var(--border3);
  justify-content: center;
  align-items: center;
  padding: 0;
  border: none;
  font-size: 1.8rem;
  color: var(--text-color);
  cursor: pointer;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.login-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 24px;
  font-weight: 600;
  width: 100%;
  padding: 24px;
  border-bottom: 1px solid var(--border-color);
}

.login-agree{
  font-size: 14px;
}

.account-toggle-link {
  font-size: 14px;
}

.account-toggle-link p {
  display: flex;
  align-items: flex-start; /* allows vertical stacking when needed */
  gap: 10px;
  flex-wrap: wrap; /* allow wrapping of child elements */
  line-height: 1.4;
}

.account-toggle-link span{
  transition: .15s;
  opacity: 1;
  cursor: pointer;
 color: var(--blue-color);
  white-space: normal; /* allow breaking */
  word-break: break-word; /* optional: break long words if needed */
}

.accout-input-container{
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px;
}

.input-icon {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: #6c757d; /* Bootstrap's secondary text color */
  pointer-events: none;
}

.toggle-icon {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  color: #6c757d;
  cursor: pointer;
}

input.form-control:focus + .input-icon,
input.form-control:focus ~ .input-icon,
input.form-control:focus ~ .toggle-icon {
 color: var(--text-color); /* Bootstrap primary */
}

.social-btn{
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding-inline: 24px;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-color);
  height: 45px;
  background-color:  var(--footer-bg-color);
  transition: all 0.3s ease;
}


.social-btn img{
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border4);
  transition: .3s ease-in-out;
}

.social-btn:hover{
  background-color: var(--op-color);
}

.login-link a:hover {
  text-decoration: underline;
}

.forgot-password-link {
  font-size: 14px;
 color: var(--blue-color);
  text-decoration: none;
  text-align: right;
  width: max-content;
}


.continue-btn{
  height: 45px;
  width: 100%;
  border: none;
  background:  var(--blue-color);
  color: var(--white-color);
  position: relative;
  overflow: hidden;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  transition: .3s ease-in-out;
}

.continue-btn:hover{
background-color: var(--blue-hover-color);
}

/*=============== sign up html =============*/


.text-with-lines {
  display: flex;
  align-items: center;
  color: var(--text-color);
}

.text-with-lines hr {
  flex: 1;
  border: none;
  border-top: 1px solid var(--text-color);
  opacity: .1;
}

.text-with-lines span {
  white-space: nowrap;
  width: max-content;
  padding: 5px 10px;
  border-radius: var(--border3);
 display: flex;
 align-items: center;
 justify-content: center;
 color: var(--text-color);
 line-height: 1;
 font-size: 12px;
}

/*============= forgot password =============*/

.forgot-password-form {
  margin: 60px 15px 15px 15px;
}

.forgot-password-header {
  margin-top: 5rem;
  text-align: center;
  margin-bottom: 2rem;
}


.forgot-password-header h1 {
  font-size: 1.5rem;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.forgot-password-header p {
  font-size: 0.65rem;
  color: var(--text-color);
}

.forgot-password-form {
  padding: 2rem;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.3);
  border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(40px);
}

.forgot-password-form label {
  font-size: 16px;
  color: var(--text-color);
  font-weight: bold;
}

.email-entry {
  width: 100%;
  padding: 10px 10px 10px 30px;
  margin-top: 0.5rem;
  margin-bottom: .3rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
}

.forgot-password-form button {
  background-color: var(--badge-color);
  color: var(--color);
  padding: 10px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  width: 100%;
  margin-top: 5px;

}

.forgot-password-form button:hover {
  background-color: var(--gold-color);
  color: var(--color);
  transition: .3s linear;
}

.forgot-password-form-text {
  color: var(--text-color);
  text-align: center;
  font-size: 14px;
}

.forgot-password-form-text .remembered-password {
  color: var(--badge-color);
}

.forgot-password-form-text .remembered-password:hover {
  text-decoration: underline;
}

.email-entry {
  position: relative;
  margin-bottom: 0;
}

