/* Quiz Styles */
.quiz-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.quiz-container.active {
  opacity: 1;
  visibility: visible;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.quiz-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  max-width: 1160px;
  max-height: 90vh;
  overflow-y: auto;
  background-color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin: 10px;
  transition:
    transform 500ms cubic-bezier(0.4, 0, 0.2, 1),
    opacity 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

.quiz__sidebar {
  background: #f7f6f4;
  padding: 40px 50px 0 30px;
}

.quiz {
  position: relative;
  display: flex;
  width: 100%;
  gap: 20px;
  min-height: 490px;
}

.quiz__main {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 375px;
}

.quiz__content {
  position: relative;
  display: flex;
  padding: 60px 45px 30px 60px;
  flex-direction: column;
  justify-content: space-between;
}

.quiz__contact {
  font-size: 16px;
  text-align: center;
  line-height: 1.3;
  margin-bottom: 20px;
  width: 100%;
  max-width: 410px;
  margin-inline: auto;
}

.quiz__contact b,
.quiz__contact strong {
  color: #25d366;
  font-weight: 700;
}

.quiz__socials {
  justify-content: center;
  margin: 10px 0 20px;
}

.quiz-wrapper--special .quiz__content {
  padding-top: 25px;
}

.quiz-wrapper--special .quiz {
  min-height: auto;
}

/* .quiz-wrapper--special:has(.quiz__thanks--row) .quiz__content {
	padding: 10px;
} */

.quiz__steps {
  position: relative;
  width: 100%;
  flex: 1;
}

.quiz__step {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.quiz__step.active {
  display: block;
  opacity: 1;
}

.quiz__consultant {
  position: relative;
  z-index: 2;
}

/* Стили для анимации печатания текста консультанта */
.quiz__consultant-bubble {
  position: relative;
  background-color: #ffffff;
  border-radius: 10px;
  padding: 15px 20px;
  margin: 15px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-size: 16px;

  line-height: 1.4;
  color: #398a96;
  width: 100%;
  opacity: 0;
  transform: translateY(10px);
  animation: bubbleAppear 0.3s forwards;
}

.quiz__consultant-bubble::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 40px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 12px 16px 12px;
  border-color: transparent transparent #fff transparent;
}

.quiz__consultant-bubble.typing {
  min-height: 24px;
}

/* Анимация индикатора печатания */
.typing-indicator {
  display: inline-block;
}

.typing-indicator span {
  display: inline-block;
  animation: typingDot 1s infinite;
  opacity: 0.6;
}

.typing-indicator span:nth-child(1) {
  animation-delay: 0s;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingDot {
  0% {
    opacity: 0.6;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(-2px);
  }

  100% {
    opacity: 0.6;
    transform: translateY(0);
  }
}

@keyframes bubbleAppear {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.quiz__footer {
  display: flex;
  align-items: flex-end;
  position: relative;
  z-index: 1;
  margin-top: 20px;
  gap: 25px;
}

/* Анимации переходов */
.fade-in {
  animation: fadeIn 0.4s forwards;
}

.fade-out {
  animation: fadeOut 0.3s forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.quiz__title {
  font-weight: 700;
  font-size: 24px;
  line-height: 1.3;
  color: #191a1e;
  margin-bottom: 20px;
  display: flex;
}

[data-id="step_form"] .quiz__title {
  margin-bottom: 3px;
}

.quiz__title--center {
  text-align: center;
  justify-content: center;
  margin-inline: auto;
}

.quiz__thanks--row .quiz__title {
  text-align: left;
  max-width: 100%;
  margin: 10px 0;
  justify-content: flex-start;
}

.quiz__options {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr 1fr;
}

.quiz__option {
  display: flex;
  align-items: center;
  padding: 15px 25px;
  border: 1px solid #398a96;
  cursor: pointer;
  transition: var(--transition);
}

.quiz__option:hover {
  background-color: #f0f8ff;
  border-color: #b0e0e6;
}

.quiz__option.selected {
  background-color: #e6f7ff;
  border-color: #398a96;
}

.quiz__radio {
  width: 20px;
  height: 20px;
  border: 1px solid #398a96;
  border-radius: 50%;
  margin-right: 15px;
  flex-shrink: 0;
  position: relative;
}

.quiz__option.selected .quiz__radio:after {
}

.quiz__option.selected .quiz__radio:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  background-color: #398a96;
  border-radius: 50%;
}

.quiz__option-text {
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  color: #398a96;
}

/* Стили для кнопок навигации */
.quiz__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.quiz__button,
.quiz__back {
  padding: 10px 25px;
  border-radius: 30px;
  line-height: 1;
  border: none;
  cursor: pointer;
  font-weight: 400;
  font-size: 14px;
  text-transform: uppercase;
  transition: var(--transition);
}

.quiz__button {
  background: #25d366;
  color: #fff;
}

.quiz__button--retry {
  margin-top: 20px;
}

.quiz__button:hover {
  opacity: 0.8;
}

.quiz__back {
  background-color: transparent;
  color: #398a96;
  padding-inline: 2px;
}

.quiz__back:hover {
  transform: translateY(-2px);
  opacity: 0.8;
}

.quiz__skip {
  font-weight: 400;
  font-size: 37px;
  color: #398a96;
  text-align: center;
  cursor: pointer;
  font-family: var(--font2);
  position: absolute;
  top: -36px;
  width: 170px;
  line-height: 0.9;
  right: -40px;
  transform: rotate(9deg);
  opacity: 0.6;
}

/* Стили для прогресс-бара */
.quiz__progress-container {
  margin-bottom: 15px;
  width: 100%;
}

.quiz-wrapper--special .quiz__progress-container {
  margin-bottom: 30px;
}

.quiz__progress-text {
  font-size: 16px;
  color: #398a96;
  margin-bottom: 5px;
  font-weight: 500;
  transition: color 0.3s;
}

.quiz__progress-bar {
  height: 7px;
  border: 1px solid #25d366;
  border-radius: 7px;
  overflow: hidden;
}

.quiz__progress-fill {
  height: 100%;
  background-color: #25d366;
  width: 0;
  transition: width 0.5s ease;
}

.quiz__progress-fill {
  position: relative;
}

.quiz__progress-fill:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-image: linear-gradient(
    -45deg,
    hsla(0, 0%, 100%, 0.3) 25%,
    transparent 0,
    transparent 50%,
    hsla(0, 0%, 100%, 0.3) 0,
    hsla(0, 0%, 100%, 0.3) 75%,
    transparent 0,
    transparent
  );
  z-index: 1;
  background-size: 20px 20px;
  -webkit-animation: move 1.5s linear infinite;
  animation: move 1.5s linear infinite;
  border-radius: 20px;
  overflow: hidden;
}

@-webkit-keyframes move {
  0% {
    background-position: 0 0;
  }

  to {
    background-position: 20px 20px;
  }
}

@keyframes move {
  0% {
    background-position: 0 0;
  }

  to {
    background-position: 20px 20px;
  }
}

.quiz__loading,
.quiz__error-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #f7f6f4;
  z-index: 5;
  padding: 30px;
  text-align: center;
}

.quiz__error {
  color: #ff5555;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.quiz__expert {
  display: flex;
  align-items: center;
  gap: 20px;
}

.quiz__expert-image {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 1px solid #f7f6f4;
  position: relative;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.quiz__expert-status {
  position: absolute;
  bottom: 14px;
  right: 10px;
  width: 12px;
  height: 12px;
  background-color: #30ee00;
  border: 1px solid #34aeea;
  border-radius: 50%;
}

@keyframes pulse {
  0% {
    transform: scale(0.9);
  }

  70% {
    transform: scale(1.2);
    box-shadow: 0 0 0 50px rgba(48, 238, 0, 0);
  }

  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(48, 238, 0, 0);
  }
}

.quiz__expert-status {
  animation: pulse 3.5s infinite;
}

.quiz__expert-info {
  display: flex;
  flex-direction: column;
}

.quiz__expert-name {
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
  color: #191a1e;
  margin-bottom: 5px;
}

.quiz__expert-position {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.3;
  color: #191a1e;
}

/* Стили для формы квиза */
.quiz__form-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-bottom: 10px;
}

