@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.0293cf881c61629140ec.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;
  }

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

  .popup-content {
    min-width: 95%;
    max-width: 95%;
    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.0293cf881c61629140ec.png);
  width: 100%;
  height: 100vh;
  margin: 0 auto;
  font-family: 'Gilroy', sans-serif;
  background-size: cover;
  background-position: center;
}

.popup, .booking-popup, .confirmation-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, .booking-popup-content, .confirmation-popup-content {
  padding: 23px;
  border-radius: 60px;
  border: 3px solid white;
  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;
  background: #fff;
}

/* 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-sold { background-color: #ff0000; }
.status-booked { background-color: #ff8000; }
.status-available { background-color: #024837; }
.status-default { background-color: #666666; }

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

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

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

/* Popup Columns */
.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 #024837;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

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

.column-plot-number .plot-number-box {
  width: 60%;
  height: 120px;
  background: #024837;
  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: #024837;
  color: white;
  padding: 10px 15px;
  border-radius: 18px;
  width: 80%;
  height: 22px;
  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: #024837;
  padding: 6px 8px;
  width: 45px;
  border-radius: 12px;
  font-weight: bold;
  font-size: 12px;
}

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

.booking{
  color: #024837;
  margin: 0px !important;
  font-weight: 500;
  font-size: 15px;
}
.column-trees h4 {
  color: #024837;
  margin-bottom: 10px;
  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: 60px;
  height: 60px;
  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: #024837;
  font-weight: 500;
  margin-bottom: 0px;
  font-size: 13px;
}

.t1 {
  padding: 5px;
}

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

.tree-details {
  margin: 5px;
}

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

.smallText p{
  margin-right: 120px;
  color: #024837;
  font-size: 13px;
  width: 100%;
}
.contact-support {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 60px!important;
  color: #024837;
  font-size: 13px;
  width: 100%;
}

.contact-support button {
  color: #024837;
  text-decoration: none;
  background: transparent;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  cursor: pointer;
}

i{
  margin-left: 5px;
}

.contact-support button:hover {
  text-decoration: underline;
}


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

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

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

.no-trees-container p {
  color: #024837;
  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;
}


/* Booking Popup Styles */
.booking-popup-content {
  padding: 20px;
  border-radius: 40px;
  max-width: 800px;
  width: 90%;
}

.booking-popup-columns {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.booking-column {
  flex: 1 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.booking-info h4, .booking-form h4 {
  color: #000000;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.info-item {
  color: black;
  font-size: 12px;
  text-align: center;
  padding: 0;
  font-weight: 500;
}

.booking-form .form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 6px;
}

.booking-form label {
  color: #024837;
  font-size: 14px;
  margin-bottom: 5px;
}

.booking-form input[type="text"],
.booking-form input[type="number"],
.booking-form input[type="tel"],
.booking-form input[type="email"] {
  padding: 6px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 14px;
}

.booking-form .checkbox-group {
  flex-direction: row;
  align-items: center;
  gap: 6px;
}

.booking-form .checkbox-group label {
  font-size: 13px;
}

.form-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.proceed-button{
  background: #024837 !important;
  color: white !important;
  padding: 20px 30px !important;
  border: none !important;
  border-radius: 20px !important;
  cursor: pointer !important;
  font-weight: 500 !important;
  transition: background 0.2s !important;
}

.proceed-button:hover {
  background: #036b52;
}
.confirmation-section, .error-section{
  margin: auto;
}
.cancel-button {
  background: #f5f7e9 !important;
  color: black !important;
  border: 1px dotted black !important;
  padding: 10px 20px !important;
  border: none;
  border-radius: 20px !important;
  cursor: pointer !important;
  font-weight: 500 !important;
  transition: background 0.2s;
}

.cancel-button:hover {
  background: #bbb;
}

/* Confirmation Popup Styles */
.confirmation-popup-content {
  padding: 20px;
  border-radius: 40px;
  max-width: 600px;
  width: 90%;
  align-items: center;
  text-align: center;
}

.confirmation-popup-content h3 {
  color: #024837;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}

.confirmation-details p {
  color: #024837;
  font-size: 14px;
  margin: 10px 0;
}

.confirmation-details a {
  color: #3498db;
  text-decoration: none;
}

.confirmation-details a:hover {
  text-decoration: underline;
}

.download-receipt-button {
  background: #024837 !important;
  color: white !important;
  padding: 20px 30px !important;
  border: none !important;
  border-radius: 20px !important;
  cursor: pointer !important;
  font-weight: 500 !important;
  margin: 10px 0 !important;
  transition: background 0.2s !important;
}

.download-receipt-button:hover {
  background: #036b52;
}

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

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

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

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

  .popup-columns, .booking-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;
  }

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

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

  .form-buttons {
    flex-direction: column;
    gap: 8px;
  }

  .proceed-button, .cancel-button {
    width: 100%;
    padding: 8px;
  }
}

