:root {
  --main-green: #4f9287da;
  --main-green-solid: #4f9287;
  --main-green-light: #eaf4f2;
  --main-green-lighter: #f6fbfa;
  --main-green-dark: #397066;
  --main-green-border: #b6d3cc;
  --main-green-header: #3d6e65;

  --main-bg-color: #edf2f8;

  /* Progress stepper color variables */
  --stepper-bg: transparent;
  --stepper-label: #888;
  --stepper-label-active: var(--main-green-solid);
  --stepper-label-completed: var(--main-green-header);
  --stepper-icon-bg: var(--main-green-light);
  --stepper-icon-border: var(--main-green-solid);
  --stepper-icon-color: var(--main-green-solid);
  --stepper-icon-bg-completed: var(--main-green-solid);
  --stepper-icon-color-completed: #fff;
  --stepper-line: var(--main-green-border);
  --stepper-line-completed: var(--main-green-solid);
  --stepper-circle-bg: var(--main-green-light);
  --stepper-circle-border: var(--main-green-solid);
  --stepper-circle-border-upcoming: var(--main-green-border);
}

body {
  background-color: var(--main-bg-color);
}

.app-shell.container-fluid {
  padding-left: 0;
  padding-right: 0;
}

.app-page-container {
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 32px 48px;
  box-sizing: border-box;
  width: 100%;
}

#explainText {
  transform: translateX(-50%); /* actually centers pic */
  background-color: transparent;
  padding: 0px 5px;
  border-radius: 0px;
  z-index: 10; /* stacks above elements with lower z-index */
}

.background-image-wrapper {
  position: fixed;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: -1;
  background-image: url("image_about.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.3;
}

.outer {
  position: fixed;
  top: 50px;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  padding: 0;
}

.leaflet-popup-content {
  width: 500px !important;
}

#control {
  /* Appearance */
  background-color: white;
  padding: 0 20px 20px 20px;
}

#control1 {
  /* Appearance */
  background-color: white;
  padding: 0 20px 20px 20px;
  cursor: move;
  text-align: justify;

  /* Ensure clean text appearance */
  opacity: 1;
  zoom: 1;
  transition: none;
}

#control2 {
  /* Appearance */
  background-color: white;
  padding: 10px 10px 10px 10px;
  cursor: move;
  text-align: justify;
  /* Fade out while not hovering */
  opacity: 0.65;
  zoom: 0.9;
  transition: opacity 250ms 500ms;
}

#control2:hover {
  /* Fade in while hovering */
  opacity: 0.95;
  transition-delay: 0;
  text-align: justify;
}

.navbar-default {
  background-color: var(--main-green);
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  color: #fff;
  background-color: var(--main-green);
}

.app-navbar {
  position: static;
  z-index: 1100;
  width: 100%;
  background: var(--main-green-lighter);
  border-bottom: 1px solid var(--main-green-border);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: center;
  padding: 0;
}

.app-navbar__inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 20px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.app-navbar-home-link {
  display: inline-flex;
  align-items: center;
  padding: 0;
  background: none;
  border: none;
  color: inherit;
  text-decoration: none;
}

.app-navbar-home-link:hover,
.app-navbar-home-link:focus {
  text-decoration: none;
  outline: none;
}

.app-navbar-branding {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #000;
  text-decoration: none;
  cursor: pointer;
  padding: 6px 0;
  min-height: 0;
}

.app-navbar-branding-icon {
  font-size: 2rem;
  line-height: 1;
}

.app-navbar-branding-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.app-navbar-branding-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: inherit;
  margin: 0;
}

.app-navbar-branding-subtitle {
  font-size: 1.15rem;
  font-weight: 400;
  color: #000;
  margin: 0;
}

.navbar-default .app-navbar-branding {
  color: #000;
}

/* About page layout */
.about-page {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
}

.about-page h3 {
  font-size: 130%;
  font-weight: 600;
  color: #34495e;
  margin-top: 1.5em;
}

.about-page p {
  font-size: 115%;
  line-height: 1.6;
  color: #333;
}

