body {
    font-family: "Plus Jakarta Sans", sans-serif !important;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #fcfcfd;
}

.container {
    flex: 1;
    padding-top: 1.5rem;
    padding-bottom: 2.5rem;
}

.navbar {
    height: 5rem;
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

.fa-regular {
    color: #fe424d;
    font-size: 2rem;
}

.nav-link {
    color: #222222 !important;
}

.f-info-links a {
    text-decoration: none;
    color: #222222;
}

.f-info-links a:hover {
    text-decoration: underline;
}

.f-info-links,
.f-info-socials,
.f-info-brand {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.f-info-socials i {
    margin-right: 1rem;
    font-size: 1.2rem;
}

.f-info {
    display: flex;
    background-color: #ebebeb;
    height: 8rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: space-evenly;
    text-align: center;

}

/* ------------card---------------- */

.card {
    border: none !important;
    margin-bottom: 2rem;
}

.card-img-top {
    border-radius: 1rem !important;
    width: 100% !important;
    object-fit: cover !important;
}

.card-body {
    padding: 0 !important;
}

.card-text p {
    font-weight: 400;
}

.listing-link {
    text-decoration: none;
}

/* --------cardEffect--------- */

.card-img-overlay {
    opacity: 0;
}

.card-img-overlay:hover {
    opacity: 0.2;
    background-color: white;
}

/* ----------------newPage---------------- */

.add-btn {
    background-color: #fe424d !important;
    border: none !important;
}

.edit-btn {
    background-color: #fe424d !important;
    border: none !important;
}

/* Listing Premium Cards */
.listing-card-wrapper {
  position: relative;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.listing-img-container {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-bottom: 0.75rem;
}
.listing-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.listing-card-wrapper:hover .listing-img-container img {
  transform: scale(1.06);
}
.listing-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background-color: #e8f5e9;
  color: #2e7d32;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  z-index: 2;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.listing-details {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.25rem;
}
.listing-title-text {
  font-weight: 600;
  color: #222222;
  font-size: 0.95rem;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 80%;
}
.listing-rating {
  font-weight: 500;
  font-size: 0.9rem;
  color: #222222;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.listing-rating i {
  color: #ffc107;
}
.listing-location-text {
  font-size: 0.85rem;
  color: #717171;
  margin-bottom: 0.25rem;
}
.listing-price-text {
  font-size: 0.95rem;
  color: #222222;
  font-weight: 400;
}
.listing-price-val {
  font-weight: 700;
}

/* Map section styling */
.map-container {
  max-width: 600px;
  margin: 2rem auto;
}

.map-title {
  font-weight: 600;
  color: #222222;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

#map {
  height: 400px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
  z-index: 1; /* Keep leaflet controls below any dropdowns if necessary, but keep it standard */
}

.custom-map-pin {
  background: none !important;
  border: none !important;
}
