* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f7f6f2;
  color: #06263b;
  font:
    14px Arial,
    sans-serif;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.auth-shell {
  width: 100%;
  max-width: 420px;
}
.auth-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}
.auth-brand img {
  width: 68px;
}
.auth-brand strong {
  font-size: 19px;
}
.auth-brand small {
  display: block;
  font-size: 10px;
  letter-spacing: 1px;
  margin-top: 7px;
}
section {
  background: white;
  border: 1px solid #e4dfd6;
  border-radius: 12px;
  padding: 30px;
}
h1 {
  font:
    30px Georgia,
    serif;
  margin: 0 0 12px;
}
p {
  line-height: 1.6;
  color: #57636b;
}
label {
  display: block;
  font-weight: 600;
  margin-top: 18px;
}
input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccd0cf;
  border-radius: 6px;
  font: 14px Arial;
  margin-top: 7px;
}
input:focus {
  outline: 2px solid #a58a5a;
  outline-offset: 2px;
}
button,
.auth-link {
  font: 14px Arial;
  padding: 12px 18px;
  border: 0;
  border-radius: 6px;
  background: #06263b;
  color: white;
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
}
button[type='submit'] {
  width: 100%;
  margin-top: 22px;
}
button:disabled {
  opacity: 0.5;
}
a {
  color: #06263b;
}
#message {
  color: #8a3828;
  min-height: 18px;
  margin-top: 14px;
  overflow-wrap: anywhere;
}
.foot {
  text-align: center;
  font-size: 12px;
  margin-top: 22px;
}
small {
  line-height: 1.6;
}
textarea {
  width: 100%;
}

[hidden] {
  display: none !important;
}

.video-login {
  background: #0e2341;
  isolation: isolate;
}
.signin-background,
.signin-shade {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.signin-background {
  object-fit: cover;
  z-index: -2;
}
.signin-shade {
  background: linear-gradient(120deg, rgba(5, 22, 38, 0.6), rgba(5, 22, 38, 0.28));
  z-index: -1;
}
.video-login .auth-shell {
  background: rgba(255, 255, 255, 0.96);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 14px;
  box-shadow: 0 20px 70px #0005;
  max-width: 430px;
}
.video-login .auth-brand {
  margin-bottom: 24px;
}
.video-login #auth-content {
  padding: 0;
  border: 0;
  background: transparent;
}
.video-login .foot {
  color: #677179;
  font-size: 10px;
  margin-top: 18px;
}
.background-toggle {
  position: fixed;
  right: 18px;
  bottom: 18px;
  font: 11px Arial;
  padding: 9px 12px;
  background: #0e2341bb;
  border: 1px solid #ffffff55;
  color: white;
  z-index: 2;
}
.background-toggle:focus-visible {
  outline: 2px solid #c29b73;
  outline-offset: 3px;
}
@media (max-width: 500px) {
  .video-login {
    padding: 18px;
  }
  .video-login .auth-shell {
    padding: 24px;
  }
  .video-login .auth-brand {
    gap: 12px;
  }
  .video-login .auth-brand strong {
    font-size: 17px;
  }
  .video-login .auth-brand small {
    font-size: 8px;
  }
  .background-toggle {
    bottom: 8px;
    right: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .signin-background {
    opacity: 0.35;
  }
}
