/* =============================================
   FIELDPULSE — Global Stylesheet
   ============================================= */

:root {
  --green-dark: #2E7D32;
  --green-main: #4CAF50;
  --green-light: #A5D6A7;
  --green-pale: #F1F8F1;
  --white: #FFFFFF;
  --text-dark: #0f1f0f;
  --text-muted: #5a7a5a;
  --red: #D32F2F;
  --amber: #F9A825;
  --shadow-sm: 0 2px 8px rgba(46,125,50,0.08);
  --shadow-md: 0 4px 20px rgba(46,125,50,0.12);
  --shadow-lg: 0 12px 40px rgba(46,125,50,0.16);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: all 0.25s ease;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-top: 100px;
}
@media (max-width: 768px) {
  body {
    padding-top: 72px;
  }
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── CONTAINER ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; }
p { line-height: 1.7; }

/* ── HEADER ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100; height: 100px;
  padding: 0 2rem;
  display: flex; align-items: center;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(76,175,80,0.10);
  transition: all 0.3s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 4px 32px rgba(46,125,50,0.10);
  height: 80px;
}
@media (max-width: 768px) {
  .site-header {
    height: 72px;
  }
  .site-header.scrolled {
    height: 64px;
  }
}
.header-inner {
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: flex; align-items: center; gap: 2rem;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.logo-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, #4CAF50, #2E7D32);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(76,175,80,0.35);
  transition: all 0.3s ease;
}
.logo:hover .logo-mark {
  transform: rotate(-8deg) scale(1.08);
  box-shadow: 0 6px 20px rgba(76,175,80,0.45);
}
.logo-text {
  font-size: 20px; font-weight: 800;
  color: var(--green-dark);
  letter-spacing: -0.3px;
}

/* =============================================
   MOBILE RESPONSIVENESS FIXES
   All issues addressed per review
   ============================================= */

/* ISSUE 1 — Responsive logo (adapted for div logo) */
.logo {
  height: 90px;
  transition: all 0.3s ease;
}
@media (max-width: 768px) {
  .logo {
    height: 52px;
  }
}
@media (max-width: 480px) {
  .logo {
    height: 44px;
  }
}
.nav-links {
  display: flex; align-items: center;
  gap: 0; margin-left: auto; list-style: none;
}
.nav-links a {
  color: var(--text-muted); font-size: 14px;
  font-weight: 500; padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  position: relative;
  text-decoration: none;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: 4px; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 16px; height: 2px;
  background: var(--green-main);
  border-radius: 2px;
  transition: transform 0.2s ease;
}
.nav-links a:hover { color: var(--green-dark); }
.nav-links a:hover::after { transform: translateX(-50%) scaleX(1); }
.nav-links a.active { color: var(--green-dark); font-weight: 700; }
.nav-links a.active::after { transform: translateX(-50%) scaleX(1); }
.header-cta {
  display: inline-flex; align-items: center;
  background: linear-gradient(135deg, #4CAF50, #2E7D32);
  color: white; padding: 10px 22px;
  border-radius: 50px; font-weight: 700;
  font-size: 14px; margin-left: 1rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(76,175,80,0.3);
  text-decoration: none; white-space: nowrap;
}
.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(76,175,80,0.4);
  background: linear-gradient(135deg, #43A047, #1b5e20);
}
.header-cta svg { margin-right: 6px; vertical-align: middle; }

/* HAMBURGER - mobile */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--green-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
    border-bottom: 1px solid rgba(76,175,80,0.15);
    z-index: 99;
    box-shadow: 0 8px 24px rgba(46,125,50,0.12);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
  }
  .hamburger {
    display: flex;
  }
  .header-cta {
    display: none;
  }
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: linear-gradient(140deg, #062a06 0%, #0e4a0e 45%, #1b6b1b 100%);
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 7rem 2rem 5rem;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-blob {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: 0.4;
  pointer-events: none;
}
.hero-blob-1 {
  width: 500px; height: 500px;
  background: var(--green-main);
  top: -100px; right: -100px;
  animation: blobFloat 12s ease-in-out infinite;
}
.hero-blob-2 {
  width: 400px; height: 400px;
  background: var(--green-dark);
  bottom: -80px; left: -80px;
  animation: blobFloat 10s ease-in-out infinite reverse;
}
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, 20px); }
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 760px; width: 100%;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50px; padding: 6px 18px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.5px; color: rgba(255,255,255,0.88);
  margin-bottom: 1.75rem;
}
.hero-pill span { color: var(--green-light); }
.hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800; color: #fff;
  line-height: 1.12;
  text-shadow: 0 2px 24px rgba(0,0,0,0.3);
  margin-bottom: 1.25rem;
}
.hero-title em { color: var(--green-light); font-style: normal; }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.78);
  max-width: 540px; margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--green-main); color: white;
  padding: 13px 28px; border-radius: 50px;
  font-weight: 700; font-size: 15px;
  transition: var(--transition); display: inline-flex;
  align-items: center; gap: 8px;
}
.btn-primary:hover {
  background: #43A047; transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(76,175,80,0.4);
}
.btn-outline {
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.22);
  color: white; padding: 13px 28px; border-radius: 50px;
  font-weight: 700; font-size: 15px;
  transition: var(--transition); display: inline-flex;
  align-items: center; gap: 8px;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.16);
  transform: translateY(-2px);
}

