@import url("/brand/pre-theme.css");

body {
  background: #fff;
  color: var(--pre-ink);
}
.login-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  min-height: calc(100vh - 85px);
}
.login-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 52px clamp(35px, 6vw, 95px);
  border-right: 1px solid var(--pre-line);
  background: #f3f5fa;
  color: var(--pre-navy);
}
.login-horus {
  display: block;
  width: min(290px, 90%);
  height: auto;
}
.login-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 70px;
  padding: 65px clamp(28px, 6vw, 90px) 28px;
}
.login-form-container {
  width: 100%;
  max-width: 380px;
  margin-block: auto;
}
.login-kicker {
  margin: 0 0 12px;
  color: var(--pre-blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.login-form-container h1 {
  margin: 0 0 14px;
  color: var(--pre-navy);
  font-size: 46px;
  font-weight: 600;
  line-height: 1.1;
}
.login-intro {
  margin: 0 0 34px;
  color: var(--pre-muted);
  font-size: 13px;
  line-height: 1.7;
}
.login-form-container label {
  display: block;
  margin: 22px 0 9px;
  color: #263757;
  font-size: 12px;
  font-weight: 600;
}
.login-form-container input:not([type="hidden"]) {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid #c5cddd;
  border-radius: 4px;
  outline: none;
  background: #fff;
  color: var(--pre-ink);
  font-size: 14px;
}
.login-form-container input:focus {
  border-color: var(--pre-blue);
  box-shadow: 0 0 0 3px rgb(41 69 138 / 0.16);
}
.login-form-container button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-height: 46px;
  margin-top: 28px;
  padding: 12px 17px;
  border: 1px solid var(--pre-blue);
  border-radius: 4px;
  background: var(--pre-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.login-form-container button:hover {
  background: var(--pre-navy);
  border-color: var(--pre-navy);
}
.login-form-container button span {
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}
.login-access-note {
  margin: 24px 0 0;
  padding-top: 22px;
  border-top: 1px solid #e4e8f1;
  color: #7c879e;
  font-size: 11px;
  line-height: 1.7;
}
.login-footer {
  width: 100%;
  max-width: 380px;
  color: #7c879e;
  font-size: 10px;
}
.error {
  padding: 12px 14px;
  margin-top: 20px;
  border-left: 3px solid var(--pre-red);
  background: #fff2f5;
  color: #a00025;
  font-size: 12px;
  line-height: 1.65;
}
@media (max-width: 800px) {
  .app-header {
    min-height: 76px;
    padding-inline: 20px;
  }
  .app-brand {
    gap: 14px;
  }
  .app-brand > img {
    width: 72px;
    height: 42px;
  }
  .app-brand > div {
    padding-left: 14px;
  }
  .app-brand > div > span {
    font-size: 24px;
  }
  .login-layout {
    min-height: calc(100vh - 76px);
    grid-template-columns: minmax(0, 1fr);
  }
  .login-visual {
    padding: 28px;
  }
  .login-horus {
    width: 150px;
  }
  .login-panel {
    gap: 35px;
    padding: 36px 25px 25px;
  }
  .login-form-container h1 {
    font-size: 38px;
  }
}
@media (max-width: 520px) {
  .app-header {
    padding-inline: 16px;
  }
  .login-intro {
    margin-bottom: 25px;
  }
}
