/* =====================================================================
   W.I. Freight — Log in & Create account pages
   Loaded after accounts.css / cms app.css, so it overrides them here only.
   ===================================================================== */

body.wau-body {
  --au-primary: #2e3192; /* these pages do not load the CMS colour sheet, so use the brand colours directly */
  --au-accent: #be0119;
  --au-ink: #14163a;
  --au-muted: #5f6380;
  --au-line: rgba(20, 22, 58, .12);
  --au-tint: rgba(46, 49, 146, .06);
  --au-font: "Grotesk", "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --au-ease: cubic-bezier(.2, .8, .2, 1);

  margin: 0;
  min-height: 100vh;
  border-radius: 0;
  background: #f5f6fb !important;
  color: var(--au-ink);
  overflow-x: hidden;
}
.wau-body .wau, .wau-body .wau * { box-sizing: border-box; }
/* accounts.css centres everything with "* { justify-content: center }" — undo that here without beating our own rules */
:where(.wau-body .wau *) { justify-content: normal; }
.wau-body .wau *:not(.bi) { font-family: var(--au-font); }
.wau a { text-decoration: none; }

.wau {
  display: grid;
  grid-template-columns: minmax(380px, 44%) 1fr;
  min-height: 100vh;
}

/* ---------- Brand side ---------- */
.wau-brand {
  position: sticky; top: 0;
  height: 100vh;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--au-primary), #1d1f6b);
}
.wau-brand-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  animation: au-pan 26s ease-in-out infinite alternate;
}
@keyframes au-pan { from { transform: scale(1.05); } to { transform: scale(1.16) translate(-2%, -1%); } }
.wau-brand::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(500px 300px at 0 100%, rgba(190, 1, 25, .45), transparent 65%),
    linear-gradient(160deg, rgba(30, 32, 110, .88), rgba(18, 20, 66, .94));
}
.wau-brand-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; justify-content: space-between;
  height: 100%;
  padding: 2.5rem 3rem;
}
.wau-logo {
  align-self: flex-start;
  display: inline-block;
  padding: .7rem 1rem;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .6);
}
.wau-logo img { display: block; height: 46px; width: auto; }
.wau-brand-copy h2 { margin: 0 0 .6rem; font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; color: #fff; }
.wau-brand-copy p { margin: 0 0 1.75rem; font-size: 1.08rem; color: rgba(255, 255, 255, .82); }
.wau-perks { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.wau-perks li { display: flex; align-items: center; gap: .8rem; font-size: 1rem; color: rgba(255, 255, 255, .92); }
.wau-perks .bi {
  flex: 0 0 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 1.1rem;
}
.wau-back { align-self: flex-start; display: inline-flex; align-items: center; gap: .5rem; color: rgba(255, 255, 255, .85); font-weight: 600; }
.wau-back:hover { color: #fff; }

/* ---------- Form side ---------- */
.wau-panel {
  display: flex; align-items: center; justify-content: center;
  padding: 3rem 2rem;
}
.wau-card {
  width: 100%;
  max-width: 440px;
  animation: au-in .6s var(--au-ease) both;
}
.wau-card-wide { max-width: 640px; }
@keyframes au-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.wau-logo-mobile { display: none; }

.wau-head { margin-bottom: 1.75rem; }
.wau-head h1 { margin: 0 0 .4rem; font-size: clamp(1.8rem, 3vw, 2.3rem); font-weight: 700; letter-spacing: -.02em; color: var(--au-primary); }
.wau-head p { margin: 0; color: var(--au-muted); font-size: 1rem; }
.wau-head a, .wau-switch a { color: var(--au-accent); font-weight: 600; }
.wau-head a:hover, .wau-switch a:hover { text-decoration: underline; }

/* Steps */
.wau-steps {
  display: grid; grid-template-columns: 1fr 1fr; gap: .6rem;
  margin: 0 0 1.75rem; padding: 0;
  list-style: none;
}
.wau-steps li {
  position: relative;
  display: flex; align-items: center; gap: .6rem;
  padding: .7rem .9rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--au-line);
  color: var(--au-muted);
  font-weight: 600;
  font-size: .95rem;
  transition: background .3s, color .3s, border-color .3s;
}
.wau-steps li span {
  display: grid; place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--au-tint);
  color: var(--au-primary);
  font-size: .85rem;
  font-weight: 700;
}
.wau-steps li.is-active { border-color: var(--au-primary); color: var(--au-primary); box-shadow: 0 0 0 3px rgba(46, 49, 146, .1); }
.wau-steps li.is-active span { background: var(--au-primary); color: #fff; }
.wau-steps li.is-done { color: #128c4a; border-color: rgba(18, 140, 74, .3); }
.wau-steps li.is-done span { background: #128c4a; color: transparent; position: relative; }
.wau-steps li.is-done span::after { content: "\2713"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; }

/* Alert */
.wau-alert.alert {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin: 0 0 1.25rem;
  padding: .85rem 1rem;
  border: 0;
  border-left: 4px solid var(--au-accent);
  border-radius: 12px;
  background: rgba(190, 1, 25, .07);
  color: #8d0013;
  font-size: .95rem;
}
.wau-alert.alert.d-none { display: none !important; }
.wau-alert .closebtn { order: 2; margin-left: auto; cursor: pointer; font-size: 1.3rem; line-height: 1; }

/* Form fields */
.wau-form { margin: 0; }
.wau-group { margin: 0 0 1.5rem; padding: 0; border: 0; min-width: 0; }
.wau-group legend {
  float: none;
  width: auto;
  margin: 0 0 .9rem;
  padding: 0;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--au-muted);
}
.wau-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1rem; }
.wau-span-2 { grid-column: 1 / -1; }
.wau-field { position: relative; margin: 0 0 1.1rem; min-width: 0; }
.wau-grid .wau-field { margin: 0; }
.wau-field label, .wau-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; margin: 0 0 .4rem; font-size: .92rem; font-weight: 600; color: var(--au-ink); }
.wau-label-row label { margin: 0; }
.wau-field label { justify-content: flex-start; }
.wau-field label b { color: var(--au-accent); }
.wau-field label small { color: var(--au-muted); font-weight: 500; }
.wau-link-sm { font-size: .85rem; font-weight: 600; color: var(--au-primary); }
.wau-link-sm:hover { color: var(--au-accent); }

.wau-input {
  position: relative;
  display: flex; align-items: center;
  min-height: 52px;
  border-radius: 14px;
  border: 1.5px solid var(--au-line);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.wau-input:focus-within { border-color: var(--au-primary); box-shadow: 0 0 0 4px rgba(46, 49, 146, .12); }
.wau-input > .bi { flex: 0 0 auto; margin-left: 1rem; color: var(--au-muted); font-size: 1.05rem; }
.wau-body .wau-input input, .wau-body .wau-input textarea, .wau-body .wau-input select {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  height: 48px;
  padding: 0 1rem;
  border: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
  color: var(--au-ink);
  font-size: 1rem;
}
.wau-body .wau-input > .bi + input, .wau-body .wau-input > .bi + select { padding-left: .65rem; }
.wau-body .wau-input select { cursor: pointer; appearance: auto; max-height: none; }
.wau-body .wau-textarea textarea { height: auto; min-height: 52px; padding: .8rem 1rem; resize: vertical; line-height: 1.45; }
.wau-input input::placeholder, .wau-input textarea::placeholder { color: #a0a3ba; }

.wau-phone input[readonly] {
  flex: 0 0 64px !important;
  width: 64px !important;
  padding: 0 0 0 1rem !important;
  color: var(--au-primary) !important;
  font-weight: 700;
  border-right: 1px solid var(--au-line) !important;
  pointer-events: none;
}
.wau-eye {
  flex: 0 0 auto;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  margin-right: 4px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--au-muted);
  font-size: 1.1rem;
  cursor: pointer;
}
.wau-eye:hover { background: var(--au-tint); color: var(--au-primary); }

.wau-copy {
  margin-top: .35rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--au-primary);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
}
.wau-copy:hover { color: var(--au-accent); text-decoration: underline; }
.wau-hint { display: block; margin-top: .35rem; font-size: .82rem; color: var(--au-muted); }

.wau-field.is-invalid .wau-input { border-color: var(--au-accent); box-shadow: 0 0 0 4px rgba(190, 1, 25, .1); }
.wau-field.is-invalid label { color: var(--au-accent); }

/* Account type cards */
.wau-type { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.wau-type input { position: absolute; opacity: 0; pointer-events: none; }
.wau-type label {
  display: flex; align-items: center; gap: .8rem;
  margin: 0;
  padding: .9rem 1rem;
  border-radius: 16px;
  border: 1.5px solid var(--au-line);
  background: #fff;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.wau-type label .bi {
  flex: 0 0 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--au-tint);
  color: var(--au-primary);
  font-size: 1.2rem;
  transition: background .2s, color .2s;
}
.wau-type label strong { display: block; font-size: 1rem; color: var(--au-ink); }
.wau-type label small { display: block; font-size: .82rem; color: var(--au-muted); font-weight: 500; }
.wau-type input:checked + label { border-color: var(--au-primary); background: rgba(46, 49, 146, .04); box-shadow: 0 0 0 4px rgba(46, 49, 146, .1); }
.wau-type input:checked + label .bi { background: var(--au-primary); color: #fff; }
.wau-type input:focus-visible + label { outline: 3px solid rgba(46, 49, 146, .4); outline-offset: 2px; }

/* Post code suggestions */
.wau-postcode .dropdown { position: relative; }
.wau-postcode .dropdown-menu {
  position: absolute; left: 0; right: 0; top: .4rem;
  z-index: 20;
  display: none;
  max-height: 260px;
  overflow-y: auto;
  margin: 0;
  padding: .4rem;
  border: 1px solid var(--au-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 40px -20px rgba(20, 22, 58, .45);
}
.wau-postcode .dropdown-menu.show { display: block; }
.wau-postcode .dropdown-item {
  display: block;
  padding: .65rem .8rem;
  border-radius: 10px;
  color: var(--au-ink);
  font-size: .95rem;
  white-space: normal;
  cursor: pointer;
}
.wau-postcode .dropdown-item:hover { background: var(--au-tint); color: var(--au-primary); }

/* Buttons */
.wau-btn.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  width: 100%;
  height: 54px;
  padding: 0 1.4rem;
  border: 0;
  border-radius: 14px;
  background: var(--au-accent);
  color: #fff;
  font-size: 1.02rem;
  font-weight: 700;
  box-shadow: 0 14px 26px -14px var(--au-accent);
  transition: transform .15s, box-shadow .2s, filter .2s;
}
.wau-btn.btn:hover, .wau-btn.btn:focus { background: var(--au-accent); color: #fff; transform: translateY(-1px); filter: brightness(1.05); }
.wau-btn.btn:focus-visible { outline: 3px solid rgba(190, 1, 25, .35); outline-offset: 2px; }
.wau-btn .btn-text { display: inline-flex; align-items: center; gap: .5rem; }
/* beat accounts.css: "#sign-btn .btn { height: 100% }" and ".signin-btn, .next-btn { background: blue !important }" */
#sign-btn .wau-btn.btn { height: 54px; }
.wau-body .wau-btn.signin-btn, .wau-body .wau-btn.next-btn { background-color: var(--au-accent) !important; }
.wau-btn-ghost.btn { background: #fff; color: var(--au-primary); border: 1.5px solid var(--au-line); box-shadow: none; }
.wau-btn-ghost.btn:hover, .wau-btn-ghost.btn:focus { background: var(--au-tint); color: var(--au-primary); filter: none; }

#sign-btn.wau-submit { position: relative; }
#sign-btn.wau-submit .loader {
  position: absolute;
  left: 50%; top: 50%;
  width: 24px !important; height: 24px !important;
  margin: -12px 0 0 -12px;
  padding: 0 !important;
  border: 3px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .8s linear infinite;
  box-sizing: border-box;
}
.wau-submit { margin-top: 1.5rem; }
.wau-actions { margin-top: .5rem; }
.wau-actions-2 { display: grid; grid-template-columns: 1fr 2fr; gap: .75rem; align-items: center; }
.wau-actions-2 .wau-submit { margin: 0; }

.wau-switch { margin: 1.5rem 0 0; text-align: center; color: var(--au-muted); }

#section_one.hidden, #section_two.hidden { display: none !important; }
#section_two:not(.hidden) { animation: au-in .45s var(--au-ease) both; }

/* ---------- Tablet & phone ---------- */
@media (max-width: 991px) {
  .wau { grid-template-columns: 1fr; }
  .wau-brand { display: none; }
  .wau-panel { align-items: flex-start; padding: 1.5rem 1.25rem 3rem; }
  .wau-logo-mobile {
    display: inline-block;
    margin-bottom: 1.75rem;
    padding: .5rem .75rem;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 24px -16px rgba(20, 22, 58, .5);
  }
  .wau-logo-mobile img { display: block; height: 38px; width: auto; }
  body.wau-body {
    background:
      radial-gradient(600px 300px at 100% 0, rgba(46, 49, 146, .12), transparent 60%),
      #f5f6fb !important;
  }
}
@media (max-width: 575px) {
  .wau-grid, .wau-type { grid-template-columns: 1fr; }
  .wau-steps li { font-size: .85rem; padding: .6rem .7rem; }
  .wau-actions-2 { grid-template-columns: 1fr; }
  .wau-actions-2 .wau-submit { order: -1; }
}

@media (prefers-reduced-motion: reduce) {
  .wau *, .wau *::before { animation: none !important; transition-duration: .01ms !important; }
}

/* =====================================================================
   Verify page (verify.php) — login details card + verify button
   ===================================================================== */
.wau-card-verify { max-width: 480px; }
.wau-steps.wau-steps-3 { grid-template-columns: repeat(3, 1fr); }

.wau-alert.alert .bi { flex: 0 0 auto; font-size: 1.1rem; }
.wau-alert.alert > span:not(.closebtn) { flex: 1 1 auto; }
.wau-alert.alert.is-ok { border-left-color: #128c4a; background: rgba(18, 140, 74, .08); color: #0d6b38; }

.wv-cred {
  overflow: hidden;
  border-radius: 18px;
  border: 1.5px solid var(--au-line);
  background: #fff;
  box-shadow: 0 22px 40px -30px rgba(20, 22, 58, .5);
}
.wv-row {
  display: flex; align-items: center; gap: .85rem;
  padding: 1rem 1rem 1rem 1.1rem;
}
.wv-row + .wv-row { border-top: 1px dashed var(--au-line); }
.wv-ico {
  flex: 0 0 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: var(--au-tint);
  color: var(--au-primary);
  font-size: 1.15rem;
}
.wv-text { flex: 1 1 auto; min-width: 0; }
.wv-text small {
  display: block;
  font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--au-muted);
}
.wau-body .wv-text strong {
  display: block;
  margin-top: .1rem;
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace !important;
  font-size: 1.18rem; font-weight: 600; letter-spacing: .02em;
  color: var(--au-ink);
  overflow-wrap: anywhere;
  user-select: all;
}
.wau-body .wv-text strong.is-hidden { letter-spacing: .12em; user-select: none; }
.wv-icon-btn {
  flex: 0 0 40px; height: 40px;
  display: grid; place-items: center;
  border: 0; border-radius: 11px;
  background: transparent;
  color: var(--au-muted);
  font-size: 1.05rem;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.wv-icon-btn:hover, .wv-icon-btn:focus-visible { background: var(--au-tint); color: var(--au-primary); outline: none; }

.wv-tools { display: flex; flex-wrap: wrap; gap: .5rem; margin: .9rem 0 1.4rem; }
.wv-tool {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .55rem .9rem;
  border: 1.5px solid var(--au-line); border-radius: 999px;
  background: #fff;
  color: var(--au-primary);
  font-size: .88rem; font-weight: 600;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.wv-tool:hover, .wv-tool:focus-visible { border-color: var(--au-primary); background: var(--au-tint); outline: none; }

.wv-check {
  display: flex; align-items: center; gap: .75rem;
  margin: 0;
  padding: .85rem 1rem;
  border-radius: 14px;
  background: var(--au-tint);
  color: var(--au-ink);
  font-weight: 600; font-size: .95rem;
  cursor: pointer;
}
.wv-check input { position: absolute; opacity: 0; pointer-events: none; }
.wv-box {
  flex: 0 0 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 7px;
  border: 2px solid rgba(46, 49, 146, .35);
  background: #fff;
  color: transparent;
  font-size: .95rem;
  transition: background .2s, border-color .2s, color .2s;
}
.wv-check input:checked + .wv-box { background: var(--au-primary); border-color: var(--au-primary); color: #fff; }
.wv-check input:focus-visible + .wv-box { outline: 3px solid rgba(46, 49, 146, .35); outline-offset: 2px; }

.wau-card-verify .wau-submit { margin-top: 1rem; }
.wau-btn.btn:disabled, .wau-btn.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; filter: grayscale(.3); box-shadow: none; pointer-events: auto; }
.wau-btn.btn.is-loading:disabled { opacity: 1; filter: none; cursor: progress; }
.wv-note { display: flex; align-items: center; justify-content: center; gap: .4rem; margin: .7rem 0 0; font-size: .85rem; color: var(--au-muted); }
.wv-note[hidden] { display: none; }

.wv-empty { text-align: center; margin-bottom: 1.5rem; }
.wv-empty-icon {
  display: inline-grid; place-items: center;
  width: 72px; height: 72px;
  margin-bottom: 1rem;
  border-radius: 22px;
  background: rgba(190, 1, 25, .08);
  color: var(--au-accent);
  font-size: 2rem;
}
.wv-empty h1 { margin: 0 0 .5rem; font-size: clamp(1.5rem, 2.6vw, 1.9rem); font-weight: 700; color: var(--au-primary); letter-spacing: -.02em; }
.wv-empty p { margin: 0; color: var(--au-muted); }
.wv-empty-actions { display: grid; gap: .65rem; }
.wv-empty-actions .wau-btn.btn { text-decoration: none; }

.wv-toast {
  position: fixed; left: 50%; bottom: 1.5rem; z-index: 50;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.1rem;
  border-radius: 999px;
  background: var(--au-ink);
  color: #fff;
  font: 600 .92rem/1.2 var(--au-font);
  box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .5);
  opacity: 0;
  transform: translate(-50%, 12px);
  pointer-events: none;
  transition: opacity .25s, transform .25s var(--au-ease);
}
.wv-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.wv-toast .bi { color: #4ade80; }

@media (max-width: 575px) {
  .wau-steps.wau-steps-3 li { flex-direction: column; gap: .3rem; text-align: center; font-size: .78rem; }
  .wau-body .wv-text strong { font-size: 1.05rem; }
  .wv-tool { flex: 1 1 auto; justify-content: center; }
}

/* Printing the page prints just the login details */
@media print {
  .wau-brand, .wau-steps, .wv-tools, .wv-check, .wau-submit, .wv-note, .wv-icon-btn, .wau-alert, .wv-toast { display: none !important; }
  .wau { display: block; min-height: 0; }
  .wau-panel { padding: 0; display: block; }
  .wau-logo-mobile { display: inline-block !important; margin-bottom: 1rem; }
  .wv-cred { box-shadow: none; border-color: #999; }
  body.wau-body { background: #fff !important; }
}
@media (min-width: 992px) { .wv-toast { left: 72%; } } /* centre of the white side */

/* =====================================================================
   Account verified page (confirm-verification.php)
   ===================================================================== */
.wc-hero { text-align: center; margin: .25rem 0 1.5rem; }
.wc-badge {
  position: relative;
  display: inline-grid; place-items: center;
  width: 96px; height: 96px;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: rgba(18, 140, 74, .1);
  animation: wc-pop .6s var(--au-ease) both;
}
.wc-badge::after {                         /* soft ring that fades out once */
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(18, 140, 74, .45);
  animation: wc-ring 1.4s .35s ease-out both;
}
.wc-badge svg { width: 62px; height: 62px; }
.wc-badge circle { fill: #128c4a; stroke: none; }
.wc-badge path {
  fill: none; stroke: #fff; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 40; stroke-dashoffset: 40;
  animation: wc-tick .5s .35s var(--au-ease) forwards;
}
@keyframes wc-pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes wc-ring { from { transform: scale(1); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
@keyframes wc-tick { to { stroke-dashoffset: 0; } }

.wc-hero h1 { margin: 0 0 .4rem; font-size: clamp(1.9rem, 3.2vw, 2.4rem); font-weight: 700; letter-spacing: -.02em; color: var(--au-primary); }
.wc-hero p { margin: 0 auto; max-width: 34ch; color: var(--au-muted); font-size: 1.02rem; }

.wc-user {
  display: flex; align-items: center; gap: .85rem;
  padding: .9rem 1.1rem;
  border-radius: 16px;
  border: 1.5px solid var(--au-line);
  background: #fff;
}
.wc-prefill { margin: .6rem 0 0; }
.wc-prefill[hidden], .wc-user[hidden] { display: none; }

.wc-actions { margin-top: 1.25rem; }
.wc-actions .wau-btn.btn { text-decoration: none; }
.wc-actions .wau-btn .bi { transition: transform .2s var(--au-ease); }
.wc-actions .wau-btn:hover .bi { transform: translateX(3px); }

.wc-next { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--au-line); }
.wc-next-title {
  margin: 0 0 .75rem;
  font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--au-muted);
}
.wc-next-item {
  display: flex; align-items: center; gap: .85rem;
  padding: .7rem .8rem;
  margin: 0 -.8rem;
  border-radius: 14px;
  color: var(--au-ink);
  transition: background .2s;
}
.wc-next-item:hover, .wc-next-item:focus-visible { background: #fff; outline: none; box-shadow: 0 10px 24px -18px rgba(20, 22, 58, .5); }
.wc-next-item > span:nth-child(2) { flex: 1 1 auto; min-width: 0; }
.wc-next-item strong { display: block; font-size: .98rem; font-weight: 600; color: var(--au-ink); }
.wc-next-item small { display: block; font-size: .84rem; color: var(--au-muted); }
.wc-next-item > .bi { color: var(--au-muted); transition: transform .2s var(--au-ease), color .2s; }
.wc-next-item:hover > .bi { transform: translateX(3px); color: var(--au-primary); }

.wc-empty-icon { background: var(--au-tint); color: var(--au-primary); }
@media (prefers-reduced-motion: reduce) { .wc-badge path { stroke-dashoffset: 0; } }

/* =====================================================================
   Forgotten password (forgotten-password.php)
   ===================================================================== */
.wf-back-link { display: inline-flex; align-items: center; gap: .4rem; margin-bottom: 1.5rem; font-size: .9rem; font-weight: 600; color: var(--au-muted); }
.wf-back-link:hover { color: var(--au-primary); }
.wf-back-link .bi { transition: transform .2s var(--au-ease); }
.wf-back-link:hover .bi { transform: translateX(-3px); }
.wf-key {
  display: inline-grid; place-items: center;
  width: 56px; height: 56px;
  margin-bottom: 1rem;
  border-radius: 18px;
  background: var(--au-tint);
  color: var(--au-primary);
  font-size: 1.5rem;
  transform: rotate(-12deg);
}
.wf-help { margin: .75rem 0 0; text-align: center; font-size: .88rem; color: var(--au-muted); }
.wf-help a { color: var(--au-primary); font-weight: 600; }
.wf-help a:hover { color: var(--au-accent); text-decoration: underline; }

.wf-sent { text-align: center; margin-bottom: 1.5rem; animation: au-in .5s var(--au-ease) both; }
.wf-sent-icon {
  display: inline-grid; place-items: center;
  width: 84px; height: 84px;
  margin-bottom: 1rem;
  border-radius: 26px;
  background: rgba(18, 140, 74, .1);
  color: #128c4a;
  font-size: 2.3rem;
  animation: wc-pop .6s var(--au-ease) both;
}
.wf-sent h1 { margin: 0 0 .45rem; font-size: clamp(1.8rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -.02em; color: var(--au-primary); }
.wf-sent p { margin: 0 auto; max-width: 36ch; color: var(--au-muted); }
.wf-sent-user { margin-top: .35rem !important; font-size: .92rem; }
.wf-sent-user strong { color: var(--au-ink); font-family: ui-monospace, Consolas, monospace !important; }

.wf-tips { list-style: none; margin: 0 0 1.25rem; padding: 1rem 1.1rem; display: grid; gap: .7rem; border-radius: 16px; background: var(--au-tint); }
.wf-tips li { display: flex; gap: .7rem; align-items: flex-start; font-size: .93rem; color: var(--au-ink); }
.wf-tips .bi { flex: 0 0 auto; margin-top: .1rem; color: var(--au-primary); }
#wf-done .wau-btn.btn { text-decoration: none; }

.wf-again { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem; margin-top: 1.1rem; color: var(--au-muted); font-size: .9rem; }
.wf-link-btn { padding: 0; border: 0; background: none; color: var(--au-primary); font-weight: 600; font-size: .9rem; cursor: pointer; }
.wf-link-btn:hover:not(:disabled) { color: var(--au-accent); text-decoration: underline; }
.wf-link-btn:disabled { color: var(--au-muted); cursor: default; }

.wf-test { margin: 1.5rem 0 0; padding: 1rem; max-height: 320px; overflow: auto; border-radius: 12px; background: #14163a; color: #d6dcff; font: .78rem/1.5 ui-monospace, Consolas, monospace !important; white-space: pre-wrap; word-break: break-word; }
