@font-face {
  font-family: "NT Somic-VFF";
  src: url("/assets/fonts/NT-Somic-VF.ttf") format("truetype");
}

.popup {
  padding: 0 5px;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.bg-one {
  text-align: left;
  padding: 25px 45px 0 45px;
  border-radius: 30px 30px 0 0;
  /* background: radial-gradient(circle at bottom, #ffca3c, #a50124 90%); */
  background: radial-gradient(circle at right, #fff4c4, #ffcf00);
}
.popup-content1 {
  /* background: radial-gradient(circle at bottom, #ffca3c, #a50124 90%); */
  /* background: radial-gradient(circle at right, #fff4c4, #ffcf00); */
  background: #ffffff;
  border-radius: 30px;
  width: 100%;
  max-width: 936px;
  text-align: center;
  position: relative;
  font-family: "NT Somic-VFF", sans-serif;
}
.popup-content1 p {
  font-size: 16px;
  font-weight: 400;
}
.popup-content1 h2 {
  /* margin-bottom: 35px; */
  font-family: "NT Somic-VFF";
  font-size: 40px;
  font-weight: 600;
  color: #1d1d1f;
  text-align: left;
  position: relative;
  /* padding-bottom: 10px;  */
}
@media (max-width: 768px) {
  .popup-content1 p {
    font-size: 13px;
  }
  .popup-content1 h2 {
    font-size: 20px;
  }
  .opros-mob {
    display: none;
  }
}
.answers-buttons {
  display: flex;
  flex-direction: column;
}

.popup-content1 h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px; /* Толщина линии */
  /* background: linear-gradient(to right, #fcb63400, #fcb634, #fcb63400); */
}

.close {
  color: #ffffff;
  position: absolute;
  top: 0;
  right: 0;
  padding: 10px 20px;
  font-size: 20px;
  cursor: pointer;
  font-family: "NT Somic-VFF", sans-serif;
}

/* button {
  font-size: 20px;
  margin-top: 10px;
  padding: 10px 20px;
  background: linear-gradient(91.34deg, #e8c987 30.79%, #f7395a 149.67%);
  color: black;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-family: "NT Somic-VFF", sans-serif;
}

button:hover {
  transform: scale(1.05);
  transition: all 0.3s;
} */

/* Стили для кнопок ответов */

.answer-button {
  width: 100%;
  margin-right: 20px;
  margin-top: 0;
  padding: 0;
  min-width: 135px;
  height: 44px;
  background: #ffffff;
  border-radius: 20px;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-weight: 400;
  font-size: 20px;
  line-height: 100%;
  cursor: pointer;
  transition: 0.3s all;
  font-family: "NT Somic-VFF", sans-serif;
}
@media (max-width: 768px) {
  .answer-button {
    width: 100%;
    margin-right: 20px;
    margin-top: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-weight: 400;
    font-size: 15px;
  }
}
/* 
.answer-button:hover {
  background-color: #fcb634;
  color: #ffffff;
  transform: scale(1.05);
  transition: all 0.3s;
} */

/* .answer-button.selected {
  background: #fcb634;
  color: #fff;
  transition: 0.3s all;
} */

.answer-title {
  font-family: "NT Somic-VFF";
  font-size: 30px;
  font-weight: 600;
  line-height: 120%;
  color: #1d1d1f;
  padding-bottom: 5px;
  margin-bottom: 5px;
}
@media (max-width: 768px) {
  .answer-title {
    font-family: "NT Somic-VFF";
    font-size: 22px;
    font-weight: 600;
    color: #1d1d1f;
    padding-bottom: 18px;
    margin-bottom: 8px;
  }
}
#resultText {
  display: flex;
  border-bottom: 1px solid #dfdfe0;
  padding-bottom: 52px;
  flex-direction: column;
  align-content: center;

  align-items: center;
}

#questionContainer {
  border-bottom: 1px solid #dfdfe0;
  padding-bottom: 52px;
  flex-direction: column;
  align-items: flex-start;
  display: flex;
  font-family: "NT Somic-VFF", sans-serif;
}

#prevQuestionButton {
  width: 140px;
  background: #6e6e731a;
  color: #6e6e73;
}

#continueButton:hover {
  background: #f3c706;
}
#continueButton,
#nextQuestionButton {
  width: 240px;
  background: #ffcf00;
  color: #1d1d1f;
}
#nextQuestionButton::after {
  margin-left: 30px;
  transition: margin-left 0.2s ease, color 0.2s ease;
  content: url(/assets/img/opros-next.png);
}

