@import url(https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&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 {
  position: relative;
  width: 100%;
  height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  overscroll-behavior: contain;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  background: #ffffff;
}

.map-container img {
  display: block;
  max-width: none;
  -webkit-user-select: none;
          user-select: none;
  -webkit-user-drag: none;
}

.map-svg-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  pointer-events: none;
  shape-rendering: geometricPrecision;
}

.map-plot-hit {
  fill: rgba(255, 255, 255, 0.001);
  stroke: transparent;
  stroke-width: 18;
  vector-effect: non-scaling-stroke;
  pointer-events: all;
  cursor: pointer;
}

.map-plot {
  fill: #4dff00;
  fill-opacity: 0;
  stroke: none;
  cursor: pointer;
  transition: fill-opacity 0.15s ease;
}

.map-plot.is-hovered {
  fill: #4dff00;
  fill-opacity: 0.55;
  stroke: none;
}

.zoom-controls {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1600;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.zoom-controls button {
  width: 44px;
  height: 44px;
  font-size: 22px;
  font-weight: 700;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  color: #000000;
  cursor: pointer;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  font-family: 'Montserrat', sans-serif;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zoom-controls button:active {
  transform: scale(0.98);
}

.top-map-toolbar,
.legend-panel,
.map-info-card,
.persistent-tooltip,
.plot-hover-label,
.plot-center-label {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
  backface-visibility: visible;
  -webkit-backface-visibility: visible;
}

.persistent-tooltip,
.plot-hover-label,
.plot-center-label {
  will-change: auto;
}

.loading-logo {
  width: 120px;
  height: auto;
  margin-bottom: 16px;
  animation: pulseLogo 1.6s ease-in-out infinite;
}

.loader {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(0, 0, 0, 0.12);
  border-top: 3px solid #024837;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.map-info-card {
  pointer-events: auto;
}

.tooltip {
  background: rgba(0, 0, 0, 0.82);
  color: white;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12px;
  position: absolute;
  z-index: 2000;
  pointer-events: none;
  font-family: 'Montserrat', sans-serif;
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  overscroll-behavior: none;
}

.popup-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
  text-align: center;
  position: relative;
  min-width: 300px;
  max-width: 500px;
  font-family: 'Montserrat', sans-serif;
}

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

.popup-content button {
  padding: 8px 16px;
  background-color: #024837;
  border: none;
  border-radius: 6px;
  color: white;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
}

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

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

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

.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: #024837;
  border: none;
  border-radius: 4px;
  color: white;
  cursor: pointer;
  margin-top: 10px;
  width: 100%;
  transition: background-color 0.2s ease;
  font-family: 'Montserrat', sans-serif;
}

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

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

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

