@font-face {
  font-family: Inter;
  src: url('/login-assets/Inter-Regular.ttf');
}
@font-face {
  font-family: Inter;
  src: url('/login-assets/Inter-SemiBold.ttf');
  font-weight: 600 900;
}
* {
  box-sizing: border-box;
}
html {
  color-scheme: dark;
}
body {
  margin: 0;
  background: #000;
  color: #f6f5f3;
  font-family: Inter, Arial, sans-serif;
}
body:before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.81), rgba(0, 0, 0, 0.702)),
    url('/login-background.webp') center/cover no-repeat;
}
.signin-layout {
  min-height: 100vh;
  min-height: 100dvh;
  max-width: 1280px;
  margin: auto;
  padding: clamp(24px, 4dvh, 64px) 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 80px;
  align-items: center;
}
.signin-identity,
.signin-card {
  min-width: 0;
  padding: 28px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.signin-brand {
  display: block;
  max-width: 100%;
  width: 360px;
  height: auto;
  margin-bottom: 30px;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin: 0 0 16px;
}
h1 {
  text-transform: uppercase;
  font-size: 48px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 22px 0 30px;
  font-weight: 800;
}
h2 {
  font-size: 26px;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.intro,
#signin-description {
  font-size: 16px;
  line-height: 1.5;
  color: #b5b5b5;
  margin: 0 0 20px;
}
.caption {
  font-size: 12px;
  color: #aaa;
  margin: 32px 0 0;
}
label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 16px;
}
input {
  width: 100%;
  min-height: 46px;
  background: #101010;
  color: #fff;
  border: 1px solid #555;
  border-radius: 0;
  padding: 12px;
  font: inherit;
}
button {
  font: inherit;
  cursor: pointer;
}
.primary {
  width: 100%;
  min-height: 52px;
  border: 1px solid #d71421;
  background: #d71421;
  color: #fff;
  font-weight: 600;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
}
.primary:hover {
  background: #b80b17;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.secondary {
  display: block;
  margin-top: 10px;
  min-height: 44px;
  width: 100%;
  background: transparent;
  border: 0;
  color: #bbb;
}
.secondary:hover {
  text-decoration: underline;
}
.help,
small {
  font-size: 12px;
  line-height: 1.5;
  color: #aaa;
}
small {
  display: block;
  margin-top: 16px;
  text-align: center;
}
.error {
  border-left: 3px solid #ed1b24;
  background: #171010;
  padding: 12px;
  font-size: 14px;
  line-height: 1.5;
}
.error:empty,
#status:empty {
  display: none;
}
input:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
#qr-code {
  display: block;
  max-width: 100%;
  margin: 12px auto;
  width: 184px;
  height: 184px;
}
details {
  font-size: 13px;
  margin: 12px 0;
}
summary {
  cursor: pointer;
}
code {
  display: block;
  overflow-wrap: anywhere;
  padding: 12px;
  background: #111;
  margin-top: 8px;
  user-select: all;
}
[hidden] {
  display: none !important;
}
@media (max-width: 1050px) {
  .signin-layout {
    gap: 32px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    padding: 24px;
  }
  h1 {
    font-size: 36px;
  }
  .signin-card,
  .signin-identity {
    padding: 20px;
  }
}
@media (max-width: 650px) {
  .signin-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
    padding: 24px 16px;
  }
  .signin-identity,
  .signin-card {
    width: 100%;
  }
  .signin-brand {
    width: 250px;
    margin-bottom: 20px;
  }
  h1 {
    font-size: 30px;
    margin: 14px 0;
  }
  .caption {
    margin-top: 18px;
  }
  .intro {
    font-size: 14px;
  }
  .signin-identity {
    padding: 20px;
  }
}

@font-face {
  font-family: Barlow;
  src: url('/login-assets/BarlowCondensed-ExtraBold.ttf');
  font-weight: 800;
  font-display: swap;
}
h1 {
  font-family: Barlow, Inter, Arial, sans-serif;
}