.about-page .content-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

.about-page .content-container > h3:first-child {
  margin-top: 0;
}

.about-hero {
  position: relative;
  max-width: 1100px;
  margin: 30px auto 10px;
  border-radius: 26px;
  overflow: hidden;
  background-image: linear-gradient(
      135deg,
      rgba(12, 54, 68, 0.88),
      rgba(32, 94, 104, 0.78)
    ),
    url("image_about.png");
  background-size: cover;
  background-position: center;
  color: #f4fbf9;
  box-shadow: 0 20px 50px rgba(12, 44, 54, 0.35);
}

.about-hero__inner {
  padding: 3.5rem 4rem;
  max-width: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.4rem;
}

.about-hero__label {
  display: inline-block;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  color: #d0f0eb;
}

.about-hero h1 {
  font-size: 2.8rem;
  line-height: 1.1;
  margin: 0;
}

.about-hero p {
  font-size: 1.35rem;
  color: #e6f5f2;
  margin: 0;
}

.about-hero__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.about-hero__chips span {
  background: rgba(255, 255, 255, 0.18);
  color: #f9fffd;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
}

.about-hero__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.about-hero__button {
  font-size: 1.05rem !important;
  padding: 14px 38px !important;
}

.about-hero__meta {
  font-size: 0.95rem;
  font-weight: 500;
  color: #d7f3ee;
}

.about-page .card-grid {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 30px 0;
}

.about-page .card {
  flex: 1 1 280px;
  max-width: 340px;
  background: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.about-page .card-step-number {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #555;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 90%;
}

.about-page .card:hover {
  transform: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}

.about-page .card-icon {
  font-size: 40px;
  color: var(--main-green-solid);
  margin-bottom: 10px;
}

.about-page .card-title {
  font-size: 125%;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 10px;
}

.about-page .card-description {
  font-size: 105%;
  color: #555;
  line-height: 1.5;
}

.about-page .card-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.about-page .card-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fff;
  border-radius: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.about-page .card-row-icon {
  font-size: 1.7rem;
  line-height: 1.3;
  color: var(--main-green-solid);
  flex-shrink: 0;
  width: 1.6rem;
  text-align: center;
}

.about-page .card-row-label {
  font-weight: 600;
  font-size: 95%;
  color: #2c3e50;
  margin-bottom: 2px;
}

.about-page .card-row-desc {
  font-size: 90%;
  color: #555;
  line-height: 1.4;
  margin: 0;
}

.about-page .about-summary {
  background: var(--main-green-light);
  border-left: 4px solid var(--main-green-solid);
  border-radius: 8px;
  padding: 1.5rem 2rem;
  margin: 40px 0;
  font-size: 130%;
  font-weight: 600;
  color: var(--main-green-dark);
  line-height: 1.5;
}

.about-page .about-summary i {
  margin-right: 10px;
  color: var(--main-green-solid);
}

.about-page .expandable {
  background: var(--main-green-light);
  border-left: 4px solid var(--main-green-solid);
  padding: 15px;
  margin: 20px 0;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.about-page .expandable:hover {
  background: var(--main-green-border);
}

.about-page .expandable-header {
  font-weight: bold;
  font-size: 120%;
  color: #2c3e50;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.about-page .expandable-icon {
  transition: transform 0.3s ease;
}

.about-page .expandable.expanded .expandable-icon {
  transform: rotate(180deg);
}

.about-page .expandable-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding-top: 0;
}

.about-page .expandable.expanded .expandable-content {
  max-height: 1000px;
  padding-top: 15px;
}

.about-page .tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 2px dotted #667eea;
  cursor: help;
}

.about-page .tooltip .tooltiptext {
  visibility: hidden;
  width: 300px;
  background-color: #2c3e50;
  color: #fff;
  text-align: left;
  border-radius: 8px;
  padding: 15px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -150px;
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
  font-size: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.about-page .tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #2c3e50 transparent transparent transparent;
}

.about-page .tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.about-page .feature-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.about-page .badge i {
  margin-right: 6px;
}

.about-page .expandable-header i {
  margin-right: 8px;
}

