

/* Start:/local/templates/main/components/bitrix/menu/sidebar/style.css?17839483832773*/
@media (max-width: 768px) {
  /* 1. Перестраиваем десктопную флекс-структуру страницы сверху вниз */
  .page-type-content,
  .page-type-content.page-action-list {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
  }

  /* 2. Изолируем левый блок под мобильное меню */
  .page-type-content .left-side {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 15px 0;
    padding: 0;
    position: relative; /* Оставляем для позиционирования тени-подсказки */
  }

  /* Скрываем десктопный заголовок */
  .nav-company h2 {
    display: none;
  }

  /* Тень-подсказка у правого края для индикации скролла */
  .page-type-content .left-side::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 30px;
    background: linear-gradient(to right, rgba(255,255,255,0), rgba(244,245,247,0.9));
    pointer-events: none;
    z-index: 2;
  }

  /* 3. Горизонтальная лента меню со скроллом */
  ul.sidebar {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding: 10px 25px 10px 15px;
    margin: 0;
    list-style: none;
    width: 100%;
    box-sizing: border-box;
  }
  
  ul.sidebar::-webkit-scrollbar {
    display: none;
  }

  /* 4. Защита элементов списка от деформации и сжатия */
  ul.sidebar li {
    display: block;
    flex: 0 0 auto !important; 
    margin: 0;
    padding: 0;
  }

  /* 5. Декоративные стили кнопок */
  ul.sidebar li a {
    display: inline-block;
    padding: 8px 16px !important;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    line-height: 1.4;
    white-space: nowrap;
    transition: all 0.2s ease;
  }

  /* Активное состояние кнопки */
  ul.sidebar li a.selected {
    background-color: #D7F4E8;
    color: #001E42;
    border-color: #D7F4E8;
  }

  /* 6. Возвращаем флекс-структуру контентной части */
  .page-type-content .right-side {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .page-type-content .right-side > div {
    max-width: 100%;
  }
}
/* End */


/* Start:/local/templates/main/components/bitrix/breadcrumb/.default/style.css?1735027957580*/
/*.bx-breadcrumb {*/
/*	margin: 10px 0;*/
/*}*/
/*.bx-breadcrumb i {*/
/*	color: #b5bdc2;*/
/*	line-height: 13px;*/
/*	font-size: 12px;*/
/*	vertical-align: middle;*/
/*	margin-right: 5px;*/
/*}*/
/*.bx-breadcrumb .bx-breadcrumb-item {*/
/*	float: left;*/
/*	white-space: nowrap;*/
/*	line-height: 13px;*/
/*	vertical-align: middle;*/
/*	margin-right: 10px;*/
/*}*/
/*.bx-breadcrumb .bx-breadcrumb-item span {*/
/*	font-size: 13px;*/
/*	white-space: normal;*/
/*}*/
/*.bx-breadcrumb .bx-breadcrumb-item a {border-bottom: none;}*/
/*.bx-breadcrumb .bx-breadcrumb-item a:hover {}*/

/* End */


/* Start:/local/templates/main/components/mydent24.local/content.block/partners/style.css?1791208316174*/
main-content row col ul {
    padding: 8px 0 0 20px;
    list-style-type: disc;
}

main-content row col ol {
    counter-reset: olCounter;
    padding-inline-start: 10px;
}


/* End */


/* Start:/local/templates/main/components/bitrix/form.result.new/universal_md/style.css?17912745134912*/
.page-type-content .form-product-test-container h2 {
    text-align: center;
    margin: 0 0 15px;
}

.form-product-test-container.compact-mode {
    max-width: 600px;
    margin: 0 auto 30px;
    padding: 20px 25px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-questions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 10px;
}

.input-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.field-half { grid-column: span 1; }
.field-full { grid-column: span 2; }

.form-questions-grid .input-wrapper {
    position: relative;
    border-bottom: 2px solid rgb(0 30 66 / 20%);
    transition: border-color 0.3s ease;
    padding-top: 5px;
}

