@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://api.fontshare.com/v2/css?f[]=garet@400;600;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.0fa420591d3c9534d13e.png); 
    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;
    }
    
    .plot-center-label{
      font-size: 2px !important;
      padding: 2px 1px !important;
    }
    .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.0fa420591d3c9534d13e.png);
  width: 100%;
  height: 100vh;
  margin: 0 auto;
  font-family: 'Gilroy', 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 {
  padding: 23px;
  border-radius: 60px;
  border: 3px solid white;
  background-color: #FFFFFF;
  max-width: 900px;
  width: 80%;
  font-family: 'Gilroy', 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: 0px;
  width: 60%;
  height: 55px;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  font-weight: 400;
  color: #f5fde9;
}

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

.status-booked {
  background-color: #ff8000;
}

.status-available {
  background-color: #3CCB7B;
}

.status-default {
  background-color: #666666;
}

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

.header-row h3 {
  color: #00284D;
  margin: 0;
  font-weight: 900;
  font-size: 26px;
}

.facing {
  color: #00284D;
  font-weight: 900;
  font-size: 26px;
  display: flex;
  align-items: center;
  gap: 2px;
}

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

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

.column {
  flex: 1 1;
  min-width: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
}

.column-plot-number {
  border-right: 2px dotted #00284D;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.column-trees {
  border-left: 2px dotted #00284D;
}

.column-plot-number .plot-number-box {
  width: 60%;
  height: 120px;
  background: #00284D;
  color: white;
  font-size: 26px;
  font-weight: 700;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  border-radius: 23px;
}

.column-details {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 13px;
}

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

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

.detail-value {
  background-color: #f5f7e9;
  color: black;
  padding: 6px 8px;
  width: 45px;
  border-radius: 12px;
  font-weight: bold;
  font-size: 12px;
}

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

.column-trees h4 {
  color: #00284D;
  margin-bottom: 3px;
  font-weight: 500;
  font-size: 15px;
}

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

.tree-icon {
  width: 50px;
  height: 50px;
  cursor: pointer;
  transition: transform 0.2s;
  text-decoration: none;
  -webkit-user-select: none;
          user-select: none;
  outline: none !important;
}

.tree-icon:hover {
  transform: scale(1.1);
  text-decoration: none;
  outline: none !important;
}

.tree-type-row {
  display: flex;
  justify-content: space-around;
  width: 100%;
  color: #00284D;
  font-weight: 500;
  font-size: 12px;
  
}
.t1{
  padding: 0px;
}
.dynamic-tree-box {
  width: 65%;
  background: #f5f7e9;
  margin: 0;
  border-radius: 16px;
  padding: 9px;
  position: relative;
}

.tree-details {
  margin: 0px;
}

.tree-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #00284D;
  font-weight: 500;
  margin: 0px 0;
  font-size: 13px;
}

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

.no-trees-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.no-trees-icon {
  width: 45%;
}

.no-trees-container p {
  color: #00284D;
  font-size: 14px;
  margin: 0;
}

.footer-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 5px;
}

.home-button {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  align-self: center;
  border-radius: 20px;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  outline: none;
}