.about-page .gradient-btn i {
  margin-right: 6px;
}

.about-page .badge {
  background: #667eea;
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 100%;
  font-weight: 500;
}

.about-page a {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.about-page a:hover {
  color: #764ba2;
  text-decoration: underline;
}

.about-page .footer {
  background: #f8f9fa;
  padding: 30px 20px;
  margin-top: 50px;
  border-top: 3px solid #667eea;
}

.about-page .footer-content {
  max-width: 1100px;
  margin: 0 auto;
}

.about-page .footer h3 {
  color: #2c3e50;
  margin-top: 0;
}

.about-page .about-footnote {
  max-width: 1100px;
  margin: 20px auto 0;
  padding: 20px 20px 0;
  border-top: 1px solid #e0e0e0;
  font-size: 90%;
  color: #777;
}

.about-page .about-footnote i {
  margin-right: 4px;
}

.about-page .footer-columns {
  display: table;
  width: 100%;
  border-collapse: collapse;
}

.about-page .footer-columns-text,
.about-page .footer-columns-logos {
  display: table-cell;
  vertical-align: top;
  border: none;
}

.about-page .footer-columns-logos {
  width: 1%;
  text-align: right;
  white-space: nowrap;
  padding-left: 2rem;
}

.about-page .funding-info-logo {
  height: 55px;
  width: auto;
  margin-left: 1.5rem;
  vertical-align: middle;
}

.about-page .funding-info-logo--bmv {
  height: 140px;
}

.about-page .hero-image {
  float: right;
  margin: 0 0 20px 20px;
  max-width: 400px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .about-hero {
    margin: 20px 16px 0;
    border-radius: 20px;
  }

  .about-hero__inner {
    padding: 2.4rem;
  }

  .about-hero h1 {
    font-size: 2.2rem;
  }

  .about-hero__cta {
    align-items: flex-start;
  }

  .about-page .card-grid {
    flex-direction: column;
    align-items: stretch;
  }

  .about-page .card-grid .card {
    max-width: none;
  }

  .about-page .tooltip .tooltiptext {
    width: 200px;
    margin-left: -100px;
  }
}

@media (max-width: 768px) {
  .app-navbar__inner {
    padding: 16px;
  }

  .app-navbar-branding {
    gap: 0.4rem;
  }

  .app-navbar-branding-title {
    font-size: 1.15rem;
  }

  .app-navbar-branding-subtitle {
    font-size: 0.85rem;
  }
}

.results-main-stats-table {
  border-collapse: separate;
  border-spacing: 0;
  width: auto;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 24px;
  font-size: 1.08em;
  background: var(--main-green-lighter);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(79, 146, 135, 0.07);
}

.results-main-stats-table th {
  background: var(--main-green);
  color: #fff;
  font-weight: 600;
  border: none;
  padding: 10px 18px;
  text-align: left;
  font-size: 1.08em;
}

.results-main-stats-table-label {
  color: var(--main-green-header);
  border-left: 4px solid var(--main-green);
  font-weight: 500;
}

.results-main-stats-table-value {
  color: var(--main-green-dark);
  text-align: right;
  font-family: "Fira Mono", "Menlo", "Monaco", "Consolas", monospace;
  font-weight: 600;
}

.results-main-stats-table th:first-child {
  background: transparent;
  color: transparent;
  border: none;
  width: 1px;
  padding: 0;
}

.results-main-stats-table td {
  border: none;
  padding: 10px 18px;
  font-size: 1.08em;
  vertical-align: middle;
}

.results-main-stats-table tbody tr:nth-child(even) td {
  background: var(--main-green-light);
}

.results-main-stats-table tbody tr:nth-child(odd) td {
  background: #fff;
}

.results-main-stats-table td:first-child {
  color: var(--main-green-header);
  border-left: 4px solid var(--main-green);
}

.results-main-stats-table td:last-child {
  color: var(--main-green-dark);
  text-align: right;
  font-family: "Fira Mono", "Menlo", "Monaco", "Consolas", monospace;
  font-weight: 600;
}

.results-main-stats-table tr:last-child td {
  border-bottom: none;
}

/* Scenario builder styling */
.scenario-section {
  border-bottom: 1px solid var(--main-green-border);
  margin-bottom: 2.2em;
  padding-bottom: 1.2em;
}

.scenario-checkbox-group {
  margin-bottom: 1.2em;
}

.scenario-checkbox-label {
  color: var(--main-green-dark);
  font-weight: 600;
  margin-bottom: 0.1em;
  display: block;
}

.scenario-checkbox-expl {
  color: #3d6e65;
  background: var(--main-green-light);
  border-left: 3px solid var(--main-green);
  margin-top: 0.1em;
  margin-bottom: 0.2em;
  margin-left: 2.2em;
  font-size: 0.8em;
  padding: 0.3em 0.8em 0.3em 0.8em;
  border-radius: 0 6px 6px 0;
  display: block;
}

/* Generic explanation text below form fields */
.form-field-expl {
  color: #3d6e65;
  background: var(--main-green-light);
  border-left: 3px solid var(--main-green);
  margin-top: 0.1em;
  margin-bottom: 1em;
  margin-left: 0;
  font-size: 0.8em;
  padding: 0.35em 0.9em 0.35em 0.9em;
  border-radius: 0 6px 6px 0;
}

.scenario-section-title {
  color: var(--main-green);
  font-size: 1.13em;
  font-weight: 700;
  margin-bottom: 0.5em;
  margin-top: 1.2em;
  letter-spacing: 0.01em;
}

.scenario-divider {
  border-top: 2px solid var(--main-green-border);
  margin: 1.5em 0 1.2em 0;
}

.scenario-action-row {
  margin-top: 1.5em;
}

.scenario-action-row .btn-primary {
  background: var(--main-green);
  border: none;
  font-weight: 600;
}

.scenario-action-row .btn-primary:disabled {
  background: var(--main-green-border);
  color: #fff;
}

.global-header {
  margin-bottom: 18px;
  margin-top: 18px;
  text-align: center;
}

.global-header h1 {
  color: var(--main-green-header);
  font-weight: 700;
  font-size: 2.2em;
  margin-bottom: 0.2em;
}

.global-caption {
  font-size: 1.13em;
  color: #6a7b7a;
  margin-bottom: 0.5em;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.global-caption-link {
  color: var(--main-green-solid);
  font-weight: 600;
  text-decoration: underline;
}

.global-caption-link:hover,
.global-caption-link:focus {
  color: var(--main-green-dark);
  text-decoration: underline;
}

.results-main-block {
  background: #fff !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
}

.results-scenario-block {
  background: #fff !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
}

.results-block-bg {
  background: #fff !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 8px rgba(79, 146, 135, 0.07);
  padding: 32px 32px 24px 32px !important;
  margin-bottom: 24px;
  /* Ensure content inside has padding as well */
  box-sizing: border-box;
}

.results-main-block > *:not(.results-header-flex),
.results-scenario-block > * {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.results-main-block.results-block-bg,
.results-scenario-block.results-block-bg {
  padding: 32px 32px 24px 32px !important;
}

/* If you want to ensure all direct children have spacing, you can add: */
.results-main-block.results-block-bg > *,
.results-scenario-block.results-block-bg > * {
  margin-bottom: 18px;
}

.results-header-flex {
  margin-bottom: 0;
}

/* Header + population block: thin, hugs its own text instead of the
   generous card padding used by the main content blocks. */
.results-header-box {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(79, 146, 135, 0.07);
  padding: 10px 32px;
  margin-bottom: 15px;
  box-sizing: border-box;
}

.results-header-h2 {
  text-align: center;
}

.results-header-row {
  margin-top: 0.3em;
  text-align: center;
}

/* Vertical gap between stacked result rows: half of the horizontal gutter
   between the mobility/scenario-builder columns (~30px). */
.results-row-gap {
  margin-bottom: 15px;
}

/* Starts 25% into the mobility column's own width (7/12 * 1/4 = 7/48 =
   14.5833%) and ends 75% into the scenario-builder column's own width
   (7/12 + 3/4 * 5/12 = 43/48 = 89.5833%), i.e. 75% wide. */
.results-row-narrow {
  width: 75%;
  margin-left: 14.5833%;
  box-sizing: border-box;
}

.results-download-row {
  display: flex;
  justify-content: center;
  gap: 1em;
  flex-wrap: wrap;
}

/* KPI "table" (Kosten / Emissionen / Kapazitäten) above the Installierte
   Assets table: a row label next to equal-width value-box cells, table-like
   structure without visible borders/lines. */
.results-kpi-table {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 24px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.results-kpi-row {
  display: flex;
  align-items: center;
  gap: 1.2em;
}

.results-kpi-row-label {
  flex: 0 0 150px;
  font-weight: 700;
  font-size: 1.2em;
  color: var(--main-green-header);
}

.results-kpi-row-values {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  gap: 15px;
}

.results-kpi-row-values > * {
  flex: 1 1 0;
  min-width: 0;
}

.results-header-block-item {
  font-weight: bold;
  font-size: 1.1em;
}

/* Chart title + hover-info icon (see chart_title_with_info() in
   mod_results_ui_helper_common.R) */
.chart-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  margin-bottom: 0.1em;
}

.chart-title-text {
  font-weight: bold;
  font-size: 1.15em;
  color: #222;
}

.chart-info-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--main-green-solid, #4f9287);
  color: #fff;
  font-size: 0.78em;
  font-weight: bold;
  line-height: 1;
  cursor: help;
  user-select: none;
}

.chart-info-icon .chart-info-tooltip {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: 135%;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  text-align: left;
  padding: 0.65em 0.85em;
  border-radius: 0.45em;
  font-size: 0.92rem;
  font-weight: normal;
  line-height: 1.4;
  white-space: normal;
  width: max-content;
  max-width: 320px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 50;
  transition: opacity 0.15s ease-in-out;
  pointer-events: none;
}

.chart-info-icon .chart-info-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
}

.chart-info-icon:hover .chart-info-tooltip,
.chart-info-icon:focus .chart-info-tooltip,
.chart-info-icon:focus-visible .chart-info-tooltip {
  visibility: visible;
  opacity: 1;
}

/* Progress Stepper Styles */
.progress-stepper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: var(--stepper-bg);
  border-radius: 0;
  padding: 38px 0 8px 0;
  margin-bottom: 18px;
  gap: 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.progress-stepper-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 0;
  position: relative;
  min-width: 0;
  width: 100%;
}

