/* Start custom CSS *//*
 * Dayboro.au — Global Brand CSS
 * Version: 1.2.0
 * Created: 2026-02-28
 * Updated: 2026-03-02 — Inlined CSS vars + removed * .elementor-kit-78094 + replaced clamp() for Elementor
 *
 * PASTE INTO: Elementor → Site Settings → Custom CSS
 * (or Appearance → Customize → Additional CSS)
 *
 * NOTE: CSS variables have been inlined (no var()) for full Elementor editor compatibility.
 * Reference values: primary #18604A, secondary #1A5C2E, accent #F59E0B, text #1A1A1A,
 *                   muted #555555, subtle #767676, mint #F4FAF5, sage #F0F7F2,
 *                   border #E0E7EA, white #FFFFFF
 *
 * All widget HTML uses db- prefixed classes.
 * No colours, fonts, or layout should be defined inside individual widgets.
 * Per-widget CSS should only contain layout specifics not covered here.
 * ─────────────────────────────────────────────────────────────────────── */
 

/* Dayboro brand CSS variables — global */
  :root {
    --db-primary:   #18604A;
    --db-secondary: #1A5C2E;
    --db-accent:    #F59E0B;
    --db-text:      #1A1A1A;
    --db-muted:     #555555;
    --db-border:    #E0E7EA;
    --db-white:     #FFFFFF;
    --db-sage:      #F0F7F2;
    --db-mint:      #F4FAF5;
  }

/* ── Widget Base Reset ─────────────────────────────────────────────────── */
/* Scope everything under .db-widget to avoid touching Elementor globals */
.db-widget {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    font-family: 'ABeeZee', system-ui, sans-serif;
    color: #1A1A1A;
    line-height: 1.6;
}

/* ── Header Block ──────────────────────────────────────────────────────── */
.db-header {
    background: linear-gradient(135deg, #18604A 0%, #1A5C2E 100%);
    color: #FFFFFF;
    padding: 36px 30px;
    border-radius: 12px;
    margin-bottom: 28px;
    text-align: center;
}
.db-header h1, .db-header h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #FFFFFF;
}
.db-header h1 { font-size: 32px; }
.db-header h2 { font-size: 26px; }
.db-header p  { font-size: 16px; opacity: 0.92; margin: 0; }
.db-header-badge {
    display: inline-block;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.35);
    color: #FFFFFF;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 12px;
}
.db-header-badge.db-badge-premium {
    background: #F59E0B;
    border-color: #F59E0B;
    color: #1A1A1A;
}

/* ── Section Titles ────────────────────────────────────────────────────── */
.db-section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #18604A;
    margin: 0 0 6px 0;
}
.db-section-sub {
    font-size: 13px;
    color: #555555;
    margin: 0 0 20px 0;
}

