/* DNS-Werkzeug auf der Testseite. */

.id4web-dns__form {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
  margin-bottom: 2rem;
  padding: 1.25rem;
  border: 1px solid rgba(0, 64, 119, .12);
  border-radius: .75rem;
  background-color: #f8f9fa;
}

.id4web-dns__feld {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.id4web-dns__feld--domain {
  flex: 1 1 18rem;
}

/* Auf dem grauen Formulargrund reicht #6c7684 nicht (4,37:1). Dieser Ton
   liegt über den geforderten 4,5:1. */
.id4web-dns__feld label {
  color: #5f6a78;
  font-size: .8125rem;
}

.id4web-dns__feld input,
.id4web-dns__feld select {
  padding: .55rem .75rem;
  border: 1px solid rgba(0, 64, 119, .2);
  border-radius: .5rem;
  background-color: #fff;
  color: #333;
  font-family: inherit;
  font-size: 1rem;
}

.id4web-dns__feld input:focus-visible,
.id4web-dns__feld select:focus-visible {
  outline: 2px solid #1472C4;
  outline-offset: 1px;
}

.id4web-dns__feld--knopf .btn {
  margin: 0;
}

/* --- Ergebnis ------------------------------------------------------------ */
.id4web-dns__kopf {
  margin-bottom: .75rem;
}

/* Breite Werte wie DKIM-Schlüssel dürfen scrollen, aber die Seite nicht */
.id4web-dns__tabelle {
  overflow-x: auto;
  border: 1px solid rgba(0, 64, 119, .12);
  border-radius: .75rem;
}

.id4web-dns__tabelle table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
}

.id4web-dns__tabelle th,
.id4web-dns__tabelle td {
  padding: .7rem 1rem;
  text-align: left;
  vertical-align: top;
}

.id4web-dns__tabelle thead th {
  border-bottom: 1px solid rgba(0, 64, 119, .12);
  background-color: #f8f9fa;
  color: #5f6a78;
  font-size: .8125rem;
  font-weight: 600;
}

.id4web-dns__tabelle tbody tr + tr td {
  border-top: 1px solid rgba(0, 64, 119, .08);
}

.id4web-dns__wert {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .9375rem;
  word-break: break-all;
}

.id4web-dns__hinweis {
  padding: .9rem 1.1rem;
  border: 1px solid rgba(0, 64, 119, .12);
  border-radius: .75rem;
  background-color: #f8f9fa;
}

.id4web-dns__hinweis--fehler {
  border-color: rgba(212, 64, 58, .3);
  background-color: rgba(212, 64, 58, .07);
  color: #a8302b;
}

/* --- Dauerprüfung -------------------------------------------------------- */
.id4web-dns__wache {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 64, 119, .12);
}

.id4web-dns__wache-knoepfe {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.id4web-dns__uhr {
  color: #6c7684;
  font-size: .9375rem;
  font-variant-numeric: tabular-nums;
}

.id4web-dns__verlauf {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.id4web-dns__eintrag {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .25rem 1rem;
  padding: .6rem 0;
}

.id4web-dns__eintrag + .id4web-dns__eintrag {
  border-top: 1px solid rgba(0, 64, 119, .08);
}

.id4web-dns__zeit {
  flex: 0 0 4.5rem;
  color: #6c7684;
  font-size: .875rem;
  font-variant-numeric: tabular-nums;
}

.id4web-dns__gefunden {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  word-break: break-all;
}

/* Eine Änderung fällt auf — durch Farbe und durch das Wort daneben, damit
   sie auch ohne Farbunterscheidung erkennbar bleibt. */
.id4web-dns__eintrag--geaendert .id4web-dns__gefunden {
  color: #d4403a;
  font-weight: 600;
}

.id4web-dns__marke {
  padding: .1rem .6rem;
  border-radius: 999px;
  background-color: rgba(212, 64, 58, .1);
  color: #a8302b;
  font-size: .75rem;
  font-weight: 600;
}

@media (max-width: 575.98px) {
  .id4web-dns__form {
    flex-direction: column;
    align-items: stretch;
  }
}
