* { box-sizing: border-box; }
body {
  font-family: Tahoma, Arial, sans-serif;
  background: #0f1420;
  color: #e6e9f0;
  margin: 0;
  padding: 2rem;
  direction: rtl;
}
.wrap { max-width: 720px; margin: 0 auto; }
h1 { font-size: 1.3rem; margin-bottom: 1.5rem; }
.card {
  background: #171d2e;
  border: 1px solid #262f47;
  border-radius: 10px;
  padding: 1.2rem;
  margin-bottom: 1rem;
}
input, button, select {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.55rem 0.7rem;
  border-radius: 6px;
  border: 1px solid #313c5c;
  background: #0f1420;
  color: #e6e9f0;
}
input { width: 100%; margin-bottom: 0.6rem; }
button {
  background: #4c6ef5;
  border-color: #4c6ef5;
  color: #fff;
  cursor: pointer;
}
button.danger { background: #e03131; border-color: #e03131; }
button.secondary { background: #262f47; border-color: #313c5c; }
button:hover { opacity: 0.9; }
.row { display: flex; gap: 0.5rem; align-items: center; }
.list-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.6rem 0; border-bottom: 1px solid #262f47;
}
.list-item:last-child { border-bottom: none; }
.muted { color: #8a93ab; font-size: 0.85rem; }
.error { color: #ff6b6b; font-size: 0.88rem; margin-top: 0.3rem; }
pre {
  background: #0b0f19; padding: 0.8rem; border-radius: 6px;
  max-height: 320px; overflow: auto; direction: ltr; text-align: left;
  font-size: 0.8rem;
}
a.top-link { color: #8a93ab; text-decoration: none; font-size: 0.85rem; }
