@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.b1d70360e2467bee09f5.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-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.b1d70360e2467bee09f5.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;
  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: #043608;
}

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

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

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

.facing {
  color: #043608;
  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 #043608;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

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

.column-plot-number .plot-number-box {
  width: 60%;
  height: 120px;
  background: #043608;
  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: #043608;
  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: #043608;
  padding: 6px 8px;
  width: 55px;
  border-radius: 12px;
  font-weight: bold;
  font-size: 11px;
}

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

.column-trees h4 {
  color: #043608;
  margin-bottom: 10px;
  font-weight: 500;
  font-size: 15px;
}

.tree-icons-row {
  display: flex;
  justify-content: space-around;
  width: 90%;
  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: #043608;
  font-weight: 500;
  margin-bottom: 0px;
  font-size: 13px;
}

.t1 {
  padding: 5px;
}

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

.tree-details {
  margin: 5px;
}

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

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

/* Subplot Selector Styles */
.subplot-selector {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 10px 0;
}

.subplot-selector ul {
  list-style: none;
  padding: 0;
  margin: 10px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.subplot-item {
  width: 150px;
  height: 90px;
  background: #043608;
  color: white;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 23px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.subplot-item:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* 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: 50px;
    height: 50px;
  }

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

  .subplot-item {
    width: 100px;
    height: 50px;
    font-size: 18px;
    border-radius: 20px;
  }
}

/* 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.b1d70360e2467bee09f5.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: #043608;
  }

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

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

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

  .facing {
    color: #024837;
    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: #043608;
    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: #043608;
    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: #024837;
    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: #043608;
    font-size: 1rem;
    text-align: center;
    font-weight: 500;
  }

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

  .tree-icon {
    width: 40px;
    height: 40px;
    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: #024837;
    font-weight: 500;
    font-size: 12px;
    margin-bottom: 0px;
  }

  .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: #043608;
    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: row;
  

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

  .subplot-selector ul {
    gap: 8px;
  }

  .subplot-item {
    width: 80px;
    height: 40px;
    font-size: 14px;
    border-radius: 18px;
  }
}

/* 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: 40px;
    height: 40px;
  }

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

  .subplot-item {
    width: 70px;
    height: 35px;
    font-size: 12px;
    border-radius: 15px;
  }
}

/* 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;
  }

  .subplot-item {
    width: 60px;
    height: 30px;
    font-size: 10px;
    border-radius: 12px;
  }
}
/* 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 */
  }
}
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  border-radius: 30px;
  background-color: #f4f4f4;
  position: relative;
}

.logout-button {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: #ff4d4d;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
  z-index: 1000;
}

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

.login-box {
  background: white;
  padding: 40px;
  border-radius: 50px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.logo-container {
  margin-bottom: 20px;
}

.logo {
  width: 100px;
  height: auto;
}

.welcome-message {
  color: #666;
  font-size: 14px;
  margin-bottom: 20px;
}

.login-box h2 {
  margin-bottom: 20px;
  text-align: center;
  color: #333;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #555;
  font-weight: bold;
}

.form-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  box-sizing: border-box;
}

.form-input:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

.error-message {
  color: #ff4d4d;
  text-align: center;
  margin-bottom: 20px;
  font-size: 14px;
}

.button-group {
  display: flex;
  gap: 10px;
}

.login-button, .cancel-button {
  flex: 1 1;
  padding: 12px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.login-button {
  background-color: #007bff;
  color: white;
  border-radius: 30px;
}

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

.login-button:hover:not(:disabled) {
  background-color: #0056b3;
}

.cancel-button {
  background-color: #6c757d;
  color: white;
}

.cancel-button:hover {
  background-color: #5a6268;
}
/* App.css */
/* Import Montserrat from Google Fonts */

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

body {
  background-image: url(/static/media/map.b1d70360e2467bee09f5.png);
  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;
}
