body {
  font-family: 'Poppins', sans-serif !important;
}
.layout {
  min-height: 100vh;
  align-content: flex-start;
}
/* desktop: make the left column fill the viewport height */
@media (min-width: 992px) {
  /* lg breakpoint */
  .header {
    min-height: 100vh;
  }
}
/* mobile: keep the header under half the screen (tune as needed) */
@media (max-width: 992px) {
  .header {
    min-height: 40vh;
  }
}
/* Trenutni-korisnik indikator (dolje lijevo u header-u) */
.header {
  position: relative;
  display: flex;
  flex-direction: column;
}
.current-user-indicator {
  margin-top: auto;
  padding-top: 1.5rem;
  max-width: 100%;
  font-size: 0.82rem;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.current-user-indicator-label {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.65;
}
.current-user-indicator-name {
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.current-user-indicator-switch {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  margin-top: 0.25rem;
  font-size: 0.78rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.15rem 0.5rem;
  border-radius: 0.4rem;
  background: rgba(255, 255, 255, 0.08);
  transition: background 120ms ease, color 120ms ease;
}
.current-user-indicator-switch:hover,
.current-user-indicator-switch:focus {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  text-decoration: none;
}
@media (max-width: 992px) {
  .current-user-indicator {
    font-size: 0.78rem;
  }
}
/* OneScreen kontekst (Home, ClientSuccess): indicator je fixed bottom-left, light bg + dark text
   varijanta. Pravila ispod nadjačavaju default absolute pozicioniranje i bijelu paletu koja
   se koristi unutar tamnog MainLayout headera. */
.one-screen-user-indicator-host {
  position: fixed;
  left: 1.5rem;
  bottom: 1rem;
  z-index: 100;
  pointer-events: none;
}
.one-screen-user-indicator-host .current-user-indicator {
  position: static;
  align-items: flex-start;
  text-align: left;
  max-width: 16rem;
  padding: 0.5rem 0.85rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(67, 78, 95, 0.14);
  border-radius: 0.75rem;
  color: #434e5f;
  box-shadow: 0 6px 18px rgba(67, 78, 95, 0.1);
  pointer-events: auto;
}
.one-screen-user-indicator-host .current-user-indicator-label {
  color: #667085;
  opacity: 1;
}
.one-screen-user-indicator-host .current-user-indicator-name {
  color: #2b3447;
}
.one-screen-user-indicator-host .current-user-indicator-switch {
  background: rgba(43, 109, 159, 0.1);
  color: #2b6d9f;
}
.one-screen-user-indicator-host .current-user-indicator-switch:hover,
.one-screen-user-indicator-host .current-user-indicator-switch:focus {
  background: rgba(43, 109, 159, 0.2);
  color: #1a4f7a;
}
@media (max-width: 768px) {
  .one-screen-user-indicator-host {
    left: 1rem;
    bottom: 0.75rem;
  }
  .one-screen-user-indicator-host .current-user-indicator {
    max-width: 12rem;
    padding: 0.4rem 0.65rem;
    font-size: 0.78rem;
  }
}
/* blur the background when a modal is open */
.modal-backdrop {
  --bs-backdrop-bg: rgba(0, 0, 0, 0.2);
  /* optional tint */
  --bs-backdrop-opacity: 1;
  /* keep backdrop visible */
  transition: filter 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  /* Safari */
}
.flag-card {
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid #ddd;
  height: 100px;
  max-width: 500px;
  cursor: pointer;
}
.flag-card img {
  height: 100%;
  width: auto;
  object-fit: contain;
  flex: 0 0 auto;
}
.flag-card .card-body {
  font-size: 14px;
  color: #555F75;
}
@media (max-width: 992px) {
  .flag-card .card-body {
    font-size: 12px;
  }
}
.bckgrn {
  background-color: #E8EBF2;
}
.big-discount {
  font-size: 120px;
  font-weight: 900;
  line-height: 1;
}
/* mobile: the 120px promo number eats the whole screen on phones (esp. iPhone),
   hiding that you scroll to continue -> scale it down so the content below peeks */
@media (max-width: 992px) {
  .big-discount { font-size: 64px; }
}
@media (max-width: 576px) {
  .big-discount { font-size: 52px; }
}
.img-fluid {
  width: 118px;
  height: 100px;
  object-fit: cover;
}
.subtext {
  font-size: 14px;
  color: #667085;
}
/* Card styling to match Figma blocks */
.profile-card {
  border-radius: 25px;
  background-color: #DBDFE8;
  border: none;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.05);
}
/* Inputs */
.input-box {
  background-color: #F8F8F8;
  border-radius: 10px;
  border: 0.5px solid rgba(0, 0, 0, 0.3);
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.05);
}
.card-btn {
  position: relative;
  /* allow spinner to position inside */
  display: block;
}
.card-btn .adv-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.7rem;
  height: 1.7rem;
  margin-left: 0;
  transform: translate(-50%, -50%);
  z-index: 5;
  animation: adv-spin-centered 0.7s linear infinite;
}
.card-btn.adv-loading > *:not(.adv-spinner) {
  opacity: 0.4;
  /* dim card while loading */
  pointer-events: none;
}
/* When loading, disable pointer & fade */
/* When loading, disable pointer & fade */
.adv-loading {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}
/* Always make button relative so children can position inside it */
button {
  position: relative;
}
/* Spinner icon appended after text */
.adv-spinner {
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-left: 0.5em;
  border: 0.15em solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: adv-spin 0.7s linear infinite;
  /* Ensure spinner stays inside button inline */
  vertical-align: middle;
}
/* Wait counter positioned like spinner: right side, vertically centered */
.adv-wait-counter {
  position: absolute;
  right: 0.75rem;
  /* matches spinner padding */
  top: 50%;
  transform: translateY(-50%);
  font-weight: 600;
  z-index: 5;
  font-size: 1rem;
  pointer-events: none;
  display: inline-block;
}
@keyframes adv-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes adv-spin-centered {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
/* Radio / checkbox containers */
.radio-option,
.checkbox-option {
  display: flex;
  align-items: center;
  gap: 8px;
}
.radio-option span,
.checkbox-option span {
  font-size: 14px;
  font-weight: 400;
  color: #434E5F;
}
/* Subtext for explanations */
.subtext {
  font-size: 14px;
  color: #667085;
  font-style: italic;
}

.questionnaire-header-copy {
  color: #FFFFFF;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  font-style: italic;
  line-height: 1.7;
  text-align: left;
}

.questionnaire-header-copy p {
  color: inherit;
  margin-bottom: 1rem;
}

#PageLoading h2,
#PageLoading h5,
#PageLoading h6 {
  color: #434E5F;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.modal .modal-body {
  text-align: justify;
  text-justify: inter-word;
}

