/* [project]/apps/web/app/styles.css [app-client] (css) */
:root {
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
  --navy-deep: #060d1a;
  --navy-dark: #0d1b2e;
  --navy-mid: #1c2d4f;
  --navy-accent: #2e4a7a;
  --orange: #f26522;
  --orange-light: #ff7b35;
  --orange-dark: #c4511a;
  --ink: #0d1b2e;
  --muted: #64748b;
  --line: #dbe2ea;
  --surface: #fff;
  --surface-soft: #f7f9fc;
  --success: #0f8a5f;
  --warning: #b66a08;
  --error: #c93737;
  font-family: Inter, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  color: var(--ink);
  background: radial-gradient(circle at 14% 0, #f2652217, #0000 32%), linear-gradient(160deg, #f8fafc 0%, #eef3f8 100%);
  margin: 0;
}

main {
  place-items: center;
  min-height: 100dvh;
  padding: 32px 20px;
  display: grid;
}

.card {
  background: #fffffff7;
  border: 1px solid #2e4a7a29;
  border-radius: 24px;
  width: min(100%, 600px);
  padding: 30px 34px 22px;
  box-shadow: 0 24px 70px #0d1b2e1f;
}

.brand-header {
  align-items: center;
  gap: 18px;
  min-height: 52px;
  padding-bottom: 22px;
  display: flex;
}

.identityflow-logo {
  width: 178px;
  height: auto;
  display: block;
}

.brand-divider {
  background: var(--line);
  flex: none;
  width: 1px;
  height: 34px;
}

.tenant-brand {
  min-width: 0;
  height: 42px;
  color: var(--muted);
  flex: 1;
  justify-content: flex-end;
  align-items: center;
  gap: 9px;
  display: flex;
}

.tenant-brand img {
  object-fit: contain;
  max-width: 148px;
  max-height: 40px;
  display: block;
}

.tenant-brand small {
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: .01em;
  max-width: 150px;
  font-size: .72rem;
  font-weight: 650;
  overflow: hidden;
}

.tenant-mark {
  background: linear-gradient(135deg, #f5f7fa, #e8edf3);
  border: 1px dashed #a9b5c4;
  border-radius: 8px;
  flex: none;
  width: 28px;
  height: 28px;
}

h1 {
  color: var(--navy-dark);
  letter-spacing: -.025em;
  margin: 9px 0 12px;
  font-size: clamp(1.75rem, 6vw, 2.45rem);
  line-height: 1.12;
}

p {
  color: var(--muted);
  line-height: 1.62;
}

.eyebrow {
  color: var(--orange-dark);
  letter-spacing: .09em;
  text-transform: uppercase;
  margin: 0 0 5px;
  font-size: .74rem;
  font-weight: 750;
}

.step-content {
  padding-top: 26px;
}

button {
  background: linear-gradient(135deg,var(--orange),var(--orange-light));
  color: #fff;
  width: 100%;
  min-height: 52px;
  font: inherit;
  cursor: pointer;
  border: 0;
  border-radius: 13px;
  margin-top: 18px;
  padding: 12px 18px;
  font-weight: 750;
  transition: transform .16s, box-shadow .16s, opacity .16s;
  box-shadow: 0 8px 20px #f2652238;
}

button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px #f2652247;
}

button:focus-visible {
  outline-offset: 3px;
  outline: 3px solid #f2652242;
}

button:disabled {
  opacity: .48;
  cursor: not-allowed;
  box-shadow: none;
}

button.secondary {
  box-shadow: none;
  color: var(--navy-dark);
  background: #fff;
  border: 1px solid #cbd5e1;
}

button.done {
  box-shadow: none;
  color: #17663a;
  background: #e5f7ef;
}

.button-row {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  display: grid;
}

.button-row button {
  margin-top: 0;
}

.check {
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: #475569;
  cursor: pointer;
  border-radius: 14px;
  align-items: flex-start;
  gap: 12px;
  margin: 24px 0;
  padding: 16px;
  line-height: 1.48;
  display: flex;
}

.check input {
  width: 20px;
  height: 20px;
  accent-color: var(--orange);
  flex: none;
  margin: 1px 0 0;
}

.progress {
  padding: 12px 4px 4px;
  position: relative;
}

.progress-track {
  background: #e5e9ef;
  height: 3px;
  position: absolute;
  top: 24px;
  left: 8%;
  right: 8%;
  overflow: hidden;
}

.progress-track i {
  background: var(--orange);
  height: 100%;
  transition: width .3s;
  display: block;
}

.progress ol {
  z-index: 1;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  position: relative;
}

.progress li {
  color: #94a3b8;
  justify-items: center;
  gap: 6px;
  display: grid;
}

.progress li span {
  background: #fff;
  border: 2px solid #d7dee7;
  border-radius: 50%;
  place-items: center;
  width: 27px;
  height: 27px;
  font-size: .72rem;
  font-weight: 800;
  display: grid;
}

.progress li small {
  font-size: .68rem;
  font-weight: 650;
}

.progress li.complete span {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
}

.progress li.current {
  color: var(--navy-dark);
}

.progress li.current span {
  border-color: var(--orange);
  color: var(--orange-dark);
  box-shadow: 0 0 0 4px #f265221f;
}

.error {
  color: #a32929;
  background: #fff2f2;
  border: 1px solid #f2c7c7;
  border-radius: 11px;
  margin: 14px 0 0;
  padding: 12px 14px;
  line-height: 1.45;
}

.camera-step {
  margin-top: 22px;
}

.camera-frame {
  aspect-ratio: 1.55;
  background: #101724;
  border: 2px solid #9eb0c7;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}

.camera-frame video {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

.camera-frame > span {
  color: #fff;
  text-align: center;
  background: #00000094;
  border-radius: 10px;
  padding: 8px;
  font-size: .9rem;
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
}

.document-guide {
  pointer-events: none;
  border: 2px solid #fffffff0;
  border-radius: 12px;
  position: absolute;
  inset: 9% 6%;
  box-shadow: 0 0 0 999px #0003;
}

.camera-frame.barcode {
  aspect-ratio: 2.2;
}

.camera-frame.barcode .document-guide {
  border-radius: 6px;
  inset: 18% 5%;
}

.quality-feedback {
  border-radius: 12px;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
  padding: 11px 13px;
  font-size: .92rem;
  font-weight: 650;
  display: flex;
}

.quality-feedback i {
  border-radius: 50%;
  flex: none;
  width: 10px;
  height: 10px;
}

.quality-feedback.warn {
  color: #7a4b00;
  background: #fff5d8;
}

.quality-feedback.warn i {
  background: #e39a18;
}

.quality-feedback.good {
  color: #17663a;
  background: #e2f7eb;
}

.quality-feedback.good i {
  background: #22a560;
  box-shadow: 0 0 0 4px #22a56026;
}

.document-capture.active {
  z-index: 1000;
  background: #07101d;
  width: 100vw;
  height: 100dvh;
  position: fixed;
  inset: 0;
  overflow: hidden;
}

.document-capture.active .camera-frame {
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  width: 100%;
  height: 100%;
}

.document-capture.active .document-guide {
  aspect-ratio: 1.58;
  width: min(92vw, 132.72dvh);
  max-width: calc(100vw - 20px);
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
}

.document-capture.active .camera-frame.barcode .document-guide {
  aspect-ratio: 2.2;
  width: min(86vw, 136.4dvh);
  max-width: calc(100vw - 32px);
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
}

.document-capture.active .camera-frame > span {
  top: max(12px,env(safe-area-inset-top));
  z-index: 3;
  width: max-content;
  max-width: 70vw;
  bottom: auto;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
}

.capture-hud {
  z-index: 4;
  pointer-events: none;
  position: absolute;
  inset: 0;
}

.capture-status {
  top: max(58px,calc(env(safe-area-inset-top) + 52px));
  gap: 8px;
  width: min(88vw, 480px);
  display: grid;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.capture-status .quality-feedback {
  margin: 0;
  box-shadow: 0 6px 22px #00000038;
}

.capture-status .error {
  margin: 0;
}

.orientation-feedback {
  color: #fff;
  background: #08101dd6;
  border-radius: 999px;
  justify-self: center;
  padding: 8px 14px;
  font-size: .86rem;
  font-weight: 750;
}

.capture-actions {
  left: 50%;
  bottom: max(14px,env(safe-area-inset-bottom));
  pointer-events: auto;
  align-items: stretch;
  gap: 10px;
  width: min(88vw, 440px);
  display: flex;
  position: absolute;
  transform: translateX(-50%);
}

.capture-actions button {
  min-height: 50px;
  margin: 0;
  box-shadow: 0 8px 26px #00000047;
}

.capture-actions button.secondary {
  background: #fffffff5;
}

.capture-review {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  display: grid;
}

.capture-review figure {
  border: 1px solid var(--line);
  background: var(--surface-soft);
  border-radius: 14px;
  margin: 0;
  padding: 8px;
}

.capture-review img {
  aspect-ratio: 1.55;
  object-fit: contain;
  background: #101724;
  border-radius: 9px;
  width: 100%;
  display: block;
}

.capture-review figcaption {
  text-align: center;
  padding-top: 7px;
  font-size: .85rem;
  font-weight: 700;
}

.analysis-panel {
  color: var(--ink);
  background: #fff7f1;
  border: 1px solid #f2652238;
  border-radius: 14px;
  align-items: center;
  gap: 14px;
  margin: 16px 0 12px;
  padding: 15px 16px;
  display: flex;
}

.analysis-panel > span:last-child {
  gap: 3px;
  display: grid;
}

.analysis-panel strong {
  font-size: .98rem;
}

.analysis-panel small {
  color: var(--muted);
  line-height: 1.4;
}

.liveness-step {
  justify-items: center;
  display: grid;
}

.camera-frame.round {
  aspect-ratio: 3 / 4;
  border: 0;
  border-radius: 24px;
  width: min(100%, 360px);
  max-height: 58dvh;
  box-shadow: 0 14px 38px #0d1b2e33;
}

.camera-frame.round video {
  transform: scaleX(-1);
}

.face-guide {
  z-index: 1;
  pointer-events: none;
  border: 3px solid #ffffffe6;
  border-radius: 48% 48% 45% 45% / 42% 42% 54% 54%;
  position: absolute;
  inset: 8% 9% 16%;
  box-shadow: 0 0 0 999px #060d1a29, 0 0 24px #ffffff29;
}

.liveness-hint {
  z-index: 3;
  color: #fff;
  text-align: center;
  background: #060d1ac7;
  border-radius: 999px;
  width: max-content;
  max-width: 88%;
  padding: 7px 12px;
  font-size: .76rem;
  font-weight: 650;
  position: absolute;
  bottom: 4%;
  left: 50%;
  transform: translateX(-50%);
}

.camera-help {
  text-align: center;
  width: min(100%, 420px);
  margin: 15px auto 0;
  font-size: .92rem;
}

.liveness-step > button {
  width: min(100%, 360px);
}

.countdown {
  z-index: 4;
  color: #fff;
  text-shadow: 0 4px 20px #00000080;
  background: #060d1a52;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3px;
  display: flex;
  position: absolute;
  inset: 0;
}

.countdown small {
  letter-spacing: .07em;
  text-transform: uppercase;
  font-size: .82rem;
  font-weight: 700;
}

.countdown strong {
  font-size: 5.4rem;
  line-height: 1;
}

.action-overlay {
  z-index: 4;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  text-align: center;
  background: #060d1ad1;
  border: 1px solid #ffffff29;
  border-radius: 16px;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 15px 18px;
  display: flex;
  position: absolute;
  bottom: 12%;
  left: 8%;
  right: 8%;
}

.action-overlay small {
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .72rem;
}

.action-overlay strong {
  font-size: clamp(1.18rem, 5vw, 1.55rem);
}

.action-overlay b {
  background: var(--orange);
  border-radius: 50%;
  place-items: center;
  width: 34px;
  height: 34px;
  font-size: 1rem;
  display: grid;
}

.action-overlay.uploading {
  background: #060d1ab3;
  border: 0;
  border-radius: 0;
  justify-content: center;
  inset: 0;
}

.spinner {
  border: 3px solid #ffffff4d;
  border-top-color: #fff;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  animation: .8s linear infinite spin;
  display: inline-block;
}

.spinner.brand {
  border-color: #f2652233;
  border-top-color: var(--orange);
  flex: none;
  width: 36px;
  height: 36px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

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

.loading-state, .empty-state {
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 260px;
  display: flex;
}

.loading-state {
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  display: grid;
}

.loading-state button {
  grid-column: 1 / -1;
}

.loading-state h1, .loading-state p {
  margin-top: 0;
}

.status-icon {
  border-radius: 50%;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 15px;
  font-size: 2rem;
  font-weight: 800;
  display: grid;
}

.status-icon.success {
  color: var(--success);
  background: #ddf5eb;
}

.status-icon.review {
  color: var(--orange-dark);
  background: #fff1e8;
}

.status-icon.danger {
  color: var(--error);
  background: #ffebeb;
}

.status-icon.warning {
  color: var(--warning);
  background: #fff4d9;
}

.status-icon.neutral {
  width: 48px;
  height: 48px;
  color: var(--navy-accent);
  background: #edf2f7;
  font-family: Georgia, serif;
  font-size: 1.3rem;
}

.result-panel {
  text-align: center;
  padding-top: 30px;
}

.result-panel .status-icon {
  margin-inline: auto;
}

.result-lead {
  color: #405066;
  max-width: 460px;
  margin: 0 auto 22px;
  font-size: 1.05rem;
}

.next-step {
  border: 1px solid var(--line);
  background: var(--surface-soft);
  text-align: left;
  border-radius: 15px;
  padding: 18px;
}

.next-step strong {
  color: var(--navy-dark);
}

.next-step p {
  margin: 5px 0 0;
}

.result-meta {
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding: 11px 2px;
  font-size: .8rem;
  display: flex;
}

.result-meta code {
  color: var(--navy-dark);
  letter-spacing: .08em;
  background: #edf1f5;
  border-radius: 6px;
  padding: 4px 7px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-weight: 700;
}

.privacy-note {
  margin: 14px 0 0;
  font-size: .78rem;
}

.security-footer {
  color: #7b8798;
  border-top: 1px solid #edf0f4;
  justify-content: center;
  align-items: center;
  gap: 7px;
  margin-top: 28px;
  padding-top: 18px;
  font-size: .72rem;
  display: flex;
}

.security-footer span {
  color: var(--orange);
}

@media (max-width: 560px) {
  main {
    align-items: stretch;
    padding: 0;
  }

  .card {
    min-height: 100dvh;
    padding: max(22px,env(safe-area-inset-top)) 20px max(18px,env(safe-area-inset-bottom));
    box-shadow: none;
    border: 0;
    border-radius: 0;
  }

  .brand-header {
    gap: 12px;
  }

  .identityflow-logo {
    width: 148px;
  }

  .tenant-brand small {
    max-width: 92px;
    font-size: .65rem;
  }

  .progress li small {
    font-size: .59rem;
  }

  .step-content {
    padding-top: 22px;
  }

  .camera-frame.round {
    border-radius: 20px;
    width: min(100%, 340px);
    max-height: 56dvh;
  }

  .security-footer {
    margin-top: auto;
  }
}

@media (max-width: 390px) {
  .tenant-brand small {
    display: none;
  }

  .tenant-mark {
    width: 26px;
    height: 26px;
  }

  .identityflow-logo {
    width: 142px;
  }

  .progress li small {
    text-align: center;
    max-width: 68px;
  }

  .button-row {
    grid-template-columns: 1fr;
  }
}

/*# sourceMappingURL=apps_web_app_styles_1hwhe0t.css.map*/