/* Mobile Devices (up to 767px) */
@media (max-width: 767px) {
  .project-details-container {
    padding: 4px;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
  }

  .popup-content, .booking-popup-content, .confirmation-popup-content {
    padding: 15px;
    border-radius: 20px;
    width: 90%;
    max-height: 85vh;
  }

  .status-bar {
    width: 80%;
    height: 40px;
    font-size: 12px;
  }

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

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

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

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

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

  .column-plot-number {
    border-right: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

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

  .column-plot-number .plot-number-box {
    width: 80%;
    height: 80px;
    font-size: 20px;
    border-radius: 15px;
  }

  .column-details {
    width: 100%;
    font-size: 14px;
  }

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

  .detail-value {
    padding: 5px 7px;
    width: 50px;
    font-size: 12px;
  }

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

  .column-trees h4 {
    font-size: 16px;
  }

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

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

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

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

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

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

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

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

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

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

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

  .book-now-button {
    width: 100%;
    text-align: center;
  }

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

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

  .booking-form .form-group {
    margin-bottom: 10px;
  }

  .booking-form input[type="text"],
  .booking-form input[type="tel"],
  .booking-form input[type="email"] {
    padding: 6px;
    font-size: 12px;
  }

  .booking-form .checkbox-group label {
    font-size: 12px;
  }

  .form-buttons {
    flex-direction: column;
    gap: 8px;
  }

  .proceed-button, .cancel-button {
    width: 100%;
    padding: 8px;
  }

  .confirmation-popup-content {
    width: 95%;
  }

  .confirmation-popup-content h3 {
    font-size: 20px;
  }

  .confirmation-details p {
    font-size: 12px;
  }

  .download-receipt-button {
    width: 100%;
    padding: 8px;
  }
}

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

  .popup-content, .booking-popup-content, .confirmation-popup-content {
    border-radius: 36px;
    width: 95%;
    padding: 10px;
  }

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

  .facing {
    font-size: 16px;
  }

  .column-plot-number .plot-number-box {
    width: 85%;
    height: 70px;
    font-size: 18px;
  }

  .column-details {
    font-size: 12px;
  }

  .detail-value {
    width: 45px;
    font-size: 10px;
  }

  .column-trees h4 {
    font-size: 14px;
  }

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

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

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

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

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

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

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

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

  .booking-form .form-group {
    margin-bottom: 8px;
  }

  .booking-form input[type="text"],
  .booking-form input[type="tel"],
  .booking-form input[type="email"] {
    padding: 5px;
    font-size: 11px;
  }

  .booking-form .checkbox-group label {
    font-size: 11px;
  }

  .form-buttons {
    gap: 6px;
  }

  .proceed-button, .cancel-button {
    padding: 7px;
    font-size: 12px;
  }

  .confirmation-popup-content h3 {
    font-size: 18px;
  }

  .confirmation-details p {
    font-size: 11px;
  }
}

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

  .popup-content, .booking-popup-content, .confirmation-popup-content {
    padding: 8px;
    border-radius: 20px;
    width: 98%;
    max-height: 80vh;
  }

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

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

  .column-plot-number .plot-number-box {
    width: 90%;
    height: 60px;
    font-size: 16px;
  }

  .column-details {
    font-size: 11px;
  }

  .detail-value {
    width: 40px;
    padding: 3px 5px;
    font-size: 9px;
  }

  .column-trees h4 {
    font-size: 13px;
  }

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

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

  .dynamic-tree-box {
   

 padding: 4px;
  }

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

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

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

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

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

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

  .booking-form .form-group {
    margin-bottom: 6px;
  }

  .booking-form input[type="text"],
  .booking-form input[type="tel"],
  .booking-form input[type="email"] {
    padding: 4px;
    font-size: 10px;
  }

  .booking-form .checkbox-group label {
    font-size: 10px;
  }

  .form-buttons {
    gap: 5px;
  }

  .proceed-button, .cancel-button {
    padding: 6px;
    font-size: 11px;
  }

  .confirmation-popup-content h3 {
    font-size: 16px;
  }

  .confirmation-details p {
    font-size: 10px;
  }

  .download-receipt-button {
    padding: 6px;
    font-size: 11px;
  }
}

