@charset "UTF-8";

/* GLOBAL / BASE STYLES */

:root {
  /* surfaces */
  --bg-outer: #eceef1;
  --bg-left: #f6f7f9;
  --card-bg: #ffffff;
  --card-border: #e8e9ef;
  /* text */
  --text-strong: #1b2230;
  --text-body: #5c616e;
  --text-muted: #9aa0ac;
  /* left-side accents */
  --icon-bg: #eef2fc;
  --icon-fg: #3f73d6;
  --badge-bg: #e9f0fd;
  --badge-fg: #4571c7;
  /* primary blue */
  --blue: #3d7ee8;
  --blue-top: #298AEA;
  --blue-bot: #1D5DCC;
  /* dark panel */
  --dark-bg: #1a2333;
  --dark-bg-2: #1d2840;
  --dark-strong: #eef1f6;
  --dark-body: #99a2b3;
  --dark-list: #d3d8e2;
  --check: #2784E6;
  --radius-window: 26px;
  --radius-dark: 20px;
  --radius-card: 12px;
  --red: #E0392F;
  --red-bg: #FDECEC;
  /* login page surface / header */
  --lh-surface: #f7f7f7;
  --lh-header-top: #232a44;
  --lh-header-bot: #232a44;
  --lh-header-border: rgba(255, 255, 255, 0.08);
  --lh-nav-text: #ffffff;
  --lh-nav-text-dim: rgba(255, 255, 255, 0.85);
  /*   --lh-hero-bg-image: url("barbg.png"); */
  --lh-drop-bg: #232a44;
  --lh-drop-border: rgba(255, 255, 255, 0.14);
  --lh-hero-bg-color: #f7f7f7;
  --lh-hero-bg-position: center 50px;
  --lh-hero-bg-size: contain;
  --lh-chat-top: #2989e9;
  --lh-chat-bot: #1e61cf;
  --lh-chat-badge: #ff784e;
  /* login card */
  --lh-card-bg: #ffffff;
  --lh-card-border: #e8e9ef;
  --lh-card-text: #1b2230;
  --lh-card-text-dim: #5c616e;
  --lh-input-bg: #ffffff;
  --lh-input-border: #e3e5ec;
  --lh-input-placeholder: #9aa0ac;
  /* payment-page */
  --orange: #FF784E;
  --link-blue: #4F6DF4;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Telegráfico", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg-outer);
  color: var(--text-strong);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  display: flex;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --lh-surface: #232a44;
    --lh-hero-bg-image: none;
    --lh-hero-bg-color: #232a44;
    --lh-card-bg: #2c3457;
    --lh-card-border: rgba(255, 255, 255, 0.08);
    --lh-card-text: #eef1f6;
    --lh-card-text-dim: #a7add0;
  }
}

:root[data-theme="dark"] {
  --lh-surface: #232a44;
  --lh-hero-bg-image: none;
  --lh-hero-bg-color: #232a44;
  --lh-card-bg: #2c3457;
  --lh-card-border: rgba(255, 255, 255, 0.08);
  --lh-card-text: #eef1f6;
  --lh-card-text-dim: #a7add0;
}

body.auth-register {
  align-items: flex-start;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 28px;
  background: var(--bg-outer);
  color: var(--text-strong);
  text-rendering: optimizeLegibility;
}

/* SHARED APP LAYOUT */

.onboarding-layout,
.app-window {
  display: flex;
  gap: 24px;
  padding: 24px;
  width: -webkit-fill-available;
  width: -moz-available;
  width: stretch;
  height: -webkit-fill-available;
  height: -moz-available;
  height: stretch;
  align-items: stretch;
  /*  background: var(--bg-left);
  border-radius: var(--radius-window);
  box-shadow: 0 30px 70px -30px rgba(20, 28, 46, 0.35);*/
}

.mobile-topbar {
  display: none;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.mobile-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.mobile-logo {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #1d2840;
  color: #fff;
  font-size: 14px;
}

.mobile-name {
  font-size: 16px;
}

.mobile-menu {
  width: 36px;
  height: 36px;
  border: none;
  background: #eef2fc;
  border-radius: 12px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 8px;
  cursor: pointer;
}

.mobile-menu span {
  display: block;
  height: 2px;
  width: 100%;
  background: #3f73d6;
  border-radius: 1px;
}

/* LEFT PANEL / SHARED LAYOUT */

/* Left panel wrapper layout */

.onboarding-panel--left,
.left-pane {
  display: flex;
  flex-direction: column;
  flex: 1 1 58%;
  padding: 46px 40px 38px 52px;
  /* background: var(--bg-left);*/
  overflow: visible;
  height: 100%;
}

.left-top {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.left-header {
  flex: 0 0 auto;
}

.steps-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow: visible;
  padding-right: 0;
}

/* onboarding.html content styles */

.steps-scroll::-webkit-scrollbar {
  width: 6px;
}

.steps-scroll::-webkit-scrollbar-thumb {
  background: rgba(61, 126, 232, 0.25);
  border-radius: 999px;
}

.welcome {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 400;
  color: #353a45;
}

.display-head {
  margin: 0 0 18px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  color: var(--text-strong);
}

.lead-text {
  margin: 0 0 30px;
  max-width: 560px;
  font-size: 15px;
  line-height: 1.62;
  color: var(--text-body);
}

.onboarding-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Onboarding stepper form (onboarding-stepper.html) */

.onboarding-form {
  display: grid;
  gap: 10px;
  max-width: 520px;
}

.onboarding-progress {
  position: relative;
  width: 100%;
  height: 6px;
  background: rgba(61, 126, 232, 0.14);
  border-radius: 999px;
  margin: 12px 0 20px;
  overflow: hidden;
}

.onboarding-progress__fill {
  display: block;
  height: 100%;
  width: 11.11%;
  background: linear-gradient(90deg, #3d7ee8, #1d5dcc);
  border-radius: 999px;
}

.form-group {
  display: grid;
  gap: 6px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: #33394d;
}

.form-control {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid #dbe0ea;
  border-radius: 14px;
  color: var(--text-strong);
  font-size: 14px;
  background: #fff;
}

.form-control:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(61, 126, 232, 0.12);
}

.form-help,
.form-note {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-body);
  font-size: 13px;
  line-height: 1.5;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  border: 1px solid #c7d3e0;
  border-radius: 6px;
  accent-color: var(--blue);
}

.checkbox-row a {
  color: var(--blue);
  text-decoration: none;
}

.checkbox-row a:hover {
  text-decoration: underline;
}

/* onboarding-stepper.html content styles */

.stepper-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.dark-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.brand-mark {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ffffff;
}

.brand-sign {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  opacity: 0.9;
}

.stepper-headline {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.75);
}

.stepper-list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0 0 0 28px;
}

.stepper-list::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 41px;
  bottom: 16px;
  width: 2px;
  background: rgba(255, 255, 255, 0.15);
}

.stepper-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.stepper-marker {
  width: 28px;
  height: 28px;
  min-width: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.stepper-marker--bullet {
  position: relative;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.1);
}

