@font-face { font-family: "Hanken Grotesk"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/hanken-grotesk-400.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/hanken-grotesk-500.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/hanken-grotesk-600.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/hanken-grotesk-700.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/jetbrains-mono-400.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/jetbrains-mono-500.woff2") format("woff2"); }

:root {
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --paper: #edeae1;
  --ink: #3a4854;
  --lamp: #e05d19;
  --lamp-press: #cf5414;
  --panel: #ffffff;
  --slate: #253b49;
  --ink-14: rgba(58, 72, 84, .14);
  --edge: rgba(250, 249, 245, .12);
  --quiet: rgba(250, 249, 245, .55);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
.sd-html, .sd-body { height: 100%; }

.sd-body {
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  background: var(--slate);
  color: var(--paper);
}

#doorUnder {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background: #253b49;
  box-shadow: inset 0 16px 28px rgba(8, 12, 16, .28), inset 0 -16px 28px rgba(8, 12, 16, .22);
}
#doorUnder::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(90% 60% at 82% 0, rgba(224, 93, 25, .07), rgba(0, 0, 0, 0) 55%),
    radial-gradient(110% 70% at 12% 0, rgba(237, 234, 225, .06), rgba(0, 0, 0, 0) 50%);
}
#doorUnder svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.chlane { fill: none; stroke: rgba(237, 234, 225, .14); vector-effect: non-scaling-stroke; }
.chglint { fill: var(--lamp); opacity: .5; }
.chglint.a { animation: chTravel calc(30s / var(--chs, 1)) linear infinite; }
.chring { fill: none; stroke: rgba(237, 234, 225, .16); transform-origin: 50%; transform-box: fill-box; }
.chring.a { animation: chBreathe 16s ease-in-out infinite; }
@keyframes chTravel { 0% { offset-distance: 0%; } 100% { offset-distance: 100%; } }
@keyframes chBreathe { 0%, 100% { opacity: .5; transform: scale(.96); } 50% { opacity: .9; transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .chglint.a, .chring.a { animation: none; } }

.sd-login { position: relative; z-index: 1; min-height: 100%; display: flex; align-items: center; justify-content: center; padding: 24px; }
.sd-kc-header, .sd-kc-header-wrap { display: none; }

.sd-card {
  position: relative; z-index: 1;
  width: 392px; max-width: 94vw;
  background: var(--slate);
  border: 1px solid rgba(250, 249, 245, .08);
  border-radius: 22px;
  padding: 44px 40px 26px;
  box-shadow: 0 1px 2px rgba(58, 72, 84, .06), 0 18px 48px rgba(58, 72, 84, .22);
  display: flex; flex-direction: column; align-items: center;
}

.sd-card:has(ol, img#kc-totp-secret-qr-code) { width: 480px; }

.sd-card ol:not([class]), .sd-card ul:not([class]) { padding-left: 1.35em; }
.sd-card ol:not([class]) li, .sd-card ul:not([class]) li { margin-bottom: 5px; line-height: 1.5; }

.sd-logo { display: block; width: 196px; height: auto; margin: 0; filter: brightness(0) invert(1); }
.sd-tag { font-family: var(--mono); font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--quiet); margin: 14px 0 26px; }

.sd-head { width: 100%; text-align: center; }
#kc-page-title { color: var(--paper); font-size: 15px; font-weight: 600; letter-spacing: -.01em; margin: 0 0 18px; }
.sd-body[data-page-id="login-login"] #kc-page-title { display: none; }

.sd-content, #kc-content, #kc-content-wrapper, #kc-form, #kc-form-wrapper { width: 100%; }
.sd-form { width: 100%; }
.sd-group { width: 100%; margin-bottom: 14px; }
.sd-group:last-child { margin-bottom: 0; }

.sd-label { display: block; font-size: 12px; font-weight: 500; color: var(--quiet); margin-bottom: 6px; }
.sd-label-wrap { display: flex; align-items: baseline; gap: 4px; }
.sd-label-wrap .sd-label { margin-bottom: 0; }
.sd-label-wrap { margin-bottom: 6px; }

.sd-input {
  width: 100%;
  border: 1px solid var(--ink-14); border-radius: 12px;
  padding: 10px 14px; font: inherit; font-size: 14px;
  background: var(--panel); color: var(--ink);
  outline: none;
}
.sd-input:focus { border-color: rgba(224, 93, 25, .5); }
.sd-input[aria-invalid="true"] { border-color: var(--lamp); }
.sd-textarea { min-height: 90px; resize: vertical; }
.sd-input-wrap { width: 100%; }

.sd-inputgroup { position: relative; display: block; width: 100%; }
.sd-inputgroup .sd-input { width: 100%; padding-right: 44px; }
.sd-eye {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; padding: 0;
  border: 0; border-radius: 8px; background: transparent; cursor: pointer;
}
.sd-eye:hover { background: rgba(58, 72, 84, .08); }
.sd-eye i {
  display: block; width: 18px; height: 18px;
  background-repeat: no-repeat; background-position: center; background-size: 18px 18px;
  opacity: .55;
}
.sd-eye:hover i { opacity: .9; }
.sd-eye-show {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a4854' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.8 12S5.4 5.4 12 5.4 22.2 12 22.2 12 18.6 18.6 12 18.6 1.8 12 1.8 12Z'/%3E%3Ccircle cx='12' cy='12' r='3.2'/%3E%3C/svg%3E");
}
.sd-eye-hide {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a4854' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.8 12S5.4 5.4 12 5.4 22.2 12 22.2 12 18.6 18.6 12 18.6 1.8 12 1.8 12Z'/%3E%3Ccircle cx='12' cy='12' r='3.2'/%3E%3Cpath d='M4 4 20 20'/%3E%3C/svg%3E");
}

.sd-error { display: block; margin-top: 6px; font-size: 13px; color: var(--lamp); }

.sd-alert { width: 100%; border: 1px solid var(--edge); border-radius: 12px; padding: 10px 14px; margin-bottom: 16px; font-size: 13px; line-height: 1.5; color: var(--paper); background: rgba(250, 249, 245, .06); }
.sd-alert.alert-error, .sd-alert.pf-m-danger { border-color: rgba(224, 93, 25, .5); }
.sd-alert-title { display: block; }
.sd-fb { display: none; }

.sd-setting, .sd-options, .sd-options-wrap { width: 100%; }
.sd-options { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--quiet); margin-bottom: 6px; }
.sd-card a:not([class]) { color: var(--paper); text-decoration: underline; text-underline-offset: 2px; }
.sd-options a, .sd-options-wrap a, .sd-info-wrap a, .sd-signup a { color: var(--paper); text-decoration: underline; text-underline-offset: 2px; }