.modal .modal-body .text-center {
  text-align: center !important;
}

.modal .modal-body .text-start {
  text-align: start !important;
}

.modal .modal-body .text-end {
  text-align: end !important;
}
.privacy-consent-page {
  width: 100%;
}
.privacy-consent-header-copy {
  margin-top: 1.5rem;
  text-align: left;
  text-align-last: auto;
  text-justify: auto;
}
.privacy-consent-rules-link {
  color: inherit;
  text-decoration: underline;
  font-weight: 600;
  margin-left: 0.25rem;
  white-space: nowrap;
}
.privacy-consent-rules-link:hover,
.privacy-consent-rules-link:focus {
  color: inherit;
  text-decoration: none;
}
.privacy-consent-card {
  background: #DBDFE8;
}
.privacy-consent-page-check .form-check-label {
  color: #434E5F;
  font-size: 0.96rem;
  line-height: 1.6;
}
.privacy-consent-helper,
.privacy-consent-status,
.privacy-consent-scroll-hint {
  color: #667085;
  font-size: 0.9rem;
  line-height: 1.6;
}
.privacy-consent-read-rules {
  color: #434E5F;
}
.privacy-consent-dialog {
  width: min(96vw, 1100px);
  max-width: 1100px;
}
.privacy-consent-content {
  border: 0;
  border-radius: 16px;
  overflow: hidden;
}
/* Mobile: justified text reads badly on narrow phones — left-align the ServiceType info modal. */
@media (max-width: 992px) {
  .service-type-info-modal .modal-body {
    text-align: left;
    text-justify: auto;
  }
}