.stepper-marker--bullet::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
}

.stepper-marker--number {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.stepper-item--active .stepper-marker--number {
  background: #ffffff;
  color: var(--dark-bg);
  border-color: #ffffff;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.15);
}

.stepper-item--active::after,
.stepper-item--done::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 28px;
  bottom: -24px;
  width: 2px;
  background: #ffffff;
}

.stepper-list li:last-child::after {
  display: none;
}

.stepper-copy strong {
  display: block;
  font-size: 15px;
  color: #ffffff;
  margin-bottom: 6px;
}

.stepper-copy span {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-card {
  display: flex;
  align-items: center;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 14px 18px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.step-card:hover {
  border-color: #d6dcec;
  box-shadow: 0 6px 16px -8px rgba(31, 58, 110, 0.22);
}

.step-icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--icon-bg);
  color: var(--icon-fg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.step-icon svg {
  width: 20px;
  height: 20px;
}

.step-title {
  flex: 1 1 auto;
  margin-left: 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-strong);
}

.time-badge {
  flex: 0 0 auto;
  margin-left: 12px;
  background: var(--badge-bg);
  color: var(--badge-fg);
  font-size: 12.5px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 8px;
  white-space: nowrap;
}

.left-bottom {
  margin-top: auto;
  padding-top: 34px;
}

.bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.link-help {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-strong);
  text-decoration: none;
}

.link-help:hover {
  color: var(--blue);
}

.actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.link-learn {
  font-size: 14px;
  font-weight: 500;
  color: #3a3f4b;
  text-decoration: none;
}

.link-learn:hover {
  color: var(--blue);
}

.btn-krenimo {
  border: 0;
  border-radius: 9px;
  padding: 13px 44px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(to right, var(--blue-top), var(--blue-bot));
  box-shadow: 0 10px 22px -10px rgba(58, 121, 230, 0.75);
  cursor: pointer;
  transition: filter .18s ease, transform .06s ease, box-shadow .18s ease;
}

.btn-krenimo:hover {
  filter: brightness(1.04);
  box-shadow: 0 12px 26px -10px rgba(58, 121, 230, 0.85);
}

.btn-krenimo:active {
  transform: translateY(1px);
}

.session-note-onboard {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-muted);
}

.session-note {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-muted);
}

.session-note svg,
.session-note-onboard svg {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
}

/* RIGHT PANEL */

.onboarding-panel--right,
.right-pane {
  flex: 0 0 42%;
  max-width: 42%;
  min-width: 320px;
  height: 780px;
  /* Right side height  730px;*/
  align-self: flex-start;
  padding: 28px 26px 28px 14px;
  /* background: var(--bg-left);*/
}

.dark-card {
  position: relative;
  height: 100%;
  border-radius: var(--radius-dark);
  padding: 44px 36px;
  overflow: hidden;
  background-color: var(--dark-bg);
  background-image: url("/uploads/right-bg.png");
  background-size: cover;
  background-repeat: no-repeat;
}

.dark-content {
  position: relative;
  z-index: 1;
  top: 80px;
  left: 10px;
}

.big-check {
  display: inline-flex;
  color: var(--check);
  line-height: 1;
  margin-bottom: 16px;
}

.big-check svg {
  width: 26px;
  height: 26px;
}

.dark-head {
  margin: 0 0 18px;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  color: var(--dark-strong);
}

.dark-lead {
  margin: 0 0 30px;
  max-width: 360px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--dark-body);
}

.trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  max-width: 360px;
}

.trust-list li:last-child {
  margin-bottom: 0;
}

.trust-list svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--check);
}

.trust-list span {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--dark-list);
}

/* RESPONSIVE BEHAVIOR */

@media (max-width: 900px) {
  body {
    padding: 16px;
  }

  .mobile-topbar {
    display: flex;
  }

  .lead-text {
    font-size: 14px;
  }

  .app-window {
    flex-direction: column;
    width: 100%;
    height: auto;
    max-height: none;
    border-radius: 0;
    box-shadow: none;
    gap: 0;
    overflow: visible;
  }

  .left-pane {
    flex: 0 0 auto;
    padding: 20px 20px 24px;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    min-height: auto;
  }

  .left-top {
    flex: 0 0 auto;
  }

  .right-pane {
    display: none;
  }

  .dark-card {
    padding: 36px 26px;
  }

  .bottom-row {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .link-help {
    display: none;
  }

  .link-learn {
    display: none;
  }

  .actions {
    width: 100%;
  }

  .btn-krenimo {
    width: 100%;
    justify-content: center;
    padding: 14px 0;
  }

  .session-note,
  .session-note-onboard {
    justify-content: center;
    margin-top: 10px;
  }

  .session-note {
    justify-content: start;
    margin-top: 10px;
  }

  .display-head {
    font-size: 26px;
    margin-bottom: 16px;
  }

  .welcome {
    margin-bottom: 12px;
  }

  .lead-text {
    margin-bottom: 24px;
  }

  .onboarding-progress {
    margin-bottom: 18px;
  }
}

@media (max-width: 480px) {
  .display-head {
    font-size: 22px;
  }

  .dark-head {
    font-size: 21px;
  }

  .actions {
    gap: 16px;
  }

  .btn-krenimo {
    padding: 12px 30px;
  }

  .time-badge {
    padding: 4px 9px;
  }

  .onboarding-progress {
    height: 5px;
    margin-bottom: 16px;
  }
}

/* onboarding-stepper2.html — Verify Email (Step 2 of 9) */

/* Mobile logo SVG replaces text "L" */

.mobile-logo-svg {
  display: block;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
}

/* Verification status row */

.verify-status-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 4px;
}

.verify-status-icon {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.verify-status-icon svg {
  width: 18px;
  height: 18px;
}

.verify-status-text strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-strong);
  margin-bottom: 6px;
  line-height: 1.4;
}

.verify-status-text p {
  margin: 0;
  font-size: 14px;
  color: var(--text-body);
}

.link-resend {
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
}

.link-resend:hover {
  text-decoration: underline;
}

/* "Promijeni email" centre link in footer */

.link-change-email {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-strong);
  text-decoration: none;
}

.link-change-email:hover {
  color: var(--blue);
}

/* Larger step headline for step 2 */

.stepper-headline--lg {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
  text-transform: uppercase;
  margin: 0 0 28px;
}

/* Completed step marker (solid blue circle + check) */

.stepper-marker--check {
  background: var(--blue);
  border-color: var(--blue);
  /*   box-shadow: 0 0 0 5px rgba(61,126,232,0.25); */
}

.stepper-marker--check svg {
  width: 14px;
  height: 14px;
}

/* Responsive — hide change-email link on mobile */

@media (max-width: 900px) {
  .link-change-email {
    display: none;
  }
}

/* onboarding-stepper3.html — Phone Number (Step 3 of 9) */

/* Phone input field */

