@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap");
@import url("https://unpkg.com/leaflet@1.9.4/dist/leaflet.css");

/* Tailwind Base Directives - technically handled by CDN but good to have if processed provided we use the CDN script properly */
@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
  :root {
    --background: 0 0% 100%;
    --foreground: 0 0% 20%;
    --primary: 178 46% 32%; /* #2B7A78 */
    --primary-foreground: 0 0% 100%;
    --secondary: 0 0% 96%; /* #F5F5F5 */
    --secondary-foreground: 178 46% 32%;
    --muted: 0 0% 96%;
    --muted-foreground: 0 0% 40%;
    --accent: 178 46% 32%;
    --accent-foreground: 0 0% 100%;
    --destructive: 0 84% 60%;
    --destructive-foreground: 0 0% 98%;
    --border: 0 0% 90%;
    --input: 0 0% 90%;
    --ring: 178 46% 32%;
    --radius: 0.75rem;
    --success: 122 39% 49%;
    --warning: 36 100% 50%;
    --info: 207 90% 54%;
  }
  body {
    background-color: white;
    color: #333333;
    font-family: "Inter", sans-serif;
    -webkit-font-smoothing: antialiased;
  }
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    letter-spacing: -0.025em;
    font-weight: 700;
    color: #1f5f5d;
  }
}

@layer utilities {
  .glass {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
      0 4px 6px -1px rgba(0, 0, 0, 0.1),
      0 2px 4px -1px rgba(0, 0, 0, 0.06);
  }
  .text-balance {
    text-wrap: balance;
  }
}

/* Custom Animations from Tailwind Config - simplified for CSS if CDN config doesn't catch them, 
   but we will configure them in the HTML head script too. 
   Adding here as fallback or for specific custom classes */

@keyframes accordion-down {
  from {
    height: 0;
  }
  to {
    height: var(--radix-accordion-content-height);
  }
}
@keyframes accordion-up {
  from {
    height: var(--radix-accordion-content-height);
  }
  to {
    height: 0;
  }
}
.animate-accordion-down {
  animation: accordion-down 0.2s ease-out;
}
.animate-accordion-up {
  animation: accordion-up 0.2s ease-out;
}
