:root {
      --bg: #f8f9fc;
      --card: #ffffff;
      --text: #1f2937;
      --muted: #6b7280;
      --accent: #7c3aed;
      --green: #10b981;
      --green-dark: #059669;
      --yellow: #d97706;
      --blue: #2563eb;
      --red: #dc2626;
      --border: #e5e7eb;
      --radius: 14px;
      --shadow: 0 4px 20px rgba(0,0,0,0.08);
      --modal-bg: rgba(0,0,0,0.65);
    }

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--bg);
  color: var(--text);
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(1.3rem, 5vw, 1.45rem);
  color: #8B5CF6;
  text-align: left;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

input {
    padding: 10px 12px;
    /* background: #2f2f2f; */
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--text);
    width: 100%;
    box-sizing: border-box;
}

input:focus {
  outline: none;
  box-shadow: 0 0 0 2px #513690;
}

button {
    background: #000;
    color: #412e75; 
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
    position: relative;
    min-height: 44px;
}

button:hover {
  background: #412e75;
}

button:disabled {
  background: #4b5563;
  cursor: not-allowed;
}

/* ──────────────────────────────────────────────────────────────
   Landing Page - Hero & CTAs
────────────────────────────────────────────────────────────── */

.floating-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  animation: slideInUp 0.5s ease-out;
}

.floating-cta-btn {
  background: linear-gradient(135deg, var(--accent) 0%, #6d28d9 100%);
  color: var(--card);
  border: none;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.floating-cta-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.5);
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cta-btn-hero {
  display: inline-block;
  margin-top: 24px;
  padding: 14px 28px;
  background: var(--accent);
  color: var(--card);
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
}

.cta-btn-hero:hover {
  background: #6d28d9;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(124, 58, 237, 0.4);
}

.cta-btn-section {
  display: inline-block;
  margin-top: 18px;
  padding: 12px 24px;
  background: var(--accent);
  color: var(--card);
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-btn-section:hover {
  background: #6d28d9;
  transform: translateY(-2px);
}

/* Trust & Testimonials Section */
.trust-section {
  margin: 60px 0 40px;
  padding: 40px 20px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(124, 58, 237, 0.02) 100%);
  border-radius: 16px;
  border: 1px solid rgba(124, 58, 237, 0.1);
}

.trust-section h2 {
  text-align: center;
  margin-bottom: 32px;
  color: var(--text);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.testimonial-card {
  background: var(--card);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.2);
}

.testimonial-stars {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial-author {
  font-weight: 600;
  color: var(--accent);
  font-size: 0.9rem;
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 20px;
  background: var(--card);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
  min-height: 2.5rem;
  line-height: 1;
}

.stat-number.counting {
  animation: countPulse 0.5s ease-out;
}

@keyframes countPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.stat-label {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
}

/* Pricing Improvements */
.pricing-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, var(--green) 0%, #059669 100%);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.plan-subtext {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 8px;
}

/* Lead Capture Section */
.lead-capture-section {
  margin: 60px 0 40px;
  padding: 40px;
  background: linear-gradient(135deg, var(--accent) 0%, #6d28d9 100%);
  color: var(--card);
  border-radius: 16px;
  text-align: center;
}

.lead-capture-section h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
  margin-top: 0;
}

.lead-capture-section p {
  font-size: 1rem;
  opacity: 0.95;
  margin-bottom: 24px;
  line-height: 1.6;
}

.lead-capture-section .cta-btn-hero {
  background: var(--card);
  color: var(--accent);
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.lead-capture-section .cta-btn-hero:hover {
  background: var(--bg);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .floating-cta {
    bottom: 16px;
    right: 16px;
  }

  .floating-cta-btn {
    padding: 12px 16px;
    font-size: 0.9rem;
  }

  .trust-section {
    padding: 24px 16px;
    margin: 40px 0 30px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .trust-stats {
    grid-template-columns: 1fr;
  }

  .cta-btn-hero {
    width: 100%;
    margin-top: 18px;
  }

  .cta-btn-section {
    width: 100%;
  }
}

.hero {
  padding: 75px 20px 32px;
  text-align: center;
}

.hero h1 {
  font-size: 34px;
  line-height: 1.12;
  margin-bottom: 16px;
  color: var(--text);
}

.hero p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.45;
}

.home-subheader {
  font-size: 15px;                   
  font-weight: 400;
  color: var(--muted);
  padding: 0 20px;
  margin: 12px 0 40px;
  line-height: 1.4;
  text-align: center;
}

.section-title {
  font-size: 34px;                    
  font-weight: 500;
  padding: 0 20px;
  margin: 40px 0 0;
  line-height: 1.15;
  color: var(--text);
  text-align: center;
}

.image-container {
  margin: 0 20px 32px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  background: var(--bg);
}

.image-container img {
  width: 100%;
  height: auto;
  display: block;
}

/* Slideshow Styles */
.slideshow-container {
  position: relative;
  max-width: 65%;                  /* shrunk by ~35% */
  margin: 0 auto 32px;             /* centered + space below */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
  background: #262626;
}

.slide {
  display: none;
  text-align: center;
}

/* Carousel images: scaled down proportionally, NO cropping */
.carousel-img {
  width: 100%;                     /* fills the smaller container */
  height: auto;                    /* keeps original aspect ratio */
  display: block;
  border-radius: 12px;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 12px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 22px;
  transition: 0.6s ease;
  border-radius: 0 6px 6px 0;
  user-select: none;
  background: rgba(0,0,0,0.4);
}

.next {
  right: 0;
  border-radius: 6px 0 0 6px;
}

.prev:hover, .next:hover {
  background: rgba(139, 92, 246, 0.7);
}

.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 4px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #8B5CF6;
}

.fade {
  animation-name: fade;
  animation-duration: 1.2s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}
/* End Slideshow Styles */

.bottom-bar {
  border-top: 1px solid var(--border);
  border-radius: 15px 15px 0 0;
  padding: 14px 20px;
  text-align: center;
  font-size: 15px;
}

.bottom-bar a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.result,
.error {
  margin-top: 12px;
  padding: 14px;
  border-radius: 10px;
  font-size: 0.95rem;
}

.result {
  background: #2a1f45;
}

.error {
  background: #4b1d1d;
  color: #fca5a5;
}

.hidden {
  display: none;
}

#address-display {
  font-weight: 600;
  color: #d1d5db;
  text-align: center;
}