.phone-field {
  display: flex;
  align-items: stretch;
  width: 100%;
  border: 1px solid #dbe0ea;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  min-height: 52px;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.phone-field:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(61, 126, 232, 0.12);
}

.phone-prefix {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-right: 1px solid #dbe0ea;
  flex: 0 0 auto;
  background: #fff;
}

.phone-flag {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.phone-code {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-strong);
}

.phone-number-input {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  padding: 14px 16px;
  border: none;
  outline: none;
  font-size: 14px;
  color: var(--text-strong);
  background: transparent;
  font-family: inherit;
}

.phone-number-input::-moz-placeholder {
  color: var(--text-muted);
}

.phone-number-input::placeholder {
  color: var(--text-muted);
}

/* "Nazad" back link — same style as link-change-email */

.link-back {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-strong);
  text-decoration: none;
}

.link-back:hover {
  color: var(--blue);
}

/* Hide back link on mobile */

@media (max-width: 900px) {
  .link-back {
    display: none;
  }
}

/* onboarding-stepper3.html — Country dropdown + OTP screen */

/* onboarding-stepper3.html — Country dropdown + OTP screen */

/* ── Screen toggle ── */

.stepper-screen {
  display: none;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.stepper-screen--active {
  display: flex;
}

.phone-prefix--select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  display: flex;
  align-items: center;
  height: 100%;
  max-width: 180px;
  padding: 0 30px 0 14px;
  border: none;
  border-right: 1px solid #dbe0ea;
  border-radius: 0;
  background: #fff url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2012%2012'%20fill='none'%3E%3Cpath%20d='M2%204.5L6%208L10%204.5'%20stroke='%239aa0ac'%20stroke-width='1.6'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  background-size: 10px 10px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-strong);
  cursor: pointer;
  flex: 0 0 auto;
  transition: background-color .14s ease;
}

.phone-prefix--select:hover {
  background-color: #f4f6fb;
}

.phone-prefix--select:focus {
  outline: none;
}

/*OTP */

.otp-wrap {
  --otp-n: 6;
  --otp-w: 62px;
  --otp-g: 10px;
  --otp-h: 62px;
  --otp-radius: 14px;
  --otp-fs: 22px;
  position: relative;
  width: calc(var(--otp-n) * var(--otp-w) + (var(--otp-n) - 1) * var(--otp-g));
  max-width: 100%;
  margin-bottom: 20px;
  /* NOT overflow:hidden — hidden is still programmatically scrollable, so the
     browser scrolls this box to chase the caret past the last cell, dragging
     the boxes left. overflow:clip is non-scrollable → boxes stay put and the
     end-caret is clipped. (hidden kept as a fallback for pre-2022 browsers.) */
  overflow: hidden;
  overflow: clip;
}

.otp-group {
  display: flex;
  gap: var(--otp-g);
  pointer-events: none;
}

.otp-box {
  flex: 0 0 var(--otp-w);
  height: var(--otp-h);
  border: 1.5px solid #dbe0ea;
  border-radius: var(--otp-radius);
  background: #ffffff;
  box-sizing: border-box;
}

.otp-single-input {
  position: absolute;
  top: 0;
  left: 0;
  height: var(--otp-h);
  box-sizing: border-box;
  padding: 0 0 0 calc((var(--otp-w) - 1ch) / 2);
  /* width from box geometry (one cell wider than the digits need) so the
     input itself never has to scroll to reveal the caret */
  width: calc((var(--otp-n) + 1) * var(--otp-w) + var(--otp-n) * var(--otp-g));
  border: none;
  outline: none;
  background: transparent;
  color: var(--text-strong);
  caret-color: var(--blue);
  font-family: inherit;
  font-weight: 600;
  font-size: var(--otp-fs);
  line-height: var(--otp-h);
  font-variant-numeric: tabular-nums;
  text-align: left;
  letter-spacing: calc(var(--otp-w) + var(--otp-g) - 1ch);
}

.otp-single-input::-moz-selection {
  background: rgba(61, 126, 232, 0.14);
  color: var(--text-strong);
}

.otp-single-input::selection {
  background: rgba(61, 126, 232, 0.14);
  color: var(--text-strong);
}

@media (max-width: 900px) {
  .otp-wrap {
    --otp-w: 44px;
    /* smaller so all 6 boxes fit inside a padded phone pane */
    --otp-g: 8px;
    --otp-h: 52px;
    --otp-radius: 12px;
    --otp-fs: 20px;
  }
}

/* onboarding-stepper4.html — Personal Data (Step 4 of 9) */

/* 2-column form grid (Ime/Prezime row, Date/Citizenship row) */

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Date input — custom calendar icon, no native indicator */

.date-wrap {
  position: relative;
}

.date-wrap .form-control {
  padding-right: 44px;
}

/* Kill the browser's built-in calendar icon */

.date-wrap input[type="date"]::-webkit-calendar-picker-indicator {
  display: none;
}

/* Clickable button wrapper that positions the SVG */

.date-icon-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: none;
  background: none;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  border-radius: 6px;
  transition: color .16s ease, background .16s ease;
}

.date-icon-btn:hover {
  color: var(--blue);
  background: rgba(61, 126, 232, 0.08);
}

/* SVG inside the button — no standalone positioning needed */

.date-icon {
  width: 18px;
  height: 18px;
  color: inherit;
  flex: 0 0 auto;
  pointer-events: none;
}

/* Citizenship select — hide native arrow, inject chevron */

.select-wrap {
  position: relative;
}

.select-wrap select {
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  width: 100%;
  min-height: 52px;
  padding: 14px 44px 14px 16px;
  border: 1px solid #dbe0ea;
  border-radius: 14px;
  color: var(--text-strong);
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.select-wrap select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(61, 126, 232, 0.12);
}

.select-chevron {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  pointer-events: none;
}

@media (max-width: 900px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* onboarding-stepper5.html — ID Document (Step 5 of 9) */

/* Document type tab toggle */

.doc-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.doc-tab {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1.5px solid #dbe0ea;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-strong);
  cursor: pointer;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
  font-family: inherit;
  line-height: 1;
}

.doc-tab--active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.doc-tab:not(.doc-tab--active):hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* Front/back upload — two boxes, single form, small gap */

.doc-upload-form {
  margin: 0;
}

.doc-upload-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

/*.upload-zone--half {
  min-height: 160px;
  margin-bottom: 0;
}

.upload-zone--half.upload-zone--filled {
  min-height: 160px;
}*/

.upload-zone--half .upload-prompt {
  padding: 24px 12px;
}

.upload-zone--half .upload-icon {
  width: 32px;
  height: 32px;
}

@media (max-width: 560px) {
  .doc-upload-grid {
    grid-template-columns: 1fr;
  }
}

/* Upload drop zone */

.upload-zone {
  position: relative;
  border: 1.5px dashed #c8d0e0;
  border-radius: 16px;
  background: #fff;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease;
  margin-bottom: 16px;
  overflow: hidden;
}

.upload-zone:hover,
.upload-zone--drag-over {
  border-color: var(--blue);
  background: #f0f5fe;
}

.upload-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}