.book-now-button {
  background: #024837;
  width: 200px;
  color: white;
  padding: 14px 28px;
  margin-right: 20px;
  border-radius: 26px;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  transition: background 3s;
  display: flex;
  align-items: center;
  gap: 3px; /* Space between icon and text */
}

.book-now-button:hover {
  background: #036b52;
}

.book-now-icon {
  width: 20px;
  height: 20px;
  fill: white; /* Ensure SVG inherits white color if possible */
}

/* Tablet Devices (768px - 1024px) */
@media (max-width: 1024px) {
  .book-now-button {
    padding: 8px 16px;
  }
  .book-now-icon {
    width: 18px;
    height: 18px;
  }
}

/* Mobile Devices (up to 767px) */
@media (max-width: 767px) {
  .book-now-button {
    padding: 8px 16px;
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .book-now-icon {
    width: 16px;
    height: 16px;
  }
}

/* Small Mobile Devices (up to 480px) */
@media (max-width: 480px) {
  .book-now-button {
    padding: 7px 14px;
  }
  .book-now-icon {
    width: 14px;
    height: 14px;
  }
}

/* Extra Small Screens (e.g., iPhone SE, < 375px) */
@media (max-width: 375px) {
  .book-now-button {
    padding: 6px 12px;
  }
  .book-now-icon {
    width: 12px;
    height: 12px;
  }
}

/* Add .not-available styling (as recommended previously) */
.not-available {
  background: none;
  border: 2px dotted #024837;
  font-size: 13px !important;
  color: #024837;
  padding: 14px 30px;
  border-radius: 20px;
  height: 30px;
  margin-right: 20px;
  text-align: center;
  font-weight: 500;
}

.company-logo {
  display: block;
  margin: 0 auto;
}
.payment-methods {
  margin-top: 4px;
  font-weight: 400;
  font-size: small;
}

.secure-note {
  font-size: 12px;
  color: #28a745;
  display: flex;
  align-items: center;
}
/* Container for the entire dashboard */
.md-dashboard-container {
  min-height: 80vh;
  background-color: #F3F4F6; /* Light gray background */
}

/* Header styling */
.md-dashboard-header {
  background-color: #1A3C34; /* Dark green */
  color: #FFFFFF;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.md-project-name {
  font-size: 20px;
  font-weight: 700;
}

.md-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.md-company-name {
  font-size: 16px;
}

.md-action-button {
  background-color: #2A5C4A;
  color: #FFFFFF;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.md-action-button:hover {
  background-color: #3A7C64;
}

/* Search and clear buttons */
.md-search-button,
.md-clear-button {
  padding: 4px 20px !important;
  background-color: #1A3C34;
  color: white;
  border-radius: 6px;
  margin-right: 5px;
  margin-top: 5px;
}

/* Main content layout */
.md-main-content {
  display: flex;
}

/* Sidebar styling */
.md-sidebar {
  width: 20%;
  background-color: #E5E7EB;
  padding: 16px;
  margin: 16px;
  border-radius: 8px;
  height: calc(100vh - 96px);
  display: flex;
  flex-direction: column;
}

.md-sidebar-item {
  padding: 8px 12px;
  border-bottom: 1px solid #D1D5DB;
  cursor: pointer;
  font-size: 14px;
  color: #374151;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center; /* Center icon and text vertically */
}

.md-sidebar-icon {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  color: #374151; /* Match sidebar text color */
  transition: color 0.3s ease;
}

.md-sidebar-item:hover {
  background-color: #D1D5DB;
}

.md-sidebar-item:hover .md-sidebar-icon {
  color: #1F2937; /* Slightly darker on hover */
}

.md-sidebar-item.md-active {
  background-color: #D1D5DB;
}

.md-sidebar-item.md-active .md-sidebar-icon {
  color: #1F2937; /* Match hover color for active state */
}

.md-sidebar-footer {
  margin-top: auto;
  font-size: 12px;
  color: #6B7280;
}

/* Main content area */
.md-content-area {
  width: 80%;
  background-color: #E5E7EB;
  padding: 16px;
  margin: 16px;
  border-radius: 8px;
  min-height: calc(100vh - 96px);
}

/* Section content (general) */
.md-section-content {
  padding: 20px;
}

/* Section header */
.md-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.md-section-title {
  font-size: 24px;
  font-weight: 700;
  color: #024837;
}

/* Plot details section */
.md-plot-details-container {
  padding: 16px;
}

.md-search-container {
  margin-bottom: 16px;
}

.md-search-input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  font-size: 14px;
  color: #374151;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.md-search-input:focus {
  outline: none;
  border-color: #2A5C4A;
  box-shadow: 0 0 0 3px rgba(42, 92, 74, 0.2);
}