#area {
  font-size: clamp(1.5rem, 6vw, 1.8rem);
  font-weight: bold;
  color: #a78bfa;
  margin: 8px 0;
  text-align: center;
}

#time {
  font-size: 0.85rem;
  color: #9ca3af;
  margin-top: 8px;
  text-align: center;
}

button.loading {
  background: #412e75 !important;
  cursor: wait;
  opacity: 0.85;
}

button.loading::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  border: 2px solid white;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: translateY(-50%) rotate(0deg); }
  100% { transform: translateY(-50%) rotate(360deg); }
}

.pricing-carousel {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin: 0 auto 40px;
  overflow: hidden;
  border-radius: 20px;
}

.pricing-slide {
  display: none;
  padding: 24px 18px;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  min-height: 420px;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.pricing-slide.active {
  display: flex;
}

.pricing-slide:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.15);
  border-color: rgba(124, 58, 237, 0.2);
}

.plan-content {
  width: 100%;
  text-align: center;
}

.plan-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}

.plan-price {
  font-size: 42px;
  font-weight: 800;
  color: var(--text);
  margin: 12px 0 20px;
  display: inline-block;
  line-height: 1;
}

.gradient-price {
  background: linear-gradient(90deg, var(--accent), #6d28d9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.plan-price small {
  font-size: 16px;
  font-weight: 400;
  opacity: 0.8;
  vertical-align: baseline;
}

.features {
  list-style: none;
  text-align: left;
  margin: 0 auto 28px;
  max-width: 90%;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
}

.features li:before {
  content: "✓";
  color: var(--accent);
  font-weight: bold;
  margin-right: 8px;
}

.signup-btn {
  background: linear-gradient(to right, var(--accent), #6d28d9);
  color: var(--card);
  border: none;
  border-radius: 16px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  margin-top: auto;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: var(--card);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
}

.prev { left: -8px; }
.next { right: -8px; }

.prev:hover, .next:hover {
  background: var(--accent);
}

.dot {
  cursor: pointer;
  height: 10px;
  width: 10px;
  margin: 0 4px;
  background-color: var(--border);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s;
}

.dot.active, .dot:hover {
  background-color: var(--accent);
}

.carousel-indicators {
  text-align: center;
  margin: 20px 0;
}

/* ──────────────────────────────────────────────────────────────
   Mobile adjustments
────────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  body {
    padding: 16px;
    align-items: center;      /* keep vertical centering */
  }

  .container {
    width: 100%;
    padding: 18px;
    border-radius: 12px;
  }

  button {
    padding: 14px;
  }
}