.upload-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 44px 24px;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.upload-icon {
  width: 40px;
  height: 40px;
  color: var(--blue);
  margin-bottom: 4px;
}

.upload-label {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.upload-hint {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
}

/* Info / warning banner */

.doc-info-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: #eef2fc;
  border-radius: 12px;
  margin-bottom: 8px;
}

.doc-info-banner svg {
  width: 18px;
  height: 18px;
  color: var(--blue);
  flex: 0 0 18px;
  margin-top: 1px;
}

.doc-info-banner p {
  margin: 0;
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.55;
}

/* Upload zone — filled / preview state */

.upload-zone--filled {
  border: none !important;
  background: #e8edf5 !important;
  overflow: visible;
  cursor: default;
  min-height: 240px;
}

.upload-zone--filled .upload-prompt {
  display: none;
}

.upload-zone--filled .upload-input {
  pointer-events: none;
  display: none;
}

/* doc-preview fills the zone; thumb clips image, badges overflow via parent's overflow:visible */

.doc-preview {
  position: absolute;
  inset: 0;
  display: none;
}

.upload-zone--filled .doc-preview {
  display: block;
}

/* Thumb fills zone absolutely — clips image to rounded corners */

.doc-preview__thumb {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #e8edf5;
}

/* Image preview pane — scrolls when the image is zoomed in */

.doc-preview__imgpane {
  position: absolute;
  inset: 0;
  display: none;
  overflow-x: auto;
  overflow-y: scroll;
  /* scrollbar visible by default */
  border-radius: 16px;
  background: #e8edf5;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(26, 35, 51, 0.38) rgba(26, 35, 51, 0.08);
}

.upload-zone--filled .doc-preview__imgpane.is-active {
  display: block;
}

.doc-preview__imgpane::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.doc-preview__imgpane::-webkit-scrollbar-track {
  background: rgba(26, 35, 51, 0.08);
  border-radius: 8px;
}

.doc-preview__imgpane::-webkit-scrollbar-thumb {
  background: rgba(26, 35, 51, 0.38);
  border-radius: 8px;
}

.doc-preview__imgpane::-webkit-scrollbar-thumb:hover {
  background: rgba(26, 35, 51, 0.58);
}

/* Full width by default — the image overflows vertically and the pane scrolls */

.doc-preview__img {
  display: block;
  width: 100%;
  height: auto;
  -o-object-fit: unset;
     object-fit: unset;
}

/* Zoom controls (image preview only) */

.doc-preview__zoom {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: none;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 2px 10px rgba(16, 24, 40, 0.18);
  z-index: 4;
}

.upload-zone--filled .doc-preview__zoom.is-active {
  display: none !important;
}

.doc-preview__zoom-btn {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #1a2333;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
}

.doc-preview__zoom-btn:hover {
  background: #eef2f8;
}

.doc-preview__zoom-btn:disabled {
  opacity: 0.35;
  cursor: default;
  background: transparent;
}

.doc-preview__zoom-level {
  min-width: 42px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #1a2333;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

/* PDF preview pane — clips to the box so only the viewer's own scrollbar shows */

.doc-preview__pdfpane {
  position: absolute;
  inset: 0;
  display: none;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
}

.upload-zone--filled .doc-preview__pdfpane.is-active {
  display: block;
}

.doc-preview__pdf {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

.doc-preview__thumb {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.doc-preview__thumb iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.doc-preview__file {
  display: none;
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  background: #f4f7fb;
  text-align: center;
  color: var(--text-body);
}

.doc-preview__file-icon {
  font-size: 48px;
  color: #d32f2f;
  line-height: 1;
}

.doc-preview__file-name {
  max-width: 80%;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-body);
  word-break: break-word;
}

.doc-preview__sbar {
  position: absolute;
  top: 8px;
  right: 2px;
  bottom: 14px;
  width: 6px;
  display: none;
  border-radius: 999px;
  background: rgba(26, 35, 51, 0.1);
  z-index: 0;
  cursor: pointer;
  touch-action: none;
}

.doc-preview__sbar-thumb {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  min-height: 24px;
  border-radius: 999px;
  background: rgba(26, 35, 51, 0.42);
}

/* Horizontal track — sits in the bottom gutter */

.doc-preview__sbar--h {
  top: auto;
  left: 8px;
  right: 14px;
  bottom: 2px;
  width: auto;
  height: 6px;
}

.doc-preview__sbar--h .doc-preview__sbar-thumb {
  top: 0;
  bottom: 0;
  left: 0;
  right: auto;
  height: auto;
  min-height: 0;
  min-width: 24px;
}

.doc-preview__sbar-thumb {
  cursor: grab;
}

.doc-preview__sbar-thumb:hover {
  background: rgba(26, 35, 51, 0.58);
}

.doc-preview__sbar.is-dragging .doc-preview__sbar-thumb {
  background: rgba(26, 35, 51, 0.68);
  cursor: grabbing;
}

/* Drag the image itself to pan (mouse / pen — touch scrolls natively) */

.doc-preview__imgpane.is-active {
  cursor: grab;
}

.doc-preview__imgpane.is-panning {
  cursor: grabbing;
}

.doc-preview__imgpane.is-panning .doc-preview__img {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  -webkit-user-drag: none;
}

/* Hide name / year text */

.doc-preview__meta {
  display: none;
}

.doc-preview__name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.doc-preview__year {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

.doc-preview__check {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #22c55e;
  border: 3px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(34, 197, 94, 0.45);
  z-index: 2;
}

.doc-preview__check svg {
  width: 16px;
  height: 16px;
}

.doc-preview__remove {
  position: absolute;
  top: -12px;
  left: -12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  color: #444;
  transition: background .14s ease, color .14s ease, transform .14s ease;
  z-index: 3;
  padding: 0;
}

.doc-preview__remove:hover {
  background: #fee2e2;
  color: #dc2626;
  transform: scale(1.08);
}

.doc-preview__remove svg {
  width: 14px;
  height: 14px;
}

/* Top-right variant — used for the front/back preview boxes sitting close together */

.doc-preview__remove--tr {
  top: 8px;
  left: auto;
  right: 8px;
}

/* Camera / phone capture button — desktop footer pill */

.btn-camera {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border: 1.5px solid #dbe0ea;
  border-radius: 9px;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-strong);
  cursor: pointer;
  transition: border-color .16s ease, color .16s ease;
  font-family: inherit;
  white-space: nowrap;
  line-height: 1;
}

.btn-camera:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn-camera svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

/* Mobile-only camera row below Nastavi */

.camera-mobile-row {
  display: none;
}

@media (max-width: 900px) {
  .btn-camera {
    display: none;
  }

  .camera-mobile-row {
    display: flex;
    justify-content: center;
    margin-top: 4px;
  }

  .btn-camera-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-strong);
    background: none;
    border: none;
    padding: 10px 0;
    cursor: pointer;
    font-family: inherit;
  }

  .btn-camera-text svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
  }

  .doc-upload-col .upload-zone {
    margin-bottom: 5px;
    min-height: 180px;
  }
}

