/* Точные стили из проекта tbank_ggl_quizredis_ig - адаптированы для проекта true t-bank study */

html, body
{
  width: 100%;
  height: 100%;
  margin: 0px;
  padding: 0px;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.quiz-modal-new,
.question-wrapper,
.question,
.question-inner-wrapper,
.question-text-wrapper,
.question-inner-text-wrapper,
.question-data,
.question-title,
.question-subtitle,
.question-item,
.question-item label,
.question-progress-bar-text,
.question-progress-bar-text-key,
.question-progress-bar-text-value,
.btn-yellow-div a,
.btn-yellow-div button,
.btn-white-div a,
.btn-white-div button,
.discount-manager-text,
.discount-data,
.discount-data .dd-title,
.discount-data .dd-value-data,
.discount-unlock-item-text,
.discount-unlock-title,
.media-discount-manager-name,
.dm-name,
.dm-job,
#question_8,
#question_8 h1,
#question_8 input,
#question_8 label,
#question_8 button,
#question_8 small {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

#app,
.quiz-modal-new
{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  overflow: visible;
}

.question,
.question-wrapper
{
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 620px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  background: #fff;
  border: none;
  box-sizing: border-box;
}

/* Улучшенные размеры для больших экранов */
@media (min-width: 1400px) {
  .question,
  .question-wrapper {
    min-height: 700px;
  }
}

@media (min-width: 1920px) {
  .question,
  .question-wrapper {
    min-height: 750px;
  }
}

.question-inner-wrapper
{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}

.question-text,
.question-text-wrapper,
.question-inner-text-wrapper
{
  position: relative;
  width: 100%;
  height: 100%;
  padding: 30px 35px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;
}

/* Улучшенные отступы для больших экранов */
@media (min-width: 1400px) {
  .question-text,
  .question-text-wrapper,
  .question-inner-text-wrapper {
    padding: 40px 50px;
  }
}

@media (min-width: 1920px) {
  .question-text,
  .question-text-wrapper,
  .question-inner-text-wrapper {
    padding: 50px 60px;
  }
}

.question-data
{
  width: 20%;
  min-width: 300px;
  height: 100%;
  padding: 23px;
  background: #f9f9fb;
  box-sizing: border-box;
}

/* Улучшенные отступы для боковой панели на больших экранах */
@media (min-width: 1400px) {
  .question-data {
    padding: 30px;
    min-width: 350px;
  }
}

@media (min-width: 1920px) {
  .question-data {
    padding: 35px;
    min-width: 400px;
  }
}

/* Скрываем боковую панель на мобильных устройствах */
@media (max-width: 800px) {
  .question-data {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }
}

.question-subtitle
{
  width: 100%;
  text-align: left;
  font-size: 18px;
  color: #828b9b;
  line-height: 1.25;
  font-weight: 400;
  margin-bottom: 24px;
}

.question-title
{
  width: 100%;
  text-align: left;
  font-size: 30px;
  color: #000000;
  line-height: 1.15;
  font-weight: 600;
  margin-bottom: 20px;
}

.question-progress-bar
{
  width: 100%;
}

.question-progress-bar-text
{
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between !important;
  align-items: center;
  font-size: 12px;
  color: #000000;
  text-align: left;
  font-weight: 600;
  margin-bottom: 8px;
}

.pdd-main
{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
}

.pdd-data
{
  display: none;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between !important;
  align-items: center;
}

.pdd-data .dd-title
{
  font-size: 17px;
  color: #66666c;
  margin-right: 10px;
}

.progress-fill
{
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 6px;
  background-color: #efce36;
  background-image: linear-gradient(
    center bottom,
    rgb(43,194,83) 37%,
    rgb(84,240,84) 69%
  );
  position: relative;
  overflow: hidden;
  transition: all 0.2s linear;
}

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

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

.question-progress-bar-text-value
{
  font-size: 14px;
  margin-left: 10px;
}

.question-progress-bar-line
{
  height: 6px;
  width: 100%;
  border-radius: 6px;
  box-shadow: inset 0 -1px 1px rgb(255 255 255 / 30%);
  opacity: .9;
  background: #dbdbdb;
  margin-bottom: 16px;
}

.question-list
{
  width: 100%;
  background: #ffffff;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}

.question-item
{
  border: 1px solid #e7eaee;
  padding: 23px 25px 20px 25px;
  width: 49%;
  border-radius: 6px;
  margin-bottom: 15px;
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  box-shadow: 0 8px 10px rgb(10 31 68 / 3%);
  font-weight: 600;
  box-sizing: border-box;
  cursor: pointer;
  transition: all 0.3s ease;
}

.question-item:hover
{
  box-shadow: 0 8px 15px rgb(10 31 68 / 8%);
  border-color: #efce36;
}

.question-item label
{
  cursor: pointer;
  flex: 1;
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  color: #000;
}

input[type=checkbox], input[type=radio]
{
  box-sizing: border-box;
  padding: 0;
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  margin-right: 15px;
  cursor: pointer;
}

.question-item input[type=radio]:checked + label {
  font-weight: 700;
}

/* Стили для выбранного элемента вопроса */
.question-item input[type=radio]:checked ~ label,
.question-item:has(input[type=radio]:checked) {
  border-color: #efce36;
}

.question-item:has(input[type=radio]:checked) {
  background-color: #fffef5;
  box-shadow: 0 8px 20px rgb(239 206 54 / 15%);
}

/* Fallback для браузеров без поддержки :has() */
.question-item.selected {
  border-color: #efce36;
  background-color: #fffef5;
  box-shadow: 0 8px 20px rgb(239 206 54 / 15%);
}

.question-item-check
{
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0);
  position: absolute;
  left: 0;
  top: 0;
  cursor: pointer;
}

.question-actions
{
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 15px;
  z-index: 10;
}

.question-data-wrapper
{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;
}

.discount-manager
{
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: stretch;
  margin-bottom: 16px;
}

.discount-manager-photo
{
  width: 64px;
  height: 64px;
  background: url(../images/manager.png) no-repeat center center;
  background-size: cover;
  border-radius: 50%;
  margin-right: 10px;
}

.discount-manager-name
{
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: flex-start;
}

.dm-name
{
  font-weight: 700;
  font-size: 17px;
  color: #04122b;
  line-height: 1.125;
}

.dm-job
{
  font-size: 13px;
  color: #8a94a6;
  line-height: 1.15;
  margin-top: 5px;
}

.discount-manager-text
{
  margin-top: 16px;
  background: #eceef1;
  padding: 18px;
  border-radius: 0 14px 14px 14px;
  overflow-y: auto;
  overflow-x: hidden;
  height: auto;
  max-height: 100%;
  color: #2e2e49;
  font-size: 14px;
  line-height: 1.5;
}

.discount-data
{
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 20px;
  height: 58px;
  padding: 24px .6em 24px 1.4em;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  text-align: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: #212529;
  border-radius: 14px;
  -webkit-box-shadow: 0 8px 10px rgb(10 31 68 / 5%);
  box-shadow: 0 8px 10px rgb(10 31 68 / 5%);
  background: #fff;
}

.dd-title
{
  font-size: 17px;
  color: #66666c;
}

.question-progress-bar-text-key
{
  font-size: 12px;
  color: #000000;
  font-weight: 600;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgb(252 226 175 / 70%);
  }
  70% {
    box-shadow: 0 0 0 10px rgb(252 226 175 / 0%);
  }
  100% {
    box-shadow: 0 0 0 0 rgb(252 226 175 / 0%);
  }
}