.quiz__phone-wrapper {
  position: relative;
  width: 100%;
}

/* 
.quiz__country-flag {
	position: absolute;
	left: 15px;
	top: 50%;
	transform: translateY(-50%);
	width: 24px;
	height: 24px;
	background-image: url('../img/icons/ru-flag.svg');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
} */

/* .quiz__input--phone {
	padding-left: 50px !important;
} */

.quiz__input {
  width: 100%;
  padding: 15px 30px;
  border: 1px solid #b0e0e6;
  border-radius: 7px;
  background-color: transparent;
  font-weight: 400;
  font-size: 16px;
  color: #191a1e;
  transition: border-color 0.3s;
}

.quiz__input::placeholder {
  color: #b0e0e6;
}

.quiz__input:focus {
  outline: none;
  border-color: #398a96;
}

/* Стили для отображения ошибок в форме */
.quiz__input--error {
  border-color: #ff3b30;
  background-color: rgba(255, 59, 48, 0.05);
}

.quiz__input--error:focus {
  border-color: #ff3b30;
}

.quiz__input-error {
  color: #ff3b30;
  font-size: 12px;
  margin-top: 5px;
  padding-left: 5px;
  position: relative;
  display: flex;
  align-items: center;
  animation: errorAppear 0.3s forwards;
}