.doc-upload-col {
  display: flex;
  flex-direction: column;
}

.doc-upload-col .upload-zone {
  flex: 1;
  margin-bottom: 5px;
}

/* onboarding-stepper6.html — Address Proof (Step 6 of 9) */

/* Two-column: doc type selector (left) + upload zone (right) */

.addr-layout {
  display: grid;
  /*grid-template-columns: 1fr 1.5fr;*/
  grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
  margin-bottom: 16px;
}

.doc-upload-col {
  display: flex;
  flex-direction: column;
}

.doc-upload-col .upload-zone {
  flex: 1;
  margin-bottom: 0;
}

/* Document type selector wrapper */

.doc-type-selector {
  position: relative;
}

/* ── Mobile-only trigger (shows selected option + chevron) ── */

.doc-type-trigger {
  display: none;
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border: 1.5px solid #dbe0ea;
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  font-family: inherit;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  transition: border-color .16s ease;
}

.doc-type-trigger:hover {
  border-color: var(--blue);
}

.doc-type-trigger__text {
  flex: 1;
}

.doc-type-trigger__title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-strong);
  margin-bottom: 3px;
}

.doc-type-trigger__sub {
  display: block;
  font-size: 12px;
  color: var(--text-body);
  line-height: 1.4;
}

.doc-type-chevron {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  flex: 0 0 18px;
  transition: transform .2s ease;
  margin-top: 3px;
}

.doc-type-trigger[aria-expanded="true"] .doc-type-chevron {
  transform: rotate(180deg);
}

/* ── Mobile dropdown list ── */

.doc-type-dropdown {
  list-style: none;
  margin: 6px 0 0;
  padding: 6px;
  background: #fff;
  border: 1.5px solid #dbe0ea;
  border-radius: 14px;
  box-shadow: 0 8px 24px -6px rgba(20, 28, 46, 0.14);
  display: none;
}

.doc-type-dropdown.open {
  display: block;
}

.doc-type-dropdown li {
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-strong);
  cursor: pointer;
  transition: background .12s ease, color .12s ease;
}

.doc-type-dropdown li:hover,
.doc-type-dropdown li.selected {
  background: #eef2fc;
  color: var(--blue);
}

/* ── Desktop radio cards ── */

.doc-type-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.doc-type-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid #dbe0ea;
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease;
}

.doc-type-card:hover {
  border-color: var(--blue);
}

.doc-type-card--active {
  border-color: var(--blue);
  background: #f7faff;
}

.doc-type-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.doc-type-card__body {
  flex: 1;
  min-width: 0;
}

.doc-type-card__title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-strong);
  margin-bottom: 3px;
}

.doc-type-card__sub {
  display: block;
  font-size: 12px;
  color: var(--text-body);
  line-height: 1.4;
}

/* Custom radio dot */

.doc-type-radio-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #dbe0ea;
  flex: 0 0 22px;
  position: relative;
  transition: border-color .16s ease, background .16s ease;
}

.doc-type-card--active .doc-type-radio-dot {
  background: var(--blue);
  border-color: var(--blue);
}

.doc-type-card--active .doc-type-radio-dot::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
}

/* Info banner sits below the upload zone (col 2) only */

.addr-info-row {
  /* grid-column: 2; */
  grid-column: 1 / -1;
}

/* ── Responsive ── */

@media (max-width: 900px) {
  .addr-layout {
    grid-template-columns: 1fr;
  }

  .addr-info-row {
    grid-column: 1;
  }

  .doc-type-trigger {
    display: flex;
  }

  .doc-type-cards {
    display: none;
  }

  .doc-upload-col .upload-zone {
    margin-bottom: 0;
    min-height: 180px;
  }

  .doc-preview__thumb iframe {
    top: 0px;
  }

  .doc-preview__sbar.is-visible {
    display: block;
  }

  .doc-preview__imgpane {
    inset: 0 10px 10px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .doc-preview__imgpane::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
  }
}

/* onboarding-stepper7.html — Face Verification (Step 7 of 9) */

/* Two-column: face ring (left) + checks + QR (right) */

.liveness-layout {
  display: grid;
  /* grid-template-columns: 1fr 1fr; */
  grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  flex: 1 1 auto;
}

/* ── Face circle column ── */

.face-circle-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.face-ring-wrap {
  position: relative;
  width: 320px;
  height: 320px;
  margin-bottom: 20px;
}

.face-ring-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.face-scan-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 64px;
  color: var(--blue);
}

.face-label {
  text-align: center;
}

.face-label__title {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 6px;
}

.face-label__sub {
  display: block;
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.5;
}

/* ── Checks / liveness status column ── */

.checks-col {
  display: flex;
  flex-direction: column;
  padding-top: 8px;
}

.checks-heading {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-strong);
  margin: 0 0 16px;
}

.checks-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  position: relative;
}

/* Vertical connector line through all check dots */

.checks-list::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: var(--blue);
}

.check-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  position: relative;
}

.check-item:last-child {
  margin-bottom: 0;
}

/* 24px container — keeps connector line centred for all states */

.check-dot {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* Pending: small solid blue dot with outer blue ring */

.check-dot::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(61, 126, 232, 0.18);
}

/* Done: full solid blue circle with checkmark */

.check-dot--done {
  background: var(--blue);
}

.check-dot--done::after {
  display: none;
}

.check-dot--done svg {
  width: 14px;
  height: 14px;
}

.check-item__text {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.4;
}

.check-item--done .check-item__text {
  font-weight: 600;
  color: var(--text-strong);
}

/* ── QR card ── */

.qr-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: #ffffff;
  border: 1.5px solid #e8e9ef;
  border-radius: 14px;
  box-shadow: 0 2px 8px -4px rgba(20, 28, 46, 0.1);
}

.qr-card__code {
  flex: 0 0 150px;
  width: 200px;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
}

.qr-card__code svg,
.qr-card__code img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.qr-card__body {
  flex: 1 1 auto;
  margin-top: -40px;
}

.qr-card__title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 4px;
}

.qr-card__desc {
  margin: 0;
  font-size: 12.5px;
  color: var(--text-body);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .liveness-layout {
    /* grid-template-columns: 1fr; gap: 20px;*/
    display: flex;
    flex-direction: column-reverse;
    gap: 20px;
  }

  .checks-col {
    /*display: none; */
    display: flex;
    flex-direction: column;
    padding-top: 8px;
  }

  .qr-card {
    display: flex;
    flex-direction: column;
  }

  .qr-card__body {
    flex: 1 1 auto;
    margin-top: 0px;
  }

  .face-circle-col {
    width: 100%;
  }

  .face-ring-wrap {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
  }
}

/* onboarding-stepper8.html — Compliance / PEP (Step 8 of 9) */

/* White card wrapping the compliance form */

.compliance-card {
  background: #ffffff;
  border: 1.5px solid #e8e9ef;
  border-radius: 16px;
  padding: 22px 22px 18px;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px -8px rgba(20, 28, 46, 0.1);
}