.privacy-consent-modal .modal-body {
  text-align: left;
}
.privacy-consent-status {
  margin-bottom: 0.75rem;
  font-weight: 700;
}
.privacy-consent-pdf-viewer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  height: min(62vh, 760px);
  min-height: 360px;
  overflow-y: auto;
  padding: 1rem;
  background: #F4F6FB;
  border: 1px solid rgba(67, 78, 95, 0.16);
  border-radius: 8px;
}
.privacy-consent-pdf-page {
  display: flex;
  justify-content: center;
  width: 100%;
}
.privacy-consent-pdf-page canvas {
  display: block;
  max-width: 100%;
  height: auto !important;
  background: #FFFFFF;
  box-shadow: 0 8px 24px rgba(67, 78, 95, 0.14);
}
.privacy-consent-pdf-error {
  width: 100%;
  margin: auto;
  color: #842029;
  text-align: center;
}
.privacy-consent-scroll-hint {
  margin-top: 0.75rem;
  font-weight: 700;
}
.privacy-consent-modal .modal-footer {
  border-top-color: rgba(67, 78, 95, 0.12);
  justify-content: center;
}
.privacy-consent-finish-gate {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
  align-items: stretch;
}
.privacy-consent-modal-check {
  margin: 0;
}
.info-modal-copy {
  text-align: justify;
  text-align-last: left;
}
.pep-info-page {
  min-height: 100vh;
  width: 100%;
}
.pep-info-shell {
  background:
    radial-gradient(circle at top right, rgba(43, 109, 159, 0.14), transparent 34%),
    #DBDFE8;
}
.pep-info-title {
  color: #434E5F;
}
.pep-info-subtitle {
  max-width: 52rem;
  margin-inline: auto;
}
.pep-info-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  background: rgba(248, 248, 248, 0.88);
}
.pep-info-card__marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: #2b6d9f;
  color: #FFFFFF;
  font-weight: 700;
}
.pep-info-card__content {
  color: #434E5F;
  font-size: 0.98rem;
  line-height: 1.7;
  text-align: left;
}
@media (max-width: 768px) {
  .privacy-consent-dialog {
    width: auto;
    margin: 0.75rem;
  }

  .privacy-consent-content {
    border-radius: 12px;
  }

  .privacy-consent-pdf-viewer {
    height: 54vh;
    min-height: 300px;
    padding: 0.75rem;
  }

  .privacy-consent-modal .modal-footer {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .privacy-consent-modal .modal-footer .btn {
    width: 100%;
  }

  .pep-info-card {
    grid-template-columns: 1fr;
  }
}
.step-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #FFFFFF;
  border: 2px solid #E0E3EB;
  position: relative;
  flex-shrink: 0;
}
.step-circle.completed {
  background: #06B217;
  border-color: #06B217;
}
.step-circle.completed i {
  color: #FFFFFF;
  font-weight: bold;
}
.step-circle.current {
  background: transparent;
  border: 2px solid #555F75;
}
.step-circle.current::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #555F75;
}
.step-circle.upcoming {
  border: 1px solid #888EA0;
  background: transparent;
}
.step-connector {
  flex: 1 1 auto;
  height: 2px;
  background-image: linear-gradient(to right, #888EA0 50%, transparent 50%);
  background-size: 8px 2px;
  background-repeat: repeat-x;
  margin: 0 4px;
  align-self: center;
  min-width: 12px;
}
@media (max-width: 992px) {
  .step-connector {
    margin: 0 2px;
  }
}
/* Optional: make the entire container responsive */
.step-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  flex-wrap: nowrap;
}
.progress-bar-container {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 1rem 0;
}
@media (max-width: 576px) {
  .progress-bar-container {
    margin-left: -4.45vw;
  }
}
.logo {
  color: #434E5F;
  font-size: 64px;
  font-family: Poppins;
  font-weight: 700;
  word-wrap: break-word;
}
.splash-screen {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #E8EBF2;
  color: #fff;
  opacity: 1;
  transition: opacity 0.6s ease;
  z-index: 9999;
}
.splash-screen-hidden {
  display: none !important;
  pointer-events: none !important;
}
.home-landing-page {
  min-height: 100vh;
}
.home-landing-main {
  min-height: 100vh;
  justify-content: flex-start;
}
.home-landing-main__content {
  width: 100%;
}
.home-landing-header__notice {
  margin-top: 2rem;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.875rem, 0.82rem + 0.25vw, 0.95rem);
  line-height: 1.7;
}
.home-splash-shell {
  --home-splash-materialize-ms: 1000ms;
  --home-splash-focus-ms: 450ms;
  --home-splash-exit-ms: 500ms;
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.8), transparent 38%),
    linear-gradient(180deg, #F4F6FB 0%, #E8EBF2 42%, #D9DEE9 100%);
  isolation: isolate;
}
.home-splash-shell__backdrop {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 50% 40%, rgba(43, 109, 159, 0.16), transparent 22%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.9), transparent 32%);
  opacity: 0.95;
  transform: scale(1.04);
  will-change: transform, opacity, filter;
}
.home-splash-shell__content {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 40rem);
  padding: 2rem;
}
.home-landing-transition-enter {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(10px) scale(1.008);
  transition:
    opacity 420ms ease,
    filter 420ms ease,
    transform 420ms ease;
}
.home-landing-transition-enter.home-landing-transition-active {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}
.home-splash-logo {
  width: clamp(16rem, 38vw, 30rem);
  max-width: 88vw;
  transform-origin: center center;
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: transform, filter, opacity;
}
.home-splash-shell[data-phase="enter"] .home-splash-shell__backdrop {
  opacity: 0.82;
  filter: saturate(0.9);
}
.home-splash-shell[data-phase="enter"] .home-splash-logo {
  transform: translateZ(0) scale(1.22);
  filter: blur(12px) saturate(0.82);
  opacity: 0.08;
}
.home-splash-shell[data-phase="materialize"] .home-splash-shell__backdrop {
  opacity: 0.96;
  transform: scale(1);
  filter: saturate(1);
  transition:
    opacity var(--home-splash-materialize-ms) ease,
    transform var(--home-splash-materialize-ms) cubic-bezier(0.18, 0.84, 0.38, 1),
    filter var(--home-splash-materialize-ms) ease;
}
.home-splash-shell[data-phase="materialize"] .home-splash-logo {
  transform: translateZ(0) scale(1);
  filter: blur(0) saturate(1);
  opacity: 1;
  transition:
    transform var(--home-splash-materialize-ms) cubic-bezier(0.18, 0.84, 0.38, 1),
    filter var(--home-splash-materialize-ms) ease,
    opacity var(--home-splash-materialize-ms) ease;
}
.home-splash-shell[data-phase="focus"] .home-splash-shell__backdrop {
  opacity: 1;
  transform: scale(1);
  filter: saturate(1.03);
  transition:
    opacity var(--home-splash-focus-ms) ease,
    transform var(--home-splash-focus-ms) ease,
    filter var(--home-splash-focus-ms) ease;
}
.home-splash-shell[data-phase="focus"] .home-splash-logo {
  transform: translateZ(0) scale(0.975);
  filter: blur(0) saturate(1.02);
  opacity: 1;
  transition:
    transform var(--home-splash-focus-ms) ease,
    filter var(--home-splash-focus-ms) ease,
    opacity var(--home-splash-focus-ms) ease;
}
.home-splash-shell[data-phase="exit"] {
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--home-splash-exit-ms) ease;
}
.home-splash-shell[data-phase="exit"] .home-splash-shell__backdrop {
  opacity: 0;
  transform: scale(0.99);
  transition:
    opacity var(--home-splash-exit-ms) ease,
    transform var(--home-splash-exit-ms) ease;
}
.home-splash-shell[data-phase="exit"] .home-splash-logo {
  transform: translateZ(0) scale(0.94);
  filter: blur(6px);
  opacity: 0;
  transition:
    transform var(--home-splash-exit-ms) ease,
    filter var(--home-splash-exit-ms) ease,
    opacity var(--home-splash-exit-ms) ease;
}
.home-splash-noscript {
  position: absolute;
  inset-inline: 0;
  bottom: 2rem;
  z-index: 2;
}
@media (prefers-reduced-motion: reduce) {
  .home-splash-shell__backdrop,
  .home-splash-logo,
  .home-splash-shell {
    transition-duration: 180ms !important;
    animation: none !important;
  }

  .home-splash-shell[data-phase="enter"] .home-splash-logo {
    transform: translateZ(0) scale(1.02);
    filter: none;
    opacity: 0;
  }

  .home-landing-transition-enter {
    filter: none;
    transform: none;
  }

  .home-splash-shell[data-phase="materialize"] .home-splash-logo,
  .home-splash-shell[data-phase="focus"] .home-splash-logo {
    transform: translateZ(0);
    filter: none;
    opacity: 1;
  }

  .home-splash-shell[data-phase="exit"] .home-splash-logo {
    transform: translateZ(0);
    filter: none;
    opacity: 0;
  }
}
/* Background container */
.bg-congrats-card {
  background: #E8EBF2;
  min-height: 80vh;
  overflow: hidden;
}
/* Rotated block */
.rotated-block {
  width: 100%;
  height: 50%;
  bottom: 0;
  right: 0;
  background: #E8EBF2;
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
  transform: rotate(180deg);
  transform-origin: bottom right;
}
/* Titles */
.congrats-titles {
  /* spacing handled by pt-5 */
}
.congrats-title {
  color: #434E5F;
  font-size: 2rem;
}
.congrats-subtitle {
  color: #434E5F;
  font-size: 1.25rem;
}
/* Client success illustration */
.congrats-illustration-wrap {
  width: min(100%, 38rem);
}
.congrats-illustration {
  display: block;
  width: 100%;
  height: auto;
  max-height: 24rem;
  object-fit: contain;
}
.max-width {
  max-width: 80vh;
}
.other-clients {
  max-width: 60vh;
}
.btn-light.fw-semibold {
  background-color: #f8f9fa;
  /* normal light background */
  color: #000;
  /* normal text */
  border: 1px solid #dee2e6;
  transition: all 0.3s ease;
  /* smooth transition for color + background */
}
.btn-light.fw-semibold:hover {
  background-color: #2b6d9f;
  /* Bootstrap’s primary blue */
  color: #fff;
  /* white text */
  border-color: #0d6efd;
}
.submit-lower {
  margin-top: 2.5rem;
  /* adjust value as needed */
}
.form-check-input:checked {
  background-color: #2b6d9f;
  border-color: #2b6d9f;
  box-shadow: none;
}
.form-check-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(43, 109, 159, 0.25);
}
.password-field-wrap {
  position: relative;
}
.password-field-input {
  padding-right: 3rem;
}
.password-toggle-button {
  position: absolute;
  top: 50%;
  right: 0.7rem;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(67, 78, 95, 0.7);
  border-radius: 999px;
  z-index: 3;
}
.password-toggle-button:hover,
.password-toggle-button:focus {
  background: rgba(43, 109, 159, 0.1);
  color: #2b6d9f;
  box-shadow: none;
  outline: none;
}
.native-reveal-hidden::-ms-reveal,
.native-reveal-hidden::-ms-clear {
  display: none;
}
/* Live password rule checklist (Register stranica) */
.password-rule-list {
  font-size: 0.85rem;
}
.password-rule-item {
  padding: 0.1rem 0;
  transition: color 120ms ease;
}
.password-rule-icon {
  font-size: 0.95rem;
  color: rgba(67, 78, 95, 0.5);
  flex: 0 0 auto;
}
.password-rule-item.is-valid {
  color: #15803d;
}
.password-rule-item.is-valid .password-rule-icon {
  color: #16a34a;
}
.password-rule-item.is-invalid {
  color: #b42318;
}
.password-rule-item.is-invalid .password-rule-icon {
  color: #dc2626;
}
/* Culture selector positioning */
.culture-selector {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
@media (max-width: 992px) {
  .culture-selector {
    top: 0.1rem;
    right: 1rem;
    transform: scale(0.9);
  }
}
.slider-wrapper {
  height: calc(80vh - 60px);
  /* adjust for button height */
}
.slider-container {
  display: flex;
  transition: transform 0.3s ease;
}
.slide {
  flex-shrink: 0;
  width: 100%;
  overflow-y: auto;
}
.instrument-block {
  text-align: center;
}
.instrument-label {
  text-align: left;
}
.upload-box {
  max-width: 400px;
  opacity: 0.9;
}
.rating-group {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.rating-circle {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid #2b6d9f;
  border-radius: 50%;
  font-weight: 600;
  font-size: 1rem;
  color: #555F75;
  background-color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-right: 0.5rem;
}
.rating-circle input {
  display: none;
}
.rating-circle:hover {
  background-color: rgba(43, 109, 159, 0.1);
}
.rating-circle input:checked + span {
  background-color: #2b6d9f;
  color: #fff;
  border-color: #2b6d9f;
}
.rating-circle span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transition: all 0.25s ease;
}
@media (max-width: 576px) {
  .rating-circle {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }
}
@media (max-width: 400px) {
  .rating-circle {
    width: 28px;
    height: 28px;
    font-size: 0.7rem;
  }
}

/* ------------------------------------------------------------------ */
/* Animated full-logo motif in the (often empty) dark onboarding header */
/* A single "InterCapital" logo cycles through several unique scenes,   */
/* each with its own entrance AND its own exit, then loops.             */
/*                                                                      */
/* Scheduling: every scene plays the SAME 0%..12% action window of the  */
/* shared --hla-period, and is offset in time by its --i index via      */
/* animation-delay. So scenes run one-after-another automatically.      */
/* To ADD a scene later: give it the next --i in the markup, bump       */
/* --hla-count, add a `.hla-scene--x .hla-logo { animation-name }` rule */
/* plus a @keyframes that acts within 0%..12% and is hidden after. No   */
/* percentage re-maths of the other scenes required.                    */
/*                                                                      */
/* Deliberately subtle: a mark slightly darker than the header, so you  */
/* only faintly notice that "something is happening". Shown ONLY when   */
/* the Header section is left empty by the page.                        */
/* ------------------------------------------------------------------ */
.header {
  overflow: hidden; /* clip the animation to the header (trains enter/exit here) */
}
.header > * {
  position: relative;
  z-index: 1; /* real header content stays above the animation layer */
}
.header > .header-logo-anim {
  z-index: 0;
}

/* Tunables -- tweak here. */
.header-logo-anim {
  /* Logo asset. Transparent PNG -- its alpha shape is used as a mask, so each
     part can be painted its own solid colour. */
  --hla-logo-src: url("/logo-full.png");
  /* Two-tone colours: golden icon + white "InterCapital" wordmark. */
  --hla-gold: #bcaa8e;
  --hla-white: #ffffff;
  /* Split point between icon and wordmark (fraction of the logo width). */
  --hla-split: 26%;
  /* Peak visibility (0..1). Kept low on purpose -- just barely perceptible. */
  --hla-max-opacity: 0.3;
  /* Full length of ONE full loop through all scenes. Slow == calm. */
  --hla-period: 30s;
  /* How many scenes are in the cycle (must match the number of .hla-scene in markup). */
  --hla-count: 3;
  /* On-screen size of the logo (scales with the variable header width). */
  --hla-logo-width: min(72%, 300px);
}

/* Show the animation ONLY on pages that leave the Header section empty.          */
/* A filled section has real element children; an empty one has only Blazor        */
/* comment markers, so :has(.header-section *) is false -> animation becomes visible. */
.header-logo-anim {
  display: none;
}
.header:not(:has(.header-section *)) .header-logo-anim {
  display: block;
}
.header-logo-anim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: var(--hla-max-opacity);
}

