@import url('https://fonts.googleapis.com/css2?family=Rock+Salt&family=Rye&display=swap');

@font-face {
  font-display: swap;
  font-family: 'HenryMcCarty';
  font-style: normal;
  font-weight: normal;
  src: url('../fonts/Henry McCarty.otf') format('opentype');
}

body.frontier-login.frontier-login-old {
  background: url("../images/wf-login-background.png") center / cover no-repeat #1a0c05;
  display: block;
  font-family: Arial, "Inter", sans-serif;
  min-height: 100vh;
  overflow: hidden;
  padding: 0;
}

body.frontier-login.frontier-login-old .frontier-login-stage {
  min-height: 100vh;
}

body.frontier-login.frontier-login-old .frontier-login-legal {
  align-items: center;
  bottom: 0;
  color: rgba(235, 209, 155, 0.82);
  display: flex;
  flex-direction: column;
  font-size: 11px;
  gap: 1px;
  justify-content: center;
  left: 0;
  letter-spacing: 0.035em;
  line-height: 1.45;
  padding: 10px 18px 12px;
  pointer-events: none;
  position: fixed;
  right: 0;
  text-align: center;
  text-shadow: 0 1px 3px #000, 0 0 8px rgba(0, 0, 0, 0.9);
  z-index: 3;
}

body.frontier-login.frontier-login-old .frontier-login-logo {
  display: block;
  filter: drop-shadow(0 7px 5px rgba(0, 0, 0, 0.6));
  height: auto;
  left: 50%;
  margin: 0;
  max-width: 300px;
  position: absolute;
  top: -145px;
  transform: translateX(-50%);
  width: 64%;
  z-index: 4;
}

body.frontier-login.frontier-login-old .rye-regular {
  font-family: "Rye", serif;
  font-style: normal;
  font-weight: 400;
}

body.frontier-login.frontier-login-old .login-modal {
  background-color: rgba(0, 0, 0, 0.8);
  display: block;
  height: 100%;
  left: 0;
  opacity: 1;
  overflow: auto;
  position: fixed;
  top: 0;
  transition: opacity 0.5s ease;
  width: 100%;
  z-index: 1;
}

body.frontier-login.frontier-login-old .login-modal .modal-content {
  animation: frontierLoginSlideIn 0.5s forwards;
  background-color: transparent;
  border: none;
  box-shadow: none;
  left: 50%;
  margin: auto;
  max-width: 500px;
  padding: 20px;
  position: absolute;
  top: calc(50% + 58px);
  transform: translate(-50%, -50%);
  width: 80%;
}

body.frontier-login.frontier-login-old .login-modal .panel {
  background: transparent;
  background-color: transparent !important;
  border: 0;
  box-shadow: none;
  margin: 0;
  position: relative;
}

body.frontier-login.frontier-login-old .login-modal .panel-default {
  background: transparent !important;
  border-color: transparent !important;
}

body.frontier-login.frontier-login-old .login-modal .panel-default .panel-heading {
  box-shadow:
    0 2px 5px rgba(0, 0, 0, 0.1),
    0 8px 10px rgba(0, 0, 0, 0.1),
    0 16px 20px rgba(0, 0, 0, 0.1);
}

body.frontier-login.frontier-login-old .login-modal .panel-default .panel-heading,
body.frontier-login.frontier-login-old .login-modal .panel-default .panel-footer {
  background-color: transparent !important;
  background-image: url("../images/login/wood-panel-sm.png") !important;
  background-position: top center;
  background-repeat: no-repeat;
  background-size: 100% 150%;
  border: none !important;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  color: #fff7c5e6 !important;
  font-size: 20px;
  height: 33px;
  text-transform: uppercase;
}

body.frontier-login.frontier-login-old .login-modal .panel-default .panel-footer {
  background-color: transparent;
  position: relative;
  rotate: 180deg;
  z-index: 2;
}

body.frontier-login.frontier-login-old .login-modal .panel-default .panel-body {
  background-color: transparent;
  background-image: url("../images/login/paper.png") !important;
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  border: none;
  border-top: none;
  color: #fff8cc !important;
  min-height: 120%;
}

body.frontier-login.frontier-login-old .login-modal .without-bg {
  background: none !important;
}

body.frontier-login.frontier-login-old .login-modal .without-bg form {
  color: #ffe7c5;
  margin: 0 auto;
  position: relative;
  text-align: left;
  text-shadow: 1px 1px rgba(0, 0, 0, 0.6);
  width: 60%;
  z-index: 2;
}

body.frontier-login.frontier-login-old .frontier-login-alerts {
  left: 50%;
  margin: 0;
  max-width: min(360px, calc(100vw - 28px));
  pointer-events: none;
  position: fixed;
  top: 24px;
  transform: translateX(-50%);
  width: 100%;
  z-index: 30;
}