@media (max-height: 500px) {
  body {
    align-items: flex-start;
    padding-top: 10vh;
  }
}

/* ──────────────────────────────────────────────────────────────
   Deep Edge Header - Final Fixed Version
────────────────────────────────────────────────────────────── */
.deep-edge-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--bg);
  z-index: 1000;
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);

}
.logo-img {
  height: 24px;
  width: auto;
  display: block;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 20px;
    /* max-width: 1400px; */
    margin: 0 auto;
}

.header-logo {
  font-size: 1.6rem;
  font-weight: bold;
  color: #8B5CF6;
  text-decoration: none;
  letter-spacing: 0.5px;
}

/* Hamburger Button - Compact & Right-Aligned */
.menu-dots {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 10px;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.menu-dots:hover {
  background: none;
}

.hamburger svg {
  width: 24px;
  height: 24px;
  display: block;
}

/* Mobile Menu - Hidden by default */
.header-nav {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--bg);
    transform: translateY(-100%);
    transition: transform 0.35s ease-out;
    z-index: 999;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* FIXED: Correct class selector - menu opens */
.header-nav.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.header-nav ul {
  list-style: none;
  padding: 40px 0;
  margin: 0;
  text-align: center;
}

.header-nav li {
  margin: 20px 0;
}

.header-nav a {
    display: inline-block;
    padding: 18px 50px;
    color: #000;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 500;
    border-radius: 16px;
    transition: all 0.2s;
    min-width: 260px;
    /* background: linear-gradient(to top, #000000 0%, #0f0f0f 100%); */
    /* background: #000; */
    /* border-top: 1px solid #333; */
    border-bottom: 1px solid #333;
}

.header-nav a:hover {
  background: #513690;
  color: white;
  transform: scale(1.05);
}

/* Backdrop overlay */
.header-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 998;
}

/* FIXED: Correct class selector - overlay shows */
.header-overlay.open {
  display: block;
}

/* Push content below header */
body {
  padding-top: 60px;
  min-height: 100vh;
}

/* Mobile adjustments */
@media (max-width: 480px) {
  .header-content {
    padding: 0 16px;
  }
  .hamburger {
    width: 40px;
    height: 40px;
    padding: 6px;
  }
  .hamburger svg {
    width: 22px;
    height: 22px;
  }
  .header-nav a {
    font-size: 1.3rem;
    padding: 16px 40px;
    min-width: 220px;
  }
}

.menu-hamburger {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  margin-left: 16px; /* space from logo */
}

.menu-hamburger svg {
  width: 20px;   /* adjust if needed to match your logo height */
  height: 20px;
  transition: opacity 0.2s;
}

.menu-hamburger:hover svg {
  opacity: 0.8; /* subtle hover feedback */
}