.quiz__input-error::before {
  content: "!";
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 16px;
  height: 16px;
  background-color: #ff3b30;
  color: white;
  border-radius: 50%;
  margin-right: 6px;
  font-size: 10px;
  font-weight: bold;
}

@keyframes errorAppear {
  0% {
    opacity: 0;
    transform: translateY(-5px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.quiz__agreement {
  margin-top: 20px;
  margin-bottom: 20px;
}

.quiz__checkbox-label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
}

.quiz__checkbox-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  margin: -1px;
  padding: 0;
  border: 0;
}

.quiz__checkbox-custom {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 1px solid #b0e0e6;
  border-radius: 3px;
  margin-right: 10px;
  margin-top: 2px;
  position: relative;
  transition:
    border-color 0.3s,
    background-color 0.3s;
}

.quiz__checkbox-input:checked + .quiz__checkbox-custom {
  background-color: #398a96;
  border-color: #398a96;
}

.quiz__checkbox-input:checked + .quiz__checkbox-custom::after {
  content: "";
  position: absolute;
  left: 6.4px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.quiz__checkbox-input:focus + .quiz__checkbox-custom {
  box-shadow: 0 0 0 2px rgba(57, 138, 150, 0.3);
}

.quiz__agreement-text {
  font-weight: 400;
  font-size: 12px;
  line-height: 1.4;
  color: #191a1e;
}

.quiz__agreement-text a {
  text-decoration: underline;
  color: #2e6f79;
}

.quiz__agreement-error {
  display: none;
  margin-top: 8px;
  margin-left: 30px;
  font-size: 12px;
  line-height: 1.3;
  color: #c62828;
}

.quiz__agreement--pulse {
  animation: quiz-agreement-pulse 0.4s ease 2;
}

@keyframes quiz-agreement-pulse {
  0% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
  100% {
    transform: translateX(0);
  }
}

.quiz__lock-icon {
  display: inline-block;
  width: 19px;
}

.quiz__security {
  display: flex;
  gap: 10px;
  align-items: center;
}

.quiz__no-spam {
  margin-bottom: 0;
  font-size: 12px;
  color: #191a1e;
}

/* Стили для блока "Учитываем" */
.quiz__accounting-block {
  margin: 41px 0 0;
  border-radius: 10px;
}

.quiz__accounting-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 10px;
  color: #145e68;
}

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

.quiz__accounting-item {
  position: relative;
  padding: 8px 0 8px 0;
  font-size: 16px;
  line-height: 1;
  color: #398a96;
  font-weight: 700;
  display: flex;
  align-items: center;
}

.quiz__accounting-icon {
  margin-right: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.quiz__accounting-empty p {
  font-size: 14px;
  color: #888;
  font-style: italic;
  margin: 5px 0;
}

/* Стили для уведомлений */
.quiz__notification-container {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
}

.quiz__notification {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin-bottom: 10px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  min-width: 280px;
  max-width: 400px;
  transform: translateX(100%);
  opacity: 0;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  pointer-events: auto;
}

.quiz__notification.active {
  transform: translateX(0);
  opacity: 1;
}

.quiz__notification--error {
  border-left: 4px solid #ff3b30;
}

.quiz__notification--success {
  border-left: 4px solid #4cd964;
}

.quiz__notification--info {
  border-left: 4px solid #007aff;
}

.quiz__notification-icon {
  width: 24px;
  height: 24px;
  margin-right: 12px;
  position: relative;
}

.quiz__notification--error .quiz__notification-icon::before,
.quiz__notification--error .quiz__notification-icon::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 15px;
  background-color: #ff3b30;
  top: 50%;
  left: 50%;
}

.quiz__notification--error .quiz__notification-icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.quiz__notification--error .quiz__notification-icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.quiz__notification--success .quiz__notification-icon::before {
  content: "";
  position: absolute;
  width: 7px;
  height: 14px;
  border-right: 2px solid #4cd964;
  border-bottom: 2px solid #4cd964;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.quiz__notification-message {
  flex: 1;
  font-size: 14px;
  line-height: 1.4;
  color: #333;
}

.quiz__notification-close {
  width: 20px;
  height: 20px;
  margin-left: 10px;
  position: relative;
  cursor: pointer;
}

.quiz__notification-close::before,
.quiz__notification-close::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 16px;
  background-color: #999;
  top: 50%;
  left: 50%;
}