/* 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: 26px;
    margin-top: 30px;
  }

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

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

  .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;
  }

  .no-trees-container {
    margin-top: 15px;
  }

  .no-trees-icon {
    width: 70px;
    height: 70px;
  }

  .no-trees-container p {
    font-size: 13px;
  }

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

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


/* Mobile Devices (up to 767px) */
@media (max-width: 767px) {
  .project-details-container {
    padding: 4px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url(/static/media/map.0fa420591d3c9534d13e.png);
    height: 100vh;
    margin: 0 auto;
    font-family: 'Gilroy', 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 {
    padding: 4px;
    border-radius: 20px;
    gap: 5px;
    width: 50%;
    max-height: 85vh;
    align-items: center;
    border: 3px solid white;
    font-family: 'Gilroy', sans-serif;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-y: auto;
  }

  .status-bar {
    width: 50%;
    height: 40px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    font-weight: 400;
    color: #f5fde9;
  }

  .status-sold {
    background-color: #ff0000;
  }

  .status-booked {
    background-color: #ff8000;
  }

  .status-available {
    background-color: #00284D;
  }

  .status-default {
    background-color: #666666;
  }

  .header-row {
    justify-content: center;
    flex-direction: column;
    text-align: center;
    width: 80%;
  }

  .header-row h3 {
    color: #00284D;
    font-size: 24px;
    margin: 0;
    font-weight: 900;
  }

  .facing {
    color: #00284D;
    font-weight: 900;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .popup-columns {
    flex-direction: column;
    gap: 10px;
    align-items: center;
    width: 100%;
  }

  .column {
    min-width: 0;
    width: 100%;
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .column-plot-number {
    border-right: none;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 85%;
  }

  .column-trees {
    border-left: none;
    width: 100%;
  }

  .column-plot-number .plot-number-box {
    width: 50%;
    height: 80px;
    background: #00284D;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    border-radius: 23px;
    margin-top: 0;
  }

  .column-details {
    border-radius: 15px;
    width: 100%;
    font-size: 14px;
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .column-details .detail-card {
    background: #00284D;
    color: white;
    padding: 10px 15px;
    border-radius: 18px;
    width: 80%;
    height: 22px;
    text-align: center;
    font-weight: 500;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .detail-value {
    background-color: #f5f7e9;
    color: #00284D;
    padding: 5px 7px;
    width: 45px;
    border-radius: 14px;
    font-weight: bold;
    font-size: 12px;
  }

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

  .column-trees h4 {
    color: #00284D;
    font-size: 1rem;
    text-align: center;
    font-weight: 500;
  }

  .tree-icons-row {
    display: flex;
    gap: 50px;
    justify-content: center;
    width: 100%;
    text-decoration: none;
  }

  .tree-icon {
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: transform 0.2s;
    text-decoration: none;
    -webkit-user-select: none;
            user-select: none;
    outline: none !important;
  }

  .tree-icon:hover {
    transform: scale(1.1);
    text-decoration: none;
    outline: none !important;
  }

  .tree-type-row {
    display: flex;
    justify-content: center;
    width: 100%;
    color: #00284D;
    font-weight: 500;
    font-size: 12px;
    
  }
  .t1{
 margin : 20px;
  }

  .dynamic-tree-box {
    width: 80%;
    background: #f5f7e9;
    border-radius: 20px;
    padding: 6px;
    margin: 0 auto;
  }

  .tree-details {
    margin: 5px;
  }

  .tree-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #00284D;
    font-weight: 500;
    margin: 4px 0;
    font-size: 12px;
    justify-content: center;
  }

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

  .no-trees-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
  }

  .no-trees-icon {
    width: 100px;
    height: 100px;
  }

  .no-trees-container p {
    color: #666;
    font-size: 12px;
    margin: 0;
  }

  .footer-row {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
    justify-content: center;
    width: 100%;
  }

  .home-button {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    align-self: center;
    border-radius: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    outline: none;
    margin-top: 0;
  }

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

/* Small Mobile Devices and iPhones (up to 480px) */
@media (max-width: 480px) {
  .project-details-container {
    padding: 3px;
  }

  .popup-content {
    border-radius: 36px;
    gap: 6px;
    width: 50%;
    padding: 4px;
  }

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

  .facing {
    font-size: 20px;
  }

  .column-plot-number .plot-number-box {
    width: 50%;
    height: 45px;
    font-size: 1.2rem;
  }

  .column-details {
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
  }

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

  .column-trees h4 {
    margin-bottom: 2px;
  }

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

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

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

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

  .no-trees-container {
    margin-top: 8px;
  }

  .no-trees-icon {
    width: 100px;
    height: 100px;
  }

  .no-trees-container p {
    font-size: 11px;
  }

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

  .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: 3px;
  }

  .popup-content {
    padding: 4px;
    border-radius: 10px;
    gap: 6px;
    width: 50%;
    max-height: 80vh;
  }

  .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: 50%;
    height: 70px;
    font-size: 1.1rem;
  }

  .column-details {
    padding: 5px 8px;
    border-radius: 10px;
    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;
    width: 80%;
  }

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

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

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

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

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

  .no-trees-container {
    margin-top: 6px;
  }

  .no-trees-icon {
    width: 40px;
    height: 40px;
  }

  .no-trees-container p {
    font-size: 10px;
  }

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

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

  .home-button img {
    width: 45px;
    height: 45px;
  }
}
/* Import Garet from Fontshare */

* {
  font-family: 'Garet', sans-serif;
}

body {
  background-image: url(/static/media/map.0fa420591d3c9534d13e.png);
  margin: 0;
  padding: 0;
}

.app-container {
  position: relative;
  height: 100vh;
  width: 100vw;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loading-container {
  text-align: center;
}

.loading-logo {
  width: 200px; /* Adjust size as needed */
  margin-bottom: 20px;
}

.loader {
  width: 50px;
  height: 50px;
  border: 5px solid #fff;
  border-top: 5px solid #024837;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

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

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.app-container {
  height: 100vh;
  width: 100%;
}

/* Form Styles */
.hfe-form-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: rgba(255, 255, 255, 0.9);
}

.hfe-form-content {
  background: white;
  padding: 2rem;
  border-radius: 56px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  border: 1px solid #ccc;
  width: 100%;
  text-align: center;
}

.hfe-form-logo {
  width: 180px;
}

p {
  margin: 5px;
}

.hfe-entry-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hfe-form-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.hfe-form-group label {
  font-weight: 600;
  color: #024837;
}

.hfe-form-group input {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 20px;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.hfe-form-group input:focus {
  border-color: #024837;
  outline: none;
}

.hfe-form-error-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.hfe-form-error {
  color: #dc3545;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  text-align: center;
}

.hfe-submit-button {
  background-color: #024837;
  color: white;
  padding: 1rem;
  border: none;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

.hfe-submit-button:hover {
  background-color: #03644a;
}

.hfe-retry-button {
  background-color: #dc3545;
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

.hfe-retry-button:hover {
  background-color: #c82333;
}

/* Thank You Message Styles */
.hfe-thank-you-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: rgba(255, 255, 255, 0.9);
}

.hfe-thank-you-content {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  width: 100%;
  text-align: center;
}

.hfe-thank-you-content h2 {
  color: #024837;
  margin-bottom: 1rem;
}

.hfe-thank-you-content p {
  font-size: 1rem;
  color: #333;
}
