:root {
  /* Inspired by Ethiopia's Flag but modernized */
    --primary: #008751;
    /* Green */
    --primary-dark: #005f38;
    --accent: #FCDD09;
    /* Yellow/Gold */
    --secondary: #DA121A;
    /* Red - Used sparingly */
     --primary-glow: rgba(16, 185, 129, 0.4);

    --bg-dark: #f6fcf8;
    --bg-card: #ffffff;
    --text-light: #1b3a2b;
    --text-dim: #5c7a6d;
    --text-muted: #64748b;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Pill Gradients matching image */
    --grad-1: linear-gradient(to bottom, #d946ef, #7c3aed);
    --grad-2: linear-gradient(to bottom, #2dd4bf, #0284c7);
    --grad-3: linear-gradient(to bottom, #f59e0b, #ea580c);
    --grad-4: linear-gradient(to bottom, #ef4444, #991b1b);
    --grad-5: linear-gradient(to bottom, #8b5cf6, #3b82f6);
    --grad-6: linear-gradient(to bottom, #10b981, #047857);
    --grad-7: linear-gradient(to bottom, #f43f5e, #be123c);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 600;
}

h1 {
  font-size: 55px;
}

h2 {
  font-size: 30px;
}

h3 {
  font-size: 20px;
}

h4 {
  font-size: 18px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center !important;
    width: 100%;
    top: 0;
    backdrop-filter: blur(10px);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
}

.navbar-brand {
      display: flex;
      align-items: center;
      height: 100%;
    }
    
.navbar-nav {
  display: flex;
  align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-left: 25px;
}

.nav-brand span {
  white-space: normal;
}

.mobile-break {
  display: none;
}

.navbar-nav .nav-link {
    display: flex;
    align-items: center;
    padding: 0 1.75rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.3s ease;
    position: relative;
    margin-right: 10px;
}

.navbar-heading{
  font-size: 14px;
}

.navbar-nav .nav-link:hover {
    color: var(--primary);
}

.navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--primary);
    border-radius: 3px 3px 0 0;
    box-shadow: 0 -3px 12px var(--primary-glow);
}

.nav-underline .nav-link {
    display: flex;
    align-items: center;
    padding: 5 1.75rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.3s ease;
    position: relative;
    margin-right: 10px;
}

.panel-heading{
  font-size: 12px;
}

.nav-underline .nav-link:hover {
    color: var(--primary);
}

.nav-underline .nav-link.active {
    color: var(--primary);
}

/* side bar panel */

.bslib-sidebar-layout>.sidebar>.sidebar-content {
    display: flex;
    flex-direction: column;
    gap: 0px; 
    padding: var(--_padding);
    /* padding-top: var(--_padding-icon); */
}

.bslib-gap-spacing {
     gap: 0px; 
}

.bslib-sidebar-layout .sidebar-title {
    font-size: 12px;
}

.accordion-title{
  font-size:11.5px;
}

.control-label{
  font-size:11px;
}

.radio label {
      font-size: 10.5px;
    }
    
.selectize-input > * {
    font-size: 10.5px;
  }
  
.selectize-input {
    font-size: 10.5px !important;   /* selected item */
  }
  
  .selectize-dropdown {
    font-size: 10.5px !important;   /* dropdown options */
  }
  
.form-control {
      font-size: 10.5px;
    }

.shiny-input-container .radio input{
  width: 0.8em;
  height: 0.8em;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
}

.shape-1 {
  background: #16a34a;
  width: 400px;
  height: 400px;
  top: -10%;
  right: 10%;
}

.shape-2 {
  background: #22c55e;
  width: 300px;
  height: 300px;
  bottom: 10%;
  left: -5%;
}

.shape-3 {
  background: #bef264;
  /* Lime 300 */
  width: 250px;
  height: 250px;
  top: 30%;
  left: 30%;
  opacity: 0.4;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.badge {
  display: inline-block;
  background: rgba(22, 163, 74, 0.1);
  color: var(--primary-dark);
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 25px;
  border: 1px solid rgba(22, 163, 74, 0.2);
}

.hero-text p {
  font-size: 14px;
  max-width: 500px;
  margin-bottom: 35px;
}

p {
  font-size: 14px;
}

/* Hero Image Structure */
.hero-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(22, 163, 74, 0.25);
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: transform 0.5s ease;
  border: 4px solid #ffffff;
}

.hero-image-wrapper:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.hero-feature-image {
  /*width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  max-height: 500px;*/
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Sections */
.section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 0px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.home-card {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 16px;
  border: 1px solid rgba(22, 163, 74, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.home-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 25px -5px rgba(22, 163, 74, 0.1), 0 10px 10px -5px rgba(22, 163, 74, 0.04);
  border-color: #16a34a;
}

.home-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.home-icon-wrapper i {
  font-size: 2rem;
}

.problem-grid .home-card:nth-child(1) .home-icon-wrapper { background: rgba(249, 115, 22, 0.12); }
.problem-grid .home-card:nth-child(1) .home-icon-wrapper i { color: #f97316; } /* Orange */

.problem-grid .home-card:nth-child(2) .home-icon-wrapper { background: rgba(14, 165, 233, 0.12); }
.problem-grid .home-card:nth-child(2) .home-icon-wrapper i { color: #0ea5e9; } /* Sky Blue */

.problem-grid .home-card:nth-child(3) .home-icon-wrapper { background: rgba(239, 68, 68, 0.12); }
.problem-grid .home-card:nth-child(3) .home-icon-wrapper i { color: #ef4444; } /* Red */

/* Features */
.container-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.text-accent {
    color: #059669;
}

.text-gradient {
    background: linear-gradient(135deg, #059669, #22c55e);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-list {
  list-style: none;
  margin-top: 30px;
}

.feature-list li {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.feature-list i {
  font-size: 2rem;
  padding: 10px;
  border-radius: 10px;
  height: fit-content;
}

.feature-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature-list li:nth-child(1) i { color: #8b5cf6; background: rgba(139, 92, 246, 0.12); }
.feature-list li:nth-child(2) i { color: #10b981; background: rgba(16, 185, 129, 0.12); }
.feature-list li:nth-child(3) i { color: #eab308; background: rgba(234, 179, 8, 0.12); }

.mini-glass-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(22, 163, 74, 0.2);
  padding: 30px 20px;
  border-radius: 16px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  font-size: 14px;
}

.mini-glass-card:hover {
  background: rgba(22, 163, 74, 0.03);
  transform: scale(1.05);
  border-color: #16a34a;
}

.mini-glass-card i {
  font-size: 2.5rem;
  color: #16a34a;
  margin-bottom: 15px;
  display: block;
}

.feature-cards-grid .mini-glass-card:nth-child(1) i { color: #ec4899; } /* Pink */
.feature-cards-grid .mini-glass-card:nth-child(2) i { color: #06b6d4; } /* Cyan */
.feature-cards-grid .mini-glass-card:nth-child(3) i { color: #f59e0b; } /* Amber */
.feature-cards-grid .mini-glass-card:nth-child(4) i { color: #6366f1; } /* Indigo */

.mini-glass-card span {
  font-weight: 600;
  color: var(--text-main);
}

/* Impact Section */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding-top: 15px;
}

.impact-box {
  position: relative;
  padding: 30px 15px;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: 16px;
  border-top: 3px solid #16a34a;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.impact-number {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 4rem;
  font-weight: 800;
  color: rgba(22, 163, 74, 0.18);
  /* Very subtle green for number */
  line-height: 1;
}

.impact-box h4 {
  margin-top: 50px;
  color: #15803d;
}

/* Audience */
.glass-banner {
  background: linear-gradient(45deg, rgba(22, 163, 74, 0.05), rgba(5, 150, 105, 0.05));
  border: 1px solid rgba(22, 163, 74, 0.2);
  border-radius: 20px;
  padding: 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.tags-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
}

.tag {
  font-size: 13px;
  background: #ffffff;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  color: #15803d;
  border: 1px solid rgba(22, 163, 74, 0.2);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

/* Partners Section */
.partners-section {
  background-color: var(--bg-color-alt);
  padding: 80px 0;
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.partner-item {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.partner-item:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-5px);
}

.partner-logo-wrapper {
  width: fit-content;
  height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8px;
  border-radius: 12px;
  background: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(22, 163, 74, 0.05);
}

.partner-logo-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.partner-logo-wrapper.text-logo {
  gap: 5px;
}

.partner-logo-wrapper.text-logo i {
  font-size: 2rem;
  margin-bottom: 5px;
}

.partner-logo-wrapper.text-logo span {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

/* Text Logo Themes */
.green-theme i { color: #16a34a; }
.blue-theme i { color: #2563eb; }
.teal-theme i { color: #0d9488; }


/* Footer */
.footer {
  background: #ffffff;
  padding: 80px 0 20px;
  border-top: 1px solid rgba(22, 163, 74, 0.2);
  text-align: center;
}

.footer-cta {
  max-width: 600px;
  margin: 0 auto 60px;
}

.footer-cta h2 {
  margin-bottom: 20px;
}

.footer-cta p {
  margin-bottom: 30px;
}

.footer-bottom {
  padding-top: 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Animation Classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay {
  transition-delay: 0.2s;
}

.reveal-delay-1 {
  transition-delay: 0.2s;
}

.reveal-delay-2 {
  transition-delay: 0.4s;
}

.reveal-delay-3 {
  transition-delay: 0.6s;
}

.reveal-delay-4 {
  transition-delay: 0.8s;
}

/* Responsive */
@media (max-width: 992px) {

  .hero-content,
  .container-features {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-cta,
  .feature-list li {
    justify-content: center;
  }

  .hero-visual {
    margin-top: 40px;
  }

  .feature-list li {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .feature-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* overview panel layout */
.grid-container {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
        gap: 16px;
        width: 100%;
        aspect-ratio: 16 / 11;
        margin: auto;
      }
      
      /* Layout mapping */
      .top-left { grid-column: 1 / 2; grid-row: 1 / 4; }
      .mid-left { grid-column: 1 / 2; grid-row: 4 / 6; }

      .top-small-1 { grid-column: 2 / 3; grid-row: 1 / 2; }
      .top-small-2 { grid-column: 3 / 4; grid-row: 1 / 2; }
      .top-small-3 { grid-column: 4 / 5; grid-row: 1 / 2; }

      .main-content { grid-column: 2 / 5; grid-row: 2 / 6; }

      .top-right { grid-column: 5 / 6; grid-row: 1 / 2; }
      .mid-right { grid-column: 5 / 6; grid-row: 2 / 6; }

      .footer { grid-column: 1 / 6; grid-row: 6 / 7; }

      /* Optional mobile fallback */
      @media (max-width: 800px) {
        .grid-container {
          display: flex;
          flex-direction: column;
          aspect-ratio: auto;
        }
        .box {
          min-height: 120px;
        }
        .main-content {
          min-height: 300px;
        }
      }

/* Base Glass Card */
        .glass-card {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: 24px;
            padding: 10px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            backdrop-filter: blur(12px);
            transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
        }

        .glass-card:hover {
            transform: translateY(-4px);
            border-color: rgba(255, 255, 255, 0.15);
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
        }

        .card-header-kpi {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 5px;
        }


        .card-title {
            font-size: 11.5px;
            color: var(--text-muted);
            font-weight: 500;
            margin-bottom: 0.5rem;
        }

        /* --- COMPONENT SPECIFIC LAYOUT --- */

        /* 1. Value Boxes (Span 3) */
        .value-box {
            grid-column: span 2;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .icon-wrapper {
            width: 48px;
            height: 48px;
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.4rem;
        }

        .v1 .icon-wrapper {
            background: rgba(16, 185, 129, 0.15);
            color: #10b981;
        }

        .v2 .icon-wrapper {
            background: rgba(132, 204, 22, 0.15);
            color: #84cc16;
        }

        .v3 .icon-wrapper {
            background: rgba(234, 179, 8, 0.15);
            color: #eab308;
        }

        .v4 .icon-wrapper {
            background: rgba(14, 165, 233, 0.15);
            color: #0ea5e9;
        }

        .value-amount {
            font-weight: 500;
            font-size: 13px;
        }

        .value-trend {
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 6px;
            font-weight: 500;
        }

        .trend-up {
            color: #10b981;
        }

        .trend-down {
            color: #ef4444;
        }

        /* 2. Static Values Box (Span 4) */
        .static-values-container {
            grid-column: span 4;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            background: rgba(255, 255, 255, 0.5);
            border-radius: 24px;
            border: 1px solid var(--card-border);
            overflow: hidden;
        }

        .static-item {
            padding: 18px 10px;
            text-align: center;
            border-right: 1px solid var(--card-border);
            border-bottom: 1px solid var(--card-border);
            transition: background 0.3s ease;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .static-item:hover {
            background: rgba(16, 185, 129, 0.05);
        }

        .static-item:nth-child(2n) {
            border-right: none;
        }

        .static-item:nth-last-child(-n+2) {
            border-bottom: none;
        }

        .static-label {
            font-size: 0.75rem;
            color: var(--text-muted);
            margin-bottom: 6px;
            font-weight: 600;
        }

        .static-val {
            font-size: 1.3rem;
            font-weight: 600;
            color: var(--text-main);
        }

        /* 3. Note Text Box (Span 6, Row Span 2) */
        .text-box {
            grid-column: span 6;
            grid-row: span 2;
            display: flex;
            flex-direction: column;
        }

        .text-input-area {
            flex: 1;
            width: 100%;
            background: rgba(255, 255, 255, 0.6);
            border: 1px solid var(--card-border);
            border-radius: 16px;
            padding: 20px;
            color: var(--text-main);
            resize: none;
            outline: none;
            font-size: 1rem;
            line-height: 1.6;
            transition: all 0.3s ease;
        }

        .text-input-area:focus {
            border-color: var(--accent-1);
            background: rgba(255, 255, 255, 0.9);
            box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.05);
        }

        .text-input-area::placeholder {
            color: rgba(71, 85, 105, 0.5);
        }

        .pie-chart{
            grid-column: span 6;
            display: flex;
            flex-direction: column;
        }
        
        .bar-chart {
            grid-column: span 6;
            display: flex;
            flex-direction: column;
        }
        
        .progress-card {
            grid-column: span 4;
            display: flex;
            flex-direction: column;
        }
        
        /* Progress Statistics Card */
        .progress-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 5px;
        }

        .progress-percentage {
            font-size: 18px;
            font-weight: 500;
            color: var(--text-main);
        }
        
      .progress-segment { display: flex; gap: 4px; height: 8px; margin-bottom: 15px; }
      .segment-bar {
        display: flex;
        flex-wrap: nowrap;
        width: 100%;
        height: 40px;
        border-radius: 10px;
        overflow: hidden;
        background: #e5e7eb;
      }
      
      .segment {
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-weight: bold;
        font-size: 14px;
        white-space: nowrap;
      }

        .progress-legends {
            display: flex;
            font-size: 0.75rem;
            color: var(--text-muted);
            font-weight: 500;
        }

        .progress-stats-footer {
            background: rgba(250, 250, 253, 0.8);
            border-radius: 12px;
            padding: 20px 0;
            display: flex;
            justify-content: space-between;
            border: 1px solid var(--card-border);
            margin-top: auto;
        }

        .stat-item {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 6px;
            border-right: 1px solid rgba(0,0,0,0.05);
        }

        .stat-item:last-child {
            border-right: none;
        }

        .stat-icon {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 0.85rem;
            margin-bottom: 4px;
        }
        
        .icon-purple { background-color: #8b5cf6; }
        .icon-green { background-color: #10b981; }
        .icon-orange { background-color: #f97316; }

        .stat-value {
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--text-main);
            line-height: 1;
        }

        .stat-label {
            font-size: 0.75rem;
            color: var(--text-muted);
        }


        /* 4. Cluster Bar Chart (Span 8) */
        .cluster-bar {
            grid-column: span 8;
            display: flex;
            flex-direction: column;
        }

        .chart-container {
            position: relative;
            flex: 1;
            width: 100%;
        }

        /* Custom Scrollbar */
        ::-webkit-scrollbar {
            width: 6px;
        }

        ::-webkit-scrollbar-track {
            background: var(--bg-primary);
        }

        ::-webkit-scrollbar-thumb {
            background: rgba(0, 0, 0, 0.1);
            border-radius: 10px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: rgba(0, 0, 0, 0.2);
        }

        /* Responsive Breakpoints */
        @media (max-width: 900px) {
            .value-box {
                grid-column: span 12;
            }

            .text-box {
                grid-column: span 12;
            }

            .pie-chart,
            .bar-chart,
            .cluster-bar,
            .progress-card,
            .static-values-container {
                grid-column: span 12;
            }

            .static-values-container {
                grid-template-columns: repeat(3, 1fr);
                height: auto;
            }

            .static-item {
                height: 105px;
            }
        }

        /*@media (max-width: 900px) {
            .static-values-container {
                grid-template-columns: repeat(2, 1fr);
            }

            .analytics-kpi-container {
                grid-template-columns: repeat(2, 1fr);
            }
        }*/

    .fund-item {
        padding-bottom: 8px;
      }

      /* Title Text */
      .fund-title {
        font-weight: 500;
        font-size: 11.5px;
        color: #1a1a1a;
      }

      /* The Progress Bar Visuals */
      .progress-track {
        width: 100%;
        height: 18px;
        background-color: #00000020;
        border-radius: 10px;
        position: relative;
        overflow: hidden;
      }

      .progress-fill {
        height: 100%;
        background-color: rgb(255, 219, 92);
        border-radius: 10px;
        transition: width 0.8s ease-out;
      }

      /* Bottom Label Row */
      .fund-meta {
        display: flex;
        justify-content: space-between;
        margin-top: 3px;
        font-size: 13px;
        color: #444;
      }

      .amount-detail { font-weight: 700; font-size: 12px;}
      .percentage { font-weight: 700; font-size: 12px; }
      
      .legend-container { display: grid; gap: 5px 8px;grid-template-columns: repeat(2, 1fr); 
      padding-bottom:10px; 
      border-bottom:1px solid #e5e5e5;}
      .legend-item { display: flex; align-items: center; gap: 10px; }
      .indicator { width: 6px; height: 20px; border-radius: 2px; }
      .item-label { color: #8d959e; font-size: 11.5px; }
      .item-value { color: #2d3748; font-size: 14px; font-weight: 500; }
      
      /* Horizontal Methodology Tree */
      
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 20px;
}

.horizontal-tree-scroll-wrapper {
  width: 100%;
  overflow-x: auto;
  padding: 70px 0;
  -webkit-overflow-scrolling: touch;
}

.horizontal-tree-scroll-wrapper::-webkit-scrollbar {
  height: 8px;
}

.horizontal-tree-scroll-wrapper::-webkit-scrollbar-track {
  background: var(--bg-color);
  border-radius: 4px;
}

.horizontal-tree-scroll-wrapper::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}

.tree-nodes-container {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 1200px; /* Forces scroll on smaller screens */
  padding: 150px 40px; /* Space for absolute positioning */
}

.tree-line-segment {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--node-color, #e2e8f0);
}

.tree-line-segment.leading {
  flex: 0.5;
}

.tree-line-segment.trailing {
  flex: 0.5;
}

.tree-node {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.node-icon-circle {
  width: 70px;
  height: 70px;
  background: var(--bg-color-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--node-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 4px solid var(--bg-color-alt); 
  z-index: 3;
}

.node-stem {
  position: absolute;
  width: 3px;
  background: var(--node-color);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  height: 80px;
}

.stem-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  background: var(--bg-color-alt);
  border: 4px solid var(--node-color);
  border-radius: 50%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
}

.node-up .node-stem {
  bottom: 100%;
}

.node-up .stem-dot {
  top: -15px;
}

.node-down .node-stem {
  top: 100%;
}

.node-down .stem-dot {
  bottom: -15px;
}

.node-text {
  position: absolute;
  width: 220px;
  text-align: center;
  left: 50%;
  transform: translateX(-50%);
}

.node-up .node-text {
  bottom: 155px; /* 50% of 70px icon + 80px stem + gap */
  padding-bottom: 5px;
}

.node-down .node-text {
  top: 165px;
  padding-top: 5px;
}

.node-step-num {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--node-color);
  opacity: 0.8;
  margin-bottom: 2px;
  letter-spacing: 1px;
}

.node-title {
  font-weight: 700;
  margin-bottom: 5px;
}

.node-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.dashboard-container-data-explore {
    display: flex;
    height: calc(100vh - 80px);
    padding: 2px 2px;
    gap: 3rem;
}

.dashboard-container-ug {
    display: flex;
    height: calc(100vh - 80px);
    padding: 2.5rem 3rem;
    gap: 3rem;
}

/* Sidebar */
.options-list {
    width: 18%;
    /*min-width: 400px;*/
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow-y: auto;
    padding-right: 1rem;
}

.options-list-ug {
    width: 18%;
    /*min-width: 400px;*/
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow-y: auto;
    padding-right: 1rem;
}
/* hide scrollbar */
.options-list::-webkit-scrollbar { width: 0; }

/* The Option Card (Matching Image) */
.option-card {
    background: var(--card-bg);
    border-radius: 18px;
    padding: 15px 15px;
    display: flex;
    align-items: center;
    box-shadow: 0 8px 16px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    gap: 2rem;
}

.option-card:hover, .option-card.active {
    transform: translateX(8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

/* Left Number Group */
.opt-number-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}
.opt-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 400;
    margin-bottom: -0.2rem;
}
.opt-number {
    font-size: 3.2rem;
    font-weight: 300;
    color: #9ca3af;
    line-height: 1;
}

/* Vertical Gradient Pill */
.opt-pill {
    width: 10px;
    height: 75px;
    border-radius: 12px;
}

/* Vector Icon Container */
.opt-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.opt-icon svg {
    width: 100%;
    height: 100%;
    stroke: #6b7280;
    stroke-width: 1.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Text Section */
.opt-text {
    flex: 1;
}
.opt-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}
.opt-desc {
    font-size: 0.8rem;
    color: #9ca3af;
    line-height: 1.4;
}

.map-view-container {
    flex: 1;
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.map-view-header {
    margin-bottom: 2rem;
}

.map-grid5-layout {
    flex: 1;
    display: flex;
    gap: 1.5rem;
}

.hero-map {
    flex: 2;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
}

.temporal-grid {
    flex: 1;
    display: grid;
    gap: 1.2rem;
}

.small-map {
    border-radius: 12px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
}

.map-label {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: var(--card-bg);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    color: #4b5563;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.map-placeholder-bg {
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#d1d5db 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
}

.layer-panel {
      position: absolute;
      top: 30px;
      right: 10px;
      z-index: 1000;
      background: white;
      padding: 5px;
      width: 160px;
      border-radius: 10px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    }

.children {
  margin-left: 20px;
}

.form-group {
    margin-bottom: 0.5rem;
}

 #leflet_checkbox .form-group {
    margin-bottom: 0px !important;
  }

label {
    display: flex;
    align-items: center;
}

.checkbox {
  display: flex;
  align-items: center;
  font-size: 12px;
  margin-bottom: 0px;
}

.checkbox input[type='checkbox'] {
  transform: scale(0.75);
  margin-top: 0;
}

.form-check, .shiny-input-container .checkbox, .shiny-input-container .radio {
    display: block;
    min-height: 0;
    padding-left: 0;
    margin-bottom: .25rem;
}

.bslib-value-box .value-box-area {
    align-items: center;
    padding-left: 1.5rem;
    padding-bottom: 0.5rem;
    padding-top: 0rem;
    font-weight: 0;
}

.bslib-value-box .value-box-value {
    font-size: 12px;
    margin-top: 0;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 2px;
}

.value-box-cwr {
     border: 2px solid #00A86B;
     margin: 0px;
     grid-column: span 3;
}

.value-box-rf {
     border: 2px solid #00B37A;
     margin: 0px;
     grid-column: span 3;
}

.value-box-rfd {
     border: 2px solid #00BF8A;
     margin: 0px;
     grid-column: span 3;
}

.value-box-iwr {
     border: 2px solid #00CC99;
     margin: 0px;
     grid-column: span 3;
}

.value-box-ugw {
     border: 2px solid grey;
     margin: 0px;
     grid-column: span 3;
}

.value-box-usw {
     border: 2px solid #00B3B3;
     margin: 0px;
     grid-column: span 3;
}

.value-box-def {
     border: 2px solid #0099CC;
     margin: 0px;
     grid-column: span 3;
}

.value-box-sur {
     border: 2px solid #007FCC;
     margin: 0px;
     grid-column: span 3;
}

.tooltip-inner {
        font-size: 11px !important;
        padding: 4px 6px !important;
        background-color: #0d6efd !important;
        color: white;
}

.tooltip {
        --bs-tooltip-bg: #0d6efd;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 60px;
    padding-bottom: 60px;
}

.step {
    position: relative;
    width: 100%;
    min-height: 320px;
    /* Increased to accommodate longer text blocks safely */
}

/* Vertical Line connecting steps */
.step::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50px;
    height: 100%;
    width: 2px;
    background: #c0c0c0;
    transform: translateX(-50%);
    z-index: 0;
}

/* Remove vertical line passing the final step */
.step:last-child::before {
    display: none;
}

/* Center Node */
.node {
    position: absolute;
    left: 50%;
    top: 50px;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--color);
    z-index: 2;
}

.node::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color);
}

/* Horizontal Connector */
.connector {
    position: absolute;
    top: 49px;
    /* Center on 50px */
    height: 2px;
    background: var(--color);
    width: 220px;
    z-index: 1;
}

.right-step .connector {
    left: 50%;
}

.left-step .connector {
    right: 50%;
}

/* Dot at end of connector */
.dot {
    position: absolute;
    top: -5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color);
}

.right-step .dot {
    right: -6px;
}

.left-step .dot {
    left: -6px;
}

/* Icon and Number Container */
.icon-number {
    position: absolute;
    bottom: 8px;
    /* Space above the line */
    width: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.right-step .icon-number {
    right: -30px;
    /* Center over the dot */
}

.left-step .icon-number {
    left: -30px;
}

.icon {
    color: var(--color);
    margin-bottom: 4px;
}

.number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color);
    line-height: 0.9;
}

/* Text Block Container */
.text-block {
    position: absolute;
    top: 15px;
    /* Space below the line */
    width: 190px;
    display: flex;
    flex-direction: column;
}

.right-step .text-block {
    right: 0;
    align-items: flex-end;
    text-align: right;
}

.left-step .text-block {
    left: 0;
    align-items: flex-start;
    text-align: left;
}

.title-box {
    background-color: var(--color);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 4px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    width: max-content;
    max-width: 100%;
}

.text {
    font-size: 0.75rem;
    line-height: 1.6;
    color: #888;
}

/* Responsive fallback */
@media (max-width: 600px) {
    .timeline {
        overflow-x: hidden;
    }
}

.dashboard-content {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

.sus-map-box {
    grid-column: span 7;
    /*grid-row: span 2;*/
    display: flex;
    flex-direction: column;
}

.table-box {
    grid-column: span 5;
    /*grid-row: span 2;*/
    display: flex;
    flex-direction: column;
}

.volumn-chart{
grid-column: span 12;
display: flex;
flex-direction: column;
}

.area-chart {
grid-column: span 12;
display: flex;
flex-direction: column;
}

.app-container-ug {
    width: 100%;
    background: var(--surface);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.guide-layout-ug {
    display: flex;
    padding: 1.5rem;
    gap: 2.5rem;
    background: #ffffff;
    min-height: 600px;
}

/* Left side Stepper */
.stepper-container-ug {
    flex: 1;
    position: relative;
    max-width: 280px;
}

.progress-line-ug {
    position: absolute;
    left: 55px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #e9ecef;
    border-radius: 4px;
    z-index: 1;
}

.progress-fill-ug {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--primary);
    border-radius: 4px;
    transition: height 0.6s ease;
    height: 0%;
}

.steps-list-ug {
    list-style: none;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step-item-ug {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    cursor: pointer;
    position: relative;
    padding: 10px;
    border-radius: 12px;
    transition: var(--transition);
}

.step-item-ug:hover {
    background: rgba(67, 97, 238, 0.05);
}

.step-icon-ug {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--surface);
    border: 3px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: var(--transition);
    flex-shrink: 0;
    background-color: white;
}

.step-content-ug h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
    transition: var(--transition);
}

.step-content-ug p {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: block;
    /* Only show on active */
    transition: var(--transition);
}

/* Active State */
.step-item-ug.active-ug {
    background: rgba(67, 97, 238, 0.08);
}

.step-item-ug.active-ug .step-icon-ug {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
    box-shadow: 0 0 0 6px rgba(67, 97, 238, 0.2);
}

.step-item-ug.active-ug .step-content-ug h3 {
    color: var(--primary);
}

.step-item-ug.active-ug .step-content-ug p {
    /*display: block;*/
    color: var(--text-main);
    /*animation: fadeIn 0.4s ease forwards;*/
}

/* Completed State */
.step-item-ug.completed-ug .step-icon-ug {
    border-color: var(--primary);
    color: var(--primary);
}

/* Right side content */
.content-display-ug {
    flex: 2;
    display: flex;
    align-items: stretch;
}

.content-card-ug {
    background: var(--surface);
    border: 1px solid #e9ecef;;
    border-radius: var(--radius);
    padding: 3rem;
    width: 100%;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.content-card-ug.fade-out-ug {
    opacity: 0;
    transform: translateY(10px);
}

.content-card-ug.fade-in-ug {
    opacity: 1;
    transform: translateY(0);
}

.step-badge-ug {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(67, 97, 238, 0.1);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.content-title-ug {
    font-size: 2rem;
    color: var(--text-main);
    margin-bottom: 1rem;
    font-weight: 800;
}

.content-desc-ug {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 2rem;
}

.step-options-ug {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.step-option-btn-ug {
    padding: 0.75rem 1.25rem;
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 16px;
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.step-option-btn-ug:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.step-option-btn-ug.selected-ug {
    background: rgba(67, 97, 238, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

.content-visual-ug {
    flex: 1;
    background: var(--bg-color);
    border-radius: var(--radius);
    margin-bottom: 2rem;
    display: flex;
    /*align-items: center;
    justify-content: center;
    border: 2px dashed #e9ecef;;*/
    overflow: hidden;
    position: relative;
}

.visual-placeholder-ug {
    font-size: 14px;
    color: var(--primary-light);
    /*opacity: 0.5;
    animation: float 3s ease-in-out infinite;*/
}

.visual-placeholder-ug.no-float-ug {
    animation: none;
    opacity: 1;
    width: 100%;
    height: 100%;
    display: flex;
}

.visual-split-ug {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: stretch;
}

.visual-image-ug {
    width: fit-content;
    height: 600px;
    /*object-fit: cover;*/
    border-radius: 12px;
    margin-bottom: 12px;
}

.visual-text-ug {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--surface);
}

.visual-text-ug h4 {
    font-size: 1.2rem;
    color: #4361ee;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.visual-text-ug p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

 .overview-card {
    display: flex;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navigation Buttons */
.card-navigation-ug {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;;
}

.nav-btn-ug {
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    border: none;
    font-family: inherit;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.prev-btn-ug {
    background: var(--bg-color);
    color: var(--text-muted);
}

.prev-btn-ug:hover:not(:disabled) {
    background: #e2e8f0;
    color: var(--text-main);
}

.next-btn-ug {
    background: var(--primary);
    color: white;
}

.next-btn-ug:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.3);
}

.nav-btn-ug:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 900px) {
    .guide-layout-ug {
        flex-direction: column;
    }

    .stepper-container-ug {
        max-width: 100%;
    }

    .progress-line-ug {
        top: 24px;
        left: 0;
        right: 0;
        bottom: auto;
        height: 4px;
        width: 100%;
    }

    .progress-fill-ug {
        height: 100%;
        width: 0%;
        transition: width 0.6s ease;
    }

    .steps-list-ug {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 1rem;
        padding-top: 0;
        gap: 1rem;
    }

    .step-item-ug {
        flex-direction: column;
        align-items: center;
        text-align: center;
        min-width: 100px;
    }

    .step-content-ug p {
        display: block !important;
    }
}

.step-image-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.card-image-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.setup-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(320px, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.setup-box {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    transition: 0.3s;
}

.setup-box:hover {
    transform: translateY(-3px);
}

.setup-title {
    font-weight: 600;
    margin: 15px;
    color: black;
}

.setup-image {
    width: fit-content;
    height: 600px;
    /*object-fit: cover;*/
    border-radius: 12px;
    margin-bottom: 12px;
}

@media (max-width: 768px) {

    .setup-grid {
        grid-template-columns: 1fr;
    }

}

.setup-content-row {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 8px;
    align-items: center;
}

.setup-image-wrapper {
    width: 100%;
}

.setup-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.setup-image1 {
    object-fit: cover;
    border-radius: 12px;
}

.setup-text-wrapper p {
    margin: 0;
    line-height: 1.6;
    font-size: 12px;
    color: #374151;
}

/* Mobile Responsive */
@media (max-width: 768px) {

    .setup-content-row {
        grid-template-columns: 1fr;
    }

    .setup-image {
        height: 180px;
    }

}

.info-panel {
    padding: 20px;
    border-radius: 2px;
    font-family: Arial, sans-serif;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
  
.info-text {
  line-height: 1.5;
  margin-bottom: 15px;
}

.custom-table {
  border-collapse: collapse;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.custom-table td {
  border: 1px solid black;
  padding: 4px 8px;
  font-size: 15px;
}

.title {
  font-size: 14px;
  font-weight: normal;
  margin-top: 15px;
  margin-bottom: 15px;
}

.crop-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.crop-box {
      background: white;
      border-radius: 10px;
      padding: 15px;
      margin-bottom: 20px;
      border: 1px solid #ddd;
      box-shadow: 0 2px 5px rgba(0,0,0,0.08);
      flex: 0 0 calc(33.333% - 20px);
    }

.crop-box h4 {
  margin-top: 0;
  color: green;
  border-bottom: 2px solid #eee;
  padding-bottom: 8px;
  font-size: 10.5px;
}

.timeline-rec{

    width:95%;
    margin:auto;

}

/* ---------------- Months ---------------- */

.month-row{

    display:grid;
    grid-template-columns:repeat(12,1fr);
    text-align:center;
    font-size:9px;

}

/* ---------------- Timeline ---------------- */

.timeline-row{

    display:grid;
    grid-template-columns:repeat(12,1fr);
    position:relative;

}

/* dashed line */

.timeline-row::before{

    content:"";
    position:absolute;
    left:2%;
    right:2%;
    top:50%;
    border-top:2px dashed #d6d6d6;
    z-index:0;

}

.month-cell{

    position:relative;
    height:55px;

}

/* grey dot */

.dot-rec{

    position:absolute;
    width:8px;
    height:8px;
    border-radius:50%;
    background:#666;

    left:50%;
    top:50%;

    transform:translate(-50%,-50%);
    z-index:1;

}

/* coloured boxes */

.month-box{

    position:absolute;

    width:25px;
    height:25px;

    left:50%;
    top:50%;

    transform:translate(-50%,-50%);

    border-radius:4px;

    z-index:2;

    border:1px solid rgba(0,0,0,.08);

}

.suitable{

    background:#bfe87c;

}

.empty{

    background:#efefef;

}

/* ---------------- Legend ---------------- */

.legend-rec{

    display:flex;
    gap:35px;
    justify-content:flex-start;

}

.legend-item-rec{

    display:flex;
    align-items:center;
    gap:10px;
    font-size:10px;

}

.legend-box{

    width:18px;
    height:18px;
    border-radius:3px;
    border:1px solid #ddd;

}