:root {
  color-scheme: dark;

  --bg:
    #06131d;

  --panel:
    rgba(6, 35, 51, .94);

  --line:
    rgba(87, 166, 202, .26);

  --line-hi:
    rgba(92, 190, 225, .48);

  --text:
    #e6f0f5;

  --muted:
    #8ca7b5;

  --accent:
    #1595b5;

  --accent-hi:
    #25b2c7;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;

  display: grid;
  place-items: center;

  padding:
    48px 20px;

  color:
    var(--text);

  font-family:
    "Segoe UI",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;

  background:
    radial-gradient(
      circle at 12% 4%,
      rgba(17, 111, 147, .28),
      transparent 29%
    ),
    radial-gradient(
      circle at 94% 64%,
      rgba(128, 71, 28, .16),
      transparent 25%
    ),
    linear-gradient(
      145deg,
      #071721,
      #041019 58%,
      #06131d
    );
}

.login-shell {
  width:
    min(100%, 520px);

  display: grid;
  gap: 34px;
}

.brand {
  text-align: center;
}

.brand-logo {
  display: block;

  width:
    min(330px, 80vw);

  height: auto;

  margin:
    0 auto 2px;
}

.brand-subtitle {
  color:
    #9eb5c0;

  font-size: 12px;

  font-weight: 650;

  letter-spacing:
    .23em;

  text-transform:
    uppercase;
}

.login-panel {
  padding:
    42px 48px 34px;

  border:
    1px solid var(--line);

  border-radius:
    18px;

  background:
    linear-gradient(
      155deg,
      rgba(8, 48, 67, .96),
      rgba(5, 29, 43, .96)
    );

  box-shadow:
    0 30px 90px
      rgba(0, 0, 0, .44),
    inset 0 1px 0
      rgba(255,255,255,.025);
}

.login-panel h1 {
  margin:
    0;

  text-align:
    center;

  font-size:
    30px;

  font-weight:
    700;

  letter-spacing:
    -.02em;
}

.panel-subtitle {
  margin:
    7px 0 28px;

  color:
    var(--muted);

  text-align:
    center;

  font-size:
    13px;

  letter-spacing:
    .08em;
}

form {
  display:
    grid;

  gap:
    14px;
}

label {
  display:
    grid;

  gap:
    6px;
}

label span {
  color:
    #a9bdc7;

  font-size:
    11px;

  font-weight:
    650;

  letter-spacing:
    .08em;

  text-transform:
    uppercase;
}

input {
  width:
    100%;

  height:
    43px;

  padding:
    0 14px;

  border:
    1px solid
      rgba(119, 170, 193, .38);

  border-radius:
    7px;

  outline:
    none;

  color:
    #10232d;

  background:
    #dbe3e7;

  font:
    inherit;

  transition:
    border-color .15s ease,
    box-shadow .15s ease;
}

input:focus {
  border-color:
    #4fbed2;

  box-shadow:
    0 0 0 3px
      rgba(49, 171, 194, .13);
}

button {
  width:
    100%;

  height:
    43px;

  margin-top:
    3px;

  border:
    1px solid
      rgba(67, 198, 217, .62);

  border-radius:
    7px;

  color:
    #eaf9fb;

  background:
    linear-gradient(
      135deg,
      #137f9d,
      #159cb3
    );

  font:
    inherit;

  font-size:
    13px;

  font-weight:
    700;

  letter-spacing:
    .04em;

  cursor:
    pointer;

  transition:
    border-color .15s ease,
    background .15s ease,
    transform .15s ease;
}

button:hover {
  border-color:
    #5bd2e0;

  background:
    linear-gradient(
      135deg,
      #168dab,
      #1aacc0
    );
}

button:active {
  transform:
    translateY(1px);
}

button:disabled {
  opacity:
    .62;

  cursor:
    wait;
}

.login-error {
  min-height:
    16px;

  color:
    #ff898d;

  font-size:
    12px;

  line-height:
    1.35;
}

.build {
  margin-top:
    25px;

  color:
    rgba(
      164,
      190,
      201,
      .55
    );

  text-align:
    center;

  font-size:
    10px;

  font-weight:
    600;

  letter-spacing:
    .10em;

  text-transform:
    uppercase;
}

@media (
  max-width: 560px
) {
  .login-panel {
    padding:
      34px 25px 28px;
  }

  .brand-subtitle {
    font-size:
      10px;

    letter-spacing:
      .16em;
  }
}