/* Optional: make logo and hamburger same vertical alignment */
.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}


/* ──────────────────────────────────────────────────────────────
   Create_quote
────────────────────────────────────────────────────────────── */

.create-quote-container {
  margin-top: 60px;
    width: 90%;
    max-width: 800px;
    min-height: 220px;
    /* background: linear-gradient(to top, #000000 0%, #0f0f0f 100%); */
    background: var(--bg);
    border: 1px solid var(--border);
    /* border-bottom: 1px solid #333; */
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.leaflet-editing-icon {
  border-radius: 50% !important;
  background-color: #ff4444 !important;
  border: 2px solid white !important;
  width: 12px !important;
  height: 12px !important;
  margin-left: -6px !important;
  margin-top: -6px !important;
}
.pricing-box {
  margin-top: 20px;
  padding: 20px;
  background: linear-gradient(to top, #000000 0%, #0f0f0f 100%);
  /* background: #000; */
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
  border-radius: 8px;
  color: white;
}
.input-group {
  margin-bottom: 18px;
}
.input-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
  font-size: 15px;
}
.pricing-row {
  display: flex;
  justify-content: space-between;
  margin: 12px 0;
  font-size: 17px;
}
.pricing-row strong {
  font-size: 19px;
  color: #28a745;
}
input[type="number"] {
  width: 120px;
  margin-top: 16px;
  padding: 12px;
  background: #f9fafb;
  border-radius: 8px;
  font-size: 0.92rem;
  color: #4b5563;
  line-height: 1.4;
  cursor: pointer;
  border: 1px solid #e5e7eb;
}
.slider-container {
  margin: 20px 0;
}
.slider-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: bold;
}
input[type="range"] {
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: #333;
  outline: none;
  -webkit-appearance: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  background: #8B5CF6;
  border-radius: 50%;
  cursor: pointer;
}
.checkbox-group {
    display: flex;
    align-items: left;
    gap: 10px;
    margin: 18px 0;
    font-size: 16px;
    overflow: hidden;
}
.collapsible-header {
  background: var(--bg);
  padding: 14px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  margin: 20px 0 10px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.collapsible-content {
  display: none;
  padding: 20px;
  background: #2a2a2a;
  border-radius: 8px;
  margin-bottom: 20px;
}
.collapsible-content.open {
  display: block;
}
.summary-box {
  margin-top: 25px;
  padding: 18px;
  background: #f3f3f3;
  border-radius: 8px;
  border: 1px solid #444;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
  font-size: 16px;
}
.summary-row.total {
  font-weight: bold;
  font-size: 19px;
  border-top: 2px solid #28a745;
  padding-top: 12px;
  margin-top: 15px;
}
#generate-pdf-btn {
  margin-top: 25px;
  padding: 14px 28px;
  background: #28a745;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 18px;
  cursor: pointer;
  width: 100%;
}
#generate-pdf-btn:hover {
  background: #218838;
}
#quote-link-box {
  margin-top: 20px;
  padding: 15px;
  background: #333;
  border-radius: 8px;
  color: white;
  font-size: 16px;
  word-break: break-all;
}
#quote-link-box a {
  color: #28a745;
  text-decoration: underline;
}
.suggestions {
    /* position: absolute; */
    background: var(--bg);
    /* border: 1px solid #444; */
    border-radius: 6px;
    width-max: 200px;
    /* max-height: 260px; */
    overflow-y: auto;
    z-index: 999;
}

.suggestion-item {
  padding: 10px 12px;
  cursor: pointer;
  border-bottom: 1px solid #333;
}

.suggestion-item:hover {
  background: #333;
}

.hidden {
  display: none;
}

.action-button {
    background:  #412e75;
    color: white; 
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
    position: relative;
    min-height: 44px;
}

.action-button:hover {
  background: #412e75;
}

.action-button:disabled {
  background: #4b5563;
  cursor: not-allowed;
}