.dd-value
{
  position: relative;
  padding-right: 24px;
  box-sizing: border-box;
}

.dd-value-data
{
  font-size: 22px;
  letter-spacing: .5px;
  font-weight: 700;
  white-space: nowrap;
}

.floating-arrow
{
  position: absolute;
  width: 20px;
  top: 0px;
  right: 0px;
  color: red;
  animation: arrow_fly 1s linear infinite;
}

@keyframes arrow_fly {
  0% {
    top: 0;
  }
  50% {
    top: -8px;
  }
  100% {
    top: 0;
  }
}

.discount-unlock-title
{
  width: 100%;
  font-size: 13px;
  text-align: left;
  margin-top: 80px;
  margin-bottom: 20px;
}

.pulse-dot
{
  display: inline-block;
  background: #ffad0d;
  width: 6px;
  height: 6px;
  margin-right: 10px;
  top: -2px;
  position: relative;
  transform: translate3d(0,0,0) rotate(45deg);
  border-radius: 100%;
  box-shadow: 0 0 0 0 rgb(252 226 175 / 70%);
  animation: pulse 1.4s infinite cubic-bezier(.17,.67,.92,.62);
  -webkit-animation: pulse 1.4s infinite cubic-bezier(.17,.67,.92,.62);
  -moz-animation: pulse 1.4s infinite cubic-bezier(.17,.67,.92,.62);
}

