/**
 * Pickup station registration — premium onboarding layer.
 * Scoped to body.gmingo-pickup-register. Additive only.
 */

body.gmingo-pickup-register {
  background: #f8fafc;
}
body.gmingo-pickup-register::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(48rem 32rem at 8% -4%, rgba(44, 100, 211, 0.07), transparent 60%),
    radial-gradient(40rem 28rem at 96% 20%, rgba(56, 179, 90, 0.05), transparent 58%),
    linear-gradient(180deg, #f1f5f9 0%, #f8fafc 40%, #ffffff 100%);
}

.pks-shell {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}
@media (min-width: 1024px) {
  .pks-shell { padding-top: 2rem; }
}

.pks-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 56rem;
  margin: 0 auto;
}

.pks-card {
  border-radius: 1.5rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: #fff;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}
@keyframes pks-breathe {
  0%, 100% { box-shadow: 0 20px 60px rgba(15, 23, 42, 0.06); filter: brightness(1); }
  50% { box-shadow: 0 22px 64px rgba(44, 100, 211, 0.1); filter: brightness(1.015); }
}
.pks-card--breathe {
  animation: pks-breathe 8s ease-in-out infinite;
}

.pks-hero {
  background: linear-gradient(135deg, #1e4a9e 0%, #2C64D3 50%, #38B35A 140%);
  color: #fff;
  padding: 1.75rem 1.5rem 2.25rem;
  text-align: center;
}
.pks-hero-kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.9;
}
.pks-hero-title {
  margin-top: 0.4rem;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
@media (min-width: 640px) {
  .pks-hero-title { font-size: 2rem; }
}
.pks-hero-sub {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  opacity: 0.9;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

.pks-body {
  padding: 1.5rem;
}
@media (min-width: 640px) {
  .pks-body { padding: 1.75rem 2rem 2rem; }
}

.pks-section {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid #f1f5f9;
}
.pks-section:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.pks-section-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #13233f;
  letter-spacing: -0.01em;
}
.pks-section-sub {
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.5;
}

.pks-input {
  width: 100%;
  border-radius: 0.875rem;
  border: 1px solid #e2e8f0;
  background: #fbfcfe;
  padding: 0.65rem 0.9rem;
  font-size: 0.9rem;
  color: #1e293b;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.pks-input:focus {
  outline: none;
  background: #fff;
  border-color: rgba(44, 100, 211, 0.55);
  box-shadow: 0 0 0 4px rgba(44, 100, 211, 0.12);
}
.pks-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.35rem;
}

.pks-pw-wrap {
  position: relative;
}
.pks-pw-wrap .pks-input {
  padding-right: 2.85rem;
}
.pks-pw-toggle {
  position: absolute;
  right: 0.55rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0.35rem;
  border: 0;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  border-radius: 0.5rem;
}
.pks-pw-toggle:hover,
.pks-pw-toggle:focus-visible {
  color: #334155;
  outline: none;
}
.pks-pw-toggle .hidden {
  display: none;
}

/* Workflow timeline */
.pks-workflow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 1.25rem 0 0;
}
.pks-workflow-step {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.75rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), background 0.3s ease;
}
.pks-workflow-step:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.22);
}
.pks-workflow-step span {
  display: inline-flex;
  width: 1.35rem;
  height: 1.35rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 0.65rem;
}
.pks-workflow-arrow {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
  display: none;
}
@media (min-width: 640px) {
  .pks-workflow-arrow { display: inline; }
}

/* Security notice */
.pks-secure {
  display: flex;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
  border: 1px solid #bfdbfe;
  margin-bottom: 1.25rem;
}
.pks-secure-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #dbeafe;
  color: #1e40af;
}
.pks-secure h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1e3a8a;
}
.pks-secure p {
  margin-top: 0.25rem;
  font-size: 0.78rem;
  line-height: 1.55;
  color: #334155;
}