.sd-card input[type="checkbox"], .sd-card input[type="radio"] { margin-right: 7px; }
.sd-check, .sd-radio { display: flex; align-items: center; gap: 8px; }
.sd-check-input, .sd-radio-input { accent-color: var(--lamp); }
.sd-check-label, .sd-radio-label { font-size: 13px; color: var(--quiet); }
.sd-choice-disabled { opacity: .5; }
.sd-helper-before, .sd-helper-after { display: block; font-size: 12px; color: var(--quiet); margin-top: 6px; }

.sd-actions, .sd-actions-wrap { width: 100%; }
.sd-b {
  display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  border: 0; border-radius: 12px; padding: 11px 16px;
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background .15s, border-color .15s;
}
.sd-b-block { width: 100%; }
.sd-b-large { padding: 11px 18px; }
.sd-b-primary { width: 100%; margin-top: 4px; background: var(--lamp); color: #fff; }
.sd-b-primary:hover { background: var(--lamp-press); }
.sd-b-default, .sd-b-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  border-radius: 12px; padding: 11px 16px;
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background .15s, border-color .15s;
  text-decoration: none;
  width: 100%; background: rgba(250, 249, 245, .06); color: var(--paper);
  border: 1px solid var(--edge);
}
.sd-b-default:hover, .sd-b-secondary:hover { background: rgba(250, 249, 245, .12); }

