/* =========================
   LYA WIZARD FORM
========================= */

.lya-form--wizard .controls {
  position: relative;
}

.lya-ai-box {
  margin-bottom: 8px;
}

.lya-ai-box__inner {
  padding: 20px 24px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
}

.lya-ai-box__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(212, 204, 255, 0.85);
}

.lya-ai-picture {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  overflow: hidden;
  position: relative;
  margin-right: 12px;
}

.lya-ai-img {
  position: absolute;
  top: -8px;
}

.lya-ai-box__text {
  margin: 0;
  color: #f5f5f5;
  font-family: var(--font-text);
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.6;
  min-height: 68px;
  white-space: pre-line;
}

.lya-progress {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.lya-progress__bar {
  position: relative;
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.lya-progress__value {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #7b2cff 0%, #4c7dff 100%);
  transition: width 0.35s ease;
}

.lya-progress__meta {
  color: rgba(245, 245, 245, 0.75);
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
}

.lya-step {
  display: none;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.lya-step.is-active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.lya-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.lya-nav__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: var(--font-text);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.25s ease, opacity 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.lya-nav__btn:hover {
  transform: translateY(-1px);
}

.lya-nav__btn--ghost {
  border: 1px solid rgba(212, 204, 255, 0.30);
  background: transparent;
  color: rgba(245, 245, 245, 0.85);
}

.lya-nav__btn--primary {
  border: 1px solid #7b2cff;
  background: linear-gradient(90deg, rgba(123, 44, 255, 0.18) 0%, rgba(76, 125, 255, 0.18) 100%);
  color: #fff;
}

.lya-form--wizard .mt-30.text-center {
  margin-top: 20px !important;
}

@media (max-width: 767.98px) {
  .lya-ai-box__text {
    font-size: 22px;
    min-height: 56px;
  }

  .lya-progress {
    margin-bottom: 22px;
  }

  .lya-nav {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .lya-nav__btn {
    width: 100%;
  }
}