/* ── STATS STRIP ── */
.stats-strip {
  background: var(--white);
  border-bottom: 1px solid #E8F5E9;
  padding: 2.5rem 2rem;
}
.stats-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: center;
  gap: 4rem; flex-wrap: wrap;
}
@media (max-width: 640px) {
  .stats-inner {
    gap: 1.5rem;
    justify-content: space-between;
  }
  .stat-item {
    flex: 1;
    min-width: 80px;
  }
  .stat-value {
    font-size: 1.6rem;
  }
  .stat-label {
    font-size: 11px;
  }
}
.stat-item { text-align: center; }
.stat-value {
  font-size: 2.2rem; font-weight: 800;
  color: var(--green-dark);
}
.stat-label {
  font-size: 13px; color: var(--text-muted);
  font-weight: 500; margin-top: 4px;
}

/* ── SECTION BASE ── */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-label {
  display: inline-block; font-size: 11px;
  font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--green-main);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800; color: var(--text-dark);
  margin-bottom: 0.6rem; line-height: 1.2;
}
@media (max-width: 640px) {
  .section-title {
    font-size: 1.5rem;
  }
  .section-header {
    margin-bottom: 2rem;
    padding: 0 0.5rem;
  }
  .features-section {
    padding: 3.5rem 1.25rem;
  }
}
.section-sub {
  font-size: 1rem; color: var(--text-muted);
  max-width: 500px; margin: 0 auto; line-height: 1.7;
}

/* ── FEATURES ── */
.features-section {
  position: relative;
  overflow: hidden;
  padding: 6rem 2rem;
  background: var(--green-pale);
}
.features-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--white);
  border: 1.5px solid #E8F5E9;
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  cursor: pointer;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-light);
}
.feature-num {
  position: absolute; top: 1rem; right: 1.25rem;
  font-size: 3.5rem; font-weight: 900;
  color: rgba(46,125,50,0.05); line-height: 1;
}
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--green-pale);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.feature-icon svg {
  width: 24px; height: 24px;
  stroke: var(--green-dark); fill: none; stroke-width: 2;
}
.feature-card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1rem; }
.feature-link { font-size: 13px; font-weight: 700; color: var(--green-main); }
.feature-link:hover { text-decoration: underline; }