@keyframes pulseLogo {
  0% {
    opacity: 0.7;
    transform: scale(0.98);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0.7;
    transform: scale(0.98);
  }
}

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

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 1024px) {
  .zoom-controls {
    right: 16px;
  }

  .zoom-controls button {
    width: 42px;
    height: 42px;
    font-size: 20px;
  }

  .loading-logo {
    width: 110px;
  }

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

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

@media (max-width: 767px) {
  .zoom-controls {
    right: 14px;
    top: auto;
    bottom: 220px;
    transform: none;
  }

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

  .loading-logo {
    width: 100px;
  }

  .loader {
    width: 34px;
    height: 34px;
  }

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

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

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

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

@media (max-width: 480px) {
  .zoom-controls {
    right: 12px;
    bottom: 210px;
    gap: 8px;
  }

  .zoom-controls button {
    width: 38px;
    height: 38px;
    font-size: 17px;
  }

  .loading-logo {
    width: 90px;
  }

  .loader {
    width: 30px;
    height: 30px;
    border-width: 2.5px;
  }
}

@media only screen and (max-width: 428px) and (-webkit-min-device-pixel-ratio: 2) {
  .tooltip,
  .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;
  }
}

@keyframes fadeSlideInMobile {
  0% {
    opacity: 0;
    transform: translateY(-30%);
  }
  100% {
    opacity: 1;
    transform: translateY(-40%);
  }
}
/* 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;
    }
    
  }
:root {
  --pd-bg: #f5f7f9;
  --pd-surface: rgba(255, 255, 255, 0.96);
  --pd-primary: #024837;
  --pd-primary-2: #0a6a51;
  --pd-primary-soft: #eaf5f1;
  --pd-text: #11231e;
  --pd-subtext: #667872;
  --pd-border: rgba(2, 72, 55, 0.08);
  --pd-shadow: 0 22px 70px rgba(10, 20, 18, 0.14);
}

* {
  box-sizing: border-box;
}

.project-details-container {
  min-height: 100vh;
  width: 100%;
  padding: 18px;
  font-family: "Montserrat", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(2, 72, 55, 0.08), transparent 28%),
    radial-gradient(circle at bottom right, rgba(2, 72, 55, 0.06), transparent 30%),
    linear-gradient(135deg, #f8fbfa 0%, #eef3f1 100%);
  color: #11231e;
  color: var(--pd-text);
}

.project-details-container::before {
  content: "";
  position: absolute;
  inset: 0;

  background: url(/static/media/map.ea0810bed3945dd88e1c.png) no-repeat center center;
  background-size: cover;

  z-index: 0;
}

.loading-screen {
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-card {
  width: min(390px, 92%);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(2, 72, 55, 0.08);
  border: 1px solid var(--pd-border);
  box-shadow: 0 22px 70px rgba(10, 20, 18, 0.14);
  box-shadow: var(--pd-shadow);
  border-radius: 24px;
  padding: 26px 20px;
  text-align: center;
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
}

.loading-spinner {
  width: 34px;
  height: 34px;
  margin: 0 auto 14px;
  border: 3px solid rgba(2, 72, 55, 0.14);
  border-top: 3px solid #024837;
  border-top: 3px solid var(--pd-primary);
  border-radius: 50%;
  animation: pd-spin 0.9s linear infinite;
}

.loading-title {
  font-size: 14px;
  font-weight: 700;
  color: #024837;
  color: var(--pd-primary);
}

.loading-subtitle {
  margin-top: 5px;
  font-size: 10px;
  color: #667872;
  color: var(--pd-subtext);
  line-height: 1.5;
}

@keyframes pd-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.popup-overlay,
.popup,
.booking-popup,
.confirmation-popup {
  position: fixed;
  inset: 0;
  background: rgba(8, 15, 13, 0.5);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  z-index: 3000;
}

.premium-popup,
.popup-content,
.booking-popup-content,
.confirmation-popup-content {
  width: min(1060px, 100%);
  max-height: 84vh;
  overflow-y: auto;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.97) 0%,
    rgba(250, 252, 251, 0.99) 100%
  );
  border: 1px solid rgba(2, 72, 55, 0.08);
  border: 1px solid var(--pd-border);
  border-radius: 28px;
  padding: 20px;
  box-shadow: 0 28px 80px rgba(10, 20, 18, 0.18);
  position: relative;
}

.premium-popup::-webkit-scrollbar,
.popup-content::-webkit-scrollbar,
.booking-popup-content::-webkit-scrollbar,
.confirmation-popup-content::-webkit-scrollbar {
  width: 7px;
}

.premium-popup::-webkit-scrollbar-thumb,
.popup-content::-webkit-scrollbar-thumb,
.booking-popup-content::-webkit-scrollbar-thumb,
.confirmation-popup-content::-webkit-scrollbar-thumb {
  background: rgba(2, 72, 55, 0.18);
  border-radius: 999px;
}

.premium-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.topbar-left {
  flex: 1 1;
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eaf5f1;
  background: var(--pd-primary-soft);
  color: #024837;
  color: var(--pd-primary);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.premium-title {
  margin: 0;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 800;
  color: #024837;
  color: var(--pd-primary);
  letter-spacing: -0.3px;
}

.premium-subtitle {
  margin-top: 4px;
  font-size: 10px;
  color: #667872;
  color: var(--pd-subtext);
  line-height: 1.5;
  max-width: 560px;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.status-pill {
  min-height: 38px;
  border-radius: 999px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.status-sold {
  background: linear-gradient(135deg, #cf3030, #ef4444);
}

.status-booked {
  background: linear-gradient(135deg, #d97706, #f59e0b);
}

.status-available {
  background: linear-gradient(135deg, #024837, #0a6a51);
}

.status-default {
  background: linear-gradient(135deg, #67736e, #818d88);
}

.status-icon {
  width: 13px;
  height: 13px;
  object-fit: contain;
}

.close-icon-button {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(2, 72, 55, 0.1);
  background: #fff;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 24px rgba(2, 72, 55, 0.08);
}

.close-icon-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(2, 72, 55, 0.12);
}

.close-icon-button img {
  width: 17px;
  height: 17px;
  object-fit: contain;
}

.hero-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 12px;
  gap: 12px;
  margin-bottom: 12px;
}

.hero-plot-card,
.hero-facing-card {
  border-radius: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(2, 72, 55, 0.08);
  border: 1px solid var(--pd-border);
  box-shadow: 0 12px 30px rgba(2, 72, 55, 0.06);
}

.hero-plot-card {
  background: linear-gradient(
    135deg,
    rgba(2, 72, 55, 0.98),
    rgba(10, 90, 69, 0.96)
  );
  color: #fff;
}

.hero-facing-card {
  background: linear-gradient(180deg, #ffffff, #f5faf8);
}

.hero-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  opacity: 0.82;
  margin-bottom: 6px;
}

.hero-plot-number {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.4px;
}

.hero-facing-value {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  color: #024837;
  color: var(--pd-primary);
  letter-spacing: -0.2px;
}

.premium-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-gap: 12px;
  gap: 12px;
}

.premium-panel {
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid rgba(2, 72, 55, 0.08);
  border: 1px solid var(--pd-border);
  border-radius: 20px;
  padding: 14px;
  box-shadow: 0 12px 30px rgba(14, 26, 20, 0.05);
}

.panel-header {
  margin-bottom: 10px;
}

.panel-header h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: #024837;
  color: var(--pd-primary);
}

.panel-header p {
  margin: 4px 0 0;
  font-size: 10px;
  color: #667872;
  color: var(--pd-subtext);
  line-height: 1.4;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 10px;
  gap: 10px;
}

.detail-box {
  background: linear-gradient(180deg, #fcfefd, #f6faf8);
  border: 1px solid rgba(2, 72, 55, 0.07);
  border-radius: 14px;
  padding: 10px 12px;
  min-height: 62px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.detail-box-label {
  margin-bottom: 6px;
  font-size: 9px;
  font-weight: 700;
  color: #70827b;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.detail-box-value {
  font-size: 12px;
  font-weight: 700;
  color: #10211c;
  line-height: 1.25;
  word-break: break-word;
}

.tree-summary-card {
  background:
    radial-gradient(circle at top right, rgba(2, 72, 55, 0.09), transparent 36%),
    linear-gradient(180deg, #f9fcfb 0%, #eef7f3 100%);
  border: 1px solid rgba(2, 72, 55, 0.08);
  border-radius: 16px;
  padding: 12px 14px;
  margin-bottom: 10px;
}

.tree-summary-number {
  font-size: 24px;
  font-weight: 800;
  color: #024837;
  color: var(--pd-primary);
  line-height: 1;
  margin-bottom: 4px;
}

.tree-summary-text {
  font-size: 10px;
  color: #667872;
  color: var(--pd-subtext);
  line-height: 1.4;
  font-weight: 600;
}

.tree-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tree-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  padding: 10px 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfa 100%);
  border: 1px solid rgba(2, 72, 55, 0.07);
}

.tree-name {
  font-size: 11px;
  font-weight: 700;
  color: #17362d;
  text-transform: capitalize;
}

.tree-count {
  min-width: 36px;
  height: 30px;
  border-radius: 999px;
  background: #eaf5f1;
  background: var(--pd-primary-soft);
  color: #024837;
  color: var(--pd-primary);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
}

.no-trees-premium {
  border: 1px dashed rgba(2, 72, 55, 0.16);
  border-radius: 16px;
  padding: 14px 12px;
  text-align: center;
  background: #fbfdfc;
}

.no-trees-icon {
  width: 60px;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 6px;
}

.no-trees-title {
  font-size: 12px;
  font-weight: 800;
  color: #024837;
  color: var(--pd-primary);
  margin-bottom: 4px;
}

.no-trees-subtitle {
  font-size: 10px;
  color: #667872;
  color: var(--pd-subtext);
  line-height: 1.5;
  max-width: 230px;
  margin: 0 auto;
}

.premium-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(2, 72, 55, 0.08);
}

.footer-note {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-note-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #024837;
  color: var(--pd-primary);
  text-transform: uppercase;
}

.footer-note-text {
  font-size: 10px;
  color: #667872;
  color: var(--pd-subtext);
  line-height: 1.5;
}

.footer-note-text strong {
  color: #024837;
  color: var(--pd-primary);
  font-weight: 800;
}

.premium-close-button {
  border: none;
  background: linear-gradient(135deg, #024837, #0a6a51);
  color: #fff;
  border-radius: 14px;
  padding: 10px 16px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  min-width: 120px;
  box-shadow: 0 10px 24px rgba(2, 72, 55, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.premium-close-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(2, 72, 55, 0.22);
}

.empty-state {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: #667872;
  color: var(--pd-subtext);
  text-align: center;
  padding: 20px;
}

/* Compatibility for remaining old elements if used elsewhere */
.booking-popup-content,
.confirmation-popup-content {
  width: min(760px, 100%);
  border-radius: 24px;
  padding: 18px;
}

.booking-popup-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 12px;
  gap: 12px;
}

