/* Shared header and navigation overrides */
.nk-header-action .nk-btn-group { gap: 0.25rem; }
.nk-header-wrap { justify-content: flex-start; }
.nk-header-menu { margin-left: 0.5rem; }
.nk-header-action { margin-left: auto; }

/* Simplified header surface used across static pages */
.nk-header,
.nk-header-main { background: #fff; border: none; box-shadow: none; }
.nk-header::before,
.nk-header::after,
.nk-header-main::before,
.nk-header-main::after { display: none !important; }

/* Responsive tab navigation used in the demos section */
@media (max-width: 768px) {
  .nk-section-demos .nav-tabs { flex-wrap: wrap; }
  .nk-section-demos .nav-tabs .nav-item { flex: 1 0 50%; text-align: center; }
  .nk-section-demos .nav-tabs .nav-link { padding: 0.35rem 0.8rem; font-size: 0.9rem; min-width: 0; flex-direction: column; gap: 0.2rem; white-space: normal; }
  .nk-section-demos .nav-tabs .nav-link em { font-size: 1.25rem; line-height: 1; }
}

/* Workflow badges reused across platform workflows */
.workflow-step-badge {
  width: 3rem;
  height: 3rem;
  border-radius: 50% !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  flex-shrink: 0;
}

/* Legal navigation helpers */
.nk-legal-nav { position: sticky; top: 112px; }
.nk-legal-nav ul { list-style: none; padding-left: 0; margin-bottom: 0; }
.nk-legal-nav li + li { margin-top: 0.35rem; }
.nk-legal-nav a { display: block; padding: 0.4rem 0; font-weight: 600; font-size: 0.95rem; color: #0f172a; text-decoration: none; }
.nk-legal-nav a:hover { color: #6d4cef; }
.nk-entry h3 { font-size: 1.5rem; }
.nk-entry p,
.nk-entry li { font-size: 1rem; color: #475467; }
.nk-entry ul { padding-left: 1.25rem; }
@media (max-width: 991.98px) { .nk-legal-nav { position: static; } }

/* Multi-step onboarding and form styles */
.nk-multi-step-card { border-radius: 24px; border: 1px solid rgba(15, 23, 42, 0.08); background: #fff; }
.nk-step-head { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.nk-step-indicator { letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.72rem; font-weight: 600; color: #6d4cef; }
.nk-step-progress { flex: 1; height: 0.35rem; background: rgba(109, 76, 239, 0.15); border-radius: 999px; overflow: hidden; min-width: 200px; }
.nk-step-progress-bar { height: 100%; width: 33%; background: linear-gradient(120deg, #6d4cef, #22d3ee); border-radius: inherit; transition: width 0.35s ease; }
.multi-step-form .step { display: none; }
.multi-step-form .step.is-active { display: block; animation: fadeInUp 0.35s ease; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.nk-intent-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; max-height: 360px; overflow-y: auto; padding-right: 0.25rem; }
.nk-intent-grid::-webkit-scrollbar { width: 6px; }
.nk-intent-grid::-webkit-scrollbar-thumb { background: rgba(15, 23, 42, 0.2); border-radius: 999px; }
.nk-intent-grid::-webkit-scrollbar-track { background: transparent; }
.nk-intent-card { border: 1px solid rgba(15, 23, 42, 0.12); border-radius: 18px; background: #fff; padding: 1.1rem 1.2rem; display: flex; align-items: flex-start; gap: 0.75rem; width: 100%; text-align: left; cursor: pointer; transition: all 0.25s ease; min-height: 120px; }
.nk-intent-card .intent-icon { width: 46px; height: 46px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.35rem; }
.nk-intent-card:hover,
.nk-intent-card:focus { border-color: rgba(109, 76, 239, 0.4); box-shadow: 0 1.25rem 2rem rgba(15, 23, 42, 0.08); }
.nk-intent-card.active { border-color: #6d4cef; box-shadow: 0 1.25rem 2rem rgba(109, 76, 239, 0.2); }
.nk-intent-card small { color: #6b7280; display: block; margin-top: 0.35rem; }
.nk-plan-pill { border: 1px solid rgba(15, 23, 42, 0.12); border-radius: 999px; padding: 0.35rem 1rem; display: inline-flex; align-items: center; gap: 0.35rem; cursor: pointer; transition: all 0.25s ease; font-weight: 600; }
.nk-plan-pill input { display: none; }
.nk-plan-pill.active { border-color: #6d4cef; color: #111928; background: rgba(109, 76, 239, 0.08); }
.nk-summary-card { border-radius: 18px; background: linear-gradient(135deg, #101828, #0f172a); color: #fff; padding: 1.5rem; }
.nk-summary-card .sub-text { color: rgba(255, 255, 255, 0.7); }
.nk-summary-card strong { font-size: 1.05rem; }
.nk-form-helper { font-size: 0.9rem; color: #475467; }
.nk-mode-switch { display: inline-flex; padding: 0.25rem; border-radius: 999px; background: #f4f6fb; border: 1px solid rgba(15, 23, 42, 0.08); gap: 0.25rem; }
.nk-mode-switch button { border: none; background: transparent; border-radius: 999px; padding: 0.45rem 1.1rem; font-weight: 600; color: #4b5563; cursor: pointer; transition: all 0.2s ease; }
.nk-mode-switch button.active { background: #fff; color: #111928; box-shadow: 0 0.35rem 1rem rgba(15, 23, 42, 0.08); }
.nk-signup-pane { display: none; margin-top: 1.5rem; }
.nk-signup-pane.is-active { display: block; }
.nk-signup-pane .alert { border-radius: 14px; }
.multi-step-form .form-control-lg,
.multi-step-form .form-select-lg,
.multi-step-form textarea { padding: 0.65rem 0.85rem; font-size: 0.95rem; border-radius: 0.75rem; }
@media (max-width: 575.98px) {
  .nk-intent-grid { max-height: none; }
  .nk-intent-card { flex-direction: column; align-items: flex-start; }
  .nk-step-progress { min-width: 140px; }
}