#nextQuestionButton:hover::after {
  content: url(/assets/img/opros-next-hover.png);
  margin-left: 100px;
  color: #1d1d1f;
}

#continueButton,
#showResultButton,
#prevQuestionButton,
#nextQuestionButton {
  text-transform: capitalize;

  font-weight: 400;
  font-size: 20px;
  margin: 20px;
  font-family: "NT Somic-VFF", sans-serif;

  height: 56px;
  /* border: 2px solid #fcb634;
  border-top-left-radius: 200px;
  border-top-right-radius: 200px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0; */
  /* border-bottom-color: transparent; */
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 18px;
}
#showResultButton,
#closeResultPopup2,
#continueButton {
  margin: 0 auto;
  color: #000000;
  background: #ffcf00;
}

/* #prevQuestionButton,
#nextQuestionButton:hover {
  background: #fcb634;
  color: #000000;
} */

#dolgitTest {
  padding: 25px 45px;
}
@media (max-width: 425px) {
  #dolgitTest {
    padding: 25px 25px;
  }
  #continueButton,
  #showResultButton,
  #prevQuestionButton,
  #nextQuestionButton {
    font-size: 15px;
  }
  #nextQuestionButton::after {
    margin-left: 10px;
    transition: margin-left 0.2s ease, color 0.2s ease;
    content: url(/assets/img/opros-next.png);
  }

  #nextQuestionButton:hover::after {
    content: url(/assets/img/opros-next-hover.png);
    margin-left: 10px;
    color: #1d1d1f;
  }
}
#answerFeedbackText {
  margin-bottom: 40px;
  flex-direction: column;
  display: flex;
}

.results {
  font-family: "NT Somic-VFF";
  color: #1d1d1f;
  font-weight: 600;
  font-size: 20px;
}
.results-p {
  font-size: 18px;
  font-weight: 400;
}
/* .dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-button {
  cursor: pointer;
}

.dropdown-menu {
  margin-top: -20px;
  margin-bottom: 15px;
  text-align: center;
  display: none;
  position: relative;
  background: white;
  border: 1px solid #ffffff;
  width: 100%;
  padding: 5px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(-5px);  
  transition: opacity 0.5s ease, transform 0.5s ease;  
}

.dropdown-menu.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 10px;
  gap: 8px;  
}

.arrow {
  font-size: 14px;
  color: #000;  

.dropdown-menu.show {
  display: block;
}

.dropdown-item {
  display: flex;
  width: 100%;
  text-align: left;
  padding: 5px;
  cursor: pointer;
  background: none;
  border: none;
}

.dropdown-item:hover {
  background: #fcb634;
} */
.vertical-layout {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.arrow {
  font-size: 14px;
  margin-left: 8px;
}
.explanation-text {
  color: #fcb634;
}
.custom-progress-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 5px;
  /* align-content: center; */
  justify-content: center;
  flex-wrap: wrap;
}

.progress-label {
  font-weight: bold;
  color: #1d1d1f;
  margin-bottom: 8px;
}
.new {
  align-content: center;
  padding-top: 10px;
  justify-content: space-between;
}

@media (max-width: 576px) {
  .new {
    flex-direction: column;
  }
}
.custom-progress-bar {
  display: flex;

  gap: 6px;
  width: 100%;
  max-width: 240px;
  height: 8px;
}

.segment {
  width: 30px;
  height: 16px;
  flex: 1;
  background-color: #fff4ce;
  border-radius: 2px;
  transition: background-color 0.3s ease;
}

.segment.filled {
  background-color: #ffcf00;
}

.custom-radio {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #ffcf00;
  border-radius: 50%;
  position: relative;
  margin-right: 8px;
  vertical-align: middle;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.custom-radio:checked::before {
  content: "";
  width: 10px;
  height: 10px;
  background-color: #ffcf00;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
}
.percent span {
  color: #ffcf00;
  font-size: 24px;
  font-weight: 700;
}
h5.percent {
  font-size: 18px;
  font-weight: 400;
}
.question-tip {
  padding: 0 10px;
  background: #fffbe7;
  border-radius: 20px;
}
.question-tip::before {
  top: 2px;
  position: relative;
  content: url(/assets/img/opros-before.png);
  width: 100%;
}
.risk-bottom {
  border-bottom: 2px solid #ffcf00;
}
