.anketa-wrapper {
  font-family: "Inter", sans-serif;
}

.anketa-title {
  text-align: center;
  font-size: 20px;
  margin-bottom: 16px;
  line-height: 1.3em;
}

.anketa-contact-form {
  padding: 15px 10px 0 10px;
}
.opros_logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 42px;
    width: 185px;
    gap: 8px;
    margin: 0 auto;
}
.opros-logotip {
    width: 43px;
    height: 43px;
}
.opros-logotip-text {
    width: 129px;
    height: 30px;
}
/* ===== Шаги анкеты ===== */
.anketa-step {
  display: none;
  padding: 0 10px;
  animation: anketaFadeIn 0.25s ease;
}

.anketa-step.active {
  display: block;
}

@keyframes anketaFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.anketa-step-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.anketa-step-number {
  background: #7B9429;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
}

.anketa-step-title {
  font-weight: 600;
  color: #424F4B;
  font-size: 16px;
}

/* ===== Опции (чекбоксы/радио) ===== */
.anketa-options-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.anketa-option-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 46px;
  background-color: #F1F0ED;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s ease;
}

.anketa-option-item:hover {
  background-color: #dbd5c9;
}

.anketa-option-item.selected {
  background-color: #424F4B;
  color: white;
}

.anketa-option-label {
  font-size: 14px;
  color: #424F4B;
  flex: 1;
}

.anketa-option-item.selected .anketa-option-label {
  color: white;
}

.anketa-option-item input[type="checkbox"],
.anketa-option-item input[type="radio"] {
  margin-right: 12px;
  flex-shrink: 0;
}

/* ===== Поле "Другое" ===== */
.anketa-other-input {
  display: none;
  margin-top: 12px;
}

.anketa-other-input.visible {
  display: block;
}

.anketa-textarea {
  width: 100%;
  min-height: 70px;
  border-radius: 10px;
  padding: 12px;
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
  box-sizing: border-box;
}

/* ===== Индикатор прогресса ===== */
.anketa-progress {
  position: relative;
  padding: 20px 10px 30px;
  margin-bottom: 10px;
}

.anketa-progress-track {
  position: absolute;
  top: 32px;
  left: 20px;
  right: 20px;
  height: 3px;
  background: #E1EDBB;
  border-radius: 2px;
  z-index: 1;
}

.anketa-progress-track::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: #7B9429;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.anketa-progress-steps {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  max-width: 480px;
  margin: 0 auto;
}

.anketa-progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.anketa-progress-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #F1F0ED;
  color: #70827D;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.anketa-progress-step.active .anketa-progress-number,
.anketa-progress-step.completed .anketa-progress-number {
  background: #7B9429;
  color: white;
  border-color: #7B9429;
}

.anketa-progress-step.completed .anketa-progress-number {
  background: #E1EDBB;
  color: #7B9429;
  border-color: #7B9429;
}

.anketa-progress-step.active .anketa-progress-number {
  transform: scale(1.1);
  box-shadow: 0 0 0 4px rgba(123, 148, 41, 0.15);
}

/* ===== Навигация по шагам ===== */
.anketa-step-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  gap: 12px;
}

.anketa-nav-spacer {
  flex: 1;
}

.anketa-btn-next,
.anketa-btn-prev,
.anketa-btn-submit,
.anketa-btn-restart {
  font-size: 14px;
  padding: 10px 20px;
  min-height: 48px;
  border-radius: 5px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.anketa-btn-next,
.anketa-btn-submit {
  min-width: 140px;
  background-color: #7B9329;
  color: white;
}

.anketa-btn-next:hover,
.anketa-btn-submit:hover {
  background-color: #657C19;
}

.anketa-btn-prev,
.anketa-btn-restart {
  min-width: 100px;
  background-color: #E1EDBB;
  color: #7B9429;
}

.anketa-btn-prev:hover,
.anketa-btn-restart:hover {
  background-color: #cfe39a;
}

/* ===== Результат ===== */
.anketa-result {
  display: none;
  padding: 0 20px 20px 20px;
  text-align: center;
}

.anketa-result.visible {
  display: block;
  animation: anketaFadeIn 0.3s ease;
}

.anketa-result-company {
  font-size: 18px;
  font-weight: 700;
  color: #0F3027;
  margin: 16px 0 12px;
}

.anketa-result-intro {
  font-size: 16px;
  color: #424F4B;
  margin-bottom: 16px;
}

.anketa-result-subtitle {
  font-size: 14px;
  color: #70827D;
  margin: 12px 0;
}

.anketa-result-verdict {
  font-size: 16px;
  font-weight: 600;
  color: #7B9429;
  margin: 12px 0 16px;
  line-height: 1.3em;
}

.anketa-result-why-title {
  font-size: 16px;
  font-weight: 500;
  color: #424F4B;
  margin: 30px 0 8px;
  text-align: left;
}

.anketa-result-list {
  text-align: left;
  font-size: 16px;
  color: #424F4B;
  padding-left: 20px;
  margin: 0 0 20px;
  line-height: 1.4;
}

.anketa-result-list li {
  margin-bottom: 6px;
}

.anketa-result-note {
  font-size: 16px;
  color: #424F4B;
  margin: 28px 0;
    line-height: 1.4;
    font-weight: 600;
}

#anketa-register-btn {
  margin: 20px auto;
  max-width: 320px;
  font-size: 15px;
  width: 100%;
  height: 55px;
  padding-top: 3px;
  background-color: #0F3027;
  color: white;
  border-radius: 15px;
  border: 0;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  text-align: center;
}

#anketa-register-btn:hover {
  background-color: #0a221b;
}

/* ===== Адаптивность ===== */
@media (max-width: 767px) {
  .anketa-title {
    font-size: 18px !important;
    padding: 0 5px;
  }
  .opros_logo {
    justify-content: center;
  }
  .modal-input {
    font-size: 14px !important;
    padding: 4px 12px 0 16px !important;
    height: 42px !important;
  }
  
  .anketa-option-item {
    padding: 6px 12px !important;
    border-radius: 8px !important;
    height: auto !important;
  }
  
  .anketa-option-label {
    font-size: 13px !important;
  }
  
  .anketa-btn-next,
  .anketa-btn-prev,
  .anketa-btn-submit,
  .anketa-btn-restart {
    font-size: 14px !important;
    padding: 9px 16px !important;
    min-height: 40px !important;
    border-radius: 10px !important;
  }
  
  .anketa-result-company {
    font-size: 16px !important;
  }
  
  .anketa-result-list {
    font-size: 13px !important;
    padding-left: 18px !important;
  }
  
  .anketa-result-verdict {
    font-size: 15px !important;
  }
}

@media (max-width: 370px) {
  .anketa-option-label {
    font-size: 12px !important;
  }
  
  .modal-label {
    font-size: 14px !important;
  }
  
  .anketa-step-title {
    font-size: 14px !important;
  }
}