/* --- Dashboard Container --- */
.dashboard {
  max-width: 1200px;
  margin: 20px auto;
  padding: 10px;
}

/* --- Stats oben --- */
.stats {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.stat-box {
  flex: 1;
  background: #161a20;
  border: 1px solid #2a2e36;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  font-size: 0.95rem;
  color: #fff;
}

.stat-box h3 {
  margin: 0 0 8px 0;
  font-size: 0.9rem;
  color: #9aa4b2;
}

/* --- Columns unten (Blocks + Transactions) --- */
.columns {
  display: flex;
  gap: 20px;
  align-items: stretch; /* beide Boxen gleich hoch */
}

.col {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* --- Box --- */
.box {
  background: #161a20;
  border: 1px solid #2a2e36;
  border-radius: 8px;
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.box h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.1rem;
  color: #fff;
}

/* --- Tabellen --- */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th, td {
  padding: 8px 10px;
  border-bottom: 1px solid #2a2e36;
  vertical-align: middle;
}

th {
  color: #9aa4b2;
  text-align: left;
  font-weight: 500;
}

tbody tr:hover {
  background: rgba(255,255,255,0.03);
}

/* --- Block- und Tx-Tabellen angleichen --- */
.block-table th:nth-child(1),
.tx-table th:nth-child(1) {
  width: 25%;
}

.block-table th:nth-child(2),
.tx-table th:nth-child(2) {
  width: 35%;
}

.block-table th:nth-child(3),
.tx-table th:nth-child(3) {
  width: 20%;
  text-align: center;
}

.block-table th:nth-child(4),
.tx-table th:nth-child(4) {
  width: 20%;
  text-align: right;
}

.block-table td:nth-child(3),
.tx-table td:nth-child(3) {
  text-align: center;
}

.block-table td:nth-child(4),
.tx-table td:nth-child(4) {
  text-align: right;
}

/* --- Copy-Button --- */
.copy-btn {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 4px;
  vertical-align: middle;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.copy-btn:hover {
  opacity: 1;
}

.copy-btn img {
  width: 100%;
  height: 100%;
  background: transparent;
}