.compliance-form-scroll {
  max-height: 440px;
  overflow-y: auto;
  padding-right: 6px;
}

.compliance-form-scroll::-webkit-scrollbar {
  width: 7px;
}

.compliance-form-scroll::-webkit-scrollbar-track {
  background: #eef1f6;
  border-radius: 999px;
}

.compliance-form-scroll::-webkit-scrollbar-thumb {
  background: #c8cfda;
  border-radius: 999px;
}

.compliance-form-scroll::-webkit-scrollbar-thumb:hover {
  background: #aeb6c6;
}

.compliance-form {
  display: grid;
  gap: 16px;
}

.compliance-question-group {
  border: 0;
  padding: 0;
  margin: 0;
}

.compliance-question {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-strong);
  line-height: 1.55;
  margin: 0 0 12px;
  padding: 0;
}

/* Two equal-width answer choices built from radio inputs */

.pep-answer-row {
  display: grid;
  /* grid-template-columns: 1fr 1fr; */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.pep-btn {
  display: block;
  cursor: pointer;
  font-family: inherit;
}

.pep-btn input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pep-btn span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid #dbe0ea;
  background: #fff;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-strong);
  text-align: center;
  transition: border-color .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease;
}

.pep-btn:hover span {
  border-color: var(--blue);
  color: var(--blue);
}

.pep-btn input:checked + span {
  background: var(--blue);
  border-color: var(--blue);
  color: #ffffff;
  box-shadow: 0 8px 20px -8px rgba(61, 126, 232, 0.55);
}

.compliance-field {
  display: grid;
  gap: 8px;
  padding-bottom: 10px;
}

.compliance-field__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-strong);
}

.compliance-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #dbe0ea;
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  color: var(--text-strong);
  font-family: inherit;
}

.compliance-input::-moz-placeholder {
  color: #8b93a4;
}

.compliance-input::placeholder {
  color: #8b93a4;
}

.compliance-input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(61, 126, 232, 0.12);
}

.compliance-select-multiple {
  min-height: 120px;
  padding: 8px;
}

.compliance-select-multiple option {
  padding: 6px 8px;
  background: #fff;
  color: var(--text-strong);
}

.compliance-select-multiple option:checked {
  background: var(--blue);
  color: #fff;
}

@media (max-width: 768px) {
  .compliance-question {
    font-size: 14px;
  }
}

/* onboarding-stepper9.html — Review & Submit (Step 9 of 9) */

/* 2-column grid — auto-places 7 cards: 3 rows of 2 + 1 alone */

.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

/* Individual review data card */

.review-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: #ffffff;
  border: 1.5px solid #e8e9ef;
  border-radius: 14px;
  box-shadow: 0 2px 8px -4px rgba(20, 28, 46, 0.06);
}

.review-card__info {
  flex: 1 1 auto;
  min-width: 0;
}

.review-card__label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 5px;
}

.review-card__value {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-strong);
  line-height: 1.3;
}

/* Blue rounded-square edit button */

.review-card__edit {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--blue);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: filter .16s ease, transform .06s ease;
}

.review-card__edit:hover {
  filter: brightness(1.12);
}

.review-card__edit:active {
  transform: scale(0.95);
}

.review-card__edit svg,
.review-card__edit img {
  width: 16px;
  height: 16px;
  -o-object-fit: contain;
     object-fit: contain;
}

@media (max-width: 900px) {
  .review-grid {
    grid-template-columns: 1fr;
  }

  .review-grid ~ .doc-info-banner.w-75 {
    width: 100% !important;
  }
}

/* final-submit.html — Submission Confirmed (Success screen) */

/* Left panel: success content vertically + horizontally centered */

.success-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px 40px;
  gap: 0;
}

/* Large blue check circle */

.success-check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  box-shadow: 0 14px 32px -10px rgba(61, 126, 232, 0.52);
}

.success-check svg {
  width: 28px;
  height: 28px;
}

/* "SVE SMO PRIMILI." heading */

.success-head {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: var(--text-strong);
  margin: 0 0 16px;
}

/* Body text */

.success-lead {
  font-size: 15px;
  line-height: 1.62;
  color: var(--text-body);
  max-width: 380px;
  margin: 0;
}

/* Green pill — average time badge */

.avg-time-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(34, 197, 94, 0.09);
  border: 1.5px solid rgba(34, 197, 94, 0.22);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-body);
  margin-top: 24px;
}

.avg-time-badge__bolt {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  color: #16a34a;
}

.avg-time-badge__time {
  font-weight: 700;
  color: #16a34a;
}

/* Dark panel variant — on dark background */

.avg-time-badge--dark {
  background: #EBF3F0;
  border-color: #EBF3F0;
  color: var(--text-body);
  align-self: flex-start;
}

.avg-time-badge--dark .avg-time-badge__bolt {
  color: #16a34a;
}

.avg-time-badge--dark .avg-time-badge__time {
  color: #16a34a;
}

/* "Pokreni novi flow" text link in footer */

.btn-new-flow {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-strong);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.btn-new-flow:hover {
  color: var(--blue);
}

/* Right panel: dark card success content layout */

.dark-content--success {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
}

.dark-success-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 20px;
}

/* Two-line large heading: "SKORO SI TU. / ZADNJA PROVJERA." */

.dark-success-title {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.2;
  margin: 0 0 20px;
}

.dark-success-lead {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 28px;
  max-width: 340px;
}

.dark-success-lead strong {
  color: #ffffff;
  font-weight: 700;
}

/* Mobile footer: btn-krenimo stacks first, btn-new-flow below */

@media (max-width: 900px) {
  .success-btn-primary {
    width: 100%;
  }

  .btn-new-flow {
    text-align: center;
    padding: 6px 0 2px;
  }

  .success-check {
    width: 54px;
    height: 54px;
  }

  .success-check svg {
    width: 24px;
    height: 24px;
  }

  .success-head {
    font-size: 24px;
  }
}

.form-control.is-invalid {
  border-color: var(--red);
  background: var(--red-bg);
}

.form-control.is-invalid:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(224, 57, 47, 0.12);
}

.form-error {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--red);
}

.form-error svg {
  flex: none;
  width: 14px;
  height: 14px;
}

