@import url(https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap);
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

/* Map Container Styles */
.map-container {
    position: relative;
    width: 100%;
    height: 70vh;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    overscroll-behavior: contain;
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
     background-image: url(/static/media/map-bg.4500efae682237c93b1d.jpg); 
    background-size: cover; /* Ensures the image covers the container, cropping if needed */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents tiling */
  }
  
  
.map-container img {
  display: block;
  max-width: none;
  width: 100%;
  height: auto;
  touch-action: auto;
}

/* Tooltip Styles */
.tooltip {
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  position: absolute;
  z-index: 1000;
  pointer-events: none;
}

/* Popup Styles (for other popups, if any) */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  overscroll-behavior: none;
}

.popup-content {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
  min-width: 300px;
  max-width: 500px;
}

.popup-content h2 {
  margin-top: 0;
  color: #333;
}

.popup-content p {
  margin: 10px 0;
  color: #666;
}

.popup-content .popup-image {
  max-width: 100%;
  height: auto;
  margin: 10px 0;
  border-radius: 4px;
}

.popup-content button {
  padding: 8px 16px;
  background-color: #7ed957;
  border: none;
  border-radius: 4px;
  color: white;
  cursor: pointer;
}

.popup-content button:hover {
  background-color: #128807;
}

/* Zoom Control Buttons Container */
.zoom-controls {
  display: none;
}

/* Zoom Control Buttons */
.zoom-controls button {
  width: 60px;
  height: 60px;
  font-size: 26px;
  font-weight: 900;
  cursor: pointer;
  color: rgb(0, 0, 0);
  background-color: #92b23f;
  border: 1px solid #ccc;
  border-radius: 50px;
  display: inline-block;
  margin-left: 20px;
  transition: background-color 0.2s ease;
}

.zoom-controls button:hover {
  background-color: #779233;
}