.discount-unlock-item
{
  width: 100%;
  min-height: 80px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
  border-radius: 12px;
  border: 2px solid #FFDD2D;
  box-shadow: 0 4px 12px rgba(255, 221, 45, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  padding: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.discount-unlock-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #FFDD2D 0%, #FFC700 50%, #FFDD2D 100%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.discount-unlock-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 221, 45, 0.25), 0 4px 8px rgba(0, 0, 0, 0.15);
  border-color: #FFC700;
}

.discount-unlock-item-photo
{
  width: 56px;
  min-width: 56px;
  height: 56px;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  margin-right: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #FFFFFF;
  border: 2px solid #FFDD2D;
  padding: 6px;
  flex-shrink: 0;
}

.discount-unlock-item-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
  display: block;
}

.discount-unlock-item-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
  display: block;
}

.discount-unlock-item-photo::after {
  content: '🎁';
  position: absolute;
  top: -8px;
  right: -8px;
  font-size: 18px;
  background: linear-gradient(135deg, #FFDD2D, #FFC700);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(255, 221, 45, 0.4);
  z-index: 2;
  border: 2px solid #FFFFFF;
  animation: pulse-gift 2s ease-in-out infinite;
}

@keyframes pulse-gift {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.duip-1
{
  background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
}

.discount-unlock-item-text
{
  font-size: 0.875rem;
  line-height: 1.4;
  text-transform: none;
  color: #1a1a1a;
  text-align: left;
  font-weight: 700;
  flex: 1;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.discount-unlock-item-text::after {
  content: '✓';
  color: #22c55e;
  font-size: 18px;
  font-weight: 900;
  margin-left: auto;
}

.media-discount-manager
{
  width: 100%;
  margin-bottom: 20px;
  display: none;
}

.media-discount-manager-wrapper
{
  width: 98%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  background: #eceef1;
  border-radius: 0 14px 14px 14px;
  padding: 12px;
  box-sizing: border-box;
}

.media-discount-manager-name
{
  color: #2e2e49;
  font-size: 14px;
  line-height: 1;
  transition: all 0.2s linear;
}

.media-discount-manager-name span
{
  display: block;
  margin-bottom: 4px;
}

.media-manager-text
{
  line-height: 1.25;
}

.media-discount-manager-photo
{
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  background: url(../images/manager.png) no-repeat center center;
  background-size: cover;
  border-radius: 50%;
  margin-right: 10px;
}

.media-bonuses
{
  display: none;
  width: 98%;
  margin-bottom: 16px;
}

.media-bonuses-wrapper
{
  width: 100%;
  padding: 9px;
  border-radius: 10px;
  transition: .3s;
  border: 1px solid #e7e7e7;
  background-color: #fcfcfd;
  box-sizing: border-box;
}

.media-bonuses-head
{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  font-size: 17px;
  cursor: pointer;
}

.media-bonuses-head-left
{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
}

.media-bonuses-head-left img
{
  margin-right: 10px;
}

.media-bonuses-head-right
{
  width: 20px;
}

.media-bonuses-head-right img
{
  width: 16px;
  transform: rotate(180deg);
  transition: all 0.2s linear;
}

.wheel img
{
  transform: rotate(0deg);
}

.media-bonuses-body
{
  display: none;
  transition: all 0.2s linear;
  margin-top: 10px;
}

.media-bonuses-body-line
{
  height: 1px;
  width: 100%;
  background: #e7e7e7;
  margin-bottom: 18px;
}

.body_show
{
  display: block;
}

.media-bonuses-body .discount-unlock-item
{
  max-width: 270px;
}

.media-bonuses-body .discount-unlock-items
{
  width: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
}

.q-rel
{
  position: relative;
  width: 100%;
  height: 100%;
}

#question_0
{
  opacity: 1;
  z-index: 1;
}

#question_1,
#question_2,
#question_3,
#question_4,
#question_5,
#question_6,
#question_7,
#question_8
{
  display: none;
  opacity: 0;
}

.q-block
{
  background: #ffffff;
  width: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-start;
  height: 100%;
  transition: all 0.2s linear;
}

.q-vision
{
  opacity: 1 !important;
  display: flex !important;
}

.manager-say
{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
}

.manager-say img
{
  width: 16px;
  transform: rotate(180deg);
  transition: all 0.2s linear;
}

.wheel_2 img
{
  transform: rotate(0deg);
}

.wheel img
{
  transform: rotate(0deg);
}

.body_say_hide
{
  overflow: hidden;
  height: 22px;
}


/* Стили кнопок */
.btn-yellow-div {
  display: flex;
}

.btn-yellow-div a,
.btn-yellow-div button {
  text-decoration: none;
  background-color: rgb(239, 206, 54);
  color: rgb(0, 0, 0);
  box-shadow: rgba(239, 206, 54, 0.2) 0px 8px 14px;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 1em;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  width: fit-content;
  text-align: center;
  vertical-align: middle;
  user-select: none;
  border: 0 solid;
  line-height: 1.4;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  border-radius: 6px;
  width: fit-content;
  transition: all .4s;
}

.btn-white-div {
  display: flex;
}

.btn-white-div a,
.btn-white-div button {
  text-decoration: none;
  background-color: #FFFFFF;
  color: rgb(0, 0, 0);
  box-shadow: rgba(226, 226, 226, .819608) 0px 8px 14px;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 1em;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  width: fit-content;
  text-align: center;
  vertical-align: middle;
  user-select: none;
  border: 0 solid;
  line-height: 1.4;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  border-radius: 6px;
  width: fit-content;
  transition: all .4s;
  opacity: 0;
}

.btn-white-div.btn-flex a,
.btn-white-div.btn-flex button {
  opacity: 1 !important;
}

.btn-white-div.btn-hide a,
.btn-white-div.btn-hide button {
  opacity: 0;
}

.btn-question a span {
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 1em;
}

.btn-question-next img {
  margin-left: 8px;
  width: 14px;
  height: 14px;
  fill: rgb(0, 0, 0);
  overflow: hidden;
  vertical-align: middle;
}

.btn-question-prev img {
  margin-right: 8px;
  width: 14px;
  height: 14px;
  fill: rgb(0, 0, 0);
  overflow: hidden;
  vertical-align: middle;
}

.b-quiz-btn__light.blink_on:after {
  transition: .8s linear;
  background-position: 130% 0;
}

.b-quiz-btn__light:after {
  content: "";
  position: absolute;
  top: 0;
  left: -15%;
  width: 130%;
  height: 100%;
  background: linear-gradient(to left, rgba(255, 255, 255, .5), rgba(255, 255, 255, .5), rgba(255, 255, 255, .5)) no-repeat -1.5em 0;
  background-size: 1.5em 100%;
  -moz-transform: skewX(-50deg);
  -o-transform: skewX(-50deg);
  -webkit-transform: skewX(-50deg);
  transform: skewX(-50deg);
}

.b-quiz-btn:hover {
  transform: translateY(-4px);
}

/* Стили для формы регистрации в модальном окне */
#question_8 .registration-form {
    width: 100%;
}

#question_8 {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    max-width: 100%;
    min-height: 600px;
    justify-content: center;
    align-items: center;
}

#question_8 .question-text-wrapper {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 50px 60px;
    overflow: visible;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    height: auto;
    min-height: auto;
}