.sd-social { width: 100%; }
.sd-social hr { display: none; }
.sd-social h2 { display: none; }
.sd-btns { display: flex; flex-direction: column; gap: 10px; width: 100%; list-style: none; }
.sd-btns-grid { display: flex; flex-direction: column; }
.sd-btns li { width: 100%; }
.sd-btn {
  display: flex; align-items: center; justify-content: center; gap: 11px; width: 100%;
  border: 1px solid var(--edge); border-radius: 12px; padding: 11px 16px;
  font-size: 14px; font-weight: 600; color: var(--slate); background: #ffffff;
  text-decoration: none; transition: border-color .15s, background .15s;
  margin-bottom: 10px;
}
.sd-btn:hover { background: #fbfaf7; border-color: rgba(58, 72, 84, .34); transform: translateY(-1px); }
.sd-btn:active { transform: translateY(0); }
.sd-btn svg { flex: none; width: 18px; height: 18px; }
.sd-btn-name { flex: 1; text-align: center; margin-right: 18px; }
.sd-btn-disabled { opacity: .6; pointer-events: none; }
.sd-btn-grid { width: 100%; }
.sd-idp-logo { display: none; }

.sd-div { display: flex; align-items: center; gap: 12px; width: 100%; margin: 16px 0; color: var(--quiet); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.sd-div::before, .sd-div::after { content: ""; flex: 1; height: 1px; background: var(--edge); }

.sd-auth-list, .sd-otp-list, .sd-codes-list { list-style: none; width: 100%; display: flex; flex-direction: column; gap: 10px; }
.sd-auth-item, .sd-otp-item { display: flex; align-items: center; gap: 12px; width: 100%; border: 1px solid var(--edge); border-radius: 12px; padding: 12px 14px; color: var(--paper); text-decoration: none; }
.sd-auth-item:hover, .sd-otp-item:hover { background: rgba(250, 249, 245, .06); }
.sd-auth-body, .sd-auth-fill { flex: 1; min-width: 0; }
.sd-auth-heading, .sd-auth-title, .sd-otp-title { font-size: 14px; font-weight: 600; }
.sd-auth-desc { font-size: 12.5px; color: var(--quiet); line-height: 1.5; }
.sd-auth-icon, .sd-auth-icon-prop, .sd-auth-arrow, .sd-auth-arrow-icon, .sd-otp-icon, .sd-otp-icon-body, .sd-wa-icon, .sd-wa-key { display: none; }
.sd-otp-input { accent-color: var(--lamp); }
.sd-codes-list { font-family: var(--mono); font-size: 13px; }
.sd-codes-actions { display: flex; gap: 10px; width: 100%; margin-top: 12px; }
.sd-codes-warning { font-size: 12.5px; color: var(--quiet); line-height: 1.5; margin-bottom: 12px; }

.instruction { font-size: 13.5px; color: var(--quiet); line-height: 1.6; margin-bottom: 10px; }
.required { color: var(--lamp); }
.subtitle { font-size: 12px; color: var(--quiet); }
.sd-label-wrap.subtitle { justify-content: center; margin-bottom: 2px; }
.col-md-10 { width: 100%; }

.sd-info-wrap, .sd-signup { width: 100%; text-align: center; font-size: 13px; color: var(--quiet); margin-top: 16px; line-height: 1.6; }
.sd-mt { margin-top: 16px; }
.sd-reset-icon { display: none; }
#kc-username { width: 100%; text-align: center; font-size: 13px; color: var(--quiet); margin-bottom: 14px; }
#kc-attempted-username { color: var(--paper); }

.sd-locale { width: 100%; display: flex; justify-content: flex-end; margin-bottom: 6px; }
.sd-locale-list { list-style: none; }
.sd-locale-link { color: var(--quiet); font-size: 12px; text-decoration: none; }

.sd-foot { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 100%; margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--edge); }
.sd-pb { font-size: 9.5px; font-weight: 600; color: rgba(250, 249, 245, .62); letter-spacing: .02em; }
.sd-ver { font-family: var(--mono); font-size: 10px; color: rgba(250, 249, 245, .42); letter-spacing: .04em; }

button:focus-visible, input:focus-visible, a:focus-visible { outline: 2px solid var(--lamp); outline-offset: 2px; border-radius: 4px; }
