* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #101318;
  color: #eef2f7;
  font-family: "Segoe UI", Arial, sans-serif;
}

.wrap {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 28px;
}

h1,
h2 {
  margin: 0 0 14px;
}

.muted {
  color: #9da9b8;
}

.login,
.panel {
  background: #191f28;
  border: 1px solid #2c3544;
  border-radius: 8px;
  padding: 20px;
}

.login {
  max-width: 390px;
  margin-top: 8vh;
}

label {
  display: block;
  margin: 12px 0;
}

input,
button {
  width: 100%;
  border-radius: 6px;
  border: 1px solid #384456;
  padding: 12px 14px;
  font: inherit;
}

input {
  margin-top: 6px;
  background: #0e1218;
  color: #eef2f7;
}

button {
  background: #263140;
  color: #fff;
  cursor: pointer;
  font-weight: 650;
}

button.primary,
button:first-child {
  background: #2d7dff;
}

button.danger {
  background: #9d2b2b;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.logout {
  color: #9dc2ff;
  text-decoration: none;
}

.status-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid #3a4656;
  border-radius: 999px;
  padding: 7px 11px;
  color: #cbd5e1;
  background: #111821;
}

.single-action {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.status-box {
  min-height: 96px;
  background: #07090d;
  color: #d9f6df;
  border-radius: 8px;
  padding: 18px;
  font-size: 18px;
  line-height: 1.45;
  border: 1px solid #1f2937;
}

.error {
  color: #ffb3b3;
}
