/* ============================================================
   Dékolé · sign in (/user/login) and create account (/user/register)
   ------------------------------------------------------------
   The Haiti reference's account gateway ("order-portal", seen on
   https://dekole-haiti.gogor.chatgpt.site/track-order): its class
   names and values, measured in Chrome (2026-11-12) — shell 1240,
   Geist 400 headings. The reference loads Geist 400 only, so its 680 /
   720 / 850 bolds are drawn by the browser (lighter, narrower); our page
   has the real weights, so they are set lower here to look the same.
   Scoped under .dka so
   the generic names (.auth-field, .order-shell…) touch nothing else.
   Forms, names and scripts are the pages' own (IndexController).
   ============================================================ */
.dka {
  --cyan: #63e7ff;
  font-family: var(--dnh-font, 'Geist', 'Inter', system-ui, sans-serif);
  font-size: 16px;
  line-height: 1.5;
  color: #f4fdff;
  -webkit-font-smoothing: antialiased;
}
.dka *, .dka *::before, .dka *::after { box-sizing: border-box; }
.dka :where(h1, h2, p, ul, label, small) { font-family: inherit; }
.dka :where(input, button) { font: inherit; }

.dka.order-portal {
  background:
    radial-gradient(circle at 16% 32%, #4a1dc04f, #0000 28%),
    radial-gradient(circle at 82% 54%, #00d2ff1a, #0000 24%),
    linear-gradient(145deg, #020509, #080512 64%, #03060a);
  border-bottom: 1px solid #63e7ff2e;
  min-height: 810px;
  padding: 92px 0;
  position: relative;
  overflow: hidden;
}
.dka.order-portal::before {
  content: "SECURE ACCOUNT PROTOCOL / ORDER NETWORK";
  color: #63e7ff57;
  letter-spacing: .2em;
  writing-mode: vertical-rl;
  font-family: monospace;
  font-size: .56rem;
  position: absolute;
  bottom: 24px;
  right: 22px;
}
.dka .order-matrix {
  opacity: .42;
  background-image: linear-gradient(#63e7ff0e 1px, #0000 1px), linear-gradient(90deg, #63e7ff0e 1px, #0000 1px);
  background-size: 46px 46px;
  position: absolute;
  inset: 0;
  -webkit-mask-image: linear-gradient(90deg, #000, #0000 52%, #000);
  mask-image: linear-gradient(90deg, #000, #0000 52%, #000);
}
.dka .order-matrix i { background: var(--cyan); width: 5px; height: 5px; box-shadow: 0 0 15px var(--cyan); border-radius: 50%; position: absolute; }
.dka .order-matrix i:nth-child(1) { top: 17%; left: 8%; }
.dka .order-matrix i:nth-child(2) { top: 71%; left: 28%; }
.dka .order-matrix i:nth-child(3) { top: 29%; left: 44%; }
.dka .order-matrix i:nth-child(4) { top: 20%; right: 11%; }
.dka .order-matrix i:nth-child(5) { bottom: 12%; right: 32%; }
.dka .order-matrix i:nth-child(6) { bottom: 42%; right: 4%; }

/* The reference's .site-shell: min(1240px, 100% - 44px) at every width. */
.dka .order-shell {
  width: min(1240px, calc(100% - 44px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr .88fr;
  align-items: center;
  gap: 7vw;
  position: relative;
}

/* ---------- Left: the promise ---------- */
.dka .order-intro { min-width: 0; }
.dka .order-protocol {
  color: var(--cyan);
  letter-spacing: .15em;
  text-transform: uppercase;
  background: #63e7ff0d;
  border: 1px solid #63e7ff40;
  border-radius: 4px 14px;
  align-items: center;
  gap: 10px;
  padding: 8px 13px;
  font-size: .62rem;
  font-weight: 600;
  display: inline-flex;
}
.dka .order-protocol i { background: #48ffc2; border-radius: 50%; width: 7px; height: 7px; box-shadow: 0 0 13px #48ffc2; }
.dka .order-brand-chip {
  color: #63e7ff57;
  letter-spacing: .16em;
  border-bottom: 1px solid #63e7ff2b;
  justify-content: space-between;
  align-items: center;
  max-width: 550px;
  margin: 55px 0 26px;
  padding-bottom: 20px;
  font-family: monospace;
  font-size: .55rem;
  display: flex;
}
.dka .order-brand-chip img { width: 155px; height: auto; }
.dka .order-intro h1 {
  color: #f4fdff;
  letter-spacing: -.075em;
  max-width: 650px;
  margin: 0;
  font-size: clamp(4rem, 7vw, 7.1rem);
  font-weight: 400;
  line-height: .84;
  text-transform: none;
}
.dka .order-intro h1 em {
  color: #0000;
  background: linear-gradient(90deg, var(--cyan), #a77aff 70%);
  -webkit-background-clip: text;
  background-clip: text;
  font-style: normal;
}
.dka .order-intro > p { color: #8ca4af; max-width: 590px; margin: 28px 0 34px; font-size: 1.03rem; line-height: 1.7; text-wrap: pretty; }
.dka .signal-lead strong { color: #f0fcff; font-weight: 600; }
.dka .order-intro ul { gap: 12px; margin: 0; padding: 0; list-style: none; display: grid; }
.dka .order-intro li { color: #b7cad2; grid-template-columns: 34px 1fr; align-items: center; gap: 10px; font-size: .84rem; display: grid; }
.dka .order-intro li b { color: var(--cyan); letter-spacing: .1em; font-family: monospace; font-size: .6rem; font-weight: 700; white-space: nowrap; }
.dka .order-intro li b::after { content: ""; vertical-align: middle; background: var(--cyan); width: 12px; height: 1px; box-shadow: 0 0 8px var(--cyan); margin-left: 5px; display: inline-block; }
.dka .security-pulse { align-items: center; gap: 13px; margin-top: 38px; display: flex; }
.dka .security-pulse > span { flex: 0 0 auto; border: 1px solid #48ffc273; border-radius: 50%; width: 34px; height: 34px; position: relative; box-shadow: inset 0 0 12px #48ffc226; }
.dka .security-pulse > span::after { content: ""; background: #48ffc2; border-radius: 50%; animation: dka-status-pulse 2s ease-in-out infinite; position: absolute; inset: 11px; box-shadow: 0 0 13px #48ffc2; }
.dka .security-pulse strong, .dka .security-pulse small { display: block; }
.dka .security-pulse strong { color: #9fffdc; font-size: .72rem; font-weight: 600; }
.dka .security-pulse small { color: #4f6d78; letter-spacing: .12em; margin-top: 3px; font-family: monospace; font-size: .5rem; text-transform: uppercase; }

/* ---------- Right: the gateway card ---------- */
.dka .auth-terminal {
  background:
    linear-gradient(145deg, #63e7ff12, #0000 30%),
    linear-gradient(315deg, #9b5cff1c, #0000 35%),
    #05090fe6;
  border: 1px solid #63e7ff47;
  border-radius: 8px 46px;
  padding: 64px 46px 40px;
  position: relative;
  overflow: hidden;
  min-width: 0;
  box-shadow: 0 35px 100px #00000080, 0 0 50px #5926c421, inset 0 0 50px #63e7ff06;
}
.dka .auth-terminal::after {
  content: "";
  pointer-events: none;
  border: 1px solid #63e7ff1a;
  border-radius: 50%;
  width: 190px;
  height: 190px;
  position: absolute;
  bottom: -70px;
  right: -70px;
  box-shadow: 0 0 0 22px #63e7ff05, 0 0 0 44px #9b5cff05;
}
.dka .terminal-top {
  color: #63e7ff73;
  letter-spacing: .16em;
  border-bottom: 1px solid #63e7ff29;
  justify-content: space-between;
  align-items: center;
  min-height: 34px;
  padding: 0 20px;
  font-family: monospace;
  font-size: .52rem;
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}
.dka .terminal-core { width: 58px; height: 58px; position: absolute; top: 51px; right: 36px; }
.dka .terminal-core span, .dka .terminal-core i { border: 1px solid #63e7ff61; border-radius: 50%; animation: dka-core-spin 8s linear infinite; position: absolute; inset: 0; }
.dka .terminal-core i { border-color: #9b5cffbf; animation-direction: reverse; inset: 8px; }
.dka .terminal-core b { color: #04100c; background: #48ffc2; border-radius: 50%; place-items: center; font-size: .64rem; display: grid; position: absolute; inset: 17px; box-shadow: 0 0 18px #48ffc2b3; }
.dka .auth-kicker { color: var(--cyan); letter-spacing: .18em; text-transform: uppercase; font-size: .58rem; }
.dka .auth-terminal h2 { color: #f6fdff; letter-spacing: -.05em; margin: 8px 0 5px; font-size: 2.5rem; font-weight: 400; line-height: 1.5; }
.dka .auth-terminal > p { color: #79919c; margin: 0 0 30px; font-size: .8rem; }
.dka .auth-terminal > p a, .dka .password-label a, .dka .auth-terms a, .dka .remember-device a { color: #b58cff; text-decoration: none; }
.dka .auth-terminal > p a:hover, .dka .password-label a:hover, .dka .auth-terms a:hover, .dka .remember-device a:hover { color: #d2b8ff; text-decoration: underline; }

.dka .auth-form { margin: 0; }
.dka .auth-form label { display: inline; margin: 0; color: #d9eaf0; font-size: .72rem; font-weight: 580; }
.dka .auth-field {
  background: #01050aa6;
  border: 1px solid #63e7ff30;
  border-radius: 5px 16px;
  align-items: center;
  gap: 12px;
  height: 52px;
  margin: 8px 0 18px;
  padding: 0 15px;
  transition: border-color .2s, box-shadow .2s;
  display: flex;
}
.dka .auth-field:focus-within { border-color: #63e7ffa6; box-shadow: 0 0 22px #63e7ff17; }
.dka .auth-field > span { color: #5d7782; flex: 0 0 auto; width: 14px; text-align: center; }
.dka .auth-field input {
  color: #fff;
  background: 0 0;
  border: 0;
  outline: 0;
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0;
  font-size: 16px;
  box-shadow: none;
}
.dka .auth-field input::placeholder { color: #516873; opacity: 1; }
.dka .auth-field input:-webkit-autofill { -webkit-text-fill-color: #fff; -webkit-box-shadow: 0 0 0 40px #030a10 inset; caret-color: #fff; }
.dka .auth-field button { color: #78919c; cursor: pointer; background: 0 0; border: 0; padding: 4px; line-height: 1; }
.dka .auth-field button:hover, .dka .auth-field button[aria-pressed="true"] { color: var(--cyan); }
.dka .auth-field button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }
.dka .auth-field.is-invalid { border-color: #ff6b8a99; }
.dka .password-label { justify-content: space-between; align-items: center; display: flex; }
.dka .password-label a { font-size: .7rem; }
.dka .auth-form .remember-device { align-items: center; gap: 7px; margin: -2px 0 20px; display: flex !important; color: #829aa5 !important; font-weight: 400 !important; cursor: pointer; }
.dka .remember-device input { accent-color: var(--cyan); margin: 0; flex: 0 0 auto; width: 15px; height: 15px; }
.dka .remember-device.is-terms { align-items: flex-start; line-height: 1.5; }
.dka .remember-device.is-terms input { margin-top: 2px; }
.dka .auth-submit {
  color: #051018;
  background: linear-gradient(100deg, var(--cyan), #85ffe7 55%, #b8ff7c);
  cursor: pointer;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  border: 0;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px;
  font-weight: 650;
  display: flex;
  box-shadow: 0 0 24px #63e7ff29;
  transition: filter .15s ease;
}
.dka .auth-submit:hover { filter: brightness(1.06); }
.dka .auth-submit:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.dka .auth-submit[disabled] { cursor: progress; filter: saturate(.6); }
.dka .auth-divider { color: #506a75; align-items: center; gap: 12px; margin: 23px 0; font-size: .58rem; display: flex; text-transform: uppercase; }
.dka .auth-divider::before, .dka .auth-divider::after { content: ""; background: #63e7ff24; flex: 1; height: 1px; }
.dka .create-account {
  color: #e9faff;
  background: #9b5cff0e;
  border: 1px solid #9b5cff57;
  border-radius: 5px 15px;
  justify-content: space-between;
  align-items: center;
  padding: 13px 16px;
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  position: relative;
  z-index: 1;
}
.dka .create-account:hover { color: #fff; border-color: #b58cff; text-decoration: none; }
.dka .create-account span { color: var(--cyan); }
.dka .auth-terms { color: #4f6873; text-align: center; margin-top: 23px; font-size: .58rem; line-height: 1.55; display: block; position: relative; z-index: 1; }

/* Messages from the server (wrong password, logged out, registered…). */
.dka .auth-alert { display: flex; gap: 10px; align-items: flex-start; margin: -12px 0 22px; padding: 11px 14px; border-radius: 5px 14px; font-size: .78rem; line-height: 1.5; border: 1px solid; }
.dka .auth-alert.is-error { color: #ffc2cf; background: #ff4d7012; border-color: #ff6b8a59; }
.dka .auth-alert.is-ok { color: #b9ffe6; background: #48ffc20f; border-color: #48ffc252; }
/* Field messages (jquery validate on create account). */
.dka .auth-error { display: block; margin: -12px 0 14px; color: #ff9db1; font-size: .7rem; font-weight: 600; }
.dka .auth-strength { display: block; margin: -12px 0 14px; font-size: .7rem; color: #829aa5; }
.dka .auth-strength:empty { display: none; }
.dka .auth-strength.is-weak { color: #ff9db1; }
.dka .auth-strength.is-ok { color: #ffd27a; }
.dka .auth-strength.is-strong { color: #7dffd0; }

@keyframes dka-core-spin { to { transform: rotate(360deg); } }
@keyframes dka-status-pulse { 50% { opacity: .45; } }

@media (max-width: 900px) {
  .dka .order-shell { grid-template-columns: 1fr; gap: 55px; }
  .dka .order-intro h1 { font-size: clamp(4rem, 13vw, 6.8rem); }
  .dka.order-portal { padding-block: 74px; }
}
@media (max-width: 520px) {
  .dka.order-portal { padding: 58px 0; }
  .dka .order-intro h1 { font-size: 3.8rem; }
  .dka .order-brand-chip { margin-top: 38px; }
  .dka .order-brand-chip span { display: none; }
  .dka .auth-terminal { border-radius: 6px 30px; padding: 58px 22px 28px; }
  .dka .terminal-core { right: 20px; }
  .dka .auth-terminal h2 { font-size: 2.15rem; }
  .dka.order-portal::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .dka .terminal-core span, .dka .terminal-core i, .dka .security-pulse > span::after { animation: none; }
}
