.account-page {
  background: #0f2b22;
  min-height: calc(100vh - 64px);
}

.account-wrap {
  padding: 2rem clamp(1rem, 4vw, 2.5rem);
  display: flex;
  justify-content: center;
}

.account-grid {
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.account-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.account-row:last-child {
  border-bottom: none;
}

.account-label {
  color: #a7c7bc;
  font-size: 0.88rem;
  font-weight: 600;
}

.account-value {
  color: #e8f3ef;
  font-size: 0.92rem;
  font-weight: 600;
  text-align: right;
}

.account-mono {
  font-family: "JetBrains Mono", "Cascadia Code", Consolas, monospace;
  font-size: 0.78rem;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.account-actions .btn.is-disabled,
.account-actions .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.account-status {
  margin-top: 0.75rem;
  min-height: 1.25rem;
  font-size: 0.85rem;
  color: #a7c7bc;
}

.account-status.success {
  color: #51cf66;
}

.account-status.error {
  color: #ff6b6b;
}

.account-note {
  margin: 0 0 0.5rem;
  color: #a7c7bc;
  font-size: 0.9rem;
}

.account-link {
  color: #3fe6a1;
  text-decoration: none;
}

.account-link:hover {
  text-decoration: underline;
}

.account-table {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.account-table__row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.5rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: #e8f3ef;
}

.account-table__row.header {
  font-weight: 700;
  color: #a7c7bc;
}

.account-table__empty {
  font-size: 0.85rem;
  color: #a7c7bc;
  padding: 0.5rem 0;
}

@media (min-width: 960px) {
  .account-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-grid .card:last-child {
    grid-column: span 2;
  }
}