.dark-card__logos {
  position: absolute;
  top: 28px;
  left: 36px;
  right: 36px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dark-card__logos .logo-chip {
  display: inline-flex;
  align-items: center;
}

.dark-card__logos .logo-chip img {
  height: 40px;
  width: auto;
  display: block;
}

.error-message {
  color: #dc2626 !important;
  margin-bottom: 12px;
  font-size: 16px;
  background: #fef2f2;
  padding: 15px;
}

.custom-result {
  border-color: #bbf7d0;
  background: #ecfdf3;
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 20px;
}

.res-success {
  color: #16a34a;
}

.custom-error {
  border-color: #fecaca;
  background: #fef2f2;
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 20px;
}

.res-error {
  color: #dc2626;
}

body.auth-login {
  align-items: flex-start;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 28px;
  display: block;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: var(--lh-surface);
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ---- Header ------------------------------------------------------------ */

.lh-header {
  background: linear-gradient(180deg, var(--lh-header-top) 0%, var(--lh-header-bot) 100%);
  border-bottom: 1px solid var(--lh-header-border);
}

.lh-header__inner {
  max-width: 1440px;
  margin: 0 auto;
  height: 58px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lh-header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.lh-header__logo img {
  display: block;
  height: 25px;
  width: auto;
}

.lh-header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  flex-shrink: 0;
}

.lh-header__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--lh-nav-text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.lh-header__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.lh-header__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.lh-header__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.lh-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lh-nav__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--lh-nav-text);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  white-space: nowrap;
}

.lh-nav__item img {
  display: block;
  opacity: 0.9;
}

.lh-nav__item:hover,
.lh-nav__item:focus-visible {
  color: var(--lh-nav-text-dim);
  outline: none;
}

.lh-drop {
  position: relative;
  display: inline-flex;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---- Language select ------------------------------------------------------ */

.lh-lang-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 24px;
  color: var(--lh-nav-text);
}

.lh-lang-wrap-login {
  justify-content: flex-end;
}

.lh-lang__globe {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  line-height: 1;
  pointer-events: none;
}

.lh-lang__globe:focus-visible {
  outline: 1px solid var(--lh-nav-text-dim);
  outline-offset: 4px;
}

.lh-lang {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  color: var(--lh-nav-text);
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  background-color: transparent;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 11px 7px;
  border: none;
  border-radius: 0;
  margin-left: -22px;
  padding: 4px 18px 4px 22px;
  cursor: pointer;
  white-space: nowrap;
}

.lh-lang:focus-visible {
  outline: 1px solid var(--lh-nav-text-dim);
  outline-offset: 4px;
}

/* Fallback list styling (honoured by Chromium/Edge legacy popup, ignored elsewhere) */

.lh-lang option {
  padding: 10px 14px;
  color: var(--lh-nav-text);
  background-color: var(--lh-drop-bg);
}

/* Fully styleable native select - Chromium 135+ / Edge */

@supports ((-webkit-appearance: base-select) or (-moz-appearance: base-select) or (appearance: base-select)) {
  .lh-lang,
  .lh-lang::picker(select) {
    -webkit-appearance: base-select;
       -moz-appearance: base-select;
            appearance: base-select;
  }

  .lh-lang {
    margin-left: -22px;
    padding: 4px 0 4px 22px;
    background-image: none;
    border: none;
  }

  .lh-lang::picker(select) {
    min-width: 200px;
    padding: 6px;
    margin-top: 12px;
    color: var(--lh-nav-text);
    background: var(--lh-drop-bg);
    border: 1px solid var(--lh-drop-border);
    border-radius: 12px;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
    opacity: 0;
    translate: 0 -6px;
    transition: opacity 0.16s ease, translate 0.16s ease, overlay 0.16s allow-discrete, display 0.16s allow-discrete;
  }

  .lh-lang:open::picker(select) {
    opacity: 1;
    translate: 0 0;
  }

  .lh-lang > button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    font: inherit;
    background: none;
    border: none;
    border-radius: 8px;
    padding: 0;
    cursor: pointer;
  }

  .lh-lang > button:hover {
    color: var(--lh-nav-text-dim);
  }

  .lh-lang__caret {
    font-size: 10px;
    line-height: 1;
    opacity: 0.75;
    transition: transform 0.18s ease;
  }

  .lh-lang:open .lh-lang__caret {
    transform: rotate(180deg);
  }

  .lh-lang option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    color: var(--lh-nav-text);
    font-size: 14px;
    font-weight: 500;
    background: none;
    border-radius: 8px;
    cursor: pointer;
  }

  .lh-lang option:hover,
  .lh-lang option:focus {
    color: #ffffff;
    background: linear-gradient(180deg, var(--lh-chat-top) 0%, var(--lh-chat-bot) 100%);
    outline: none;
  }

  .lh-lang option::checkmark {
    order: 1;
    margin-left: auto;
    font-size: 11px;
  }
}

/* ---- Nav dropdown (signup) ----------------------------------------------- */

.lh-nav__drop {
  position: relative;
}

.lh-nav__item.dropdown-toggle::after {
  display: none;
}

.lh-nav__caret {
  font-size: 10px;
  line-height: 1;
  opacity: 0.75;
  transition: transform 0.18s ease;
}

.lh-nav__drop.show .lh-nav__caret {
  transform: rotate(180deg);
}

.lh-nav__drop.open .lh-nav__caret {
  transform: rotate(180deg);
}

.lh-nav__drop .dropdown-menu {
  display: block;
  top: 100%;
  right: 0;
  left: auto;
  z-index: 40;
  min-width: 200px;
  margin: 12px 0 0;
  padding: 6px;
  background: var(--lh-drop-bg);
  border: 1px solid var(--lh-drop-border);
  border-radius: 12px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}

.lh-nav__drop .dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lh-nav__drop.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lh-nav__drop .dropdown-menu .lh-nav__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14px;
}

.lh-nav__drop .dropdown-menu .lh-nav__item > i:first-child {
  width: 15px;
  font-size: 13px;
  text-align: center;
  opacity: 0.85;
}

.lh-nav__drop .dropdown-menu .lh-nav__item:hover,
.lh-nav__drop .dropdown-menu .lh-nav__item:focus-visible {
  color: #ffffff !important;
  background: linear-gradient(180deg, var(--lh-chat-top) 0%, var(--lh-chat-bot) 100%);
  outline: none;
}

.lh-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-left: 24px;
  padding-left: 24px;
  color: var(--lh-nav-text);
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
}

.lh-brand img {
  display: block;
}

.lh-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--lh-nav-text);
  cursor: pointer;
  flex-shrink: 0;
}

.lh-theme-toggle:hover,
.lh-theme-toggle:focus,
.lh-theme-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  outline: none !important;
}

.lh-theme-toggle__icon {
  width: 16px;
  height: 16px;
  display: none;
}

.lh-theme-toggle__icon--moon {
  display: block;
}

:root[data-theme="dark"] .lh-theme-toggle__icon--sun {
  display: block;
}

:root[data-theme="dark"] .lh-theme-toggle__icon--moon {
  display: none;
}

/* ---- Hero / splash ------------------------------------------------------ */

.lh-hero {
  position: relative;
  min-height: calc(100vh - 58px);
  background-color: var(--lh-hero-bg-color);
  background-image: var(--lh-hero-bg-image);
  background-repeat: no-repeat;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}

#lh-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.lh-hero__animal {
  position: absolute;
  z-index: 0;
  width: 320px;
  max-width: 42vw;
  height: auto;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.lh-hero__animal--bull {
  left: -30px;
  bottom: -10px;
  animation: lh-bull-drift 7s ease-in-out infinite;
}