.quiz__notification-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.quiz__notification-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Стили для шага с формой при специальном отображении */
.quiz-wrapper--special {
  display: flex;
  flex-direction: column;
  max-width: 610px;
}

.quiz-wrapper--special .quiz__main {
  grid-template-columns: 1fr;
}

.quiz-wrapper--special .quiz__footer {
  text-align: center;
  order: -1;
  margin: 0;
}

.quiz__progress-text {
  margin-bottom: 10px;
}

.quiz__form {
  margin-top: 15px;
}

.quiz__thanks {
  padding: 10px 10px 30px;
}

.quiz-wrapper--thanks:has(.quiz__thanks--row) {
  max-width: 720px;
}

.quiz__thanks--column {
  display: flex;
  flex-direction: column;
}

.quiz__thanks-text a {
  font-weight: 700;
  color: var(--primary);
}

/* Стили для расположения в строку (изображение слева, контент справа) */
.quiz__thanks--row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  text-align: left;
}

.quiz__thanks--row .quiz__thanks-image-wrapper {
  margin: 0;
  order: -1;
}

.quiz__thanks-image-wrapper {
  margin-top: 40px;
}

.quiz__thanks-image {
  max-width: 100%;
  width: 100%;
}

.quiz__thanks-content {
  display: flex;
  flex-direction: column;
}

.quiz__thanks-text {
  font-weight: 400;
  line-height: 1.3;
  color: #191a1e;
  display: flex;
  flex-direction: column;
  row-gap: 20px;
  margin-bottom: 30px;
}

.quiz__thanks-button {
  align-self: center;
}

.quiz__thanks--row .quiz__thanks-button {
  align-self: flex-start;
}

.quiz__close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 25px;
  height: 25px;
  cursor: pointer;
  z-index: 10;
}

.quiz__close:before,
.quiz__close:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transition: var(--transition);
  height: 2px;
  background-color: #b0e0e6;
}

.quiz__close:before {
  transform: rotate(45deg);
}

.quiz__close:after {
  transform: rotate(-45deg);
}

.quiz__close:hover:before,
.quiz__close:hover:after {
  background-color: #398a96;
}

/* Стили для формы и кнопки отправки формы */
.quiz__form-submit {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 15px 30px;
  width: 100%;
  background-color: #398a96;
  color: #ffffff;
  font-weight: 400;
  font-size: 16px;
  text-transform: uppercase;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  transition:
    background-color 0.3s,
    transform 0.2s;
}

.quiz__form-submit:hover {
  background-color: #2e6f79;
  transform: translateY(-2px);
}

.quiz__form-submit:disabled {
  background-color: #aaa;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 992px) {
  .quiz__content {
    padding: 30px;
  }

  .quiz__title {
    max-width: calc(100% - 110px);
    font-size: 20px;
  }

  .quiz__options {
    gap: 15px;
  }

  .quiz__skip {
    top: 3px;
    right: 0;
    font-size: 26px;
    line-height: 0.7;
    width: 102px;
  }
}