/* ──────────────────────────────────────────────────────────────
   your_quotes
────────────────────────────────────────────────────────────── */


.your-quotes-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    background-clip: padding-box;
    /* background: linear-gradient(to top, #000000 0%, #0f0f0f 100%); */
    /* background: #000; */
    border-top: 1px solid #333;
    /* border-bottom: 1px solid #333; */
}

.quote-list {
  display: grid;
  gap: 20px;
}
.quote-card {
    background: linear-gradient(to top, #000000 0%, #0f0f0f 100%);
    /* background: #000; */
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    border-radius: 12px;
    padding: 20px;
    /* border: 1px solid #444; */
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: normal !important;
}
}
.quote-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(139, 92, 246, 0.2);
}
.quote-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 10px;
}
.quote-address {
  font-size: 1.3rem;
  font-weight: bold;
  color: #a78bfa;
}
.quote-date {
  color: #9ca3af;
  font-size: 0.9rem;
}
.quote-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 16px 0;
  font-size: 1rem;
}
.detail-label {
  color: #d1d5db;
  font-weight: 600;
}
.detail-value {
  color: #28a745;
  font-weight: bold;
}
.detail-value-standard {
  color: white;
  font-weight: bold;
}
.quote-actions {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  justify-content: stretch;     /* or space-between / center */
}

.quote-link-btn {
  flex: 1;
  background: #000;
  /* background: #000; */
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
  color: white;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.quote-link-btn:hover {
  background: #412e75;
}
.no-quotes {
  text-align: center;
  padding: 60px 20px;
  color: #9ca3af;
  font-size: 1.2rem;
}

.quote-link-btn.create-invoice-btn {
  background: #2e7d32;           /* darker green */
  color: white;
}

.quote-link-btn.create-invoice-btn:hover {
  background: #1b5e20;
}

.delete-quote-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  color: #c62828;
  border: none;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  padding: 0;
}


/* Improve quote details spacing */
.quote-details {
    padding: 12px 16px;
    /* background: rgba(255, 255, 255, 0.05); */
    border-radius: 8px;
    margin: 12px 0;
}

.detail-label {
  color: #aaa;
  font-weight: 500;
}

.detail-value {
  color: #e0e0e0;
  font-weight: 600;
}

/* ──────────────────────────────────────────────────────────────
   profile
────────────────────────────────────────────────────────────── */


.profile-container {
    max-width: 800px;
    width: 90%;
    margin: 40px auto;
    padding: 30px;
    background: var(--bg);
    border-radius: 16px;
    /* box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); */
  
  /* Mobile fallback (still no jumping) */
  @media (max-width: 768px) {
    min-height: 1400px;      /* A bit more room on phones */
    padding: 20px;
  }

  @media (max-width: 480px) {
    min-height: 1550px;
  }

  /* Optional extra polish */
  overflow: hidden;          /* Keeps rounded corners clean if anything overflows during animation */
  position: relative;
}

.profile-pricing-box {
    padding: 30px;
    border-radius: 8px;
    /* border: 1px solid #444; */
    color: var(--text);
}

.profile-input-group {
    margin-bottom: 20px;
}
.profile-input-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text);
  font-size: 1rem;
}
.profile-input-group input,
.profile-input-group textarea,
.profile-input-group select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 1rem;
  box-sizing: border-box;
  font-family: inherit;
}
.profile-input-group input:focus,
.profile-input-group textarea:focus,
.profile-input-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}
input:disabled {
  background: #e5e5e5;
  color: #aaa;
}
input[type="file"] {
  padding: 8px 0;
}
#logo-preview {
  max-width: 150px;
  max-height: auto;
  margin-top: 15px;
  border-radius: 8px;
  border: 2px dashed #555;
  display: block;
}

