/* Assistant Icon */
.help-assistant {
    position: fixed;
    bottom: calc(5.7352941176vh + 96.5882352941px);
    left: 20px;
    z-index: 10002;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.help-assistant:hover {
    transform: scale(1.1);
}

.help-assistant--active {
    z-index: 10004;
}

.help-assistant:not(.button-connect) {
    display: none;
}

.help-assistant__icon {
    position: relative;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #edc5ab, #cca355);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    color: white;
    box-shadow: 0 0 0 10px rgba(237, 197, 171, 0.25);
    transition: all 0.3s ease;
    overflow: hidden;
}

.help-assistant__eyes {
    position: absolute;
    top: 15px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 16px;
}

.help-assistant__eye {
    width: 10px;
    height: 10px;
    background: #826836!important;
    border-radius: 50%;
    transition: all 0.1s ease;
}

.help-assistant__face {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.help-assistant__mouth {
    position: absolute;
    bottom: 12px;
    font-size: 24px;
    color: white;
    z-index: 1;
    pointer-events: none;
}

/* Overlay */
.help-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(2px);
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.help-overlay--active {
    opacity: 1;
    visibility: visible;
}

/* Chat Tooltip */
.help-tooltip {
    position: fixed;
    bottom: 90px;
    right: 60px;  /* меняем left на right */
    left: auto;   /* отменяем left */
    width: 400px;
    max-width: 90vw;
    height: 700px;
    max-height: 75vh;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 10003;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

/* Мобильная версия - центрируем окно с отступами */
@media (max-width: 768px) {
    .help-tooltip {
        left: 10px !important;
        right: 10px !important;
        bottom: 20px !important;
        top: 20px !important;
        width: auto !important;
        max-width: calc(100vw - 20px);
        min-width: calc(100vw - 20px);
        max-height: calc(100vh - 40px) !important;
        height: auto !important;
        border-radius: 16px;
    }
}

@media (max-width: 480px) {
    .help-tooltip {
        left: 10px !important;
        right: 10px !important;
        bottom: 70px;
        width: auto !important;
        max-width: calc(100vw - 20px);
        min-width: calc(100vw - 20px);
        max-height: 90vh;
    }
}

.help-tooltip--active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.help-tooltip__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
    background: #34383d;
    border-radius: 16px 16px 0 0;
    color: white;
}

.help-tooltip__title {
    font-weight: 600;
    font-size: 16px;
}

.help-tooltip__close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: white;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
}

.help-tooltip__close:hover {
    opacity: 1;
}

.help-tooltip__content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.help-message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 18px;
    line-height: 1.4;
    animation: messageAppear 0.3s ease;
}

.help-message--assistant {
    align-self: flex-start;
    background: #f1f3f5;
    border-bottom-left-radius: 4px;
    color: #333;
}

.help-message--user {
    align-self: flex-end;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-bottom-right-radius: 4px;
}

.help-question-item {
    padding: 5px 16px;
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 1px 0;
}

.help-question-item:hover {
    background: #667eea;
    color: white;
    transform: translateX(5px);
}

.help-question-item:active {
    transform: translateX(5px) scale(0.98);
}

.help-tooltip__footer {
    padding: 16px 20px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    align-items: center;
}

.help-tooltip__close-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    background: #6c757d;
    color: white;
    transition: background 0.3s ease;
}

.help-tooltip__close-btn:hover {
    background: #545b62;
}

/* Animations */
@keyframes messageAppear {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blink {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.1); }
}

.help-assistant__eye.blinking {
    animation: blink 0.3s ease;
}

/* Target element highlight */
.help-target-element {
    position: relative;
    z-index: 10002 !important;
    box-shadow: 0 0 0 3px #667eea !important;
    border-radius: 4px;
    animation: highlight 2s ease-in-out infinite;
}

@keyframes highlight {
    0%, 100% { box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.5); }
    50% { box-shadow: 0 0 0 3px rgba(102, 126, 234, 1); }
}

/* Scrollbar styling */
.help-tooltip__content::-webkit-scrollbar {
    width: 6px;
}

.help-tooltip__content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.help-tooltip__content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.help-tooltip__content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.help-question-text {
    font-weight: 500;
    line-height: 1.4;
}

/* Анимация печати */
.help-message.typing::after {
    content: '|';
    animation: blink-caret 0.7s infinite;
}

