* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  min-height: 100%;
  background: #f7f9fa;
}
body {
  margin: 0;
  min-height: 100svh;
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #172b3a;
  display: flex;
  flex-direction: column;
}
.login-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: #fafcfd url("/brand/fpso-login.png") left center/cover no-repeat;
  pointer-events: none;
}
.login-header,
.login-layout,
.login-footer {
  position: relative;
  z-index: 1;
}
.login-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 4.2%;
  gap: 20px;
}
.login-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  background: #fff;
  border: 1px solid #d8e2e8;
  border-radius: 14px;
  box-shadow: 0 6px 24px #142d4014;
  color: #102b3e;
  text-decoration: none;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: 2.5px;
  font-weight: 800;
  flex-shrink: 0;
}
.brand-symbol {
  display: grid;
  place-content: center;
  border: 1px solid #183e50;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  font-size: 29px;
  letter-spacing: -3px;
  font-weight: 650;
  border-radius: 10px;
  background: #183e50;
  color: #fff;
}
.brand-symbol span {
  color: #a7d5df;
  display: contents;
}
.brand-subtitle {
  display: block;
  margin-top: 7px;
  color: #284454;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 1.5px;
  font-weight: 750;
}
.access-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #546774;
  font-size: 11px;
  letter-spacing: 0.6px;
}
.access-label > span {
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background: #5d818c;
}
.login-layout {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
  align-items: center;
  gap: 5%;
  padding: 28px 6.5% 36px;
}
.login-entry {
  grid-column: 2;
  width: 100%;
  min-width: 0;
}
.login-panel {
  width: 100%;
  padding: 36px;
  background: #fff;
  border: 1px solid #dce5ea;
  border-radius: 20px;
  box-shadow: 0 16px 56px #183e5010;
  outline: none;
}
.login-heading {
  margin-bottom: 22px;
}
.eyebrow {
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 1.65px;
  font-weight: 750;
  color: #486e7b;
  margin: 0 0 13px;
}
h1 {
  font-size: clamp(32px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: -1.3px;
  font-weight: 650;
  margin: 0 0 13px;
}
.intro {
  font-size: 14px;
  line-height: 1.65;
  color: #526976;
  margin: 0;
}
.sign-in-hint {
  font-size: 12px;
  line-height: 1.5;
  color: #465e6c;
  margin: 0 0 9px;
  font-weight: 550;
}
.sign-in-form {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e3e9ed;
  display: grid;
  gap: 10px;
}
.sign-in-provider {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.sign-in-provider svg {
  flex: none;
  background: #fff;
  padding: 3px;
  border-radius: 4px;
  box-sizing: content-box;
}
.sign-in-status {
  min-height: 1.5em;
  margin: 2px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #304f61;
}
.sign-in-status[data-tone="error"] {
  color: #b42318;
}
.sign-in-button {
  font: inherit;
  cursor: pointer;
  width: 100%;
  min-height: 52px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: #183e50;
  color: white;
  border: 1px solid #183e50;
  border-radius: 9px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  box-shadow: 0 4px 12px #1434480d;
}
.sign-in-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.sign-in-button[aria-busy="true"] {
  cursor: progress;
}
.sign-in-button:hover {
  background: #245568;
}
.sign-in-secondary {
  background: #fff;
  color: #183e50;
  border-color: #cddae1;
  box-shadow: none;
}
.sign-in-secondary:hover {
  background: #f1f6f8;
}
.email-sign-in-form {
  display: grid;
  gap: 10px;
}
.email-sign-in-form label {
  font-size: 13px;
  font-weight: 600;
  color: #304f61;
}
.email-sign-in-form input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  border: 1px solid #b7c8d2;
  border-radius: 8px;
  padding: 11px 13px;
  font: inherit;
  font-size: 16px;
  color: #172b3a;
  background: #fff;
}
.email-sign-in-form input:disabled {
  background: #f4f6f7;
  color: #526976;
}
#sign-in-code {
  font-size: 25px;
  letter-spacing: 0.4em;
  font-variant-numeric: tabular-nums;
}
.code-destination {
  margin: 0 0 4px;
  overflow-wrap: anywhere;
  color: #304f61;
  font-size: 13px;
  font-weight: 600;
}
.code-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 10px;
}
.code-actions button {
  min-height: 44px;
  border: 0;
  background: transparent;
  color: #245568;
  font: inherit;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  padding: 6px 2px;
}
.code-actions button:disabled {
  color: #657883;
  cursor: not-allowed;
  text-decoration: none;
}
.sign-in-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0 16px;
  color: #526976;
  font-size: 12px;
}
.sign-in-divider::before,
.sign-in-divider::after {
  content: "";
  height: 1px;
  background: #e3e9ed;
  flex: 1;
}
button:focus-visible,
input:focus-visible {
  outline: 3px solid #267b9a;
  outline-offset: 3px;
}
.access-help {
  font-size: 11px;
  line-height: 1.7;
  color: #526976;
  text-align: center;
  margin: 24px 0 0;
}
.access-help span {
  color: #304f61;
  font-weight: 550;
}
.login-footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 23px;
}
.login-footer-brand img {
  width: 126px;
  height: auto;
  mix-blend-mode: multiply;
}
.login-footer-brand span {
  border-left: 1px solid #ccd7dc;
  padding-left: 14px;
  color: #536b79;
  font-size: 10px;
}
.login-footer {
  padding: 18px 4.2%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #183e50;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.6;
  letter-spacing: 0.2px;
  background: #fff;
  border-top: 1px solid #dce5ea;
}
a:focus-visible {
  outline: 3px solid #267b9a;
  outline-offset: 5px;
}
.skip-link {
  position: fixed;
  left: 15px;
  top: -70px;
  z-index: 5;
  background: white;
  padding: 12px;
  color: #183e50;
}
.skip-link:focus {
  top: 12px;
}
@media (min-width: 1500px) {
  .login-layout {
    padding-right: 10%;
  }
}
@media (max-width: 1050px) {
  .login-layout {
    padding-right: 5%;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  }
  .login-panel {
    padding: 28px;
  }
  .login-background {
    background-position: 30% center;
  }
}
@media (max-width: 700px) {
  .login-header {
    padding: 24px;
  }
  .login-brand {
    padding: 13px 14px;
    gap: 12px;
    font-size: 25px;
  }
  .brand-symbol {
    width: 42px;
    height: 42px;
    font-size: 27px;
  }
  .brand-subtitle {
    font-size: 8.5px;
    letter-spacing: 1.1px;
  }
  .access-label {
    display: none;
  }
  .login-background {
    background-position: 25% top;
    background-size: auto 65vh;
  }
  .login-background:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #ffffff36, #f7f9faf0 58%, #f7f9fa);
  }
  .login-layout {
    display: block;
    padding: 42px 20px 30px;
  }
  .login-entry {
    max-width: 440px;
    margin: 0 auto;
  }
  .login-panel {
    padding: 28px 24px;
    border-radius: 16px;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 1.3px;
  }
  h1 {
    font-size: 34px;
  }
  .login-footer {
    padding: 20px 24px;
    justify-content: center;
    text-align: center;
  }
  .login-footer > span:last-child {
    display: none;
  }
}
@media (max-width: 360px) {
  .login-panel {
    padding: 25px 20px;
  }
  h1 {
    font-size: 32px;
  }
}
@media (max-height: 760px) and (min-width: 701px) {
  .login-header {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .login-layout {
    padding-top: 10px;
    padding-bottom: 16px;
  }
  .login-panel {
    padding-top: 28px;
    padding-bottom: 28px;
  }
  .login-heading {
    margin-bottom: 23px;
  }
  .login-footer-brand {
    margin-top: 18px;
  }
  .login-footer {
    padding-bottom: 16px;
  }
}