/* Each scene fills the header and centers its logo. */
.hla-scene {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

/* The logo layer. The common animation timing lives here; each scene only
   picks the animation-name (and, where needed, a timing-function/positioning). */
.hla-logo {
  position: relative;              /* positioning context for the two colour layers */
  width: var(--hla-logo-width);
  aspect-ratio: 380 / 108;         /* matches logo-full.png proportions */
  opacity: 0;                      /* keyframes drive visibility */
  will-change: transform, opacity, clip-path, left, filter;
  animation-duration: var(--hla-period);
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-fill-mode: both;       /* stay on the hidden 0% frame until this scene's turn */
  /* Stagger each scene by one slot so they play in sequence. */
  animation-delay: calc(var(--hla-period) / var(--hla-count) * var(--i, 0));
}

/* Two-tone fill via masking: the logo's alpha shape masks a solid colour, so the
   icon shows gold and the wordmark white. Used by all single-logo scenes; the
   element's animated transform/opacity/clip-path cascades onto these layers. */
.hla-logo::before,
.hla-logo::after {
  content: "";
  position: absolute;
  inset: 0;
  -webkit-mask: var(--hla-logo-src) center / contain no-repeat;
          mask: var(--hla-logo-src) center / contain no-repeat;
}
.hla-logo::before {                /* icon = left --hla-split of the logo */
  clip-path: inset(0 calc(100% - var(--hla-split)) 0 0);
  background-color: var(--hla-gold);
}
.hla-logo::after {                 /* wordmark = the rest */
  clip-path: inset(0 0 0 var(--hla-split));
  background-color: var(--hla-white);
}

/* ======================= SCENES ======================= */

/* ---- Sweep: light-wipe reveal L->R, then wipe out to the right ---- */
.hla-scene--sweep .hla-logo { animation-name: hla-sweep; animation-timing-function: linear; }
@keyframes hla-sweep {
  0%           { opacity: 1; clip-path: inset(0 100% 0 0); }  /* opaque but fully clipped -> no fade-in */
  7%           { opacity: 1; clip-path: inset(0 0 0 0); }      /* drawn in L->R */
  21%          { opacity: 1; clip-path: inset(0 0 0 0); }      /* hold */
  28%          { opacity: 1; clip-path: inset(0 0 0 100%); }   /* wiped out to the right */
  28.01%, 100% { opacity: 0; clip-path: inset(0 0 0 100%); }
}

/* ---- Flip: 3D card flip in, hold, flip away ---- */
.hla-scene--flip .hla-logo { animation-name: hla-flip; }
@keyframes hla-flip {
  0%           { opacity: 1; transform: perspective(700px) rotateY(90deg); }   /* edge-on = invisible, no fade */
  6%           { opacity: 1; transform: perspective(700px) rotateY(0deg); }     /* turned to face us */
  21%          { opacity: 1; transform: perspective(700px) rotateY(0deg); }     /* hold */
  28%          { opacity: 1; transform: perspective(700px) rotateY(-90deg); }   /* turned edge-on = invisible */
  28.01%, 100% { opacity: 0; transform: perspective(700px) rotateY(-90deg); }
}

/* ---- Zoom: focus-pull. Starts oversized & blurred, snaps into focus,
   holds, then flies toward the viewer (scales up, blurs, fades). ---- */
.hla-scene--zoom .hla-logo { animation-name: hla-zoom; }
@keyframes hla-zoom {
  0%           { opacity: 0; transform: scale(2.2); filter: blur(6px); }
  7%           { opacity: 1; transform: scale(1);   filter: blur(0); }
  21%          { opacity: 1; transform: scale(1);   filter: blur(0); }
  28%          { opacity: 0; transform: scale(2.4); filter: blur(8px); }
  28.01%, 100% { opacity: 0; }
}

/* Accessibility: no motion -> show a single static logo instead of the cycle. */
@media (prefers-reduced-motion: reduce) {
  .hla-logo { animation: none !important; }
  .hla-scene:not(.hla-scene--sweep) { display: none; }
  .hla-scene--sweep .hla-logo { opacity: 1; clip-path: none; transform: none; }
}


.home-landing-header__logo {
  display: block;
  width: auto;
  max-width: 260px;
  height: auto;
}
.home-landing-header__title {
  font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.75rem);
  line-height: 1.35;
  margin-bottom: 1.75rem;
}
.home-landing-header__benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.home-landing-header__benefits li {
  position: relative;
  padding-left: 1.75rem;
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(0.95rem, 0.88rem + 0.3vw, 1.05rem);
  line-height: 1.5;
}
.home-landing-header__benefits li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0.05em;
  font-weight: 700;
  color: #e0b64a;
}