@keyframes blink-caret {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.help-tooltip__clear-history {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    background: #6c757d!important;
    color: white;
    transition: background 0.3s ease;
	margin-right: auto;
}

.help-tooltip__clear-history:hover {
    background: #c82333;
}
/* Комбинированный контент */
.help-combined-content {
    margin: 10px 0;
}

.help-combined-text {
    margin-bottom: 15px;
    line-height: 1.5;
}

.help-combined-hint {
    padding: 10px;
    background: #f1f3f5;
    border: 1px solid #333;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    text-align: center;
}

/* Файловый контент */
.help-file-content {
    margin: 10px 0;
}

.help-file-preview {
    text-align: center;
    margin: 15px 0;
}

.help-file-image {
    transition: transform 0.3s ease;
}

.help-file-image:hover {
    transform: scale(1.02);
}

.help-file-hint {
    margin-top: 8px;
    font-size: 12px;
    color: #666;
    font-style: italic;
}

/* HTML контент */
.help-html-content {
    margin: 10px 0;
}

.help-html-text {
    line-height: 1.5;
}

.help-html-text p {
    margin-bottom: 10px;
}

.help-html-text ul, .help-html-text ol {
    margin: 10px 0;
    padding-left: 20px;
}

.help-html-text li {
    margin-bottom: 5px;
}
/* Стили для сообщений о переходах */
.help-redirect-message {
    background: #fff3cd !important;
    border: 1px solid #ffeaa7 !important;
    color: #856404 !important;
}

.help-continue-message {
    background: #d1ecf1 !important;
    border: 1px solid #bee5eb !important;
    color: #0c5460 !important;
}
/* Стили для отображения записей */
.help-records-content {
    margin: 10px 0;
}

.help-records-header h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 16px;
}

.help-records-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 300px;
    overflow-y: auto;
}

.help-record-item {
    display: flex;
    padding: 12px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    gap: 12px;
}

.help-record-number {
    width: 24px;
    height: 24px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

.help-record-details {
    flex: 1;
    font-size: 14px;
}

.help-record-specialist,
.help-record-date,
.help-record-type,
.help-record-info {
    margin-bottom: 4px;
    line-height: 1.3;
}

.help-record-specialist strong,
.help-record-date strong,
.help-record-type strong,
.help-record-info strong {
    color: #495057;
}

.help-records-footer {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #dee2e6;
    text-align: center;
    font-size: 14px;
    color: #6c757d;
}

.help-records-footer p {
    margin: 0;
}
/* Модальное окно для изображений */
.help-image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10010; /* Выше чем у чата (10003) и оверлея (10001) */
    display: none;
    align-items: center;
    justify-content: center;
}

.help-image-modal--active {
    display: flex;
}

.help-image-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.help-image-modal__content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 10011;
    animation: modalAppear 0.3s ease;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.help-image-modal__close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 10012;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.help-image-modal__close:hover {
    background: rgba(0, 0, 0, 0.9);
}

.help-image-modal__image {
    display: block;
    max-width: 100%;
    max-height: calc(90vh - 80px);
    width: auto;
    height: auto;
    object-fit: contain;
}

.help-image-modal__info {
    padding: 15px 20px;
    background: white;
    border-top: 1px solid #eee;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.help-image-modal__filename {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.help-image-modal__hint {
    font-size: 12px;
    color: #666;
    font-style: italic;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .help-image-modal__content {
        max-width: 95vw;
        max-height: 95vh;
        margin: 10px;
    }
    
    .help-image-modal__image {
        max-height: calc(95vh - 80px);
    }
    
    .help-image-modal__close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
}
/* Стили для связанных вопросов */
.help-related-divider {
    margin: 20px 0 15px 0;
    text-align: center;
}

.help-related-divider hr {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 10px 0;
}

.help-related-title {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    margin: 10px 0;
}

.help-related-question {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 3px solid #6c757d;
    margin: 8px 0;
    padding: 12px 15px;
    border-radius: 0 8px 8px 0;
}

.help-related-question:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-left-color: #495057;
    transform: translateX(5px);
    transition: all 0.2s ease;
}

.help-related-question .help-question-text {
    color: #495057;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.4;
}
.help-more-questions-btn {
	float: right;
    cursor: pointer;
    color: blue;
    font-weight: 500;
}
.help-specialist-search {
    margin: 10px 0;
}