.progress-stepper-label {
  margin-top: 4px;
  font-size: 1.09em;
  color: var(--stepper-label);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: center;
  white-space: nowrap;
}

.progress-stepper-completed .progress-stepper-label {
  color: var(--stepper-label-completed);
}

.progress-stepper-current .progress-stepper-label {
  color: var(--stepper-label-active);
}

.progress-stepper-icon {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--stepper-icon-bg);
  border-radius: 50%;
  border: 2px solid var(--stepper-icon-border);
  font-size: 1.1em;
  color: var(--stepper-icon-color);
  z-index: 2;
}

.progress-stepper-completed .progress-stepper-icon {
  background: var(--stepper-icon-bg-completed);
  color: var(--stepper-icon-color-completed);
  border-color: var(--stepper-icon-bg-completed);
}

.progress-stepper-current .progress-stepper-icon {
  background: #fff;
  color: var(--stepper-icon-border);
  border-color: var(--stepper-icon-border);
}

.progress-stepper-upcoming .progress-stepper-icon {
  background: var(--stepper-icon-bg);
  color: var(--main-green-border);
  border-color: var(--main-green-border);
}

.progress-stepper-line {
  position: absolute;
  top: 13px;
  left: calc(50% + 13px);
  width: calc(100% - 26px);
  height: 2px;
  background: var(--stepper-line);
  z-index: 1;
  margin-left: 0;
  margin-right: 0;
}