.booking-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.booking-info h4,
.booking-form h4,
.confirmation-popup-content h3 {
  color: #024837;
  color: var(--pd-primary);
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 8px;
}

.info-item,
.confirmation-details p,
.payment-methods,
.secure-note {
  font-size: 10px;
  line-height: 1.5;
  color: #667872;
  color: var(--pd-subtext);
}

.booking-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.booking-form label {
  color: #024837;
  color: var(--pd-primary);
  font-size: 10px;
  font-weight: 700;
}

.booking-form input[type="text"],
.booking-form input[type="number"],
.booking-form input[type="tel"],
.booking-form input[type="email"] {
  width: 100%;
  border: 1px solid rgba(2, 72, 55, 0.12);
  border-radius: 12px;
  padding: 10px 11px;
  font-size: 11px;
  outline: none;
  background: #fff;
  color: #182823;
}

.booking-form input:focus {
  border-color: rgba(2, 72, 55, 0.35);
  box-shadow: 0 0 0 4px rgba(2, 72, 55, 0.06);
}

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

.form-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 4px;
}

.proceed-button,
.download-receipt-button {
  border: none !important;
  background: linear-gradient(135deg, #024837, #0a6a51) !important;
  color: #fff !important;
  border-radius: 12px !important;
  padding: 10px 14px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}

.cancel-button {
  background: #f3f7f5 !important;
  color: #1d312a !important;
  border: 1px solid rgba(2, 72, 55, 0.12) !important;
  border-radius: 12px !important;
  padding: 10px 14px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}

.book-now-button {
  border: none;
  background: linear-gradient(135deg, #024837, #0a6a51);
  color: #fff;
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 140px;
  cursor: pointer;
  transition: 0.25s ease;
}

.book-now-button:hover {
  transform: translateY(-1px);
}

.book-now-icon {
  width: 14px;
  height: 14px;
}

.not-available {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 9px 14px;
  border-radius: 12px;
  border: 1px dashed rgba(2, 72, 55, 0.22);
  color: #024837;
  color: var(--pd-primary);
  background: rgba(2, 72, 55, 0.03);
  font-size: 10px;
  font-weight: 700;
}

.company-logo {
  display: block;
  margin: 0 auto;
}

.contact-support {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #024837;
  color: var(--pd-primary);
  font-size: 10px;
}

.contact-support button {
  border: none;
  background: transparent;
  color: #024837;
  color: var(--pd-primary);
  cursor: pointer;
}

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

@media (max-width: 1024px) {
  .premium-grid,
  .hero-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .project-details-container {
    padding: 10px;
  }

  .premium-popup,
  .popup-content,
  .booking-popup-content,
  .confirmation-popup-content {
    padding: 14px;
    border-radius: 22px;
    max-height: 88vh;
  }

  .premium-topbar,
  .premium-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .topbar-right {
    justify-content: space-between;
  }

  .premium-title {
    font-size: 17px;
  }

  .premium-subtitle {
    font-size: 9px;
  }

  .hero-plot-number {
    font-size: 18px;
  }

  .hero-facing-value {
    font-size: 14px;
  }

  .premium-panel,
  .hero-plot-card,
  .hero-facing-card {
    padding: 12px;
  }

  .detail-grid,
  .booking-popup-columns {
    grid-template-columns: 1fr;
  }

  .premium-close-button,
  .proceed-button,
  .cancel-button,
  .download-receipt-button,
  .book-now-button {
    width: 100%;
  }

  .form-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .popup-overlay,
  .popup,
  .booking-popup,
  .confirmation-popup {
    padding: 8px;
  }

  .premium-popup,
  .popup-content,
  .booking-popup-content,
  .confirmation-popup-content {
    padding: 12px;
    border-radius: 18px;
  }

  .eyebrow,
  .footer-note-label,
  .detail-box-label,
  .hero-label {
    font-size: 8px;
  }

  .premium-title {
    font-size: 15px;
  }

  .detail-box-value,
  .tree-name,
  .tree-count,
  .footer-note-text,
  .status-pill,
  .premium-close-button {
    font-size: 9px;
  }

  .close-icon-button {
    width: 36px;
    height: 36px;
  }

  .close-icon-button img {
    width: 15px;
    height: 15px;
  }

  .no-trees-icon {
    width: 52px;
  }
}
/* 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: 55px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.5));
  background: #ffffff;
  padding: 10px;
  border-radius: 0px 16px 16px 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;
}