.md-close-tab-button {
  background-color: #E5E7EB;
  color: #374151;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.md-close-tab-button:hover {
  background-color: #D1D5DB;
}

.md-no-results,
.md-placeholder-text {
  font-size: 14px;
  color: #6B7280;
}

/* Plot card styling */
.md-plot-card {
  background-color: #FFFFFF;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.md-plot-header {
  border-bottom: 1px solid #D1D5DB;
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.md-plot-title {
  font-size: 18px;
  font-weight: 600;
  color: #1F2937;
}

.md-plot-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}

.md-plot-info {
  width: 50%;
}

.md-info-title {
  font-size: 16px;
  font-weight: 600;
  color: #1F2937;
  margin-bottom: 8px;
}

.md-plot-detail {
  font-size: 14px;
  color: #374151;
  margin-bottom: 4px;
  display: flex;
  justify-content: space-between;
}

.md-plot-detail span {
  font-weight: 500;
}

.md-tree-info {
  width: 45%;
  display: flex;
  justify-content: space-between;
}

.md-tree-column {
  width: 48%;
}

.md-tree-detail {
  font-size: 14px;
  color: #374151;
  margin-bottom: 4px;
  display: flex;
  justify-content: space-between;
}

.md-tree-detail span {
  font-weight: 500;
}

.md-plot-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid #D1D5DB;
}

.md-status-info {
  display: flex;
  flex-direction: column;
}

.md-status-label {
  font-size: 14px;
  color: #6B7280;
  margin-bottom: 4px;
}

.md-status-value {
  font-size: 16px;
  font-weight: 600;
  color: #1A3C34;
}

