:root[data-theme="olive-grove"],
[data-theme="olive-grove"] {
  color-scheme: dark;
  --app-bg: #0F100B;
  --app-panel: #404622;
  --app-panel-strong: #525856;
  --app-border: rgba(194, 207, 161, 0.34);
  --app-text: #F5F8ED;
  --app-muted: #C2CFA1;
  --app-subtle: #A7B390;
  --app-accent: #528A63;
  --app-accent-strong: #404622;
  --app-highlight: #C2CFA1;
  --app-highlight-soft: rgba(194, 207, 161, 0.18);
  --app-highlight-bar: #C2CFA1;
  --app-highlight-border: rgba(194, 207, 161, 0.52);
  --app-good: #528A63;
  --app-warn: #C2CFA1;
  --app-bad: #D98568;
  --app-link: #DCE8BD;
  --app-link-hover: #F5F8ED;
  --app-font-body: "Noto Sans", "Open Sans", "Segoe UI", Inter, Arial, sans-serif;
  --app-font-brand: "Noto Sans", "Open Sans", "Segoe UI", Inter, Arial, sans-serif;
  --app-font-title: "Noto Sans", "Open Sans", "Segoe UI", Inter, Arial, sans-serif;
  --app-font-control: "Noto Sans", "Open Sans", "Segoe UI", Inter, Arial, sans-serif;
  --app-font-mono: "IBM Plex Mono", "Courier New", Courier, monospace;
  --app-body-bg:
    radial-gradient(circle at top left, rgba(82, 138, 99, 0.18), transparent 30rem),
    radial-gradient(circle at bottom right, rgba(194, 207, 161, 0.1), transparent 28rem),
    linear-gradient(180deg, #0F100B 0%, #1C2113 100%);
  --bg: var(--app-bg);
  --panel: var(--app-panel);
  --panel-strong: var(--app-panel-strong);
  --line: var(--app-border);
  --text: var(--app-text);
  --muted: var(--app-muted);
  --accent: var(--app-accent);
  --accent-strong: var(--app-accent-strong);
  --success: var(--app-good);
  --warning: var(--app-warn);
  --danger: var(--app-bad);
}

[data-theme="olive-grove"] .navbar {
  background: #404622;
  border-bottom-color: var(--app-highlight-border);
}

[data-theme="olive-grove"] .card,
[data-theme="olive-grove"] .agent-summary-item,
[data-theme="olive-grove"] .agent-table-card,
[data-theme="olive-grove"] .bawaba-filter-panel,
[data-theme="olive-grove"] .bawaba-launch-area,
[data-theme="olive-grove"] .bawaba-launch-card,
[data-theme="olive-grove"] .zone-resource-item,
[data-theme="olive-grove"] .host-card,
[data-theme="olive-grove"] .host-legend-column,
[data-theme="olive-grove"] .host-summary-panel,
[data-theme="olive-grove"] .madar-summary-card,
[data-theme="olive-grove"] .app-highlight-card,
[data-theme="olive-grove"] .app-summary-card,
[data-theme="olive-grove"] .ain-security-overview-card,
[data-theme="olive-grove"] .ain-scan-card,
[data-theme="olive-grove"] .security-findings-card {
  background: #404622;
  border-color: var(--app-border);
  box-shadow: 0 18px 42px rgba(7, 8, 5, 0.34);
}

[data-theme="olive-grove"] .card::before,
[data-theme="olive-grove"] .app-highlight-card::before,
[data-theme="olive-grove"] .app-summary-card::before,
[data-theme="olive-grove"] .madar-summary-card::before,
[data-theme="olive-grove"] .zone-resource-item::before,
[data-theme="olive-grove"] .host-card::before,
[data-theme="olive-grove"] .host-legend-column::before,
[data-theme="olive-grove"] .agent-table-card::before {
  background: var(--app-highlight-bar);
  height: 0.18rem;
}

[data-theme="olive-grove"] .agent-summary-active,
[data-theme="olive-grove"] .agent-summary-running,
[data-theme="olive-grove"] .agent-summary-diagnostics,
[data-theme="olive-grove"] .agent-summary-resume-ready {
  background: #525856;
  border-color: rgba(194, 207, 161, 0.42);
}

[data-theme="olive-grove"] .agent-summary-value,
[data-theme="olive-grove"] .zone-resource-value,
[data-theme="olive-grove"] .madar-summary-value,
[data-theme="olive-grove"] .app-summary-value {
  color: #C2CFA1;
}

[data-theme="olive-grove"] .btn-primary {
  --bs-btn-bg: #528A63;
  --bs-btn-border-color: #C2CFA1;
  --bs-btn-color: #F5F8ED;
  --bs-btn-hover-bg: #C2CFA1;
  --bs-btn-hover-border-color: #F5F8ED;
  --bs-btn-hover-color: #0F100B;
}

[data-theme="olive-grove"] .btn-secondary,
[data-theme="olive-grove"] .navbar-link,
[data-theme="olive-grove"] .sahab-nav-link,
[data-theme="olive-grove"] .navbar-tools .nav-link.btn,
[data-theme="olive-grove"] .madar-navbar-actions .nav-link.btn,
[data-theme="olive-grove"] .nashr-navbar-actions .nav-link.btn {
  background: #525856;
  border-color: var(--app-border);
  color: var(--app-text);
}

[data-theme="olive-grove"] .btn-secondary:hover,
[data-theme="olive-grove"] .navbar-link:hover,
[data-theme="olive-grove"] .navbar-link:focus,
[data-theme="olive-grove"] .sahab-nav-link:hover,
[data-theme="olive-grove"] .sahab-nav-link:focus {
  background: #528A63;
  border-color: var(--app-highlight-border);
  color: #F5F8ED;
}

[data-theme="olive-grove"] .runtime-indicator,
[data-theme="olive-grove"] .badge,
[data-theme="olive-grove"] .badge-muted,
[data-theme="olive-grove"] .dashboard-section-count {
  background: #525856;
  border-color: rgba(194, 207, 161, 0.34);
  color: #F5F8ED;
}

[data-theme="olive-grove"] .runtime-active {
  background: #528A63;
  border-color: rgba(194, 207, 161, 0.58);
  color: #F5F8ED;
}

[data-theme="olive-grove"] .runtime-warning {
  background: #404622;
  border-color: rgba(194, 207, 161, 0.58);
  color: #C2CFA1;
}

[data-theme="olive-grove"] .runtime-error {
  background: rgba(217, 133, 104, 0.18);
  border-color: rgba(217, 133, 104, 0.58);
  color: #FFD7C8;
}

[data-theme="olive-grove"] .bawaba-launch-card:hover,
[data-theme="olive-grove"] .bawaba-launch-card:focus {
  background: #525856;
  border-color: var(--app-highlight-border);
  color: inherit;
  text-decoration: none;
  transform: translateY(-1px);
}

[data-theme="olive-grove"] .bawaba-launch-card.is-domain-manager {
  background: #525856;
  border-color: rgba(194, 207, 161, 0.52);
}

[data-theme="olive-grove"] .bawaba-launch-card.is-domain-manager:hover,
[data-theme="olive-grove"] .bawaba-launch-card.is-domain-manager:focus {
  background: #528A63;
  border-color: rgba(194, 207, 161, 0.62);
}

[data-theme="olive-grove"] .bawaba-launch-icon {
  background: #528A63;
  border-color: rgba(194, 207, 161, 0.34);
  box-shadow: 0 0 0 1px rgba(194, 207, 161, 0.12), 0 12px 26px rgba(7, 8, 5, 0.26);
  color: #F5F8ED;
}

[data-theme="olive-grove"] .bawaba-launch-card.is-domain-manager .bawaba-launch-icon {
  background: #C2CFA1;
  border-color: rgba(194, 207, 161, 0.52);
  color: #0F100B;
}

[data-theme="olive-grove"] .agent-table th,
[data-theme="olive-grove"] .report-table th,
[data-theme="olive-grove"] .table th {
  background: #525856;
  color: #F5F8ED;
}

[data-theme="olive-grove"] .form-control,
[data-theme="olive-grove"] .form-select,
[data-theme="olive-grove"] input,
[data-theme="olive-grove"] select,
[data-theme="olive-grove"] textarea {
  background-color: #0F100B;
  border-color: var(--app-border);
  color: var(--app-text);
}
