:root {
  --ls-ink: #11100f;
  --ls-cream: #f1e4c8;
  --ls-paper: #f6eddc;
  --ls-red: #752e2c;
  --ls-rust: #ad5934;
  --ls-orange: #c66b3d;
  --ls-display: "Bebas Neue", "Barlow Condensed", Impact, sans-serif;
  --ls-utility: "Barlow Condensed", Impact, sans-serif;
  --ls-body: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.login {
  min-height: 100vh;
  color: var(--ls-cream);
  background:
    linear-gradient(100deg, rgba(17,16,15,.97), rgba(17,16,15,.85) 54%, rgba(77,31,31,.74)),
    var(--last-shot-login-bg, linear-gradient(135deg, #211b18, #0d0c0b));
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  font-family: var(--ls-body);
}

body.login::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(241,228,200,.025) 0 1px, transparent 1px 5px),
    linear-gradient(90deg, rgba(117,46,44,.12), transparent 30%, transparent 72%, rgba(173,89,52,.08));
}

body.login::after {
  content: "";
  position: fixed;
  z-index: 0;
  inset: 0 0 auto;
  height: 10px;
  background:
    linear-gradient(45deg, var(--ls-cream) 25%, transparent 25%, transparent 75%, var(--ls-cream) 75%),
    linear-gradient(45deg, var(--ls-cream) 25%, var(--ls-ink) 25%, var(--ls-ink) 75%, var(--ls-cream) 75%);
  background-position: 0 0, 9px 9px;
  background-size: 18px 18px;
}

.login #login {
  position: relative;
  z-index: 1;
  width: min(430px, calc(100% - 40px));
  padding: clamp(38px, 7vh, 72px) 0 40px;
}

.login h1 a {
  width: min(270px, 70vw);
  height: 135px;
  margin: 0 auto 28px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: drop-shadow(7px 8px 0 rgba(117,46,44,.72)) drop-shadow(0 18px 32px rgba(0,0,0,.36));
}

.login form {
  position: relative;
  margin-top: 0;
  padding: 34px;
  border: 4px solid var(--ls-ink);
  border-radius: 17px;
  outline: 2px solid var(--ls-cream);
  background: rgba(246,237,220,.97);
  box-shadow: 12px 12px 0 rgba(117,46,44,.9), 0 30px 70px rgba(0,0,0,.34);
}

.login form::before,
.login form::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ls-ink);
  box-shadow: inset 1px 1px 0 rgba(255,255,255,.35);
}

.login form::before { top: 13px; left: 13px; }
.login form::after { right: 13px; bottom: 13px; }

.login label {
  color: #5f5144;
  font: 800 .76rem/1 var(--ls-utility);
  letter-spacing: .13em;
  text-transform: uppercase;
}

.login form .input,
.login input[type="text"],
.login input[type="password"],
.login input[type="email"] {
  min-height: 50px;
  margin-top: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(17,16,15,.28);
  border-radius: 8px;
  background: rgba(255,255,255,.58);
  color: var(--ls-ink);
  font-family: var(--ls-body);
  font-size: 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
}

.login form .input:focus,
.login input[type="text"]:focus,
.login input[type="password"]:focus,
.login input[type="email"]:focus {
  border-color: var(--ls-rust);
  box-shadow: 0 0 0 3px rgba(173,89,52,.2);
  outline: none;
}

.login .button.wp-hide-pw {
  color: #68594b;
}

.login .button.wp-hide-pw:hover,
.login .button.wp-hide-pw:focus {
  color: var(--ls-red);
  border-color: transparent;
  box-shadow: none;
}

.login .forgetmenot label {
  color: #6b5d50;
  font-family: var(--ls-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.login input[type="checkbox"] {
  border-color: rgba(17,16,15,.35);
  background: rgba(255,255,255,.7);
  box-shadow: none;
}

.login input[type="checkbox"]:checked::before {
  content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='%23752e2c' d='M7.6 14.6 3.4 10.4l1.4-1.4 2.8 2.8 7.6-7.6 1.4 1.4z'/></svg>");
}

.wp-core-ui .button-primary {
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 7px;
  background: var(--ls-red);
  color: var(--ls-cream);
  font: 800 .9rem/1 var(--ls-utility);
  letter-spacing: .1em;
  text-transform: uppercase;
  box-shadow: 5px 5px 0 var(--ls-rust);
}

.wp-core-ui .button-primary:hover,
.wp-core-ui .button-primary:focus {
  background: #8a3734;
  color: #fff7e7;
  box-shadow: 4px 4px 0 var(--ls-rust);
}

.login #nav,
.login #backtoblog,
.login .privacy-policy-page-link {
  text-align: center;
}

.login #nav a,
.login #backtoblog a,
.login .privacy-policy-page-link a {
  color: rgba(241,228,200,.76);
  font-family: var(--ls-utility);
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
}

.login #nav a:hover,
.login #nav a:focus,
.login #backtoblog a:hover,
.login #backtoblog a:focus,
.login .privacy-policy-page-link a:hover,
.login .privacy-policy-page-link a:focus {
  color: var(--ls-orange);
}

.login .message,
.login .notice,
.login #login_error {
  border-left: 4px solid var(--ls-rust);
  border-radius: 10px;
  background: rgba(246,237,220,.97);
  color: var(--ls-ink);
  box-shadow: 0 18px 44px rgba(0,0,0,.28);
}

.login #login_error { border-left-color: #b83732; }

.login .language-switcher { color: rgba(241,228,200,.76); }
.login .language-switcher select,
.login .language-switcher .button {
  border-color: rgba(241,228,200,.24);
  border-radius: 7px;
  background: rgba(17,16,15,.78);
  color: var(--ls-cream);
}

.last-shot-login-credit {
  position: relative;
  z-index: 1;
  margin: 4px 0 30px;
  color: rgba(241,228,200,.5);
  font: 700 .68rem/1 var(--ls-utility);
  letter-spacing: .1em;
  text-align: center;
  text-transform: uppercase;
}

.last-shot-login-credit a {
  color: rgba(241,228,200,.76);
  text-decoration: none;
}

.last-shot-login-credit a:hover,
.last-shot-login-credit a:focus { color: var(--ls-orange); }

@media (max-width: 480px) {
  .login #login {
    width: calc(100% - 28px);
    padding-top: 32px;
  }

  .login h1 a {
    width: 230px;
    height: 112px;
    margin-bottom: 22px;
  }

  .login form {
    padding: 28px 24px;
  }
}