.form-questions-grid .input-wrapper.is-empty {
    border-bottom-color: #F15656;
}

.form-questions-grid .form-input, 
.form-questions-grid .form-textarea {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    padding: 4px 0;
    font-size: 15px;
    color: #333;
    box-sizing: border-box;
}

.form-questions-grid .form-textarea {
    min-height: 50px;
    resize: vertical;
}

.form-questions-grid .field-label {
    font-family: 'Muller-medium', sans-serif !important;
    position: absolute;
    left: 0;
    top: 5px;
    font-size: 15px;
    color: #001E42;
    pointer-events: none;
    transition: all 0.2s cubic-bezier(0.2, 0, 0.03, 1);
}

.field-hint {
    font-size: 11px;
    color: #8B939C;
    margin-top: 2px;
}

.required-mark {
    color: #DB4C3E;
    margin-left: 2px;
}

.input-wrapper.is-active .field-label,
.form-questions-grid .form-input:focus ~ .field-label,
.form-questions-grid .form-input:not(:placeholder-shown) ~ .field-label,
.form-questions-grid .form-textarea:focus ~ .field-label,
.form-questions-grid .form-textarea:not(:placeholder-shown) ~ .field-label {
    top: -10px;
    font-size: 11px;
    color: rgb( 0 30 66 / 80%);
}

.form-questions-grid .input-wrapper:focus-within {
    border-bottom: 2px solid rgb(0 69 151 / 70%);
}

.input-group.is-invalid .input-wrapper { border-color: #DB4C3E; }
.input-group.is-invalid .field-label { color: #DB4C3E; }

.form-questions-grid .checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 4px 0; /* Убрали огромные паддинги */
}

.form-questions-grid .form-checkbox {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: #004597;
}

.form-questions-grid .checkbox-label {
    font-size: 13px;
    line-height: 1.4;
    color: #555;
}

.page-type-content .form-product-test-container .btn-send {
    width: 100%;
    height: 55px;
    background: #DB4C3E;
    color: white;
    border: none;
    border-radius: 32px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 16px 0 0;
}

.page-type-content .form-product-test-container .btn-send:hover {
    transform: translateY(-2px);
}

.right-side .swal-msg {
    display: none;
}

/* Оповещения Битрикса */
.swal-msg {
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 13px;
    margin-bottom: 15px;
    text-align: center;
}
.error-block { background: #fff5f5; color: #c53030; border: 1px solid #fed7d7; }
.success-block { background: #f0fff4; color: #22543d; border: 1px solid #c6f6d5; }

/* Мобильная адаптация */
@media (max-width: 600px) {
    .form-product-test-container.compact-mode {
        padding: 15px;
    }
    .form-questions-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .field-half {
        grid-column: span 1;
    }
}


.form-product-test-container.success-wrapper {
    text-align: center;
    padding: 40px 25px;
}
.form-product-test-container.success-wrapper h3 {
    font-size: 22px;
    margin: 10px 0 5px;
    color: #155724;
}
.form-product-test-container.success-wrapper p {
    font-size: 15px;
    color: #555;
    margin: 0;
}

/* Красивая SVG Анимация галочки */
.success-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 15px;
}
.checkmark {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: block;
    stroke-width: 3;
    stroke: #28a745;
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px #28a745;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}
.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke: #28a745;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}
.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}
@keyframes stroke { 100% { stroke-dashoffset: 0; } }
@keyframes fill { 100% { box-shadow: inset 0px 0px 0px 30px #f0fff4; } }
/* End */
/* /local/templates/main/components/bitrix/menu/sidebar/style.css?17839483832773 */
/* /local/templates/main/components/bitrix/breadcrumb/.default/style.css?1735027957580 */
/* /local/templates/main/components/mydent24.local/content.block/partners/style.css?1791208316174 */
/* /local/templates/main/components/bitrix/form.result.new/universal_md/style.css?17912745134912 */
