.overlay {
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0, 0, 0, 0.55);
      z-index: 0;
}
    /* Hero section */
.hero h1 {
      font-size: 3rem;
      font-weight: 700;
      color: #00ff88;
      text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
      animation: fadeInDown 1s ease-in-out;
}

.hero h2 {
      font-weight: 400;
      font-size: 1.3rem;
      color: #f0f0f0;
      margin-top: 10px;
      animation: fadeInUp 1.2s ease-in-out;
}

.btn-group {
      margin-top: 35px;
}

.navbar {
      background:#0d4b2e;
      z-index: 1;
 }

.navbar-brand {
      font-weight: 700;
      color: #00ff88 !important;
      letter-spacing: 1px;
}

.nav-link {
      color: #fff !important;
      transition: 0.3s;
}

.nav-link:hover {
      color: #00ff88 !important;
}

.btn-custom {
    border: 2px solid #00ff88 !important;
    color: #00ff88 !important;
    padding: 7px 7px !important;
    margin: 0px !important;
    border-radius: 30px !important;
    transition: all 0.3s !important;
    font-size: 15px !important;
}

.btn-custom:hover {
      background-color: #00ff88 !important;
      color: #000 !important;
}

footer {
      background: #0d4b2e;
      padding: 15px 0;
      text-align: center;
      position: fixed;
      width: 100%;
      bottom: 0;
      z-index: 2;
}

footer a {
      color: #00ff88 !important;
      text-decoration: none !important;
}

footer a:hover {
      text-decoration: underline;
}

footer p {
      color: #ffffff;
      text-decoration: none;
      margin-bottom: 0;
}

 .hero h1 , .hero h2 { z-index: 2; }
@keyframes fadeInDown {
      from { opacity: 0; transform: translateY(-50px); }
      to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
      from { opacity: 0; transform: translateY(50px); }
      to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
      .hero h1 { font-size: 2rem; }
      .hero h2 { font-size: 1.1rem; }
}
 
.full-width{
    width: 100% !important;
}
.inline-flex{
    display: inline-flex !important;
}
.font-12{
      font-size: 12px !important;
}
.fm-color{
    background-color: #f4fffa99 !important;
      border: 1px solid #2ae38d !important;
}
.mt-7{
      margin-top: 7% !important;
}
.mt-8{
      margin-top: 8% !important;
}
.mb-rem-3{
      margin-bottom: 3rem !important;
}
.mb-rem-5{
      margin-bottom: 5rem !important;
}
.no-margin{
      margin: 0 !important;
}
#structureTable th{
background: #fff;
    color: #198754;
}
.btn-outline-info:hover {
  background-color: #0dcaf0;
  color: white;
}
.modal-content {
  border-radius: 12px;
}
.modal-dialog-scrollable .modal-content{
      overflow-y: scroll !important;
}
.table>tbody
 {
    font-size: 14px !important;
}
.msg .alert-success{
      color: #0d4b2e !important;
      background: #2ae38d !important;
}
#pagination .active>.page-link, .page-link.active {
    z-index: 3;
    color: #00ff88;
    background-color: #0d4b2e;
    border-color: #00ff88;
}
#pagination .page-link{
    color: #0d4b2e;
}
#map { height: 70vh; width: 100%; }
.leaflet-container { font: 14px/1.2 "Helvetica Neue", Arial, sans-serif; }

.login-box {
            margin-top: 30%;
            padding: 30px;
            border-radius: 12px;
            color: #fff;
            box-shadow: 0 0 15px rgba(0,255,136,0.5);
}
.login-box h2 {
            color: #00ff88;
            font-weight: 700;
}
.btn-login {
            background: #00ff88 !important;
            color: #000 !important;
            font-weight: 600 !important;
            border-radius: 30px !important;
            transition: 0.3s !important;
}
.btn-login:hover {
            transform: scale(1.05) !important;
}
/* Dashboard */

 :root{
            --primary: #4CAF50;      /* Primary Green */
            --accent:  #8BC34A;      /* Light Green Accent */
            --soil:    #6D4C41;      /* Soil Brown */
            --contrast: #2E7D32;     /* Dark Green */
            --bg-light: #F1F8E9;     /* Light eco background */
            --card-light: #ffffff;
            --text-dark: #12321a;
            --muted: #5f6b58;
            --chart-bg: rgba(0,0,0,0.04);
        }

        /* Dark mode */
        body.dark {
            --bg-light: #0f1a12;
            --card-light: #13261a;
            --text-dark: #d9e8d8;
            --muted: #9aa99a;
            --chart-bg: rgba(255,255,255,0.03);
            background: var(--bg-light);
            color: var(--text-dark);
        }

        .dashboard-title {
            font-size: 1.9rem;
            font-weight: 700;
            letter-spacing: -0.2px;
        }

        .card {
            border-radius: 12px;
            background: var(--card-light);
            border: none;
            box-shadow: 0 6px 18px var(--chart-bg);
            transition: transform 0.12s ease, box-shadow 0.12s ease;
        }

        .card:hover { transform: translateY(-4px); }

        .summary {
            border-radius: 12px;
            padding: 18px;
            color: #fff;
            text-align: left;
        }

        .summary .value {
            font-size: 1.6rem;
            font-weight: 700;
            line-height: 1;
        }

        .summary .label {
            font-size: 0.9rem;
            opacity: 0.95;
        }

        /* different summary colors */
        .summary--primary { background: linear-gradient(135deg, var(--primary), var(--contrast)); }
        .summary--accent { background: linear-gradient(135deg, var(--accent), #6fbf3a); color: #08220a; }
        .summary--soil { background: linear-gradient(135deg, var(--soil), #c27b5c); }
        .summary--muted { background: linear-gradient(135deg,#9dbf8a,#7aa35b); color:#08220a; }

        /* header controls */
        .controls { display:flex; gap:10px; align-items:center; }

        .btn-toggle {
            background: transparent;
            border: 1px solid rgba(0,0,0,0.06);
            padding: 6px 12px;
            border-radius: 8px;
            display:flex; gap:8px; align-items:center;
            cursor:pointer;
        }

        body.dark .btn-toggle {
            border: 1px solid rgba(255,255,255,0.06);
        }

        /* small screen canvas height tweak */
        canvas { height: 340px !important; }

        .card-title {
            font-size: 1rem;
            font-weight: 600;
            color: var(--text-dark);
            opacity: 0.95;
        }

        body.dark .card-title { color: var(--text-dark); }

        @media (max-width: 576px){
            .dashboard-title { font-size: 1.4rem; }
            canvas { height: 260px !important; }
        }

#typeChart{
      margin: auto !important;
}
.leave-clr{
      color:#7aa35b;
}
.no-underline{
      text-decoration: none !important;
}
.action-btns .btn { padding: 0.375rem 0.75rem; margin: 0 2px; }