.ic-inline-logo {
  display: inline-block;
  height: 1.6em;
  aspect-ratio: 380 / 108;
  position: relative;
  vertical-align: -0.4em;
  margin: 0 0.15em;
}
.ic-inline-logo::before,
.ic-inline-logo::after {
  content: "";
  position: absolute;
  inset: 0;
  -webkit-mask: url("/logo-full.png") center / contain no-repeat;
          mask: url("/logo-full.png") center / contain no-repeat;
}
.ic-inline-logo::before {
  clip-path: inset(0 74% 0 0);
  background-color: #bcaa8e;
}
.ic-inline-logo::after {
  clip-path: inset(0 0 0 26%);
  background-color: #ffffff;
}

.home-landing-header__statement {
  font-size: clamp(1rem, 0.92rem + 0.35vw, 1.15rem);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0.6rem;
}
.home-landing-header__commission {
  font-size: clamp(1.1rem, 0.95rem + 0.7vw, 1.45rem);
  font-weight: 700;
  color: #d8c49a;
  line-height: 1.35;
  margin-bottom: 2rem;
}
.home-landing-header__more-intro {
  font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1rem;
}

/* "Pravila privatnosti" gumb: tekst bold + tamno siva kao naslovi (#434E5F),
   override na btn-outline-secondary svijetlu boju (resting stanje). */