#profile-update-btn {
  margin-top: 30px;
  padding: 16px;
  background: #28a745;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
}
#profile-update-btn:hover {
  background: #218838;
}
#profile-message {
  margin-top: 20px;
  padding: 16px;
  border-radius: 8px;
  font-size: 1rem;
  text-align: center;
}
.profile-success { 
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}
.profile-error { 
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.expand-content {
  opacity: 0;
  transition: opacity 0.35s ease 0.1s;   /* slight delay looks nicer */
}

details[open] .expand-content {
  opacity: 1;
}

.mower-pricing-container {
  display: flex;
  flex-wrap: wrap;              /* allows wrapping on smaller screens */
  gap: 32px;                    /* space between the two columns */
}

.mower-section {
  flex: 1;                      /* each takes equal space */
  min-width: 320px;             /* prevents them from getting too narrow */
}

@media (max-width: 900px) {     /* breakpoint — adjust to taste (768px–1024px common) */
  .mower-pricing-container {
    flex-direction: column;
    gap: 40px;
  }
  
  .mower-section {
    min-width: 100%;
  }
}

/* Optional: make sure inputs don't stretch weirdly */
.mower-section .profile-pricing-box {
  padding: 24px;                /* slightly less padding in columns */
}

/* Visual separation on wide screens (optional) */
@media (min-width: 901px) {
  .mower-section:not(:last-child) {
    padding: 32px;
  }
  .mower-section:not(:first-child) {
    padding: 32px;
  }
}

details summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

details summary::-webkit-details-marker,
details summary::marker {
  display: none;
}

details summary::after {
  content: "▼";
  color: var(--accent);
  font-size: 1.2rem;
}

details[open] summary::after {
  transform: rotate(180deg);
}

/* ───────────────────────────────────────────────
   Move profile container to top + remove vertical centering
──────────────────────────────────────────────── */

body {
  /* If you still have these centering rules — remove or override them */
  display: block;                /* ← important: disable flex centering */
  justify-content: unset;
  align-items: unset;
  min-height: 100vh;
  background: var(--bg);
  margin: 0;
  padding: 0;
}

.profile-container {
  max-width: 1200px;
  width: 90%;                    /* or 100% on very small screens — your choice */
  margin: 40px auto 80px auto;   /* 40px from top, auto left/right, extra bottom space */
  padding: 30px;
  background: var(--bg);
  border-radius: 16px;
  box-sizing: border-box;

  /* If you previously had min-height for no-jump → keep it or adjust */
  /* min-height: 800px; */       /* ← optional, only if you still want fixed height */
}

/* ───────────────────────────────────────────────
   Shadow + card-like style for each collapsible section
──────────────────────────────────────────────── */

details {
    border-radius: 12px;
    overflow: hidden;
    background: var(--card);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border);
    transition: box-shadow 0.25s ease, transform 0.15s ease;
}

details:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);   /* lift on hover */
  transform: translateY(-2px);                  /* very slight lift */
}

details[open] {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);   /* stronger when expanded */
}

/* Optional: make summary look more card-header-like */
details summary {
  padding: 18px 24px;
  background: rgba(var(--accent), 0.04);
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}

details summary h2 {
  margin: 0;
  color: var(--accent);
}

/* If you want even more separation between sections */
.profile-container > details + details {
  margin-top: 32px;
}

/* Add-Ons specific tweaks */
textarea {
  width: 100%;
  box-sizing: border-box;
}

.profile-input-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

/* Better spacing for radio buttons */
.profile-input-group label[for="addonPriceLabel"] {
  margin-bottom: 8px;
  display: block;
}

/* ──────────────────────────────────────────────────────────────
   quote
────────────────────────────────────────────────────────────── */