.help-search-title {
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.help-search-input-container {
    position: relative;
    margin-bottom: 10px;
}

.help-search-input {
    width: 92%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.help-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.help-search-result-item {
    padding: 8px 12px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.help-search-result-item:hover {
    background-color: #f5f5f5;
}

.help-search-result-item:last-child {
    border-bottom: none;
}

.help-specialist-name {
    font-weight: bold;
    margin-bottom: 4px;
    color: #333;
}

.help-specialist-address {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.help-specialist-address:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.help-full-address {
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
}

.help-shema-proezda {
    margin-top: 5px;
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

.help-shema-short,
.help-shema-full {
    line-height: 1.4;
}

.help-show-more-btn {
    background: none;
    border: none;
    color: #007bff;
    cursor: pointer;
    font-size: 11px;
    padding: 2px 6px;
    margin-left: 5px;
    text-decoration: underline;
}

.help-show-more-btn:hover {
    color: #0056b3;
    background: #f8f9fa;
    border-radius: 3px;
}

.help-search-no-results,
.help-search-error {
    padding: 8px 12px;
    color: #666;
    font-style: italic;
}

.help-search-hint {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.help-specialist-info {
    margin-top: 15px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
}

.help-specialist-header h4 {
    margin: 0 0 10px 0;
    color: #333;
}

.help-specialist-detail {
    margin-bottom: 8px;
}

.help-specialist-detail strong {
    color: #555;
}

.help-specialist-description {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.4;
}

.help-specialist-addresses-list {
    margin-top: 15px;
}

.help-addresses-title {
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.help-address-item {
    display: flex;
    margin-bottom: 10px;
    padding: 10px;
    background: white;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

.help-address-number {
    font-weight: bold;
    margin-right: 10px;
    color: #007bff;
    min-width: 20px;
}

.help-address-details {
    flex: 1;
}

.help-no-addresses {
    color: #666;
    font-style: italic;
    margin-top: 10px;
}

.help-specialist-addresses {
    margin-top: 5px;
}
.help-address-item .help-show-more-btn {
    background: none;
    border: none;
    color: #007bff;
    cursor: pointer;
    font-size: 12px;
    padding: 2px 8px;
    margin-left: 5px;
    text-decoration: underline;
}

.help-address-item .help-show-more-btn:hover {
    color: #0056b3;
    background: #f8f9fa;
    border-radius: 3px;
}

.help-address-item .help-shema-proezda {
    margin-top: 8px;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.help-address-item .help-shema-short,
.help-address-item .help-shema-full {
    line-height: 1.4;
}
.help-tooltip__back-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    background: #6c757d;
    color: white;
    transition: all 0.3s ease;
    margin-right: auto;
}

.help-tooltip__back-btn:hover {
    background: #545b62;
    transform: translateY(-1px);
}

.help-tooltip__back-btn:active {
    transform: translateY(0);
}
/* ===== АДАПТИВНЫЕ СТИЛИ ДЛЯ ФОРМЫ В ПОМОЩНИКЕ ===== */

/* Контейнер формы в помощнике */
.help-feedback-wrapper {
    margin: 10px 0;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 12px;
    max-height: 500px;
    overflow-y: auto;
}

/* Адаптация контейнера формы */
.help-feedback-form-container .feedback__form {
    background: transparent;
    padding: 0;
    margin: 0;
}

/* Заголовок формы */
.help-feedback-form-container .feedback__form h3 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: #333;
    line-height: 1.4;
    text-align: center;
}

/* Вертикальное расположение полей (всегда колонкой) */
.help-feedback-form-container .form__line--three {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
}

/* Отступы для полей */
.help-feedback-form-container .form__item {
    margin: 0;
    padding: 0;
}

/* Стили для всех полей ввода */
.help-feedback-form-container .form__input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
    background: white;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.help-feedback-form-container .form__input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

/* Стили для текстового поля */
.help-feedback-form-container .form__input--textarea {
    resize: vertical;
    min-height: 70px;
    font-family: inherit;
}

/* Стили для поля телефона - обертка */
.help-feedback-form-container .form__field--phone {
    position: relative;
}

/* Исправление для intl-tel-input внутри помощника */
.help-feedback-form-container .iti {
    display: block;
    width: 100%;
}

.help-feedback-form-container .iti__flag-container {
    z-index: 1;
}

.help-feedback-form-container .iti__selected-flag {
    background: transparent;
    padding: 0 8px 0 6px;
}

/* Подсказка под формой */
.help-feedback-note {
    display: block;
    font-size: 10px;
    color: #666;
    margin: 10px 0;
    line-height: 1.4;
}

/* Контейнер для кнопок формы */
.help-feedback-form-container .feedback__form-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}

/* Чекбокс согласия */
.help-feedback-form-container .form__label--checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 11px;
    cursor: pointer;
    color: #555;
    line-height: 1.3;
}

.help-feedback-form-container .form__label--checkbox input {
    width: 16px;
    height: 16px;
    margin-top: 1px;
    flex-shrink: 0;
    cursor: pointer;
}

.help-feedback-form-container .form__label--checkbox span {
    cursor: pointer;
}

/* Ссылки в форме */
.help-feedback-link {
    color: #667eea;
    text-decoration: none;
}

.help-feedback-link:hover {
    text-decoration: underline;
}

/* Кнопка отправки */
.help-feedback-form-container .btn--second {
    width: 85%;
    padding: 0px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin: 0;
}

.help-feedback-form-container .btn--second:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.help-feedback-form-container .btn--second:active {
    transform: translateY(0);
}

.help-feedback-form-container .btn--second:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.help-feedback-form-container .btn--second svg {
    stroke: white;
    width: 18px;
    height: 18px;
}

/* Сообщение об успехе */
.help-feedback-success {
    text-align: center;
    padding: 20px 15px;
    background: linear-gradient(135deg, #d4fc79 0%, #96e6a1 100%);
    border-radius: 12px;
    color: #2d6a4f;
    margin: 10px 0;
}

.help-feedback-success__title {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 8px;
}

.help-feedback-success__subtitle {
    font-size: 12px;
    opacity: 0.9;
}

/* Стили для ошибок валидации */
.help-feedback-form-container .form__input.error {
    border-color: #dc3545;
    background-color: #fff8f8;
    animation: shakeFeedback 0.3s ease;
}

@keyframes shakeFeedback {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

/* Сообщения об ошибках валидации */
.help-feedback-error-message {
    font-size: 11px;
    color: #dc3545;
    margin-top: 4px;
    display: block;
}

@media (max-width: 768px) {
.help-feedback-wrapper {
        padding: 8px;
        min-height: 400px;
    }
}
/* Медиа-запрос для очень маленьких экранов (телефоны) */
@media (max-width: 480px) {
    .help-feedback-wrapper {
        padding: 8px;
        max-height: 350px;
    }
    
    .help-feedback-form-container .form__input {
        padding: 8px 10px;
        font-size: 13px;
    }
    
    .help-feedback-form-container .feedback__form h3 {
        font-size: 13px;
    }
    
    .help-feedback-form-container .btn--second {
        padding: 8px 14px;
        font-size: 13px;
    }
    
    .help-feedback-note {
        font-size: 9px;
    }
    
    .help-feedback-form-container .form__label--checkbox {
        font-size: 10px;
    }
}

/* Стили для прокрутки внутри формы */
.help-feedback-wrapper::-webkit-scrollbar {
    width: 4px;
}

.help-feedback-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.help-feedback-wrapper::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 2px;
}

.help-feedback-wrapper::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.button-connect.help-assistant {
    position: fixed !important;
    right: 24px !important;
    left: auto !important;
    bottom: calc(5.7352941176vh + 96.5882352941px) !important;
    top: auto !important;
    width: 64px;
    height: 64px;
    border-radius: 100%;
    background: linear-gradient(45deg, #cca355, #edc5ab);
    box-shadow: 0 0 0 10px rgba(237, 197, 171, 0.25);
    cursor: pointer;
    z-index: 10002 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s;
}

.button-connect.help-assistant:hover {
    transform: scale(1.1);
}

.button-connect.help-assistant svg {
    width: 32px;
    height: 32px;
}

.button-connect.help-assistant svg path {
    stroke: white;
}

.button-connect.help-assistant svg path[fill="white"] {
    fill: white;
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
    .button-connect.help-assistant {
        width: 50px;
        height: 50px;
        right: 20px !important;
        bottom: 20px !important;
    }
    
    .button-connect.help-assistant svg {
        width: 26px;
        height: 26px;
    }
}

/* Если есть конфликт с классами помощника */
.help-assistant--active {
    z-index: 10004;
}

/* Убираем возможные левые позиционирования */
.help-assistant {
    left: auto !important;
    right: 20px !important;  /* добавляем right по умолчанию */
}