/* ── CTA BAND ── */
.cta-band {
  background: linear-gradient(135deg, #1b4d1b 0%, var(--green-dark) 100%);
  padding: 5rem 2rem;
}
.cta-band-inner {
  max-width: 900px; margin: 0 auto;
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 3rem; flex-wrap: wrap;
}
.cta-band-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--green-light); margin-bottom: 0.5rem;
}
.cta-band-title { font-size: 2rem; font-weight: 800; color: white; margin-bottom: 0.5rem; }
.cta-band-sub { font-size: 0.95rem; color: rgba(255,255,255,0.72); max-width: 420px; line-height: 1.7; }
.cta-band-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 640px) {
  .cta-band {
    padding: 3rem 1.25rem;
  }
  .cta-band-title {
    font-size: 1.5rem;
  }
  .cta-band-inner {
    gap: 1.5rem;
  }
  .cta-band-buttons {
    flex-direction: column;
    width: 100%;
  }
  .cta-btn-primary, .cta-btn-outline {
    text-align: center;
    width: 100%;
    justify-content: center;
  }
}
.cta-btn-primary {
  background: var(--green-main); color: white;
  padding: 13px 26px; border-radius: 50px;
  font-weight: 700; font-size: 14px;
  transition: var(--transition);
}
.cta-btn-primary:hover { background: #43A047; transform: translateY(-2px); }
.cta-btn-outline {
  border: 1.5px solid rgba(255,255,255,0.3);
  color: white; padding: 13px 26px; border-radius: 50px;
  font-weight: 700; font-size: 14px;
  transition: var(--transition);
}
.cta-btn-outline:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }

/* ── FOOTER ── */
footer {
  background: #0a1a0a;
  color: rgba(255,255,255,0.45);
  text-align: center; padding: 2rem;
  font-size: 13px;
}
footer span { color: var(--green-main); }

/* ── ALERTS / BADGES ── */
.badge-critical { background: #FFEBEE; color: var(--red); border-radius: 6px; padding: 3px 10px; font-size: 12px; font-weight: 700; }
.badge-warning { background: #FFF8E1; color: var(--amber); border-radius: 6px; padding: 3px 10px; font-size: 12px; font-weight: 700; }
.badge-info { background: var(--green-pale); color: var(--green-dark); border-radius: 6px; padding: 3px 10px; font-size: 12px; font-weight: 700; }

/* ── HEALTH SCORE COLORS ── */
.health-green { color: var(--green-main); }
.health-amber { color: var(--amber); }
.health-red { color: var(--red); }

/* ── CARD BASE ── */
.card {
  background: var(--white);
  border: 1.5px solid #E8F5E9;
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); }

/* ── FADE UP ANIMATION ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.5s ease forwards; }
.fade-up-1 { animation-delay: 0.1s; opacity: 0; }
.fade-up-2 { animation-delay: 0.2s; opacity: 0; }
.fade-up-3 { animation-delay: 0.3s; opacity: 0; }
.fade-up-4 { animation-delay: 0.4s; opacity: 0; }
.fade-up-5 { animation-delay: 0.5s; opacity: 0; }
.fade-up-6 { animation-delay: 0.6s; opacity: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .feature-card {
    padding: 1.5rem 1.25rem;
  }
}
@media (max-width: 640px) {
  .hero {
    padding: 5rem 1.25rem 3rem;
    min-height: auto;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-sub {
    font-size: 0.95rem;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }
  .hero-ctas a {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* HOW IT WORKS SECTION */
.how-section { padding: 6rem 2rem; background: var(--white); }
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.how-card {
  background: var(--green-pale);
  border: 1.5px solid #E8F5E9;
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  position: relative;
  transition: var(--transition);
}
.how-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.how-num {
  font-size: 4rem; font-weight: 900;
  color: rgba(46,125,50,0.08);
  line-height: 1;
  position: absolute; top: 1rem; right: 1.25rem;
}
.how-title { font-size: 1.05rem; font-weight: 800; margin-bottom: 0.5rem; }
.how-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; }

@media (max-width: 640px) {
  .how-grid {
    grid-template-columns: 1fr;
  }
  .how-section {
    padding: 3.5rem 1.25rem;
  }
}