.md-total-trees {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.md-total-label {
  font-size: 14px;
  color: #6B7280;
  margin-bottom: 4px;
}

.md-total-value {
  font-size: 24px;
  font-weight: 700;
  color: #1A3C34;
  background-color: #E5E7EB;
  padding: 4px 12px;
  border-radius: 4px;
}

.md-plot-actions {
  display: flex;
  gap: 12px;
}

.md-change-button,
.md-edit-trees-button {
  background-color: #2A5C4A;
  color: #FFFFFF;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.md-change-button:hover,
.md-edit-trees-button:hover {
  background-color: #3A7C64;
}

/* Loading and error states */
.md-loading {
  text-align: center;
  font-size: 18px;
  color: #333;
  padding: 16px;
}

.md-error {
  text-align: center;
  color: #dc3545;
  font-size: 16px;
  padding: 16px;
}

/* Scrollable users table */
.md-scrollable-table {
  max-height: 400px;
  overflow-y: auto;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  background-color: #FFFFFF;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.md-users-table {
  width: 100%;
  border-collapse: collapse;
}

.md-users-table th,
.md-users-table td {
  padding: 12px 16px;
  text-align: left;
  font-size: 14px;
  color: #374151;
  border-bottom: 1px solid #D1D5DB;
}

.md-users-table th {
  background-color: #F9FAFB;
  font-weight: 600;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1;
}

.md-user-row {
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.md-user-row:hover {
  background-color: #F3F4F6;
}

/* Report section styling */
.md-report-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.md-report-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.md-report-button {
  background-color: #024837;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.md-report-button:hover {
  background-color: #03644a;
}

.md-entry-form-reports {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.md-entry-form-reports h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #024837;
}

.md-entry-form-fields {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 1px solid #ccc;
  background-color: #F9FAFB;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 10;
}

/* Scrollable leads container */
.md-leads-container-scrollable {
  max-height: 400px; /* Constrain height for scrolling */
  overflow-y: auto;
  overflow-x: hidden;
  border: 1px solid #ddd;
  border-radius: 4px;
}

/* Leads container and items */
.md-leads-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.md-lead-item {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  color: #333;
}

.md-lead-item div {
  padding: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.md-no-data {
  text-align: center;
  color: #666;
  font-size: 16px;
  padding: 20px 0;
}

/* Modal styling */
.md-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.md-modal-content {
  background-color: #FFFFFF;
  padding: 24px;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.md-modal-title,
.md-modal-titles {
  font-size: 18px;
  font-weight: 600;
  color: #1A3C34;
  margin-bottom: 16px;
}

.md-modal-text {
  font-size: 14px;
  color: #374151;
  margin-bottom: 16px;
}

.md-modal-section {
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.md-modal-section h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1F2937;
  margin-bottom: 12px;
}

/* User details modal */
.md-user-details-modal {
  padding: 0;
}

.md-user-details-header {
  background-color: #1A3C34;
  color: #FFFFFF;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.md-plot-number {
  background-color: #FFFFFF;
  color: #1A3C34;
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
}

.md-divider {
  border: 0;
  border-top: 1px solid #D1D5DB;
  margin: 10px 0;
}

.md-user-details-content {
  display: flex;
  justify-content: space-between;
  padding: 0 24px;
}

.md-user-details-column {
  width: 48%;
}

.md-user-details-column p {
  font-size: 12px;
  color: #374151;
  margin-bottom: 2px;
}

.md-user-details-column p strong {
  font-weight: 600;
  color: #1F2937;
  display: inline-block;
  width: 150px;
}

.md-user-details-footer {
  display: flex;
  justify-content: space-between;
  padding: 0 24px 16px;
}

.md-user-details-footer p {
  font-size: 14px;
  color: #374151;
}

.md-user-details-footer p strong {
  font-weight: 600;
  color: #1F2937;
}

.md-booking-status {
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: 600;
  color: #FFFFFF;
}

.md-booking-status.booking-successful,
.md-booking-status.success,
.md-booking-status.available,
.md-booking-status.booking-closed {
  background-color: #024837;
}

.md-booking-status.booked {
  background-color: #b38900;
}

.md-booking-status.blocked {
  background-color: #666666;
}

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

.md-booking-status.booking-failed,
.md-booking-status.failed,
.md-booking-status.canceled,
.md-cancelled,
.md-booking-status.booking-cancelled {
  background-color: #ff4d4f;
}

.md-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  padding: 16px 24px;
}

.md-modal-button {
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.md-modal-button.md-save,
.md-modal-button.md-close-deal {
  background-color: #024837;
  color: #FFFFFF;
}

.md-modal-button.md-save:hover,
.md-modal-button.md-close-deal:hover {
  background-color: #036b50;
}

.md-modal-button.md-cancel,
.md-modal-button.md-cancel-booking {
  background-color: #E5E7EB;
  color: #374151;
}

.md-modal-button.md-cancel:hover,
.md-modal-button.md-cancel-booking:hover {
  background-color: #D1D5DB;
}

.md-modal-button.md-contact {
  background-color: #036b50;
  color: #FFFFFF;
}

.md-modal-button.md-contact:hover {
  background-color: #1557B0;
}

.md-modal-button.md-mail {
  background-color: #036b50;
  color: #FFFFFF;
}

.md-modal-button.md-mail:hover {
  background-color: #D39E00;
}

.md-modal-button:disabled {
  background-color: #D1D5DB;
  color: #6B7280;
  cursor: not-allowed;
}

/* Invoice details modal */
.md-invoice-details-modal {
  padding: 0;
}

.md-invoice-details-header {
  background-color: #F5F5F5;
  color: #1A3C34;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  position: relative;
}

.md-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.md-modal-close-button {
  background: none;
  border: none;
  color: #1A3C34;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.3s ease;
}

.md-modal-close-button:hover {
  color: #DC2626;
}

.md-invoice-details-content {
  display: flex;
  justify-content: space-between;
  padding: 0 24px;
}

.md-invoice-details-column {
  width: 48%;
}

.md-invoice-details-column p {
  font-size: 12px;
  color: #374151;
  margin-bottom: 2px;
}

.md-invoice-details-column p strong {
  font-weight: 600;
  color: #1F2937;
  display: inline-block;
  width: 150px;
}

.md-invoice-note {
  line-height: 1.5;
}

.md-invoice-details-footer {
  display: flex;
  justify-content: space-between;
  padding: 0 24px 16px;
}

.md-invoice-details-footer p {
  font-size: 14px;
  color: #374151;
}

.md-invoice-details-footer p strong {
  font-weight: 600;
  color: #1F2937;
}

/* Status select dropdown */
.md-status-select {
  -webkit-appearance: none;
          appearance: none;
  width: 100%;
  max-width: 300px;
  padding: 8px 12px;
  font-size: 14px;
  color: #374151;
  background-color: #F9FAFB;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2712%27 height=%2712%27 viewBox=%270 0 12 12%27 fill=%27none%27 stroke=%27%23374151%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpolyline points=%272 4 6 8 10 4%27/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
}

.md-status-select:focus {
  outline: none;
  border-color: #2A5C4A;
  box-shadow: 0 0 0 3px rgba(42, 68, 74, 0.2);
}

.md-status-select:hover {
  border-color: #2A5C4A;
}

.md-status-select option {
  background-color: #FFFFFF;
  color: #374151;
  padding: 8px;
}

/* Tree entry inputs */
.md-tree-entry {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 0px;
}

.md-tree-entry span {
  font-size: 14px;
  color: #374151;
  min-width: 100px;
}

.md-tree-input {
  padding: 4px 20px;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  font-size: 14px;
  color: #374151;
  width: 150px;
}

.md-tree-input:focus {
  outline: none;
  border-color: #2A5C4A;
  box-shadow: 0 0 0 3px rgba(42, 92, 74, 0.2);
}

.md-new-tree {
  background-color: #F9FAFB;
  padding: 2px;
  border-radius: 8px;
}

.md-add-tree-button {
  background-color: #2A5C4A;
  color: #FFFFFF;
  border: none;
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.md-add-tree-button:hover {
  background-color: #3A7C64;
}

.md-delete-tree-button {
  background-color: #ff4d4f;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  margin-left: 10px;
  font-size: 14px;
}

.md-delete-tree-button:hover {
  background-color: #d9363e;
}

/* Checkbox for modals */
.md-checkbox-label {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #374151;
  margin-bottom: 8px;
}

.md-checkbox-label input {
  margin-right: 8px;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .md-main-content {
    flex-direction: column;
  }

  .md-sidebar,
  .md-content-area {
    width: 100%;
    margin: 8px 0;
  }

  .md-entry-form-fields,
  .md-lead-item {
    grid-template-columns: 1fr; /* Stack columns on small screens */
    font-size: 12px;
  }

  .md-leads-container-scrollable {
    max-height: 300px; /* Smaller height for mobile */
  }
}
/* ===============================
   PAGE / CONTAINER
================================ */
.login-container {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 16px;
  position: relative;
  background: linear-gradient(135deg, #f8fafc, #eef2ff);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Arial, sans-serif;
}

/* Wrapper to keep footer close to card */
.login-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ===============================
   LOGOUT BUTTON
================================ */
.logout-button {
  position: absolute;
  top: 16px;
  right: 16px;
  background-color: #ef4444;
  color: #ffffff;
  border: none;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  transition: background-color 0.2s ease;
  z-index: 1000;
}

.logout-button:hover {
  background-color: #dc2626;
}

/* ===============================
   LOGIN CARD
================================ */
.login-box {
  width: 100%;
  max-width: 360px;
  background: #ffffff;
  padding: 28px 26px;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  text-align: center;
}

/* ===============================
   LOGO
================================ */
.logo-container {
  margin-bottom: 14px;
}

.logo {
  width: 150px;
  height: auto;
  object-fit: contain;
}

/* ===============================
   TEXT
================================ */
.login-box h2 {
  margin: 0 0 6px 0;
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
}

.welcome-message {
  margin: 0 0 18px 0;
  font-size: 13px;
  color: #6b7280;
}

/* ===============================
   FORM
================================ */
.form-group {
  margin-bottom: 14px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #374151;
}

.form-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 13px;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.form-input::placeholder {
  color: #9ca3af;
}

.form-input:focus {
  outline: none;
  border-color: #024837;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

/* ===============================
   ERROR
================================ */
.error-message {
  margin: 0 0 10px 0;
  font-size: 12px;
  color: #ef4444;
  text-align: center;
}

/* ===============================
   BUTTONS
================================ */
.button-group {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.login-button,
.cancel-button {
  flex: 1 1;
  padding: 10px;
  border: none;
  border-radius: 10px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.25s ease;
}

/* Primary button */
.login-button {
  background: linear-gradient(135deg, #024837, #024837);
  color: #ffffff;
}

.login-button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.35);
}

.login-button:disabled {
  background-color: #c7d2fe;
  cursor: not-allowed;
}

/* Secondary button */
.cancel-button {
  background: #f3f4f6;
  color: #374151;
}

.cancel-button:hover {
  background: #e5e7eb;
}

.cancel-button:disabled {
  opacity: 0.8;
  cursor: not-allowed;
}

/* ===============================
   FOOTER (POWERED BY)
================================ */
.login-footer {
  margin-top: 14px;
  text-align: center;
  font-size: 12px;
  color: #6b7280;
  line-height: 1.4;
}

.login-footer span {
  font-weight: 600;
  color: #4f46e5;
}

.login-footer .contact {
  margin-top: 4px;
  font-size: 11.5px;
}

.login-footer a {
  color: #4f46e5;
  text-decoration: none;
}

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

/* ===============================
   MOBILE
================================ */
@media (max-width: 480px) {
  .login-box {
    padding: 24px 20px;
    border-radius: 16px;
  }

  .logo {
    width: 64px;
  }

  .login-footer {
    font-size: 11px;
  }

  .login-footer .contact {
    font-size: 11px;
  }
}

/* src/LeadPage.css */

/* ===== Page background (soft like the reference) ===== */
.lead-shell {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;     /* centers both card + footer */
  position: relative;
  overflow: hidden;

}


/* Background image layer */
.lead-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url(/static/media/land.00877bcf023fa295c954.png) center / cover no-repeat;
  filter: blur(1px) brightness(0.8);   /* 👈 blur + darken */
  transform: scale(1.05);              /* prevents white edges from blur */
  z-index: 0;
}

/* Content stays sharp */
.lead-split-card {
  position: relative;
  z-index: 1;
}



/* ===== Centered split container (SMALLER) ===== */
.lead-split-card {
  width: 100%;
  max-width: 860px;        /* ✅ smaller than before */
  min-height: 460px;       /* ✅ shorter */
  background: #fff;
  border-radius: 36px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.18);
  position: relative;
}

/* subtle top border highlight */
.lead-split-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

/* ===== LEFT panel (villa image) ===== */
.lead-left {
  position: relative;
  background: center / cover no-repeat;
  min-height: 460px;       /* ✅ matches container height */
}

/* overlay to improve readability */
.lead-left-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(31, 31, 31, 0.171),
    rgba(44, 44, 44, 0.28)
  );
}

/* optional “blueprint/grid” feel like the reference */
.lead-left::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.35;
  mix-blend-mode: overlay;
}

.lead-left-content {
  position: relative;
  z-index: 2;
  height: 80%;
  padding: 24px 22px;      /* ✅ tighter */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
}

.lead-left-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lead-left-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.5));
  background: #ffffff;
  padding: 10px;
  border-radius: 0px 36px 36px 0px;
}