.lh-hero__animal--bear {
  right: -30px;
  top: -40px;
  animation: lh-bear-drift 7s ease-in-out infinite;
}

@keyframes lh-bull-drift {
  0%, 100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(28px);
  }
}

@keyframes lh-bear-drift {
  0%, 100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(-28px);
  }
}

@media (max-width: 640px) {
  .lh-hero__animal {
    width: 200px;
    max-width: 45vw;
  }
}

.lh-hero__logo {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 273px;
}

.lh-hero__logo-img {
  display: none;
  width: 100%;
  height: auto;
}

.lh-hero__logo-img--light {
  display: block;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .lh-hero__logo-img--light {
    display: none;
  }

  :root:not([data-theme="light"]) .lh-hero__logo-img--dark {
    display: block;
  }
}

:root[data-theme="dark"] .lh-hero__logo-img--light {
  display: none;
}

:root[data-theme="dark"] .lh-hero__logo-img--dark {
  display: block;
}

/* ---- Floating chat button ------------------------------------------------ */

.lh-chat {
  position: fixed;
  right: 32px;
  bottom: 32px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: linear-gradient(180deg, var(--lh-chat-top) 0%, var(--lh-chat-bot) 100%);
  box-shadow: 0 8px 20px rgba(30, 97, 207, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lh-chat img {
  display: block;
}

.lh-chat__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 50%;
  background: var(--lh-chat-badge);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  line-height: 19px;
  text-align: center;
  border: 2px solid var(--lh-surface);
}

/* ---- Login card ---------------------------------------------------------- */

.lh-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 514px;
  background: var(--lh-card-bg);
  border: 1px solid var(--lh-card-border);
  border-radius: var(--radius-card, 12px);
  padding: 48px 40px 40px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
}

.lh-card__title {
  margin: 0 0 12px;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--lh-card-text);
}

.lh-card__subtitle {
  margin: 0 0 32px;
  text-align: center;
  font-size: 14px;
  color: var(--lh-card-text-dim);
}

.lh-link {
  color: var(--blue-top, #298aea);
  text-decoration: none;
  font-weight: 500;
}

.lh-link:hover,
.lh-link:focus-visible {
  text-decoration: underline;
}

.lh-field {
  margin-bottom: 20px;
}

.lh-field__label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--lh-card-text);
}

.lh-field__input {
  display: block;
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid var(--lh-input-border);
  background: var(--lh-input-bg);
  color: var(--text-strong);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.lh-field__input::-moz-placeholder {
  color: var(--lh-input-placeholder);
}

.lh-field__input::placeholder {
  color: var(--lh-input-placeholder);
}

.lh-field__input:focus {
  border-color: var(--blue-top, #298aea);
  box-shadow: 0 0 0 3px rgba(41, 138, 234, 0.15);
}

.lh-field__input.is-invalid {
  border-color: var(--red, #e0392f);
}

.lh-field__input.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(224, 57, 47, 0.15);
}

.lh-field__error {
  display: block;
  min-height: 16px;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.3;
  color: var(--red, #e0392f);
}

.lh-card__submit {
  display: block;
  width: 100%;
  height: 50px;
  margin-top: 12px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--blue-top, #298aea) 0%, var(--blue-bot, #1d5dcc) 100%);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.lh-card__submit:hover,
.lh-card__submit:focus-visible {
  filter: brightness(1.05);
}

.lh-card__forgot {
  display: block;
  margin-top: 16px;
  text-align: center;
  font-size: 13px;
}

@media (max-width: 576px) {
  .lh-card {
    padding: 36px 24px 28px;
    border-radius: 16px;
  }

  .lh-card__title {
    font-size: 18px;
    letter-spacing: 3px;
  }
}

/* ---- Responsive: tablet -------------------------------------------------- */

@media (max-width: 992px) {
  .lh-header__inner {
    height: 58px;
    padding: 12px 24px;
  }

  .lh-header__toggle {
    display: flex;
  }

  .lh-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 30;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 4px;
    padding: 12px 24px 20px;
    background: var(--lh-header-bot);
    border-bottom: 1px solid var(--lh-header-border);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  }

  .lh-nav.is-open {
    display: flex;
  }

  .lh-nav__item {
    width: 100%;
    padding: 10px 0;
  }

  .lh-lang-wrap,
  .lh-brand {
    margin-left: 0;
    width: 100%;
  }

  .lh-lang-wrap {
    padding: 10px 0;
  }

  .lh-lang {
    /* width: 100%;*/
  }

  .lh-brand {
    padding: 12px 0 0;
    border-top: 1px solid var(--lh-header-border);
  }

  .lh-header {
    position: relative;
  }

  .lh-hero__logo {
    max-width: 220px;
  }

  .lh-chat {
    right: 24px;
    bottom: 24px;
  }
}

/* ---- Responsive: mobile --------------------------------------------------- */

@media (max-width: 576px) {
  .lh-header__inner {
    padding: 12px 16px;
  }

  .lh-header__logo img {
    height: 20px;
  }

  .lh-nav {
    gap: 14px;
  }

  .lh-nav__item,
  .lh-lang,
  .lh-brand {
    font-size: 12px;
  }

  .lh-brand {
    font-size: 15px;
  }

  .lh-hero {
    padding: 32px 16px;
  }

  .lh-hero__logo {
    max-width: 170px;
  }

  .lh-chat {
    width: 50px;
    height: 50px;
    right: 16px;
    bottom: 16px;
  }

  .lh-chat img {
    width: 19px;
    height: 20px;
  }

  .lh-chat__badge {
    width: 21px;
    height: 21px;
    line-height: 18px;
    font-size: 10px;
    top: -9px;
    right: -2px;
  }
}

/* ---- Content page ---- */

.lh-content {
  min-height: calc(100vh - 58px);
  background-color: var(--lh-hero-bg-color);
  padding: 48px 24px 96px;
}

.lh-content__inner {
  max-width: 860px;
  margin: 0 auto;
}

.lh-content__card {
  background: var(--lh-card-bg);
  border: 1px solid var(--lh-card-border);
  border-radius: var(--radius-card, 12px);
  color: var(--lh-card-text);
  padding: 40px;
}

.lh-content__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 12px;
  color: var(--lh-card-text);
}

.lh-content__lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--lh-card-text-dim);
  margin: 0 0 28px;
}

.lh-content__subtitle {
  font-size: 20px;
  font-weight: 600;
  margin: 32px 0 12px;
  color: var(--lh-card-text);
}

.lh-content__card p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--lh-card-text-dim);
  margin: 0 0 16px;
}

.lh-content__list {
  margin: 0 0 16px;
  padding-left: 20px;
}

.lh-content__list li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--lh-card-text-dim);
  margin-bottom: 6px;
}

@media (max-width: 575.98px) {
  .lh-content {
    padding: 24px 16px 72px;
  }

  .lh-content__card {
    padding: 24px 20px;
  }

  .lh-content__title {
    font-size: 22px;
  }

  .lh-content__lead {
    font-size: 15px;
  }
}