.features-section .section-header,
  .features-section .features-grid {
  position: relative;
  z-index: 1;
}

/* ── ALERTS PAGE ── */
.alerts-page {
  min-height: 100vh;
  background: var(--green-pale);
  padding: 5.5rem 2rem 4rem;
}
.alerts-inner { max-width: 900px; margin: 0 auto; }
.page-header { margin-bottom: 2rem; }
.page-header h1 { font-size: 1.8rem; font-weight: 800; color: var(--text-dark); margin-bottom: 0.3rem; }
.page-header p { font-size: 14px; color: var(--text-muted); }
.farm-bar {
  background: var(--white);
  border: 1.5px solid #E8F5E9;
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.farm-bar-left { display: flex; align-items: center; gap: 0.75rem; }
.farm-bar-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--green-pale);
  display: flex; align-items: center; justify-content: center;
}
.farm-bar-icon svg { width: 20px; height: 20px; stroke: var(--green-dark); fill: none; stroke-width: 2; }
.farm-bar-name { font-size: 15px; font-weight: 800; color: var(--text-dark); }
.farm-bar-location { font-size: 12px; color: var(--text-muted); margin-top: 1px; }
.farm-bar-crops { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.crop-pill {
  background: var(--green-pale); color: var(--green-dark);
  border-radius: 50px; padding: 4px 12px;
  font-size: 12px; font-weight: 600;
}
.no-farm-bar {
  background: #FFF8E1; border: 1.5px solid #FFE082;
  border-radius: var(--radius); padding: 1rem 1.5rem;
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap;
}
.no-farm-bar p { font-size: 14px; color: #5D4037; font-weight: 500; }
.btn-setup-now {
  background: var(--green-main); color: white;
  border-radius: 50px; padding: 8px 18px;
  font-size: 13px; font-weight: 700;
  text-decoration: none; transition: var(--transition); white-space: nowrap;
}
.btn-setup-now:hover { background: var(--green-dark); }
.summary-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1rem; margin-bottom: 1.5rem;
}
@media (max-width: 600px) { .summary-strip { grid-template-columns: 1fr; } }
.summary-card {
  background: var(--white); border: 1.5px solid #E8F5E9;
  border-radius: var(--radius); padding: 1.25rem;
  text-align: center; transition: var(--transition);
}
.summary-card:hover { box-shadow: var(--shadow-md); }
.summary-count { font-size: 2.5rem; font-weight: 900; line-height: 1; margin-bottom: 4px; }
.summary-label { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.count-critical { color: var(--red); }
.count-warning { color: #F9A825; }
.count-info { color: var(--green-main); }
.filter-bar { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.filter-btn {
  background: var(--white); border: 1.5px solid #E8F5E9;
  border-radius: 50px; padding: 7px 16px;
  font-size: 13px; font-weight: 600; color: var(--text-muted);
  cursor: pointer; transition: var(--transition); font-family: inherit;
}
.filter-btn:hover { border-color: var(--green-main); color: var(--green-dark); }
.filter-btn.active { background: var(--green-main); border-color: var(--green-main); color: white; }
.alerts-list { display: flex; flex-direction: column; gap: 1rem; }
.alert-card {
  background: var(--white); border: 1.5px solid #E8F5E9;
  border-radius: var(--radius); padding: 1.5rem;
  display: flex; gap: 1.25rem; align-items: flex-start;
  transition: var(--transition); position: relative; overflow: hidden;
}
.alert-card::before {
  content: ''; position: absolute;
  left: 0; top: 0; bottom: 0; width: 4px;
  border-radius: 4px 0 0 4px;
}
.alert-card.critical::before { background: var(--red); }
.alert-card.warning::before { background: #F9A825; }
.alert-card.info::before { background: var(--green-main); }
.alert-card:hover { box-shadow: var(--shadow-md); transform: translateX(3px); }
.alert-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.alert-icon svg { width: 22px; height: 22px; fill: none; stroke-width: 2; stroke: currentColor; }
.alert-card.critical .alert-icon { background: #FFEBEE; color: var(--red); }
.alert-card.warning .alert-icon { background: #FFF8E1; color: #F9A825; }
.alert-card.info .alert-icon { background: var(--green-pale); color: var(--green-dark); }
.alert-content { flex: 1; }
.alert-top {
  display: flex; align-items: center; gap: 0.6rem;
  margin-bottom: 0.4rem; flex-wrap: wrap;
}
.alert-severity {
  font-size: 10px; font-weight: 800; letter-spacing: 1px;
  text-transform: uppercase; padding: 3px 10px; border-radius: 50px;
}
.critical .alert-severity { background: #FFEBEE; color: var(--red); }
.warning .alert-severity { background: #FFF8E1; color: #E65100; }
.info .alert-severity { background: var(--green-pale); color: var(--green-dark); }
.alert-crop-tag {
  font-size: 11px; font-weight: 600; color: var(--text-muted);
  background: var(--green-pale); padding: 3px 10px; border-radius: 50px;
}
.alert-time { margin-left: auto; font-size: 11px; color: var(--text-muted); }
.alert-title { font-size: 15px; font-weight: 800; color: var(--text-dark); margin-bottom: 0.4rem; line-height: 1.3; }
.alert-body { font-size: 13px; color: var(--text-muted); line-height: 1.65; margin-bottom: 1rem; }
.alert-action {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--green-pale); border: 1.5px solid #E8F5E9;
  border-radius: var(--radius-sm); padding: 0.6rem 1rem;
  font-size: 13px; font-weight: 700; color: var(--green-dark);
}
.alert-action svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.5; }
.alert-card.critical .alert-action { background: #FFEBEE; border-color: #FFCDD2; color: var(--red); }
.alert-card.warning .alert-action { background: #FFF8E1; border-color: #FFE082; color: #E65100; }
.empty-state {
  text-align: center; padding: 4rem 2rem;
  background: var(--white); border: 1.5px solid #E8F5E9; border-radius: var(--radius);
}
.empty-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--green-pale);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
}
.empty-icon svg { width: 28px; height: 28px; stroke: var(--green-main); fill: none; stroke-width: 2; }
.empty-state h3 { font-size: 1.1rem; font-weight: 800; color: var(--text-dark); margin-bottom: 0.5rem; }
.empty-state p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.loading-state { text-align: center; padding: 3rem; color: var(--text-muted); }
.spinner {
  width: 36px; height: 36px;
  border: 3px solid #E8F5E9; border-top-color: var(--green-main);
  border-radius: 50%; animation: spin 0.8s linear infinite; margin: 0 auto 1rem;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* MAP NEW STYLES */
.map-search-bar { display:flex; gap:1rem; align-items:center; flex-wrap:wrap; }
.map-search-input { flex:1; min-width:250px; }
.map-search-input:focus { border-color:var(--green-main); }
.coords-panel { /* inline already */ }
.green-banner { animation: bannerFade 3s forwards; }
@keyframes bannerFade { to { opacity:0; transform:translateY(-10px); } }

/* LEAFLET DRAW */
.leaflet-draw-toolbar .leaflet-draw-draw-polygon { background:#4CAF50 !important; }
.leaflet-draw-toolbar .leaflet-draw-draw-marker { background:#66BB6A !important; }
.leaflet-draw-actions a { color:#4CAF50; }

/* AI POSITION - UP TOP */
#weatherContent .ai-assistant { margin:2rem auto !important; }
@media (max-width:768px) { #leafletMap { height:420px !important; } }

/* Mobile nav overlay */
.nav-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4);
  z-index: 98; opacity: 0; visibility: hidden; transition: all 0.3s ease;
}
.nav-overlay.show { opacity: 1; visibility: visible; }
body.no-scroll { overflow: hidden; }