.lead-left-company {
  font-size: 18px;
  letter-spacing: 1.2px;
  font-weight: 600;
}

.lead-left-headline {
  padding: 6px 0;
}

.lead-left-small {
  margin: 0 0 8px 0;
  font-size: 13px;
   text-shadow: 0 10px 10px rgb(15, 23, 42);
}

.lead-left-headline h1 {
  margin: 0;
  font-size: 30px;         /* ✅ slightly smaller */
  letter-spacing: 1px;
  line-height: 1.05;
}

.lead-left-desc {
  margin: 12px 0 0 0;
  font-size: 13px;
  max-width: 340px;
  line-height: 1.6;
  opacity: 0.92;
}

.lead-left-bottom {
  display: flex;
  justify-content: flex-start;
}

.lead-left-tag {
  font-size: 12px;
  padding: 8px 10px;    
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

/* ===== RIGHT panel (form) ===== */
.lead-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;            /* ✅ tighter */
}

.lead-right-inner {
  width: 100%;
  max-width: 300px;         /* ✅ smaller form container */
}

.lead-form-title {
  margin: 0;
  font-size: 20px;
  color: #0f172a;
}

.lead-form-subtitle {
  margin: 8px 0 16px 0;
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.45;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lead-label {
  font-size: 11.5px;
  color: #334155;
  margin-top: 6px;
}

.lead-input {
  width: 100%;
  padding: 11px 12px;       /* ✅ smaller inputs */
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  outline: none;
  font-size: 13.5px;
  background: #f8fafc;
  color: #0f172a;
  transition: 0.2s ease;
}

.lead-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
  background: #fff;
}

