:root {
  color: #f5f3ef;
  background: #0f0e0d;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

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

body {
  background: #0f0e0d;
}

.login-shell {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-panel {
  width: min(100%, 720px);
  border: 1px solid #504d49;
  background: #181716;
  padding: clamp(28px, 6vw, 64px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 28px;
  font-weight: 700;
}

.brand img {
  display: block;
  object-fit: contain;
}

form {
  margin-top: clamp(56px, 10vw, 96px);
}

h1 {
  margin: 0 0 clamp(48px, 8vw, 72px);
  font-size: clamp(48px, 9vw, 76px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

label:not(.remember-row) {
  display: block;
  margin-bottom: 12px;
  color: #a6a19b;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

input[type="password"],
input[type="text"] {
  width: 100%;
  min-height: 68px;
  border: 1px solid #716d67;
  border-radius: 0;
  outline: 0;
  background: #11100f;
  color: #f5f3ef;
  padding: 14px 18px;
  font: inherit;
  font-size: 20px;
}

input[type="password"]:focus,
input[type="text"]:focus {
  border-color: #f5f3ef;
  box-shadow: 0 0 0 2px #f5f3ef;
}

.remember-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 0;
  color: #d2cec8;
  font-size: 15px;
}

.remember-row input {
  width: 20px;
  height: 20px;
  accent-color: #f5f3ef;
}

.error {
  min-height: 20px;
  margin: 18px 0 0;
  color: #ff6554;
  font-size: 14px;
}

button {
  width: 100%;
  min-height: 60px;
  margin-top: 30px;
  border: 1px solid #f5f3ef;
  border-radius: 0;
  background: #f5f3ef;
  color: #141312;
  cursor: pointer;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
}

button:hover {
  background: #dcd8d2;
}

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

[hidden] {
  display: none !important;
}

@media (max-width: 600px) {
  .login-shell {
    align-items: start;
    padding: 18px;
  }

  .login-panel {
    margin-top: 72px;
    padding: 28px;
  }

  .brand {
    font-size: 25px;
  }

  form {
    margin-top: 64px;
  }

  h1 {
    margin-bottom: 48px;
  }
}