/* Bank verification card */
.pks-bank-result {
  margin-top: 0.85rem;
  border-radius: 1.15rem;
  border: 1px solid #e2e8f0;
  padding: 1rem 1.1rem;
  background: #fff;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.pks-bank-result[hidden] { display: none !important; }
.pks-bank-result.is-ok {
  border-color: #86efac;
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 70%);
}
.pks-bank-result.is-err {
  border-color: #fecaca;
  background: linear-gradient(135deg, #fef2f2 0%, #ffffff 70%);
}
.pks-bank-result.is-loading {
  border-color: #bfdbfe;
  background: #f8fafc;
}
.pks-bank-skeleton {
  height: 0.75rem;
  border-radius: 9999px;
  background: linear-gradient(90deg, #e2e8f0 0%, #f1f5f9 50%, #e2e8f0 100%);
  background-size: 200% 100%;
  animation: pks-shimmer 1.2s ease-in-out infinite;
}
@keyframes pks-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* Upload cards */
.pks-upload-grid {
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 640px) {
  .pks-upload-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.pks-upload-card {
  position: relative;
  border-radius: 1.25rem;
  border: 1.5px dashed #cbd5e1;
  background: #fbfcfe;
  padding: 1rem;
  text-align: center;
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), border-color 0.3s ease, box-shadow 0.35s ease, background 0.3s ease;
  min-height: 11.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.pks-upload-card:hover,
.pks-upload-card.is-dragover {
  transform: translateY(-4px);
  border-color: #2C64D3;
  background: #f0f7ff;
  box-shadow: 0 16px 36px -18px rgba(44, 100, 211, 0.35);
}
.pks-upload-card.has-file {
  border-style: solid;
  border-color: #86efac;
  background: #fff;
}
.pks-upload-card input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}
.pks-upload-card.has-file input[type="file"] {
  pointer-events: none;
}
.pks-upload-ico {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e0e9fe;
  color: #1e4a9e;
  margin-bottom: 0.65rem;
}
.pks-upload-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #13233f;
}
.pks-upload-hint {
  margin-top: 0.2rem;
  font-size: 0.7rem;
  color: #94a3b8;
}
.pks-upload-preview {
  width: 100%;
  margin-top: 0.65rem;
  border-radius: 0.75rem;
  overflow: hidden;
  max-height: 7rem;
  display: none;
}
.pks-upload-card.has-file .pks-upload-preview { display: block; }
.pks-upload-card.has-file .pks-upload-empty { display: none; }
.pks-upload-preview img {
  width: 100%;
  height: 7rem;
  object-fit: cover;
}
.pks-upload-actions {
  display: none;
  gap: 0.4rem;
  margin-top: 0.55rem;
  position: relative;
  z-index: 3;
}
.pks-upload-card.has-file .pks-upload-actions { display: flex; }
.pks-upload-actions button {
  flex: 1;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.35rem 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #475569;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.pks-upload-actions button:hover { background: #f1f5f9; }
.pks-upload-actions .pks-upload-del:hover { color: #b91c1c; background: #fef2f2; }
.pks-upload-progress {
  display: none;
  width: 100%;
  height: 4px;
  margin-top: 0.55rem;
  border-radius: 9999px;
  background: #e2e8f0;
  overflow: hidden;
}
.pks-upload-progress > span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #2C64D3, #38B35A);
  transition: width 0.35s ease;
}
.pks-upload-card.is-loading .pks-upload-progress { display: block; }

/* Progress card (top of form, collapsible on all viewports) */
.pks-progress {
  border-radius: 1.25rem;
  border: 1px solid rgba(203, 213, 225, 0.7);
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.75), rgba(255, 255, 255, 0.95));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  padding: 1rem 1.15rem;
}
.pks-progress--top { margin-bottom: 1.5rem; }
.pks-progress-pct-inline {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.1rem 0.5rem;
  border-radius: 9999px;
  background: rgba(44, 100, 211, 0.1);
  color: #1d4ed8;
  font-size: 0.7rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.pks-progress-minibar {
  margin-top: 0.65rem;
  height: 5px;
  border-radius: 9999px;
  background: #e2e8f0;
  overflow: hidden;
}
.pks-progress-minibar > span {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 9999px;
  background: linear-gradient(90deg, #2C64D3, #38B35A);
  transition: width 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.pks-progress-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #13233f;
  margin-bottom: 1rem;
}
.pks-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.pks-timeline::before {
  content: '';
  position: absolute;
  left: 0.7rem;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 2px;
  background: #e2e8f0;
}
.pks-timeline-item {
  position: relative;
  display: flex;
  gap: 0.75rem;
  padding: 0.45rem 0 0.85rem;
  font-size: 0.8rem;
  color: #94a3b8;
}
.pks-timeline-item:last-child { padding-bottom: 0; }
.pks-timeline-dot {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 9999px;
  border: 2px solid #cbd5e1;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.pks-timeline-item.is-done { color: #166534; }
.pks-timeline-item.is-done .pks-timeline-dot {
  border-color: #22c55e;
  background: #dcfce7;
  color: #15803d;
}
.pks-timeline-item.is-active { color: #1e40af; font-weight: 600; }
.pks-timeline-item.is-active .pks-timeline-dot {
  border-color: #2C64D3;
  background: #dbeafe;
  color: #1d4ed8;
  box-shadow: 0 0 0 4px rgba(44, 100, 211, 0.15);
}
.pks-progress-bar-wrap {
  margin-top: 1rem;
  height: 6px;
  border-radius: 9999px;
  background: #e2e8f0;
  overflow: hidden;
}
.pks-progress-bar {
  height: 100%;
  width: 0%;
  border-radius: 9999px;
  background: linear-gradient(90deg, #2C64D3, #38B35A);
  transition: width 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.pks-progress-pct {
  margin-top: 0.4rem;
  font-size: 0.72rem;
  color: #64748b;
  font-variant-numeric: tabular-nums;
}

/* Progress collapse (all viewports) */
.pks-progress-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
}
.pks-progress-toggle svg { transition: transform 0.3s ease; }
.pks-progress:not(.is-collapsed) .pks-progress-toggle svg { transform: rotate(180deg); }
.pks-progress.is-collapsed .pks-progress-body { display: none; }
.pks-progress:not(.is-collapsed) .pks-progress-body { display: block; }

/* Agreements */
.pks-agree {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  background: #fbfcfe;
  margin-bottom: 0.65rem;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.pks-agree:hover { border-color: #bfdbfe; background: #f8fbff; }
.pks-agree input { margin-top: 0.2rem; accent-color: #2C64D3; width: 1.05rem; height: 1.05rem; }
.pks-agree label { font-size: 0.85rem; color: #334155; cursor: pointer; }
.pks-agree button {
  background: none;
  border: 0;
  color: #2563eb;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Modal */
.pks-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.pks-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.pks-modal-panel {
  width: 100%;
  max-width: 32rem;
  max-height: 80vh;
  overflow: auto;
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.25);
  padding: 1.5rem;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.pks-modal.is-open .pks-modal-panel {
  transform: translateY(0) scale(1);
}

/* Buttons */
.pks-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1.4rem;
  border-radius: 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.3s ease, filter 0.3s ease, background 0.3s ease, opacity 0.3s ease;
  position: relative;
  overflow: hidden;
}
.pks-btn--primary {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 55%, #1d4ed8 100%);
  color: #fff;
  box-shadow: 0 10px 28px -10px rgba(37, 99, 235, 0.55);
  border: 0;
}
.pks-btn--primary:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: brightness(1.05);
}
.pks-btn--primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.2);
}
.pks-btn--ghost {
  background: #fff;
  color: #334155;
  border: 1px solid #e2e8f0;
}
.pks-btn--ghost:hover {
  transform: translateY(-2px);
  background: #f8fafc;
}
.pks-btn:active:not(:disabled) { transform: translateY(0); transition-duration: 0.1s; }
.pks-btn:focus-visible {
  outline: 2px solid #2C64D3;
  outline-offset: 2px;
}
.pks-ripple {
  position: absolute;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.45);
  transform: scale(0);
  animation: pks-ripple 0.55s ease-out forwards;
  pointer-events: none;
}
@keyframes pks-ripple {
  to { transform: scale(2.6); opacity: 0; }
}

/* Success page */
.pks-success-check {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 9999px;
  background: linear-gradient(145deg, #dcfce7, #bbf7d0);
  color: #15803d;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 16px 40px -16px rgba(22, 163, 74, 0.45);
  animation: pks-pop 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
@keyframes pks-pop {
  from { opacity: 0; transform: scale(0.6); }
  to { opacity: 1; transform: scale(1); }
}
.pks-ref-box {
  margin: 1.25rem auto;
  max-width: 22rem;
  padding: 1rem 1.25rem;
  border-radius: 1.15rem;
  border: 1px dashed #bfdbfe;
  background: #f8fbff;
  text-align: center;
}
.pks-ref-box code {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1e4a9e;
}

/* =========================================================
   Multi-step onboarding wizard
   ========================================================= */
.pks-wizard {
  display: grid;
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .pks-wizard {
    grid-template-columns: 17rem minmax(0, 1fr);
    align-items: start;
  }
}

/* Timeline rail */
.pks-wizard-rail { min-width: 0; }
@media (min-width: 1024px) {
  .pks-wizard-rail {
    position: sticky;
    top: 5.5rem;
  }
}
.pks-rail-card {
  border-radius: 1.5rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: linear-gradient(160deg, #16305f 0%, #1e4a9e 55%, #2C64D3 130%);
  color: #fff;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.14);
  padding: 1.4rem 1.3rem;
}
.pks-rail-kicker {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.75;
}
.pks-rail-title {
  margin-top: 0.3rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.pks-rail-list {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  position: relative;
}
.pks-rail-list::before {
  content: '';
  position: absolute;
  left: 0.72rem;
  top: 0.6rem;
  bottom: 0.6rem;
  width: 2px;
  background: rgba(255, 255, 255, 0.18);
}
.pks-rail-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.34rem 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.3s ease;
}
.pks-rail-dot {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: #1e4a9e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 700;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.pks-rail-item.is-done { color: rgba(255, 255, 255, 0.85); }
.pks-rail-item.is-done .pks-rail-dot {
  border-color: #4ade80;
  background: rgba(74, 222, 128, 0.2);
  color: #bbf7d0;
}
.pks-rail-item.is-active { color: #fff; font-weight: 600; }
.pks-rail-item.is-active .pks-rail-dot {
  border-color: #fff;
  background: #fff;
  color: #1e4a9e;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.18);
}
.pks-rail-secure {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.75);
}
.pks-rail-secure svg { flex-shrink: 0; margin-top: 0.1rem; }
.pks-rail-secure p { font-size: 0.7rem; line-height: 1.55; }

/* Mobile: rail becomes a compact horizontal strip */
@media (max-width: 1023px) {
  .pks-rail-card { padding: 1rem 1.1rem; }
  .pks-rail-title { font-size: 0.9rem; }
  .pks-rail-list {
    display: flex;
    overflow-x: auto;
    gap: 0.9rem;
    margin-top: 0.85rem;
    padding-bottom: 0.35rem;
    scrollbar-width: none;
  }
  .pks-rail-list::-webkit-scrollbar { display: none; }
  .pks-rail-list::before { display: none; }
  .pks-rail-item {
    flex-direction: column;
    gap: 0.35rem;
    padding: 0;
    flex-shrink: 0;
    width: 4.4rem;
    text-align: center;
    font-size: 0.62rem;
    line-height: 1.25;
  }
  .pks-rail-secure { display: none; }
}

/* Wizard header */
.pks-wizard-head {
  padding: 1.4rem 1.5rem 1.2rem;
  border-bottom: 1px solid #f1f5f9;
  background: linear-gradient(180deg, #fbfdff 0%, #ffffff 100%);
}
@media (min-width: 640px) {
  .pks-wizard-head { padding: 1.6rem 2rem 1.3rem; }
}
.pks-wizard-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.pks-wizard-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2563eb;
}
.pks-wizard-login {
  font-size: 0.78rem;
  font-weight: 600;
  color: #2563eb;
}
.pks-wizard-login:hover { text-decoration: underline; }
.pks-wizard-title {
  margin-top: 0.4rem;
  font-size: 1.45rem;
  font-weight: 700;
  color: #13233f;
  letter-spacing: -0.02em;
}
@media (min-width: 640px) {
  .pks-wizard-title { font-size: 1.65rem; }
}
.pks-wizard-sub {
  margin-top: 0.3rem;
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.55;
}
.pks-wizard-track {
  margin-top: 1rem;
  height: 6px;
  border-radius: 9999px;
  background: #e8eef7;
  overflow: hidden;
}
.pks-wizard-track > span {
  display: block;
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, #2C64D3, #38B35A);
  transition: width 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Step panel transitions */
.pks-step-enter { opacity: 0; transform: translateY(14px); }
.pks-step-enter-active {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Alerts */
.pks-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  font-size: 0.85rem;
  margin-bottom: 1.1rem;
  animation: pks-alert-in 0.45s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
@keyframes pks-alert-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.pks-alert--ok {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}
.pks-alert--ok svg { flex-shrink: 0; margin-top: 0.1rem; }
.pks-alert--err {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

/* Wizard actions */
.pks-wizard-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
  padding-top: 1.4rem;
  border-top: 1px solid #f1f5f9;
}
.pks-wizard-actions--center {
  justify-content: center;
  border-top: 0;
  padding-top: 0;
  margin-top: 1.4rem;
}
.pks-btn--wide { min-width: 12rem; }

/* Sticky next button on mobile */
@media (max-width: 639px) {
  .pks-wizard-actions:not(.pks-wizard-actions--center) {
    position: sticky;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 28%);
    padding-bottom: 0.75rem;
    z-index: 5;
  }
  .pks-wizard-actions:not(.pks-wizard-actions--center) .pks-btn--primary { flex: 1; }
}

/* Button loading spinner */
.pks-btn.is-loading { pointer-events: none; opacity: 0.75; }
.pks-btn.is-loading::after {
  content: '';
  width: 1rem;
  height: 1rem;
  border-radius: 9999px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  animation: pks-spin 0.7s linear infinite;
}
.pks-btn--ghost.is-loading::after {
  border-color: rgba(51, 65, 85, 0.25);
  border-top-color: #334155;
}
@keyframes pks-spin { to { transform: rotate(360deg); } }

/* OTP verification screen */
.pks-verify-wrap {
  max-width: 26rem;
  margin: 0 auto;
  text-align: center;
  padding: 0.5rem 0 0.75rem;
}
.pks-verify-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1.1rem;
  background: #e0e9fe;
  color: #1e4a9e;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  animation: pks-pop 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
.pks-verify-lead { font-size: 0.88rem; color: #475569; }
.pks-verify-email {
  margin-top: 0.2rem;
  font-size: 1rem;
  font-weight: 700;
  color: #13233f;
  word-break: break-all;
}
.pks-otp {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}
.pks-otp-box {
  width: 2.9rem;
  height: 3.4rem;
  text-align: center;
  font-size: 1.35rem;
  font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #13233f;
  border-radius: 0.9rem;
  border: 1.5px solid #e2e8f0;
  background: #fbfcfe;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, transform 0.15s ease;
}
.pks-otp-box:focus {
  outline: none;
  background: #fff;
  border-color: rgba(44, 100, 211, 0.65);
  box-shadow: 0 0 0 4px rgba(44, 100, 211, 0.12);
  transform: translateY(-2px);
}
@media (max-width: 379px) {
  .pks-otp-box { width: 2.5rem; height: 3rem; font-size: 1.15rem; }
}
.pks-verify-tools {
  margin-top: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}
.pks-verify-link {
  background: none;
  border: 0;
  padding: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: #2563eb;
  cursor: pointer;
}
.pks-verify-link:hover:not(:disabled) { text-decoration: underline; }
.pks-verify-link:disabled { color: #94a3b8; cursor: default; }
.pks-verify-sep { color: #cbd5e1; }
.pks-change-email {
  margin-top: 1.1rem;
  text-align: left;
  padding: 1rem 1.1rem;
  border-radius: 1.1rem;
  border: 1px solid #e2e8f0;
  background: #fbfcfe;
}
.pks-change-email-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.pks-change-email-row .pks-input { flex: 1; min-width: 12rem; }

/* Email verified chip */
.pks-verified-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  margin-bottom: 1.1rem;
  border-radius: 9999px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Documents step */
.pks-doc-row {
  padding: 1rem 1.1rem;
  border-radius: 1.15rem;
  border: 1px solid #e2e8f0;
  background: #fbfcfe;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.pks-doc-row:hover { border-color: #bfdbfe; }
.pks-doc-row.has-file { border-color: #bbf7d0; background: #fbfefc; }
.pks-doc-current {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #15803d;
  margin-bottom: 0.5rem;
}

/* Review step */
.pks-review { display: grid; gap: 1rem; }
.pks-review-card {
  border-radius: 1.25rem;
  border: 1px solid #e8eef7;
  background: #fbfdff;
  padding: 1.1rem 1.25rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.pks-review-card:hover {
  border-color: #c7d8f5;
  box-shadow: 0 14px 34px -20px rgba(44, 100, 211, 0.35);
  transform: translateY(-2px);
}
.pks-review-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.7rem;
}
.pks-review-card header h3 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #13233f;
  letter-spacing: -0.01em;
}
.pks-review-card header a {
  font-size: 0.75rem;
  font-weight: 600;
  color: #2563eb;
}
.pks-review-card header a:hover { text-decoration: underline; }
.pks-review-card dl { display: grid; gap: 0.45rem; }
.pks-review-card dl > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
}
.pks-review-card dt { color: #64748b; flex-shrink: 0; }
.pks-review-card dd { color: #1e293b; font-weight: 600; text-align: right; min-width: 0; overflow-wrap: anywhere; }
.pks-review-ok {
  display: inline-flex;
  padding: 0.12rem 0.55rem;
  border-radius: 9999px;
  background: #dcfce7;
  color: #15803d;
  font-size: 0.68rem;
  font-weight: 700;
}
.pks-review-pending {
  display: inline-flex;
  padding: 0.12rem 0.55rem;
  border-radius: 9999px;
  background: #fef3c7;
  color: #92400e;
  font-size: 0.68rem;
  font-weight: 700;
}
.pks-review-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}
.pks-review-thumbs figure {
  border-radius: 0.85rem;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #fff;
}
.pks-review-thumbs img {
  width: 100%;
  height: 4.6rem;
  object-fit: cover;
  display: block;
}
.pks-review-thumbs figcaption {
  font-size: 0.65rem;
  font-weight: 600;
  color: #64748b;
  text-align: center;
  padding: 0.3rem 0.25rem;
}
.pks-review-next {
  list-style: decimal;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: #475569;
}

@media (prefers-reduced-motion: reduce) {
  .pks-card--breathe,
  .pks-bank-skeleton,
  .pks-success-check,
  .pks-verify-icon,
  .pks-alert,
  .pks-btn.is-loading::after {
    animation: none !important;
  }
  .pks-upload-card:hover,
  .pks-btn--primary:hover,
  .pks-btn--ghost:hover,
  .pks-workflow-step:hover,
  .pks-review-card:hover,
  .pks-otp-box:focus {
    transform: none;
  }
  .pks-step-enter { opacity: 1; transform: none; }
  .pks-step-enter-active { transition: none; }
}
