* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: tahoma, arial, sans-serif;
  background: #fff;
  color: #1a2744;
  font-size: 14px;
  line-height: 1.6;
}

a {
  color: #2a5298;
  text-decoration: none;
}
a:hover { text-decoration: underline; }

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  border-bottom: 2px solid #1a2744;
  padding: 18px 0;
  margin-bottom: 24px;
}

header .title {
  font-size: 18px;
  font-weight: bold;
  color: #1a2744;
  letter-spacing: 0.5px;
}

header .subtitle {
  font-size: 11px;
  color: #7a8ba8;
  margin-top: 2px;
}

header .right {
  float: right;
  text-align: right;
  font-size: 12px;
  color: #7a8ba8;
}

.search-bar {
  margin-bottom: 24px;
}

.search-bar input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #c8d2e0;

  font-family: tahoma, arial, sans-serif;
  font-size: 14px;
  color: #1a2744;
  outline: none;
}

.search-bar input:focus {
  border-color: #2a5298;
}

.search-bar input::placeholder {
  color: #a0aec0;
}

.stats-row {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.stat-box {
  flex: 1;
  min-width: 140px;
  background: #f5f7fa;
  border: 1px solid #e2e8f0;

  padding: 12px 16px;
}

.stat-box .label {
  font-size: 11px;
  color: #7a8ba8;
  text-transform: lowercase;
}

.stat-box .value {
  font-size: 16px;
  font-weight: bold;
  color: #1a2744;
  margin-top: 2px;
}

.section {
  margin-bottom: 32px;
  overflow-x: auto;
}

.section-title {
  font-size: 13px;
  font-weight: bold;
  color: #1a2744;
  text-transform: lowercase;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 6px;
  margin-bottom: 12px;
}

table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

td, th {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

th {
  text-align: left;
  font-size: 11px;
  color: #7a8ba8;
  text-transform: lowercase;
  padding: 6px 8px;
  border-bottom: 1px solid #e2e8f0;
  font-weight: normal;
}

td {
  padding: 8px 8px;
  border-bottom: 1px solid #f0f2f5;
  font-size: 13px;
  vertical-align: top;
}

tr:hover { background: #f8f9fb; }

.mono {
  font-family: 'SF Mono', 'Consolas', 'Monaco', monospace;
  font-size: 12px;
}

.hash { color: #2a5298; }
.addr { color: #2a5298; }
.amount { font-weight: bold; }
.green { color: #16a34a; }
.red { color: #dc2626; }
.yellow { color: #ca8a04; }
.gray { color: #7a8ba8; }
.private-tag {
  display: inline-block;
  background: #1a2744;
  color: #fff;
  font-size: 10px;
  padding: 1px 6px;

  letter-spacing: 0.3px;
}

.stealth-tag {
  display: inline-block;
  background: #2a5298;
  color: #fff;
  font-size: 10px;
  padding: 1px 6px;

}

.pending-tag {
  display: inline-block;
  background: #f59e0b;
  color: #fff;
  font-size: 10px;
  padding: 1px 6px;

}

.detail-table {
  width: 100%;
  table-layout: auto;
}

.detail-table td {
  white-space: normal;
  word-break: break-all;
}

.detail-table td:first-child {
  width: 160px;
  color: #7a8ba8;
  font-size: 12px;
}

.detail-table td:last-child {
  font-size: 13px;
}

.mempool-empty {
  color: #7a8ba8;
  font-style: italic;
  padding: 12px 0;
}

.footer {
  border-top: 1px solid #e2e8f0;
  padding: 16px 0;
  margin-top: 40px;
  font-size: 11px;
  color: #a0aec0;
  text-align: center;
}

.nav {
  margin-bottom: 16px;
}

.nav a {
  color: #2a5298;
  font-size: 12px;
}

.error-box {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  padding: 12px 16px;

  margin-bottom: 16px;
  font-size: 13px;
}

.loading {
  color: #7a8ba8;
  padding: 20px 0;
}

@media (max-width: 700px) {
  .stats-row { flex-direction: column; }
  .stat-box { min-width: auto; }
  td, th { padding: 6px 4px; font-size: 12px; }
}