/* Стили для формы на десктопе */
@media (min-width: 801px) {
    #question_8 {
        min-height: 650px;
    }
    
    #question_8 .question-text-wrapper {
        padding: 50px 60px;
        max-width: 700px;
    }
    
    #question_8 .quiz-logo {
        max-width: 220px;
        margin-bottom: 30px;
    }
    
    #question_8 h1 {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 30px;
        font-weight: 700;
    }
    
    #question_8 .form-group {
        margin-bottom: 24px;
    }
    
    #question_8 .form-group input {
        padding: 18px 20px;
        font-size: 17px;
        border-radius: 10px;
    }
    
    #question_8 .checkbox-group {
        margin-bottom: 28px;
    }
    
    #question_8 .checkbox-group label {
        font-size: 15px;
    }
    
    #question_8 .submit-btn {
        padding: 18px 30px;
        font-size: 18px;
        font-weight: 700;
        border-radius: 10px;
        width: 100%;
        box-sizing: border-box;
        max-width: 100%;
    }
    
    #question_8 .form-description {
        font-size: 17px;
        line-height: 1.5;
        margin-top: 35px;
    }
}

/* Улучшенные стили для больших экранов */
@media (min-width: 1400px) {
    #question_8 {
        min-height: 700px;
    }
    
    #question_8 .question-text-wrapper {
        padding: 60px 80px;
        max-width: 800px;
    }
    
    #question_8 .quiz-logo {
        max-width: 250px;
        margin-bottom: 35px;
    }
    
    #question_8 h1 {
        font-size: 32px;
        margin-bottom: 35px;
    }
    
    #question_8 .form-group input {
        padding: 20px 24px;
        font-size: 18px;
    }
    
    #question_8 .submit-btn {
        padding: 20px 35px;
        font-size: 19px;
        width: 100%;
        box-sizing: border-box;
        max-width: 100%;
    }
    
    #question_8 .form-description {
        font-size: 18px;
        margin-top: 40px;
    }
}