/* ── Cards ─────────────────────────────────────────────────────────────── */
.db-card {
    background: #FFFFFF;
    border: 1px solid #E0E7EA;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}
.db-card-sage {
    background: #F0F7F2;
    border: 1px solid #E0E7EA;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}
.db-card-mint {
    background: #F4FAF5;
    border: 1px solid #E0E7EA;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}
.db-card-accent {
    background: rgba(245,158,11,0.07);
    border: 1px solid rgba(245,158,11,0.35);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}
/* Accent left border variant */
.db-card-line {
    background: #FFFFFF;
    border: 1px solid #E0E7EA;
    border-left: 4px solid #18604A;
    border-radius: 0 12px 12px 0;
    padding: 20px;
    margin-bottom: 16px;
}

/* ── Risk / Status Badges ──────────────────────────────────────────────── */
.db-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.db-badge-low      { background: #d1fae5; color: #065f46; }
.db-badge-moderate { background: rgba(245,158,11,0.15); color: #92400E; }
.db-badge-high     { background: #fee2e2; color: #991b1b; }
.db-badge-very-high{ background: #991b1b; color: #FFFFFF; }
.db-badge-good     { background: #d1fae5; color: #065f46; }
.db-badge-fair     { background: #fef9c3; color: #92400E; }
.db-badge-poor     { background: #fee2e2; color: #991b1b; }
.db-badge-info     { background: #F0F7F2; color: #18604A; }
.db-badge-new      { background: #18604A; color: #FFFFFF; }
.db-badge-members  { background: #F59E0B; color: #1A1A1A; }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.db-btn {
    display: inline-block;
    padding: 13px 32px;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    line-height: 1;
}
.db-btn:hover { transform: translateY(-2px); text-decoration: none; }

.db-btn-primary {
    background: #F59E0B;
    color: #1A1A1A;
    box-shadow: 0 3px 10px rgba(245,158,11,0.3);
}
.db-btn-primary:hover { box-shadow: 0 6px 18px rgba(245,158,11,0.4); color: #1A1A1A; }

.db-btn-secondary {
    background: #18604A;
    color: #FFFFFF;
    box-shadow: 0 3px 10px rgba(24,96,74,0.25);
}
.db-btn-secondary:hover { box-shadow: 0 6px 18px rgba(24,96,74,0.35); color: #FFFFFF; }

.db-btn-outline {
    background: transparent;
    color: #18604A;
    border: 2px solid #18604A;
}
.db-btn-outline:hover { background: #18604A; color: #FFFFFF; }

.db-btn-sm { padding: 8px 18px; font-size: 13px; }
.db-btn-lg { padding: 16px 42px; font-size: 17px; }

/* ── KPI / Stat Boxes ──────────────────────────────────────────────────── */
.db-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}
.db-kpi {
    background: #FFFFFF;
    border: 1px solid #E0E7EA;
    border-radius: 10px;
    padding: 18px 14px;
    text-align: center;
}
.db-kpi-icon  { font-size: 30px; margin-bottom: 8px; }
.db-kpi-value {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 4px 0;
}
.db-kpi-label {
    font-size: 12px;
    color: #555555;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* ── Indicator Cards (climate cycles etc) ──────────────────────────────── */
.db-indicator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}
.db-indicator {
    background: #F0F7F2;
    border: 1px solid #E0E7EA;
    border-radius: 10px;
    padding: 16px;
    text-align: center;
}
.db-indicator-icon  { font-size: 28px; margin-bottom: 8px; }
.db-indicator-label { font-size: 11px; color: #555555; text-transform: uppercase; letter-spacing: 0.4px; }
.db-indicator-value {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #18604A;
    margin: 4px 0;
}
.db-indicator-trend { font-size: 12px; color: #555555; }

/* ── Season Cards ──────────────────────────────────────────────────────── */
.db-season-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}
.db-season {
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    border: 2px solid transparent;
    transition: transform 0.2s;
}
.db-season:hover { transform: translateY(-3px); }
.db-season.db-summer { background: #fef9c3; border-color: #F59E0B; }
.db-season.db-autumn { background: #fff7ed; border-color: #ea580c; }
.db-season.db-winter { background: #F4FAF5; border-color: #E0E7EA; }
.db-season.db-spring { background: #F0F7F2; border-color: #18604A; }
.db-season.db-current { box-shadow: 0 4px 14px rgba(24,96,74,0.2); }
.db-season-icon { font-size: 42px; margin-bottom: 10px; }
.db-season-name {
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 8px;
}
.db-season-desc { font-size: 13px; color: #555555; line-height: 1.5; }

/* ── Rainfall / Progress Bar ───────────────────────────────────────────── */
.db-bar-wrap {
    background: #E0E7EA;
    border-radius: 6px;
    height: 8px;
    margin: 6px 0 2px 0;
    overflow: hidden;
}
.db-bar-fill {
    height: 100%;
    border-radius: 6px;
    background: linear-gradient(90deg, #18604A, #F59E0B);
    transition: width 0.6s ease;
}

/* ── State Selector ────────────────────────────────────────────────────── */
.db-state-.elementor-kit-78094 {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}
.db-state-btn {
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid #E0E7EA;
    background: #FFFFFF;
    color: #1A1A1A;
    font-family: 'ABeeZee', system-ui, sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.db-state-btn:hover  { border-color: #18604A; color: #18604A; }
.db-state-btn.active { background: #18604A; color: #FFFFFF; border-color: #18604A; }

/* ── Feature List ──────────────────────────────────────────────────────── */
.db-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}
.db-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    background: #F4FAF5;
    border-radius: 8px;
    border-left: 3px solid #18604A;
}
.db-feature-icon { font-size: 22px; flex-shrink: 0; }
.db-feature-title { font-size: 13px; font-weight: 600; color: #1A1A1A; margin: 0 0 2px 0; }
.db-feature-desc  { font-size: 12px; color: #555555; line-height: 1.4; margin: 0; }

/* ── Timeline (monthly forecast) ───────────────────────────────────────── */
.db-timeline { margin-top: 16px; }
.db-timeline-item {
    position: relative;
    padding-left: 36px;
    padding-bottom: 28px;
    border-left: 3px solid #18604A;
}
.db-timeline-item:last-child { border-left: none; padding-bottom: 0; }
.db-timeline-dot {
    position: absolute;
    left: -9px; top: 0;
    width: 18px; height: 18px;
    background: #18604A;
    border-radius: 50%;
    border: 3px solid #FFFFFF;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
.db-timeline-date {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #18604A;
    font-size: 15px;
    margin-bottom: 8px;
}
.db-timeline-content {
    background: #F0F7F2;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid #E0E7EA;
}
.db-timeline-content h4 { margin: 0 0 6px 0; color: #18604A; font-family: 'Poppins', sans-serif; }
.db-timeline-content p  { margin: 0; color: #555555; line-height: 1.5; font-size: 13px; }

/* ── Table ─────────────────────────────────────────────────────────────── */
.db-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.db-table thead th {
    background: #18604A;
    color: #FFFFFF;
    padding: 12px;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 13px;
}
.db-table tbody td {
    padding: 11px 12px;
    border-bottom: 1px solid #E0E7EA;
    color: #1A1A1A;
    vertical-align: middle;
}
.db-table tbody tr:last-child td { border-bottom: none; }
.db-table tbody tr:hover { background: #F4FAF5; }

/* ── Alert Banner ──────────────────────────────────────────────────────── */
.db-alert {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(245,158,11,0.08);
    border: 2px solid rgba(245,158,11,0.4);
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 24px;
}
.db-alert-icon { font-size: 28px; flex-shrink: 0; }
.db-alert h3 { margin: 0 0 6px 0; font-family: 'Poppins', sans-serif; color: #92400E; font-size: 16px; }
.db-alert p  { margin: 0; color: #1A1A1A; font-size: 14px; line-height: 1.5; }

/* ── Locked / Teaser Overlay ───────────────────────────────────────────── */
.db-locked {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}
.db-locked-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(244,250,245,0.85) 40%, #F4FAF5 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 20px;
    border-radius: 10px;
}
.db-locked-blur { filter: blur(4px); user-select: none; pointer-events: none; }

/* ── CTA Box ───────────────────────────────────────────────────────────── */
.db-cta {
    background: linear-gradient(135deg, #18604A 0%, #1A5C2E 100%);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    color: #FFFFFF;
    margin: 28px 0;
}
.db-cta h2, .db-cta h3 {
    font-family: 'Poppins', sans-serif;
    color: #FFFFFF;
    margin: 0 0 10px 0;
}
.db-cta p   { margin: 0 0 18px 0; opacity: 0.9; font-size: 15px; line-height: 1.6; }
.db-cta small { display: block; margin-top: 12px; opacity: 0.75; font-size: 12px; }

/* ── Accuracy / Stats Row ──────────────────────────────────────────────── */
.db-accuracy-row {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.db-accuracy-item { text-align: center; flex: 1; min-width: 100px; }
.db-accuracy-label { font-size: 11px; color: #555555; text-transform: uppercase; letter-spacing: 0.4px; }
.db-accuracy-value {
    font-family: 'Poppins', sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: #18604A;
    margin: 4px 0;
}
.db-accuracy-value.db-bom { color: #1A1A1A; }
.db-accuracy-vs { font-size: 13px; color: #767676; font-weight: 600; padding-top: 16px; }

/* ── Loading & Error ───────────────────────────────────────────────────── */
.db-loading {
    text-align: center;
    padding: 40px 20px;
    color: #555555;
    font-size: 15px;
}
.db-spinner {
    width: 36px; height: 36px;
    border: 3px solid #E0E7EA;
    border-top-color: #18604A;
    border-radius: 50%;
    animation: db-spin 0.9s linear infinite;
    margin: 0 auto 14px;
}
@keyframes db-spin { to { transform: rotate(360deg); } }

.db-error {
    background: #fee2e2;
    color: #991b1b;
    padding: 18px 20px;
    border-radius: 10px;
    text-align: center;
    margin: 16px 0;
}

/* ── Footer / Timestamp ────────────────────────────────────────────────── */
.db-footer {
    text-align: center;
    padding: 14px;
    background: #F4FAF5;
    border-radius: 8px;
    font-size: 12px;
    color: #767676;
    margin-top: 24px;
}
.db-pulse-dot {
    display: inline-block;
    width: 7px; height: 7px;
    background: #18604A;
    border-radius: 50%;
    margin-right: 5px;
    animation: db-pulse 2s ease-in-out infinite;
    vertical-align: middle;
}
@keyframes db-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ── Links ─────────────────────────────────────────────────────────────── */
.db-widget a { color: #18604A; }
.db-widget a:hover { color: #1A5C2E; }
.db-widget a.db-btn { color: inherit; } /* buttons override link colour */

/* ── Notes / Tips List ─────────────────────────────────────────────────── */
.db-notes {
    list-style: none;
    padding: 0; margin: 0;
}
.db-notes li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #E0E7EA;
    color: #555555;
    font-size: 14px;
    line-height: 1.5;
}
.db-notes li:last-child { border-bottom: none; }
.db-notes-icon { color: #18604A; flex-shrink: 0; font-size: 16px; }

/* ── Year Overview (5-year forecast specific) ──────────────────────────── */
.db-year-block {
    background: #FFFFFF;
    border: 1px solid #E0E7EA;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}
.db-year-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #E0E7EA;
}
.db-year-title {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #18604A;
}

/* ── Cycle / Summary Grid ──────────────────────────────────────────────── */
.db-cycle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}
.db-cycle-item {
    background: #F0F7F2;
    border: 1px solid #E0E7EA;
    border-radius: 8px;
    padding: 14px;
    text-align: center;
}
.db-cycle-name  { font-size: 11px; color: #555555; text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 6px; }
.db-cycle-value { font-family: 'Poppins', sans-serif; font-size: 15px; font-weight: 600; color: #18604A; }

/* ── Methodology / Footer Note ─────────────────────────────────────────── */
.db-methodology {
    background: #F4FAF5;
    border: 1px solid #E0E7EA;
    border-radius: 10px;
    padding: 18px 20px;
    margin-top: 24px;
    text-align: center;
    font-size: 13px;
    color: #555555;
    line-height: 1.6;
}

/* ── Section Heading with Underline ────────────────────────────────────── */
/* Use for H2 headings inside page content (not inside cards) */
.db-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #1A5C2E;
    margin: 32px 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #E0E7EA;
}
.db-heading:first-child { margin-top: 0; }

/* ── Lead / Intro Paragraph ────────────────────────────────────────────── */
/* Large intro text with left accent border */
.db-lead {
    font-size: 16px;
    color: #1A1A1A;
    line-height: 1.8;
    border-left: 4px solid #18604A;
    padding: 14px 18px;
    background: #F0F7F2;
    border-radius: 0 8px 8px 0;
    margin-bottom: 24px;
}

/* ── Widget Block (header + body pair) ─────────────────────────────────── */
/* Use for self-contained calculator / tool widgets */
.db-widget-block {
    border: 1px solid #E0E7EA;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 28px;
}
.db-widget-head {
    background: linear-gradient(135deg, #18604A 0%, #1A5C2E 100%);
    color: #FFFFFF;
    padding: 22px 24px;
    text-align: center;
}
.db-widget-head h2,
.db-widget-head h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 6px 0;
    font-size: 22px;
}
.db-widget-head p  { margin: 0; font-size: 14px; opacity: 0.9; }
.db-widget-body    { background: #FFFFFF; padding: 24px; }
.db-widget-section {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1A5C2E;
    margin: 24px 0 12px 0;
    padding-bottom: 6px;
    border-bottom: 2px solid #E0E7EA;
}
.db-widget-section:first-child { margin-top: 0; }

/* ── Form Elements ─────────────────────────────────────────────────────── */
.db-field { margin-bottom: 16px; }
.db-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #555555;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 5px;
}
.db-field input,
.db-field select,
.db-field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #E0E7EA;
    border-radius: 6px;
    font-family: 'ABeeZee', system-ui, sans-serif;
    font-size: 14px;
    color: #1A1A1A;
    background: #FFFFFF;
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: auto;
}
.db-field input:focus,
.db-field select:focus,
.db-field textarea:focus {
    outline: none;
    border-color: #18604A;
    box-shadow: 0 0 0 3px rgba(24,96,74,0.12);
}
.db-field-hint {
    font-size: 12px;
    color: #767676;
    margin-top: 4px;
}
.db-field-error {
    font-size: 12px;
    color: #991b1b;
    margin-top: 4px;
}
.db-field input.db-invalid,
.db-field select.db-invalid { border-color: #991b1b; }
.db-field-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
}

/* ── Callout Boxes ─────────────────────────────────────────────────────── */
/* Left border accent boxes for tips, warnings, methodology notes */
.db-callout {
    border-left: 4px solid #18604A;
    background: #F0F7F2;
    border-radius: 0 8px 8px 0;
    padding: 14px 18px;
    margin: 16px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #1A1A1A;
}
.db-callout strong { color: #1A5C2E; }
.db-callout-tip     { border-left-color: #18604A;    background: #F0F7F2; }
.db-callout-info    { border-left-color: #1565c0;              background: #e3f2fd; }
.db-callout-warning { border-left-color: #F59E0B;     background: rgba(245,158,11,0.08); }
.db-callout-danger  { border-left-color: #991b1b;              background: #fee2e2; }

/* ── FAQ / Accordion ───────────────────────────────────────────────────── */
.db-faq { margin: 0; padding: 0; }
.db-faq-item {
    border-bottom: 1px solid #E0E7EA;
    padding: 16px 0;
}
.db-faq-item:last-child { border-bottom: none; }
.db-faq-q {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #1A5C2E;
    font-size: 15px;
    margin: 0 0 8px 0;
    cursor: pointer;
}
.db-faq-a {
    font-size: 14px;
    color: #555555;
    line-height: 1.7;
    margin: 0;
}

/* ── Tab Navigation ────────────────────────────────────────────────────── */
.db-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.db-tab {
    padding: 9px 20px;
    border: 2px solid #E0E7EA;
    border-radius: 6px;
    background: #FFFFFF;
    color: #555555;
    font-family: 'ABeeZee', system-ui, sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}
.db-tab:hover  { border-color: #18604A; color: #18604A; }
.db-tab.active { background: #18604A; color: #FFFFFF; border-color: #18604A; }

/* Season tab colour overrides */
.db-tab.db-tab-summer.active { background: #d97706; border-color: #d97706; }
.db-tab.db-tab-autumn.active { background: #ea580c; border-color: #ea580c; }
.db-tab.db-tab-winter.active { background: #18604A; border-color: #18604A; }
.db-tab.db-tab-spring.active { background: #1A5C2E; border-color: #1A5C2E; }

/* Tab panels: add .db-tab-hidden to hide inactive panels */
.db-tab-panel { display: block; }
.db-tab-panel.db-tab-hidden { display: none; }

/* ── Status Banner (full-width) ────────────────────────────────────────── */
.db-banner {
    border-radius: 10px;
    padding: 18px 22px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.db-banner-icon    { font-size: 32px; flex-shrink: 0; }
.db-banner-title   { font-family: 'Poppins', sans-serif; font-size: 16px; font-weight: 700; margin: 0 0 4px 0; }
.db-banner-text    { font-size: 14px; margin: 0; opacity: 0.9; }

.db-banner-excellent { background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); color: #FFFFFF; }
.db-banner-good      { background: linear-gradient(135deg, #18604A 0%, #1A5C2E 100%); color: #FFFFFF; }
.db-banner-moderate  { background: linear-gradient(135deg, #F59E0B 0%, #d97706 100%); color: #1A1A1A; }
.db-banner-poor      { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); color: #FFFFFF; }

/* ── Card with Hover Lift ──────────────────────────────────────────────── */
/* Extends .db-card — add db-card-hover for lift effect */
.db-card-hover {
    background: #FFFFFF;
    border: 1px solid #E0E7EA;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}
.db-card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(24,96,74,0.12);
    border-color: #18604A;
}

/* ── Detail / Metric Rows ──────────────────────────────────────────────── */
/* Label + value side by side — for data breakdowns, not KPI boxes */
.db-detail-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid #E0E7EA;
    margin-top: 12px;
}
.db-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}
.db-detail-label { color: #555555; }
.db-detail-value { color: #1A1A1A; font-weight: 600; }

/* Larger metric display (big number + unit) */
.db-metric-value {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #1A1A1A;
    line-height: 1;
}
.db-metric-unit  { font-size: 18px; color: #555555; font-weight: 400; margin-left: 4px; }

/* ── Extended Badge Variants ───────────────────────────────────────────── */
/* Condition/quality scale */
.db-badge-excellent { background: #d1fae5; color: #065f46; }
.db-badge-good      { background: #dcfce7; color: #15803d; }
.db-badge-warm      { background: #fee2e2; color: #991b1b; }
.db-badge-cool      { background: #e0f2fe; color: #0369a1; }
.db-badge-success   { background: #d1fae5; color: #065f46; }
.db-badge-warning   { background: rgba(245,158,11,0.15); color: #92400E; }
.db-badge-danger    { background: #fee2e2; color: #991b1b; }
.db-badge-neutral   { background: #E0E7EA; color: #555555; }

/* ── Search / Filter Bar ───────────────────────────────────────────────── */
.db-search {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    align-items: center;
}
.db-search-input {
    flex: 1;
    min-width: 200px;
    padding: 11px 16px;
    border: 2px solid #E0E7EA;
    border-radius: 8px;
    font-family: 'ABeeZee', system-ui, sans-serif;
    font-size: 14px;
    color: #1A1A1A;
    background: #FFFFFF;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.db-search-input:focus {
    outline: none;
    border-color: #18604A;
    box-shadow: 0 0 0 3px rgba(24,96,74,0.1);
}
.db-search-input::placeholder { color: #767676; }
.db-filter-count {
    font-size: 13px;
    color: #555555;
    white-space: nowrap;
}

/* ── Hero Stats (semi-transparent boxes for use inside .db-header) ──────── */
.db-hero-stats {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 16px;
}
.db-hero-stat {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(6px);
    padding: 10px 18px;
    border-radius: 8px;
    text-align: center;
    min-width: 80px;
}
.db-hero-stat-value { font-family: 'Poppins', sans-serif; font-size: 24px; font-weight: 700; display: block; color: #FFFFFF; }
.db-hero-stat-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.4px; opacity: 0.8; color: #FFFFFF; }

/* ── Striped Table Variant ─────────────────────────────────────────────── */
.db-table-striped tbody tr:nth-child(even) { background: #F4FAF5; }

/* ── Fixed Grid Utilities ──────────────────────────────────────────────── */
.db-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.db-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.db-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.db-grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.db-grid-auto-sm { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 680px) {
    .db-header        { padding: 24px 18px; }
    .db-card,
    .db-card-sage,
    .db-card-mint     { padding: 18px; }
    .db-kpi-grid      { grid-template-columns: repeat(2, 1fr); }
    .db-season-grid   { grid-template-columns: repeat(2, 1fr); }
    .db-indicator-grid{ grid-template-columns: repeat(2, 1fr); }
    .db-features-grid { grid-template-columns: 1fr; }
    .db-cta           { padding: 24px 18px; }
    .db-accuracy-row  { flex-direction: column; }
    .db-accuracy-vs   { padding-top: 0; }
    .db-table         { font-size: 13px; }
    .db-table thead th,
    .db-table tbody td{ padding: 8px; }
    .db-grid-2,
    .db-grid-3,
    .db-grid-4        { grid-template-columns: 1fr; }
    .db-widget-body   { padding: 18px; }
    .db-tabs          { gap: 4px; }
    .db-tab           { padding: 7px 14px; font-size: 12px; }
    .db-banner        { flex-direction: column; text-align: center; gap: 10px; }
    .db-banner-icon   { font-size: 28px; }
    .db-hero-stats    { gap: 8px; }
}