/* Video Popup Styles */
.video-popup {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.video-popup.animate-in {
  animation: fadeSlideIn 0.3s ease-out forwards;
  pointer-events: auto;
}

.video-popup {
  cursor: pointer;
}

.video-popup video {
  cursor: default;
}








/* Existing styles */
.map-container {
  width: 100%;
  height: 100%;
}

.zoom-controls {
display: none;
}

.zoom-controls button {
  width: 40px;
  height: 40px;
  font-size: 24px;
  border: none;
  background: #fff;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}







@keyframes fadeSlideIn {
  0% {
    opacity: 0;
    transform: translate(-50%, -10px);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* Video Popup Content */
.video-popup-content {
  background: white;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  width: 300px;
}

/* Arrow pointing to location */
.video-popup-content::after {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid white;
  z-index: 2001;
}

.video-popup-content video {
  display: block;
  margin: 0 auto;
  width: 100%;
  height: 169px;
}

.video-popup-content button {
  padding: 8px 16px;
  background-color: #7ed957;
  border: none;
  border-radius: 4px;
  color: white;
  cursor: pointer;
  margin-top: 10px;
  width: 100%;
  transition: background-color 0.2s ease;
}

.video-popup-content button:hover {
  background-color: #128807;
}

/* Mapster Area Highlight Animation */
.mapster_el {
  transition: fill-opacity 0.3s ease, stroke-width 0.3s ease;
}

area[data-key] {
  cursor: pointer;
}

area[data-key]:hover + .mapster_el,
.mapster_el.mapster_selected {
  animation: pulseHighlight 0.5s ease-in-out;
}

@keyframes pulseHighlight {
  0% {
    fill-opacity: 0.2;
    stroke-width: 5;
  }
  50% {
    fill-opacity: 0.4;
    stroke-width: 7;
  }
  100% {
    fill-opacity: 0.2;
    stroke-width: 5;
  }
}

/* Media Query for Tablets (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .map-container {
    height: 100vh;
    width: 95%;
    overflow: hidden;
    overscroll-behavior: contain;
  }

  .popup-content {
    min-width: 250px;
    max-width: 400px;
    padding: 15px;
  }

  .popup-content h2 {
    font-size: 1.5rem;
  }

  .popup-content p {
    font-size: 0.9rem;
  }

  .tooltip {
    font-size: 11px;
    padding: 4px 8px;
  }

  .zoom-controls {
    display: none;
  }

  .zoom-controls button {
    display: none;
  }

  .video-popup-content {
    width: 250px;
  }

  .video-popup-content video {
    height: 141px;
  }
}

/* Media Query for Mobile (up to 767px) */
@media (max-width: 767px) {
  .map-container {
    height: 100vh;
    width: 100%;
    padding: 10px;
    overflow: hidden;
    overscroll-behavior: contain;
  }

  .popup {
    align-items: flex-start;
    padding: 10px;
  }

  .popup-content {
    min-width: 95%;
    max-width: 95%;
    padding: 15px;
    margin-top: 20px;
  }

  .popup-content h2 {
    font-size: 1.2rem;
  }

  .popup-content p {
    font-size: 0.85rem;
  }

  .popup-content .popup-image {
    max-width: 80%;
  }

  .popup-content button {
    padding: 6px 12px;
    font-size: 0.9rem;
  }
  .tooltip {
    font-size: 10px;
    padding: 3px 6px;
  }

  .zoom-controls {
    display: none;
  }

  .zoom-controls button {
    width: 40px;
    height: 40px;
    font-size: 18px;
    margin-left: 10px;
  }



  .video-popup.animate-in {
    animation: fadeSlideInMobile 0.3s ease-out forwards;
  }


  @keyframes fadeSlideInMobile {
    0% {
      opacity: 0;
      transform: translateY(-30%);
    }
    100% {
      opacity: 1;
      transform: translateY(-40%);
    }
  }

  .video-popup-content {
    width: 200px;
  }

  .video-popup-content video {
    height: 113px;
  }
}

@media (min-width: 1025px) {
  .map-container {
    height: 100vh; /* Reduced height for desktop */
  }
}

/* Media Query for iPhones (targeting common iPhone widths: 375px, 390px, 393px, etc.) */
@media only screen and (max-width: 428px) and (-webkit-min-device-pixel-ratio: 2) {
  .map-container {
    height: 100vh;
    width: 100%;
    padding: 5px;
    overflow: hidden;
    overscroll-behavior: contain;
  }

  .popup {
    padding: 5px;
  }

  .popup-content {
    min-width: 90%;
    max-width: 90%;
    padding: 10px;
    margin-top: 10px;
  }

  .popup-content h2 {
    font-size: 1.1rem;
  }

  .popup-content p {
    font-size: 0.8rem;
  }

  .popup-content .popup-image {
    max-width: 85%;
  }

  .popup-content button {
    padding: 5px 10px;
    font-size: 0.85rem;
  }

  .tooltip {
    font-size: 9px;
    padding: 2px 5px;
  }

  .zoom-controls {
    display: none;
  }

  .persistent-tooltip{
    font-size: 9px;
    padding: 2px 5px;
  }

  .video-popup {
    width: 74%;
    padding: 0;
  }

  .video-popup-content {
    width: 180px;
    padding: 8px;
  }

  .video-popup-content video {
    height: 101px;
  }

  .video-popup-content button {
    padding: 6px 12px;
    font-size: 0.9rem;
  }
}






.estate-text {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 5px 10px;
  border-radius: 5px;
  z-index: 1500;
  pointer-events: none;
}

/* LocationLabel.css */

/* Base styles for all animated labels (locations array) */
.animated-label {
    position: absolute;
    text-align: center;
    font-family: "'Montserrat', sans-serif";
    font-size: 14px;
    color: black;
    background-color: rgba(255, 255, 255, 0.85);
    padding: 6px 12px;
    border-radius: 3px;
    box-shadow: 0 1px 2px rgb(85, 85, 85);
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    white-space: nowrap; /* Prevent text wrapping */
  }

  .project-8-label{
    background-color: none;
    font-size: 8px;
  }
  
  /* Hover effect for animated labels */
  .animated-label:hover {
    background-color: rgba(255, 255, 255, 1);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  }
  
  /* Specific styles for project-5-label (most locations) */
  .project-5-label {
    font-family: "'Montserrat', sans-serif";
    border: 1px solid #d6d6d6;
  }
  
  /* Specific styles for project-8-label (Club House) */
  .project-8-label {
    font-family: "'Montserrat', sans-serif";
    border: 1px solid #666;
    color: white !important;
    background-color: rgba(15, 77, 35, 0.85) !important;
  }
  
  /* Separate styles for plotLabel (Plot 1 in locations array) */
  .plotLabel {
    font-family: "'Montserrat', sans-serif";
    font-weight: 900;
    font-size: 16px;
    color: #007bff !important; /* Bootstrap blue for distinction */
    background-color: rgba(230, 240, 255, 0.9); /* Light blue background */
    padding: 8px 14px;
    border-radius: none !important;
  }
  
  /* Hover effect for plotLabel */
  .plotLabel:hover {
    background-color: rgba(230, 240, 255, 1);
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  }
  
  /* Base styles for persistent tooltips (tooltips array) */
  .persistent-tooltip {
    position: absolute;
    text-align: center;
    font-size: 14px;
    color: #333;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 8px 12px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    line-height: 1.4; /* Improve readability for multi-line text */
  }
  
  /* Specific styles for project-6-label (Survey- No. 215) */
  .project-6-label {
    font-family: "'Montserrat', sans-serif";
    font-weight: bold;
  }
  
  /* Specific styles for project-7-label (Mogg’s Terra Hill) */
  .project-7-label {
    font-family: "'Montserrat', sans-serif";
    border: 1px solid rgb(82, 82, 82); /* Matches the border prop in JS */
    background-color: rgba(255, 255, 255, 0.95);
  }
  
  /* Ensure strong tags in tooltips are bold */
  .persistent-tooltip strong {
    font-weight: bold;
  }
  
  /* Styles for plot hover labels (plot blocks on hover) */
  .plot-hover-label {
    position: absolute;
    text-align: center;
    font-size: 14px;
    color: #333;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 6px 12px;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(185, 185, 185, 0.1);
    pointer-events: none; /* Prevents interference with mouse events */
    white-space: nowrap;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    /* Adjustments for animated labels */
    .animated-label {
      font-size: 12px;
      padding: 4px 8px;
      border-radius: 2px;
    }
  
    .project-5-label {
        border: 1px solid #ccc;
        border-radius: none !important;
      }
    /* Adjustments for plotLabel */
    .plotLabel {
      font-size: 14px;
      padding: 6px 10px;
    }
  
    /* Adjustments for persistent tooltips */
    .persistent-tooltip {
      font-size: 12px;
      padding: 6px 10px;
      border-radius: 1px;
    }
  
    /* Decrease size of project-6-label on mobile */
    .project-6-label {
      font-size: 10px; /* Smaller size for mobile */
      padding: 4px 8px;
      border: none !important; /* Adjust padding to match smaller size */
    }
  
    /* Decrease size of project-7-label on mobile */
    .project-7-label {
      font-size: 8px; /* Smaller size for mobile */
      padding: 4px 8px; /* Adjust padding to match smaller size */
    }
  
    /* Adjustments for plot hover labels */
    .plot-hover-label {
      font-size: 12px;
      padding: 4px 8px;
    }
    
  }
/* Import Montserrat from Google Fonts */

.project-details-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  background-image: url(/static/media/map-bg.4500efae682237c93b1d.jpg);
  width: 100%;
  height: 100vh;
  margin: 0 auto;
  font-family: 'Montserrat', sans-serif;
  background-size: cover;
  background-position: center;
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.popup-content {
  background: white;
  padding: 35px;
  border-radius: 60px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 1000px;
  width: 90%;
  font-family: 'Montserrat', sans-serif;
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

/* Base styles for status-bar */
.status-bar {
  margin-top: 10px;
  width: 60%;
  height: 55px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px; /* Adjusted from 'px' to a valid value */
  font-weight: 400;
  color: #fff; /* White text for contrast */
}

/* Status-specific styles */
.status-sold {
  background-color: #ff0000; /* Red for Sold */
}

.status-booked {
  background-color: #ff8000; /* Orange for Booked */
}

.status-available {
  background-color: #70a043; /* Green for Available */
}

.status-default {
  background-color: #666666; /* Gray for Loading..., Error, Not Available */
}

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.header-row h3 {
  color: #333;
  margin: 0;
  font-weight: 900;
  font-size: 30px;
}

.facing {
  color: #70a043;
  font-weight: 900;
  font-size: 26px;
  display: flex;
  align-items: center;
  gap: 8px; /* Space between text and compass icon */
}

.facing-icon {
  width: 24px;
  height: 24px;
  vertical-align: middle;
}

.popup-columns {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
}

.column {
  flex: 1 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative; /* For positioning borders */
}

.column-plot-number {
  border-right: 2px dotted gray; /* Dotted gray line on the right */
}

.column-trees {
  border-left: 2px dotted gray; /* Dotted gray line on the left */
}

.column-plot-number .plot-number-box {
  width: 60%;
  height: 150px;
  margin-top: 19px;
  background: #70a043;
  color: white;
  font-size: 2rem;
  font-weight: 700;
  display: flex;
  flex-direction: column; /* Stack premium label and plot name vertically */
  justify-content: center;
  align-items: center;
  border-radius: 10px;
}

.premium-label {
  display: block;
  font-size: 20px;
  color: #fff45f; /* White to match plot number box */
  font-weight: bold;
  margin-bottom: 5px;
}

.column-details{
  display: flex;
  justify-content: center;
  align-items: center;
}

.column-details .detail-card {
  background: #70a043;
  color: white;
  padding: 10px 15px;
  border-radius: 18px;
  width: 80%;
  text-align: center;
  font-weight: 500;
  margin: 4px 0;
}

.detail-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.detail-value {
  background-color: white;
  color: black;
  padding: 6px 8px;
  width: 50px;
  border-radius: 16px;
  font-weight: bold;
  font-size: 14px;
}

.status-icon {
  width: 16px;
  height: 16px;
  margin-right: 6px;
}

.column-trees h4 {
  color: #70a043;
  margin-bottom: 10px;
  font-weight: 500;
  font-size: 1.1rem;
}

.tree-icons-row {
  display: flex;
  justify-content: space-around;
  width: 100%;
  margin-bottom: 3px;
}

.tree-icon {
  width: 70px;
  height: 70px;
  cursor: pointer;
  transition: transform 0.2s;
}

.tree-icon:hover {
  transform: scale(1.1);
}

.tree-type-row {
  display: flex;
  justify-content: space-around;
  width: 100%;
  color: #70a043;
  font-weight: 500;
  margin-bottom: 10px;
  font-size: 14px;
}

.dynamic-tree-box {
  width: 70%;
  background: #f5f7e9;
  border-radius: 12px;
  padding: 8px;
  position: relative;
}

.tree-details {
  margin-bottom: 8px;
}

.tree-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #92b23f;
  font-weight: 500;
  margin: 4px 0;
  font-size: 14px;
}

.small-icon {
  width: 20px;
  height: 20px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.premium-note {
  font-size: 18px;
  color: #70a043; /* Gray for subtle appearance */
  font-weight: 500;
  padding-left:65px;
  animation: fadeInOut 2s ease-in-out infinite; /* Fade in and out animation */
}
@keyframes fadeInOut {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.home-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  cursor: pointer;
  align-self: center;
  border-radius: 20px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.home-button:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 20px;
}

/* Tablet Devices (768px - 1024px) */
@media (max-width: 1024px) {
  .project-details-container {
    padding: 10px;
  }

  .popup-content {
    padding: 10px;
    border-radius: 40px;
    width: 85%;
    max-height: 95vh;
  }

  .header-row h3 {
    font-size: 26px;
  }

  .facing {
    font-size: 22px;
    gap: 7px;
  }

  .facing-icon {
    width: 20px;
    height: 20px;
  }

  .popup-columns {
    gap: 12px;
  }

  .column-plot-number .plot-number-box {
    width: 70%;
    height: 120px;
    font-size: 1.8rem;
    margin-top: 30px;
  }

  .premium-label {
    font-size: 0.85em;
  }

  .column-details .detail-card {
    padding: 8px 12px;
    width: 85%;
    font-size: 15px;
  }

  .detail-value {
    width: 48px;
    padding: 5px 7px;
    font-size: 13px;
  }

  .column-trees h4 {
    font-size: 1rem;
  }

  .tree-icon {
    width: 60px;
    height: 60px;
  }

  .tree-type-row {
    font-size: 13px;
  }

  .dynamic-tree-box {
    width: 80%;
    padding: 7px;
  }

  .tree-item {
    font-size: 13px;
  }

  .small-icon {
    width: 18px;
    height: 18px;
  }

  .footer-row {
    margin-top: 15px;
  }

  .premium-note {
    font-size: 0.8em;
  }

  .home-button img {
    width: 70px;
    height: 70px;
  }
}

/* Mobile Devices (481px - 767px) */
@media (max-width: 767px) {
  .project-details-container {
    padding: 10px;
  }

  .popup-content {
    padding: 15px;
    border-radius: 20px;
    gap: 10px;
    width: 80%;
    max-height: 100vh;
  }

  .header-row {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .header-row h3 {
    font-size: 24px;
  }

  .facing {
    font-size: 18px;
    gap: 6px;
  }

  .facing-icon {
    width: 18px;
    height: 18px;
  }

  .popup-columns {
    flex-direction: column;
    gap: 10px;
  }

  .column {
    min-width: 0;
    width: 100%;
  }

  .column-plot-number {
    border-right: none;
  }

  .column-trees {
    border-left: none;
  }

  .column-plot-number .plot-number-box {
    width: 80%;
    height: 100px;
    font-size: 1.5rem;
    margin-top: 20px;
  }

  .premium-label {
    font-size: 0.8em;
  }

  .column-details .detail-card {
    padding: 8px 12px;
    border-radius: 15px;
    width: 90%;
    font-size: 14px;
  }

  .detail-value {
    padding: 5px 7px;
    width: 45px;
    font-size: 12px;
    border-radius: 14px;
  }

  .column-trees h4 {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .tree-icons-row {
    gap: 10px;
  }

  .tree-icon {
    width: 50px;
    height: 50px;
  }

  .tree-type-row {
    font-size: 12px;
    margin-bottom: 8px;
  }

  .dynamic-tree-box {
    width: 90%;
    padding: 6px;
  }

  .tree-item {
    font-size: 12px;
    gap: 5px;
  }

  .small-icon {
    width: 16px;
    height: 16px;
  }

  .footer-row {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }

  .premium-note {
    font-size: 0.75em;
    text-align: center;
    padding: 0;
  }

  .home-button {
    margin-top: 0;
  }

  .home-button img {
    width: 60px;
    height: 60px;
  }
}

/* Small Mobile Devices and iPhones (320px - 480px) */
@media (max-width: 480px) {
  .project-details-container {
    width: 80%;
  }

  .popup-content {
    border-radius: 36px;
    gap: 6px;
    width: 40%;
    max-height: 70vh;
  }

  .header-row h3 {
    font-size: 20px;
    margin-bottom: 0;
    padding: 0;
  }

  .facing {
    font-size: 20px;
  }

  .column-plot-number .plot-number-box {
    width: 75%;
    height: 45px;
    font-size: 1.2rem;
    margin-top: 15px;
  }

  .premium-label {
    font-size: 0.75em;
  }

  .column-details .detail-card {
    padding: 8px 10px;
    border-radius: 12px;
    width: 70%;
    font-size: 15px;
    font-weight: 500;
  }

  .detail-value {
    width: 60px;
    padding: 3px 6px;
    font-size: 15px;
    border-radius: 12px;
  }

  .column-trees h4 {
    font-size: 1rem;
    margin-bottom: 2px;
  }

  .tree-icon {
    width: 60px;
    height: 60px;
  }

  .tree-type-row {
    font-size: 16px;
    margin-bottom: 3px;
  }

  .dynamic-tree-box {
    width: 73%;
    padding: 6px;
  }

  .tree-item {
    font-size: 15px;
    gap: 6px;
  }

  .small-icon {
    width: 30px;
    height: 30px;
  }

  .footer-row {
    margin-top: 8px;
  }

  .premium-note {
    font-size: 0.7em;
    padding: 0;
  }

  .home-button {
    margin-top: 0;
  }

  .home-button img {
    width: 50px;
    height: 50px;
    margin-bottom: 0;
  }
}

/* Extra Small Screens (e.g., iPhone SE, < 375px) */
@media (max-width: 375px) {
  .project-details-container {
    padding: 5px;
  }

  .popup-content {
    padding: 8px;
    border-radius: 10px;
    gap: 6px;
    width: 70%;
  }

  .header-row h3 {
    font-size: 18px;
  }

  .facing {
    font-size: 14px;
    gap: 4px;
  }

  .facing-icon {
    width: 14px;
    height: 14px;
  }

  .column-plot-number .plot-number-box {
    width: 95%;
    height: 70px;
    font-size: 1.1rem;
    margin-top: 10px;
  }

  .premium-label {
    font-size: 0.7em;
  }

  .column-details .detail-card {
    padding: 5px 8px;
    border-radius: 10px;
    width: 100%;
    font-size: 11px;
  }

  .detail-value {
    width: 35px;
    padding: 3px 5px;
    font-size: 9px;
    border-radius: 10px;
  }

  .column-trees h4 {
    font-size: 0.85rem;
    margin-bottom: 5px;
  }

  .tree-icon {
    width: 35px;
    height: 35px;
  }

  .tree-type-row {
    font-size: 10px;
    margin-bottom: 5px;
  }

  .dynamic-tree-box {
    width: 100%;
    padding: 4px;
  }

  .tree-item {
    font-size: 10px;
    gap: 3px;
  }

  .small-icon {
    width: 12px;
    height: 12px;
  }

  .footer-row {
    margin-top: 6px;
  }

  .premium-note {
    font-size: 0.65em;
    padding: 0;
  }

  .home-button {
    margin-top: 6px;
  }

  .home-button img {
    width: 45px;
    height: 45px;
  }
}
/* Import Montserrat from Google Fonts */

* {
  font-family: 'Montserrat', sans-serif;
  
}
body{
  background-image: url(/static/media/map-bg.4500efae682237c93b1d.jpg);
}

.login-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.login-form {
  display: flex;
  flex-direction: column;
  width: 300px;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #fff;
}

.login-form h2 {
  text-align: center;
  margin-bottom: 20px;
}

.login-form input {
  margin: 10px 0;
  padding: 8px;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
}

.login-form button {
  padding: 10px;
  background-color: #92b23f;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 10px;
}

.login-form button:hover {
  background-color: #6c852f;
}

.error {
  color: red;
  text-align: center;
  margin: 10px 0;
}

.contact-text {
  margin-top: 15px;
  text-align: center;
  font-size: 14px;
  color: #666;
}

.contact-text a {
  color: #007bff;
  text-decoration: none;
}

.contact-text a:hover {
  text-decoration: underline;
}

.password-container {
  position: relative;
  margin: 10px 0;
}

.password-container input {
  padding-right: 30px; /* Space for the eye icon */
}

.eye-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #666;
}

.zoom-instruction-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.instruction-text {
  color: white;
  font-size: 20px;
  margin-bottom: 2px;
}

.fade-out {
  animation: fadeOut 2s forwards;
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
