/* Header */
.address-header { margin: 10px 0 16px; }
.address-header .mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.address-header .big { font-size: 1.05rem; }
.address-header .muted { color: #9aa4b2; margin: 4px 0 0; }

/* Copy Icon */
.copy-btn, .copy-icon {
  width: 18px; height: 18px; padding: 0; margin-left: 6px;
  border: 0; background: transparent; cursor: pointer; opacity: .6;
  vertical-align: middle;
}
.copy-btn:hover, .copy-icon:hover { opacity: 1; }
.copy-btn img, .copy-icon img { width: 100%; height: 100%; display: block; }

/* 2-Spalten Kopfbereich */
.address-dashboard {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px;
}
.box {
  background: #161a20; border: 1px solid #2a2e36; border-radius: 10px; padding: 14px;
}
.box h3 { margin: 0 0 10px; font-size: 1rem; }
.kv { display: grid; grid-template-columns: 140px 1fr; padding: 6px 0; border-top: 1px solid #232831; }
.kv:first-of-type { border-top: 0; }
.kv .k { color: #9aa4b2; }
.kv .v { text-align: right; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.unit { color: #9aa4b2; margin-left: 4px; }

/* Tabs */
.tabs { margin: 12px 0 0 0; display: flex; gap: 8px; }
.tab {
  background: #161a20; border: 1px solid #2a2e36;
  border-radius: 10px 10px 0 0;              /* oben rund, unten eckig */
  padding: 8px 12px; cursor: pointer; color: #cfd6df;
}
.tab.active {
  border-color: #3a4452; background: #1b2028;
  border-bottom-color: #161a20;               /* optisch mit Tabelle verschmelzen */
  position: relative; z-index: 2;
}

/* Umrahmung für die Tabellen unter den Tabs */
.box--table {
  background: #161a20;
  border: 1px solid #2a2e36;
  border-top: 0;                               /* an aktiven Tab „andocken“ */
  margin-top: -1px;                            /* Nahtlos unter den Tab schieben */
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  padding: 0;                                  /* die Tabelle hat eigenes Padding */
  overflow: hidden;
}

/* Links – gleiche Farbe wie Startseite (#36bec5) */
a.link,
.tx-table a,
.address-header a,
.kv a {
  color: #36bec5;
  text-decoration: none;
}
a.link:hover,
.tx-table a:hover,
.address-header a:hover,
.kv a:hover { text-decoration: underline; }
a.link:visited,
.tx-table a:visited,
.address-header a:visited,
.kv a:visited { color: #36bec5; }

/* Tabelle */
.tx-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.tx-table th, .tx-table td {
  padding: 12px 10px;
  border-bottom: 1px solid #2a2e36;
  vertical-align: middle;
}
.tx-table th { color: #9aa4b2; font-weight: 600; text-align: left; }
.tx-table tr:hover { background: rgba(255,255,255,.03); }

.tx-table .flow .line { display: flex; align-items: center; gap: 6px; }
.tx-table .flow .lbl { color: #9aa4b2; width: 40px; flex: 0 0 auto; }
.tx-table .amount-col, .tx-table .amount { text-align: right; }

/* Optional – explizite Klassen für Hash/Adresse */
.tx-table .hash,
.tx-table .addr { color: #36bec5; text-decoration: none; }
.tx-table .hash:hover,
.tx-table .addr:hover { text-decoration: underline; }

.tab-content.hidden { display: none; }

@media (max-width: 1000px) {
  .address-dashboard { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 120px 1fr; }
}
