/*
 * Abdunkelungs-Rechner – ergänzende Regeln.
 *
 * Die Grundgestaltung (Formular, Ergebnisfeld, Zeilen, Hinweise) kommt
 * aus den aw-Regeln des Themes. Hier nur, was das Theme nicht kennt:
 * die Schaltfläche, der 24-Stunden-Streifen und die Koordinatenfelder.
 * Wird nur auf Tool-Seiten geladen, denen dieses Modul zugeordnet ist.
 */
.aw-tool-abdunkelung .ab-coords { grid-template-columns: 1fr 1fr; margin-bottom: 4px; }

.aw-tool-abdunkelung .ab-strip {
  margin: 0 0 14px; padding: 8px 8px 6px;
  background: #fff; border: 1px solid var(--linie, #D8D2C5); border-radius: 10px;
}
.aw-tool-abdunkelung .ab-strip svg { display: block; width: 100%; height: auto; }
.aw-tool-abdunkelung .ab-legend {
  display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center;
  margin-top: 4px; font-size: 12px; color: #4F5F52;
}
.aw-tool-abdunkelung .ab-key {
  display: inline-block; width: 11px; height: 11px; border-radius: 3px;
  margin-right: 5px; vertical-align: -1px; border: 1px solid rgba(0, 0, 0, .15);
}
.aw-tool-abdunkelung .ab-key-sun { background: #B78A2D; }
.aw-tool-abdunkelung .ab-key-cover { background: #9DB88A; }
.aw-tool-abdunkelung .ab-key-night { background: #173F2A; }
.aw-tool-abdunkelung .ab-legend-note { margin-left: auto; opacity: .85; }

.aw-tool-abdunkelung .aw-btn {
  display: block; width: 100%; margin-top: 16px; padding: 12px 16px;
  font: inherit; font-weight: 700; letter-spacing: .01em; color: #fff;
  background: var(--blattgruen, #45652F); border: 0; border-radius: 10px; cursor: pointer;
}
.aw-tool-abdunkelung .aw-btn:hover { background: var(--wald, #173F2A); }
.aw-tool-abdunkelung .aw-btn:focus-visible { outline: 3px solid var(--wald, #173F2A); outline-offset: 2px; }
.aw-tool-abdunkelung .ab-dl-hint { margin: 8px 0 0; }
