.account-body {
  margin: 0;
  background: #f3f4f6;
  color: #0f172a;
  font-family: Inter, "Segoe UI", Tahoma, sans-serif;
}

.account-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 16px 40px;
}

.account-topbar {
  background: #1e293b;
  color: #e2e8f0;
  border-bottom: 1px solid #334155;
}

.account-topbar-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.account-brand {
  color: #f8fafc;
  text-decoration: none;
  font-weight: 700;
}

.account-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.account-nav a {
  text-decoration: none;
  color: #334155;
  background: #e2e8f0;
  padding: 9px 12px;
  border-radius: 8px;
  font-weight: 600;
}

.account-nav a.active {
  background: #f59e0b;
  color: #111827;
}

.card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.auth-card {
  max-width: 560px;
  margin: 20px auto;
}

.card h1,
.card h2,
.card h3 {
  margin-top: 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.field input,
.field select,
.field textarea {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 9px 10px;
  font: inherit;
  background: #ffffff;
}

.btn {
  border: 0;
  border-radius: 8px;
  padding: 9px 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: #2563eb;
  color: #ffffff;
}

.btn-danger {
  background: #dc2626;
  color: #ffffff;
}

.btn-muted {
  background: #cbd5e1;
  color: #0f172a;
}

.message {
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.message-ok {
  background: #dcfce7;
  color: #166534;
}

.message-error {
  background: #fee2e2;
  color: #991b1b;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid #e2e8f0;
}

.table th {
  color: #475569;
  font-size: 14px;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.muted {
  color: #64748b;
}

@media (max-width: 860px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