.lead-error {
  margin-top: 6px;
  color: #ef4444;
  font-size: 12px;
  text-align: center;
}

.lead-btn {
  margin-top: 10px;
  width: 100%;
  padding: 11px 14px;       /* ✅ smaller button */
  border-radius: 10px;
  border: none;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.9px;
  background: #024837;
  color: #fff;
  cursor: pointer;
  transition: 0.2s ease;
  box-shadow: 0 10px 22px rgba(29, 78, 216, 0.22);
}

.lead-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(29, 78, 216, 0.28);
}

.lead-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.lead-trust {
  margin-top: 14px;
  text-align: center;
}

.lead-trust-text {
  margin: 0;
  font-size: 11.5px;
  color: #64748b;
}

.lead-trust-powered {
  margin: 6px 0 0 0;
  font-size: 11px;
  color: #94a3b8;
}
.lead-trust-powereds {
bottom: 20px;
  font-size: 11px;
  color: #ffffff;
  z-index: 1001;
   text-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}
@media (max-width: 480px) {
 

  .lead-split-card {
    max-width: 80%;
    border-radius: 12px;
  }

  .lead-left {
    min-height: 180px;        /* reduce image height */
  }

  .lead-left-logo {
    height: 42px;            /* smaller logo */
  }

  .lead-left-company {
    font-size: 14px;
  }

  .lead-left-headline h1 {
    font-size: 26px;         /* avoid overflow */
  }

  .lead-left-desc {
    font-size: 12px;
    line-height: 1.45;
  }

  .lead-right {
    padding: 14px;
  }

  .lead-right-inner {
    max-width: 100%;
  }

  .lead-form-title {
    font-size: 18px;
  }

  .lead-form-subtitle {
    font-size: 12px;
  }

  .lead-input {
    font-size: 14px;
    padding: 12px 10px;
  }

  .lead-btn {
    padding: 12px;
    font-size: 12.5px;
  }

  .lead-trust-text {
    font-size: 11px;
  }

  .lead-trust-powereds {
    font-size: 10.5px;
    margin-top: 3px;
  }
}

@media (max-width: 768px) {
 

  .lead-split-card {
    max-width: 80%;
    border-radius: 23px;
  }

  .lead-left {
    min-height: 220px;
  }

  .lead-right {
    padding: 16px;
  }

  .lead-right-inner {
    max-width: 100%;
  }

  .lead-input {
    font-size: 14px;
    padding: 12px 12px;
  }

  .lead-btn {
    padding: 12px;
    font-size: 13px;
  }

  .lead-trust-powereds {
    font-size: 11px;
    margin-top: 4px;          /* ✅ tighter on mobile */
  }
}

/* ===== Responsive: stack on mobile ===== */
@media (max-width: 860px) {
  .lead-split-card {
    grid-template-columns: 1fr;
    max-width: 400px;
    min-height: 0;
    min-height: initial;
  }

  .lead-left {
    min-height: 240px;
  }

  .lead-left-headline h1 {
    font-size: 32px;
  }

  .lead-right-inner {
    max-width: 420px;
  }
  .lead-input{
    width: 90%;
  
  }
}

/* App.css */
/* Import Montserrat from Google Fonts */

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

body {
  margin: 0;
  padding: 0;
}

.app-container {
  position: relative;
  height: 100vh;
  width: 100vw;
}
/* App.css */

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


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