.leaflet-editing-icon {
  border-radius: 50% !important;
  background-color: #ff4444 !important;
  border: 2px solid white !important;
  width: 12px !important;
  height: 12px !important;
  margin-left: -6px !important;
  margin-top: -6px !important;
}
.pricing-box {
    margin-top: 0;
    padding: 20px;
    border-radius: 8px;
    color: var(--text);
    background: var(--bg);
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}
.pricing-row {
  display: flex;
  justify-content: space-between;
  margin: 12px 0;
  font-size: 17px;
}
.pricing-row strong {
  font-size: 19px;
  color: #28a745;
}
.summary-box {
  margin-top: 25px;
  padding: 18px;
  background: var(--bg);
  border-radius: 8px;
  border: 1px solid #444;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
  font-size: 16px;
}
.summary-row.total {
  font-weight: bold;
  font-size: 19px;
  border-top: 2px solid #28a745;
  padding-top: 12px;
  margin-top: 15px;
}

/* Company Info Box */
.company-box {
  margin: 0;
  padding: 24px;
  background: linear-gradient(to top, #000000 0%, #0f0f0f 100%);
  /* background: #000; */
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
  border-radius: 12px;
  color: white;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.company-logo {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  object-fit: contain;
  background: #222;
  border: 1px solid #444;
  flex-shrink: 0;
}
.company-details h3 {
  margin: 0 0 12px 0;
  font-size: 1.6rem;
  color: #8B5CF6;
}
.company-details p {
  margin: 8px 0;
  font-size: 1.1rem;
  color: #e5e5e5;
}
.company-details strong {
  color: #a78bfa;
}
@media (max-width: 600px) {
  .company-box {
    flex-direction: column;
    text-align: center;
  }
  .company-logo {
    width: 100px;
    height: 100px;
  }
}

/* ──────────────────────────────────────────────────────────────
   loading
────────────────────────────────────────────────────────────── */

/* Loading Splash Screen */
#loading-splash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: opacity 0.5s ease;
}
#loading-splash.fade-out {
  opacity: 0;
  pointer-events: none;
}
.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #e5e7eb;
  border-top: 4px solid var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
#loading-splash p {
  margin-top: 16px;
  font-size: 1rem;
  color: var(--text);
  font-weight: 500;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.quote-header {
  white-space: normal !important;
}

/* ──────────────────────────────────────────────────────────────
   jobs
────────────────────────────────────────────────────────────── */

.delete-job-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  color: #c62828;               /* red-700 */
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 50%;
  line-height: 1;
  opacity: 0.6;
  transition: all 0.2s ease;
  z-index: 5;
}

.delete-job-btn:hover {
  opacity: 1;
  background: rgba(200, 40, 40, 0.15);
  transform: scale(1.15);
}

.job-card:hover .delete-job-btn {
  opacity: 0.85;
}

.page-header {
  margin-bottom: 28px;
}

.title-and-button {
  display: inline-flex;
  align-items: center;
  gap: 16px;           /* ← this is the only space between title and button */
  flex-wrap: wrap;     /* allows wrapping on very small screens */
}

.page-header h1 {
  margin: 0;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.1;
}

.btn-new-job {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  background: #8B5CF6;
  color: white;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.btn-new-job:hover {
  background: #7c3aed;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(139, 92, 246, 0.35);
}

/* ── Responsive: stack when there's really not enough room ── */
@media (max-width: 520px) {
  .title-and-button {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .btn-new-job {
    padding: 12px 20px;
    font-size: 1.1rem;
    width: 100%;           /* full width when stacked */
  }
}

.email-quote-btn:hover {
  color: #218838 !important;
  text-decoration: underline;
}

.job-client .next-service {
  margin-top: 6px;
  color: var(--green);
  font-weight: 600;
  font-size: 0.95rem;
}

.detail-section {
  margin-bottom: 24px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}

.section-header {
  padding: 12px 16px;
  background: #f8f9fc;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.section-header:hover {
  background: #f0f4ff;
}

.section-content {
  padding: 16px;
  background: white;
}

.toggle-icon {
  transition: transform 0.2s;
}

.section-header[aria-expanded="true"] .toggle-icon {
  transform: rotate(180deg);
}

.activity-log div {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.activity-log div:last-child {
  border-bottom: none;
}