:root {
  color-scheme: dark;
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: #f4f7fb;
  background: #080b10;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(50, 95, 165, 0.18), transparent 38rem), #080b10;
}

.shell {
  width: min(100% - 40px, 680px);
  margin: 0 auto;
  padding: 72px 0;
}

.brand,
.row,
.toggle-row {
  display: flex;
  align-items: center;
}

.brand {
  gap: 16px;
  margin-bottom: 28px;
}

.mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid #5b8fe8;
  border-radius: 12px;
  color: #9bc2ff;
  font-size: 21px;
  font-weight: 750;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: 18px;
  font-weight: 620;
}

h2 {
  margin-top: 7px;
  font-size: clamp(27px, 5vw, 38px);
  letter-spacing: -0.035em;
}

.eyebrow {
  color: #83abeb;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.panel {
  padding: clamp(24px, 6vw, 42px);
  border: 1px solid #202936;
  border-radius: 18px;
  background: rgba(15, 20, 28, 0.94);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.36);
}

.panel-heading {
  margin-bottom: 30px;
}

.panel-heading > p:last-child,
small {
  color: #8e9bad;
}

.panel-heading > p:last-child {
  margin-top: 9px;
}

.row {
  justify-content: space-between;
  gap: 20px;
}

form,
label {
  display: grid;
  gap: 9px;
}

form {
  gap: 22px;
}

label {
  color: #ccd5e1;
  font-size: 13px;
  font-weight: 620;
}

input {
  width: 100%;
  border: 1px solid #2a3646;
  border-radius: 10px;
  outline: none;
  background: #0b1017;
  color: #f7f9fc;
  font: inherit;
  font-size: 15px;
  padding: 13px 14px;
}

input:focus {
  border-color: #72a8ff;
  box-shadow: 0 0 0 3px rgba(63, 125, 220, 0.18);
}

button {
  min-height: 46px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  background: #6ea8ff;
  color: #07101d;
  font: inherit;
  font-weight: 760;
  padding: 0 19px;
}

button:hover {
  background: #8abbff;
}

button:disabled {
  cursor: wait;
  opacity: 0.6;
}

button.secondary {
  min-height: 38px;
  border: 1px solid #303c4c;
  background: transparent;
  color: #c8d2df;
}

.toggle-row {
  grid-template-columns: 1fr auto;
  justify-content: space-between;
  gap: 28px;
  padding: 18px;
  border: 1px solid #252f3c;
  border-radius: 12px;
  background: #0b1017;
}

.toggle-row span {
  display: grid;
  gap: 5px;
}

.toggle-row input {
  width: 22px;
  height: 22px;
  accent-color: #69a5ff;
}

.status-card {
  min-height: 58px;
  border-left: 3px solid #526172;
  background: #0b1017;
  color: #aeb9c7;
  padding: 13px 16px;
}

.status-card.allowed {
  border-color: #48c98a;
}

.status-card.blocked {
  border-color: #ff7070;
}

.message {
  min-height: 18px;
  color: #73d9a5;
  font-size: 13px;
}

.message.error {
  color: #ff8585;
}

.hidden {
  display: none;
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 24px, 680px);
    padding: 30px 0;
  }

  .row {
    align-items: flex-start;
  }
}