body.frontier-login.frontier-login-old .frontier-login-alerts:empty {
  display: none;
}

body.frontier-login.frontier-login-old .frontier-login-alerts .frontier-hud-alert {
  animation: frontierLoginToastIn 260ms ease-out both;
  align-items: center;
  backdrop-filter: none;
  background:
    linear-gradient(100deg, rgba(255, 240, 199, 0.92), rgba(220, 180, 115, 0.84)),
    url("../images/login/paper.png") center / cover;
  border: 1px solid #704621;
  border-left: 4px solid #a93327;
  border-radius: 7px;
  box-shadow:
    0 3px 8px rgba(38, 18, 7, 0.28),
    inset 0 0 0 1px rgba(255, 244, 204, 0.55);
  color: #2d190d;
  display: grid;
  gap: 0 10px;
  grid-template-columns: 30px minmax(0, 1fr);
  grid-template-rows: auto auto;
  max-width: 360px;
  min-height: 58px;
  padding: 9px 12px 9px 10px;
  pointer-events: auto;
  position: relative;
  text-align: left;
  text-shadow: none;
  width: 100%;
}

body.frontier-login.frontier-login-old .frontier-login-alerts .frontier-hud-alert-icon {
  align-items: center;
  align-self: center;
  background: rgba(115, 43, 28, 0.12);
  border: 1px solid rgba(115, 43, 28, 0.42);
  border-radius: 50%;
  color: #8d241b;
  display: flex;
  font-family: Arial, sans-serif;
  font-size: 17px;
  font-weight: 800;
  grid-column: 1;
  grid-row: 1 / span 2;
  height: 30px;
  justify-content: center;
  line-height: 1;
  width: 30px;
}

body.frontier-login.frontier-login-old .frontier-login-alerts .frontier-hud-alert-icon::before {
  content: "!";
}

body.frontier-login.frontier-login-old .frontier-login-alerts .frontier-hud-alert-title {
  color: #4b260e;
  display: block;
  font-family: "Rye", serif;
  font-size: 12px;
  font-weight: 400;
  grid-column: 2;
  letter-spacing: 0.035em;
  line-height: 1.25;
  margin: 0 0 2px;
}

body.frontier-login.frontier-login-old .frontier-login-alerts .frontier-hud-alert-content {
  color: #3a2112;
  font-size: 12px;
  grid-column: 2;
  line-height: 1.35;
  margin: 0;
}

body.frontier-login.frontier-login-old .frontier-login-alerts .frontier-hud-alert-close,
body.frontier-login.frontier-login-old .frontier-login-alerts .frontier-hud-alert-timer {
  display: none;
}

body.frontier-login.frontier-login-old .frontier-login-alerts .frontier-login-alert-logout {
  animation:
    frontierLoginToastIn 260ms ease-out both,
    frontierLoginToastOut 360ms ease-in 5.2s forwards;
  border-left-color: #55723b;
}

body.frontier-login.frontier-login-old .frontier-login-alerts .frontier-login-alert-logout .frontier-hud-alert-icon {
  background: rgba(67, 101, 43, 0.15);
  border-color: rgba(67, 101, 43, 0.5);
  color: #355927;
}

body.frontier-login.frontier-login-old .frontier-login-alerts .frontier-login-alert-logout .frontier-hud-alert-icon::before,
body.frontier-login.frontier-login-old .frontier-login-alerts .frontier-hud-alert-success .frontier-hud-alert-icon::before {
  content: "\2713";
}

body.frontier-login.frontier-login-old .frontier-login-alerts .frontier-hud-alert-success {
  border-left-color: #55723b;
}

body.frontier-login.frontier-login-old .frontier-login-alerts .frontier-hud-alert-success .frontier-hud-alert-icon {
  color: #355927;
}

body.frontier-login.frontier-login-old .frontier-login-alerts .frontier-hud-alert-info {
  border-left-color: #876421;
}

body.frontier-login.frontier-login-old .frontier-login-alerts .frontier-hud-alert-info .frontier-hud-alert-icon::before {
  content: "i";
}