#privacyConsentOpenRules {
  color: #434E5F;
  font-weight: 700;
}

/* Modal "Potvrđujem da sam pročitao..." checkbox: podebljan + nježni blink (zlatni tint)
   da bude uočljiviji; animacija staje kad se checkbox čekira. */
.privacy-consent-modal-check .form-check-label {
  font-weight: 700;
}
.privacy-consent-modal-check {
  border-radius: 8px;
  padding: 8px 10px;
  animation: pc-attention 1.5s ease-in-out infinite;
}
.privacy-consent-modal-check:has(input:checked) {
  animation: none;
  background-color: transparent;
}
@keyframes pc-attention {
  0%, 100% { background-color: transparent; }
  50% { background-color: rgba(188, 170, 142, 0.22); }
}
@media (prefers-reduced-motion: reduce) {
  .privacy-consent-modal-check { animation: none; }
}

/* IPO /ipo-privacy-consent: na MOBITELU one-page (sakrij split dark header);
   header sadrzaj ("Zasto postati nas klijent online?") ide u modal preko linka u boxu.
   Desktop ostaje nepromijenjen (split s headerom). */
@media (max-width: 991.98px) {
  .layout:has(.ipo-privacy-page) .header { display: none; }
}
.ipo-why-client-link {
  color: #434E5F;
  text-decoration: underline;
  cursor: pointer;
}
.ipo-why-client-link:hover,
.ipo-why-client-link:focus { color: #2b6d9f; }

/* IPO privacy mobile: poništi globalni -4.45vw pomak pa je progress bar centriran (header je skriven). */
@media (max-width: 576px) {
  .ipo-privacy-page .progress-bar-container { margin-left: 0; }
}

/* Modal (pravila privatnosti) finish-gate checkbox: centriran, veci label i vidljivija veca kucica. */
.privacy-consent-modal-check {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  padding: 12px 14px;
  text-align: left;
}
.privacy-consent-modal-check .form-check-input {
  float: none;
  margin: 0;
  flex: 0 0 auto;
  width: 1.6em;
  height: 1.6em;
  border: 2px solid #2b6d9f;
  cursor: pointer;
}
.privacy-consent-modal-check .form-check-label {
  font-size: 1.1rem;
  line-height: 1.4;
  cursor: pointer;
}

/* IPO upisnica: na MOBITELU one-page (sakrij header); na desktopu header ostaje prazan -> animacija. */
@media (max-width: 991.98px) {
  .layout:has(.ipo-upisnica-page) .header { display: none; }
}

/* Password strength meter (zxcvbn) on Register — colour-only bar; green at score >= 3,
   matching the server's zxcvbn gate. */
.pw-strength {
  height: 6px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.pw-strength-bar {
  height: 100%;
  width: 0;
  border-radius: 3px;
  transition: width 0.2s ease, background-color 0.2s ease;
}
.pw-strength[data-score="0"] .pw-strength-bar { width: 20%;  background: #e5484d; }
.pw-strength[data-score="1"] .pw-strength-bar { width: 40%;  background: #e5484d; }
.pw-strength[data-score="2"] .pw-strength-bar { width: 60%;  background: #f5a623; }
.pw-strength[data-score="3"] .pw-strength-bar { width: 80%;  background: #3dd68c; }
.pw-strength[data-score="4"] .pw-strength-bar { width: 100%; background: #2f9e5f; }