.progress-stepper-line-completed {
  background: var(--stepper-line-completed) !important;
}

.progress-stepper-line-upcoming {
  background: var(--stepper-line);
}

.progress-stepper-circle {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--stepper-circle-bg);
  border: 2px solid var(--stepper-circle-border);
}

.progress-stepper-upcoming .progress-stepper-circle {
  border: 2px solid var(--stepper-circle-border-upcoming);
}

/* Clickable stepper items */
.progress-stepper-link {
  cursor: pointer;
  text-decoration: none;
  flex: 1 1 0;
  display: flex;
  justify-content: center;
}

/* Change text color on hover instead of underline */
.progress-stepper-link:hover .progress-stepper-label {
  color: var(--stepper-label-active);
  text-decoration: none !important;
}

/* Festival input form container */
.form-main-block.form-block-bg {
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(79, 146, 135, 0.07);
  padding: 2.5rem 2.5rem 2rem 2.5rem;
  margin-bottom: 2rem;
  box-sizing: border-box;
  width: 100%;
  display: block;
}

/* Gradient buttons for about page */
.gradient-btn {
  display: inline-block !important;
  background: #667eea !important;
  border: none !important;
  color: white !important;
  padding: 15px 40px !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4) !important;
}

.gradient-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6) !important;
  background: #764ba2 !important;
  color: white !important;
}