@keyframes frontierLoginToastIn {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes frontierLoginToastOut {
  to {
    opacity: 0;
    transform: translateY(-8px) scale(0.985);
    visibility: hidden;
  }
}

body.frontier-login.frontier-login-old .login-modal .login-input {
  height: 90px;
  position: relative;
}

body.frontier-login.frontier-login-old .login-modal .login-input input {
  background-color: #e6cc9ea0;
  border: 2px solid #482e1d;
  border-radius: 10px;
  box-shadow:
    0 0 0 2px #3b1d0aa9,
    inset 2px 2px 4px rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
  color: #000000;
  padding: 10px;
  position: relative;
  z-index: 1;
}

body.frontier-login.frontier-login-old .login-modal .login-input input:hover {
  background-color: #f5deb8a0;
  border: 2px solid #6b442b;
  border-radius: 10px;
  box-shadow:
    0 0 0 2px #6b3e17a9,
    inset 2px 2px 4px rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
  color: #222222;
  padding: 10px;
  position: relative;
  z-index: 1;
}

body.frontier-login.frontier-login-old .login-modal .login-input input:focus,
body.frontier-login.frontier-login-old .login-modal .login-input input:-webkit-autofill {
  border: 2px solid #6b442b;
  box-shadow:
    0 0 0 4px #6b442b,
    inset 2px 2px 4px rgba(0, 0, 0, 0.5);
  color: #000000;
  outline: none;
}

body.frontier-login.frontier-login-old .login-modal .login-input input::placeholder {
  color: #000000;
}

body.frontier-login.frontier-login-old .login-modal .invalid-feedback {
  color: #2b1708;
  font-weight: 700;
  text-shadow: none;
}

body.frontier-login.frontier-login-old .login-modal .login-button {
  background-color: #e6cc9ea0;
  border: 2px solid #482e1d;
  border-radius: 10px;
  box-shadow:
    0 0 0 2px #3b1d0aa9,
    inset 2px 2px 4px rgba(0, 0, 0, 0.5);
  color: #000000;
  padding: 5px 10px;
}

body.frontier-login.frontier-login-old .login-modal .login-button:active,
body.frontier-login.frontier-login-old .login-modal .login-button:focus,
body.frontier-login.frontier-login-old .login-modal .login-button:hover {
  background-color: #f5deb8a0;
  border: 2px solid #6b442b;
  border-radius: 10px;
  box-shadow:
    0 0 0 2px #5a2c10a9,
    inset 2px 2px 4px rgba(75, 75, 75, 0.5);
  color: #222222;
  padding: 5px 10px;
}

body.frontier-login.frontier-login-old .login-modal .login-button:active {
  background-color: #ffe5b7a0;
  border: 2px solid #7c543a;
  box-shadow:
    0 0 0 2px #653b21a9,
    inset 2px 2px 4px rgba(75, 75, 75, 0.5);
  color: #272727;
}

body.frontier-login.frontier-login-old .login-modal .barrel {
  bottom: -30px !important;
  pointer-events: none;
  position: absolute !important;
  right: -50px !important;
  z-index: 3;
}

body.frontier-login.frontier-login-old .login-modal .barrel img {
  height: 250px;
  max-width: none;
}

body.frontier-login.frontier-login-old .login-modal .cactus {
  bottom: 6px !important;
  left: -30px !important;
  pointer-events: none;
  position: absolute !important;
  z-index: 1;
}

body.frontier-login.frontier-login-old .login-modal .cactus img {
  height: 200px;
  max-width: none;
}

@keyframes frontierLoginSlideIn {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 18px));
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 767px) {
  body.frontier-login.frontier-login-old .login-modal .modal-content {
    top: calc(50% + 24px);
  }

  body.frontier-login.frontier-login-old .login-modal .cactus {
    bottom: 28px !important;
    left: -38px !important;
  }

  body.frontier-login.frontier-login-old .login-modal .barrel {
    bottom: -34px !important;
    right: -44px !important;
  }

  body.frontier-login.frontier-login-old .login-modal .without-bg form {
    width: 60%;
  }
}

@media (max-width: 600px) {
  body.frontier-login.frontier-login-old {
    overflow: auto;
  }

  body.frontier-login.frontier-login-old .login-modal {
    overflow: hidden;
  }

  body.frontier-login.frontier-login-old .frontier-login-alerts {
    max-width: calc(100vw - 24px);
    top: 12px;
  }

  body.frontier-login.frontier-login-old .login-modal .modal-content {
    background-size: 100% 80%;
    margin-top: 20px;
    padding: 10px;
    width: 100%;
  }

  body.frontier-login.frontier-login-old .login-modal .panel {
    margin-top: 0 !important;
  }

  body.frontier-login.frontier-login-old .login-modal .cactus {
    bottom: 28px !important;
    left: -38px !important;
  }

  body.frontier-login.frontier-login-old .login-modal .barrel {
    bottom: -34px !important;
    right: -44px !important;
  }

  body.frontier-login.frontier-login-old .login-modal .without-bg form {
    width: 80%;
  }

  body.frontier-login.frontier-login-old .frontier-login-legal {
    font-size: 9px;
    gap: 1px;
    padding: 8px 12px 9px;
  }

  body.frontier-login.frontier-login-old .frontier-login-legal span {
    display: block;
    width: 100%;
  }

  body.frontier-login.frontier-login-old .frontier-login-logo {
    max-width: 220px;
    top: -112px;
    width: 58%;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.frontier-login.frontier-login-old .frontier-login-alerts .frontier-hud-alert {
    animation: none;
  }
}