@media (min-width: 1920px) {
    #question_8 .question-text-wrapper {
        padding: 70px 100px;
        max-width: 900px;
    }
    
    #question_8 .quiz-logo {
        max-width: 280px;
        margin-bottom: 40px;
    }
    
    #question_8 h1 {
        font-size: 36px;
        margin-bottom: 40px;
    }
    
    #question_8 .form-group input {
        padding: 22px 28px;
        font-size: 19px;
    }
    
    #question_8 .submit-btn {
        padding: 22px 40px;
        font-size: 20px;
        width: 100%;
        box-sizing: border-box;
        max-width: 100%;
    }
}

#question_8 .question-text-wrapper .quiz-logo {
    align-self: flex-start;
    border-radius: 12px;
    display: block;
}

#question_8 .question-text-wrapper h1 {
    width: 100%;
    text-align: left;
    font-weight: 700;
    color: #000;
    line-height: 1.2;
}

#question_8 .question-text-wrapper .form-container {
    width: 100%;
    margin-bottom: 30px;
    box-sizing: border-box;
    max-width: 100%;
}

#question_8 .question-text-wrapper .registration-form {
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
}

#question_8 .question-text-wrapper .form-description {
    width: 100%;
    margin-top: 30px;
    font-size: 16px;
    line-height: 1.5;
    color: #000;
    text-align: left;
}

#question_8 .question-text-wrapper .form-description strong {
    font-weight: 700;
}

/* Улучшенные стили для описания формы на больших экранах */
@media (min-width: 1400px) {
    #question_8 .question-text-wrapper .form-description {
        font-size: 17px;
        margin-top: 35px;
    }
}

@media (min-width: 1920px) {
    #question_8 .question-text-wrapper .form-description {
        font-size: 18px;
        margin-top: 40px;
    }
}

@media (max-width: 800px) {
    #question_8 .question-text-wrapper {
        padding: 15px;
        max-width: 100%;
    }
}

/* Адаптивность */
@media (max-width: 800px)
{
  #question_8 .quiz-logo {
    max-width: 150px !important;
    margin-bottom: 20px !important;
  }
  
  #question_8 h1 {
    font-size: 20px !important;
    margin-bottom: 20px !important;
  }
  
  #question_8 .form-group input {
    padding: 12px !important;
    font-size: 16px !important;
  }
  
  #question_8 .submit-btn {
    padding: 15px !important;
    font-size: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
  }
  
  .quiz-modal-new
  {
    justify-content: center;
    align-items: flex-start;
  }
  
  .question-wrapper,
  .question
  {
    border: 0px;
    height: 100%;
  }
  
  .question-inner-wrapper
  {
    flex-wrap: wrap;
    height: 100%;
  }
  
  .question-text-wrapper,
  .question-text,
  .question-inner-text-wrapper
  {
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
  }
  
  .question-subtitle
  {
    font-size: 1em;
    margin-bottom: 12px;
  }
  
  .question-title
  {
    font-size: 1.4em;
  }
  
  .question-item
  {
    width: 98%;
  }
  
  /* Скрываем боковую панель на мобильных устройствах */
  .question-data
  {
    display: none !important;
    visibility: hidden !important;
  }
  
  /* Убеждаемся, что боковая панель скрыта на мобильных */
  .question-wrapper .question-data,
  .question-inner-wrapper .question-data {
    display: none !important;
    visibility: hidden !important;
  }
  
  .pdd-data
  {
    display: flex;
  }
  
  .media-discount-manager
  {
    display: block;
  }
  
  .question-actions
  {
    width: 100%;
  }
  
  .media-bonuses
  {
    display: block;
  }
  
  .q-rel
  {
    height: 100%;
  }
  
  .question-inner-text-wrapper
  {
    justify-content: flex-start;
  }
  
  .media-discount-manager-wrapper
  {
    align-items: flex-start;
  }
}