@media (max-width: 870px) {
  .quiz__option {
    padding: 10px;
  }

  .quiz__radio {
    margin-right: 8px;
  }

  .quiz__option-text {
    font-size: 13px;
  }

  .quiz__main {
    grid-template-columns: 1fr 250px;
  }

  .quiz__expert-image {
    width: 85px;
    height: 85px;
  }

  .quiz__expert {
    gap: 10px;
  }

  .quiz__expert-name {
    font-size: 18px;
  }

  .quiz__expert-position {
    font-size: 14px;
  }

  .quiz__sidebar {
    padding: 10px 20px 0 20px;
  }
}

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

@media (max-width: 670px) {
  .quiz__footer {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }

  .quiz__content {
    padding: 20px;
  }

  .quiz__progress-container {
    margin: 0;
  }
}

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

  .quiz__sidebar {
    padding-bottom: 20px;
  }

  .quiz__accounting-block {
    margin-top: 25px;
  }

  .quiz__progress-text {
    font-size: 13px;
  }

  .quiz__thanks--row {
    grid-template-columns: 1fr;
  }

  .quiz__close {
    top: 2px;
    right: 2px;
  }
}

/* Стили для анимации загрузки (loading) с туристической тематикой */
.quiz__loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.quiz__loading-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 300px;
}

.quiz__loading-icon {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
}

.quiz__loading-plane {
  position: absolute;
  width: 60px;
  height: 60px;
  top: 50%;
  left: 50%;
  margin-top: -30px;
  margin-left: -30px;
  animation: plane-fly 3s infinite ease-in-out;
}

.quiz__loading-plane::before {
  content: "✈️";
  font-size: 40px;
  position: absolute;
  transform-origin: center;
  animation: plane-rotate 3s infinite ease-in-out;
}

.quiz__loading-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px dashed #398a96;
  border-radius: 50%;
  animation: circle-rotate 10s infinite linear;
}

.quiz__loading-destination {
  position: absolute;
  width: 100%;
  height: 100%;
}

.quiz__loading-destination span {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: #398a96;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.quiz__loading-destination span:nth-child(1) {
  top: 0;
  left: 50%;
  animation: destination-pulse 2s infinite ease-in-out;
}

.quiz__loading-destination span:nth-child(2) {
  top: 50%;
  right: 0;
  animation: destination-pulse 2s infinite ease-in-out 0.5s;
}

.quiz__loading-destination span:nth-child(3) {
  bottom: 0;
  left: 50%;
  animation: destination-pulse 2s infinite ease-in-out 1s;
}

.quiz__loading-destination span:nth-child(4) {
  top: 50%;
  left: 0;
  animation: destination-pulse 2s infinite ease-in-out 1.5s;
}

.quiz__loading-text {
  font-family: var(--font1);
  font-weight: bold;
  font-size: 18px;
  color: #398a96;
  margin-bottom: 10px;
}

.quiz__loading-subtext {
  font-family: var(--font1);
  font-weight: normal;
  font-size: 14px;
  color: #666;
  line-height: 1.4;
}

@keyframes plane-fly {
  0%,
  100% {
    transform: scale(1) translate(0, 0);
  }

  25% {
    transform: scale(0.8) translate(30px, -30px);
  }

  50% {
    transform: scale(1) translate(0, 0);
  }

  75% {
    transform: scale(0.8) translate(-30px, 30px);
  }
}

@keyframes plane-rotate {
  0%,
  100% {
    transform: rotate(45deg);
  }

  25% {
    transform: rotate(135deg);
  }

  50% {
    transform: rotate(225deg);
  }

  75% {
    transform: rotate(315deg);
  }
}

@keyframes circle-rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes destination-pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    background-color: #398a96;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.5);
    background-color: #25d366;
  }
}

/* Добавляем адаптивность для маленьких экранов */
@media (max-width: 480px) {
  .quiz__loading-icon {
    width: 90px;
    height: 90px;
  }

  .quiz__loading-text {
    font-size: 16px;
  }

  .quiz__loading-subtext {
    font-size: 12px;
  }
}