.gradient-btn:active {
  transform: translateY(0) !important;
}

.gradient-btn:focus {
  outline: none !important;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4),
    0 0 0 3px rgba(102, 126, 234, 0.2) !important;
}

/* Installierte Assets - Detailübersicht: keep the DataTable inside its box.
   Font size matches the KPI value-box numbers above it (AdminLTE's
   .small-box .inner h3 default is 38px); wrap long headers/cells onto a
   second line instead of forcing the table wider than its container. */
#results-installed_assets_table_wrapper table.dataTable {
  table-layout: fixed;
  width: 100% !important;
  font-size: 38px;
}

#results-installed_assets_table_wrapper table.dataTable th,
#results-installed_assets_table_wrapper table.dataTable td {
  overflow-wrap: break-word;
  word-wrap: break-word;
  white-space: normal;
  vertical-align: middle;
}

/* Checkbox distinction for initial vs newly selected scenarios */
/* Initial checkboxes: same green as section titles "Energie & Infrastruktur" */

/* Style the form-group wrapper with subtle green background */
.form-group.scenario-checkbox-initial {
  background-color: var(--main-green-lighter) !important;
  border-left: 3px solid var(--main-green) !important;
  padding: 10px 12px !important;
  border-radius: 6px !important;
  margin-bottom: 12px !important;
  transition: background-color 0.2s ease;
}

/* Target the checkbox input itself for green color */
.form-group.scenario-checkbox-initial input[type="checkbox"] {
  accent-color: var(--main-green-solid) !important;
  width: 18px !important;
  height: 18px !important;
  cursor: pointer;
}

/* Add subtle label text after the checkbox */
.form-group.scenario-checkbox-initial .scenario-checkbox-label::after {
  content: " (bereits ausgewählt)";
  font-size: 0.85em;
  color: var(--main-green);
  font-weight: 600;
  margin-left: 0.4em;
}

/* Newly selected checkboxes: Bootstrap primary blue */

/* Style the form-group wrapper with subtle blue background */
.form-group.scenario-checkbox-new {
  background-color: #e7f3ff !important;
  border-left: 3px solid #007bff !important;
  padding: 10px 12px !important;
  border-radius: 6px !important;
  margin-bottom: 12px !important;
  transition: background-color 0.2s ease;
}

/* Target the checkbox input itself for blue color */
.form-group.scenario-checkbox-new input[type="checkbox"] {
  accent-color: #007bff !important;
  width: 18px !important;
  height: 18px !important;
  cursor: pointer;
}

/* Add subtle label text after the checkbox */
.form-group.scenario-checkbox-new .scenario-checkbox-label::after {
  content: " (neu ausgewählt)";
  font-size: 0.85em;
  color: #0056b3;
  font-weight: 600;
  margin-left: 0.4em;
}
