/* Shared hover-tooltip styling for the step-progress bar, used on every flow page.
   The card element itself is created at runtime by js/step-hover.js. */

.step-item.is-hovered {
  color: #455fd3;
}

.step-hover-card {
  position: absolute;
  top: 65px;
  z-index: 8;
  min-height: 114px;
  padding: 32px 35px 20px;
  box-sizing: border-box;
  border-radius: 11px;
  background: rgba(252, 247, 239, 0.72);
  backdrop-filter: blur(24px) saturate(128%);
  -webkit-backdrop-filter: blur(24px) saturate(128%);
  box-shadow: 0 12px 34px rgba(65, 65, 65, 0.08);
  border: 1.5px solid rgba(69, 95, 211, 0.35);
  color: #455fd3;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.16s ease, transform 0.16s ease;
  pointer-events: none;
  isolation: isolate;
}

.step-hover-card.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.step-hover-card.single-line {
  min-height: 77px;
  padding-bottom: 24px;
}

.step-hover-title,
.step-hover-subtitle {
  margin: 0;
  font-family: "Ploni ML v2 AAA", Helvetica, sans-serif;
  font-size: 26px;
  font-weight: 900;
  color: #455fd3;
}

.step-hover-title {
  line-height: 15px;
}

.step-hover-subtitle {
  margin-top: 19px;
  line-height: 28px;
}

html[dir="rtl"] .step-hover-card,
html[dir="rtl"] .step-hover-title,
html[dir="rtl"] .step-hover-subtitle {
  text-align: right;
}

html[dir="rtl"] .step-hover-card:not(.single-line) .step-hover-title,
html[dir="rtl"] .step-hover-card:not(.single-line) .step-hover-subtitle {
  white-space: nowrap;
}

html[dir="rtl"] .step-hover-card .step-hover-title,
html[dir="rtl"] .step-hover-card .step-hover-subtitle {
  letter-spacing: 0;
}

html[dir="rtl"] .step-hover-card.is-finish .step-hover-subtitle {
  white-space: normal;
}

html[dir="ltr"] .step-hover-card,
html[dir="ltr"] .step-hover-title,
html[dir="ltr"] .step-hover-subtitle {
  text-align: left;
}

html[dir="ltr"] .step-hover-title {
  line-height: 22px;
}

html[dir="ltr"] .step-hover-subtitle {
  line-height: 32px;
}
