:root {
  --bg: #09131d;
  --panel: #122130;
  --panel-2: #183249;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f3f7fb;
  --muted: #a9b8c9;
  --accent: #2cc295;
  --accent-2: #f0b43c;
  --danger: #ff7b72;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(44, 194, 149, 0.16), transparent 30%),
    linear-gradient(180deg, #0c1724, #08121b);
  color: var(--text);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.shell,
.admin-layout {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(24, 50, 73, 0.95), rgba(18, 33, 48, 0.95));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.auth-card {
  width: min(460px, 100%);
}

.topbar {
  width: min(1120px, calc(100% - 32px));
  margin: 24px auto 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

.stack {
  display: grid;
  gap: 14px;
}

.section-head,
.actions,
.inline-check {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-head,
.actions {
  justify-content: space-between;
  flex-wrap: wrap;
}

.grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.inline-check {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.inline-check input {
  width: 18px;
  height: 18px;
}

input,
textarea,
button {
  font: inherit;
}

input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

textarea {
  resize: vertical;
}

button {
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  cursor: pointer;
}

button.primary {
  background: linear-gradient(135deg, var(--accent), #159b75);
  color: #062116;
  font-weight: 800;
}

.muted,
small {
  color: var(--muted);
}

.error {
  color: var(--danger);
}

.success {
  color: var(--accent);
}

.chips,
.info-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip,
.chip-block {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.chip-block {
  border-radius: 14px;
}

.chip-block strong,
.chip-block span {
  display: block;
}

.list {
  display: grid;
  gap: 10px;
}

.list-item {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

code {
  padding: 2px 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 800px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .grid-two {
    grid-template-columns: 1fr;
  }

  .section-head,
  .actions,
  .inline-check {
    align-items: flex-start;
    flex-direction: column;
  }
}
