:root {
  --page-bg: #fff9f0;
  --accent: #ff6600;
  --muted: #838383;
  --field-text: #6e6e6e;
  --field-border: #d2d2d2;
  --card-shadow: #000000;
  --card-bg: #ffffff;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background-color: #2b0602;
  background-image: url("/static/login/assets/desert-bg.png");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  color: #000000;
  font-family: Manrope, "Open Sans", Arial, sans-serif;
}

@media (min-width: 394px) {
  body {
    background-size: 100% 100%;
  }
}

button,
input {
  font: inherit;
}

.login-screen {
  position: relative;
  width: min(100vw, 393px);
  min-height: 100svh;
  margin: 0 auto;
  overflow: hidden;
  background: transparent;
}

@media (min-height: 857px) {
  .login-screen {
    min-height: 857px;
  }
}

.login-card {
  position: absolute;
  top: 176px;
  left: 21px;
  width: calc(100% - 42px);
  min-height: 397px;
  padding: 27px 17px 0;
  background: var(--card-bg);
  border: 3px solid #000000;
  box-shadow: 0 48px 0 var(--card-shadow);
}

.brand-logo {
  display: block;
  width: 138px;
  height: 52px;
  object-fit: cover;
  margin-bottom: 40px;
}

h1 {
  margin: 0;
  color: var(--accent);
  font-family: Poppins, Manrope, Arial, sans-serif;
  font-size: 25px;
  font-style: italic;
  font-weight: 800;
  line-height: 1.52;
  text-transform: uppercase;
}

.login-copy {
  margin: 0 0 41px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.35;
}

.login-form {
  display: grid;
  gap: 14px;
}

.field {
  position: relative;
  display: flex;
  align-items: center;
  height: 55px;
  background: #ffffff;
  border: 1px solid var(--field-border);
}

.field input {
  width: 100%;
  height: 100%;
  padding: 0 48px;
  color: #222222;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 15px;
}

.field input::placeholder {
  color: var(--field-text);
  opacity: 1;
}

.field:focus-within {
  border-color: #000000;
  box-shadow: 0 0 0 1px #000000 inset;
}

.lock-icon {
  position: absolute;
  left: 20px;
  width: 16px;
  height: 18px;
  pointer-events: none;
}

.user-icon {
  position: absolute;
  left: 20px;
  width: 16px;
  height: 18px;
  pointer-events: none;
}

.user-icon::before {
  position: absolute;
  top: 1px;
  left: 4px;
  width: 7px;
  height: 7px;
  content: "";
  border: 1.5px solid var(--field-text);
  border-radius: 50%;
}

.user-icon::after {
  position: absolute;
  left: 1px;
  bottom: 1px;
  width: 13px;
  height: 7px;
  content: "";
  border: 1.5px solid var(--field-text);
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  border-bottom: 0;
}

.lock-icon img {
  width: 14px;
  height: 16px;
  opacity: 0.8;
}

.toggle-password {
  position: absolute;
  right: 18px;
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  cursor: pointer;
  background: transparent;
  border: 0;
}

.eye-icon {
  display: block;
  width: 24px;
  height: 18px;
  color: var(--field-text);
}

.eye-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.eye-outline,
.eye-slash {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.eye-pupil {
  fill: currentColor;
}

.eye-slash {
  display: none;
  stroke-width: 2.2;
}

.toggle-password.is-hidden .eye-slash {
  display: block;
}

.form-message {
  min-height: 18px;
  margin: -4px 0 0;
  color: #b42318;
  font-size: 13px;
  line-height: 1.35;
}

.form-message.success {
  color: #157347;
}

.signin-button {
  position: absolute;
  left: -3px;
  right: -3px;
  bottom: -51px;
  height: 48px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  background: #000000;
  border: 0;
}

.signin-button:disabled {
  cursor: wait;
  opacity: 0.78;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 360px) {
  .login-card {
    left: 16px;
    width: calc(100% - 32px);
    padding-inline: 15px;
  }

  .field input {
    padding-right: 42px;
  }
}
