* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img, video {
    max-width: 100%;
    height: auto;
}

body {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 20px;
    line-height: 1.5;
    color: #000;
    font-weight: 400;
    font-display: swap;
    background-color: #fff;

    /* Фиксируем цифры по высоте и ширине */
    font-variant-numeric: lining-nums tabular-nums;
    -webkit-font-feature-settings: "lnum" "tnum";
    -moz-font-feature-settings: "lnum" "tnum";
    font-feature-settings: "lnum" "tnum";
}

body.menu-open {
    overflow: hidden;
}

.container {
    display: flex;
    min-height: 100vh;
}

/* Левая панель */
.sidebar {
    width: 280px;
    background-color: #fff;
    border-right: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    flex-shrink: 0;
    z-index: 100;
    transition: transform 0.3s ease;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.sidebar-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.progress-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.progress-label {
    font-size: 16px;
    color: #888888;
    font-weight: 400;
}

.progress-percent {
    font-size: 16px;
    color: #888888;
    font-weight: 400;
}

.progress-bar {
    height: 6px;
    background-color: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #4285f4;
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* Навигация */
.sidebar-nav {
    flex: 1;
    padding: 10px 0;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #000;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.nav-item:hover {
    background-color: #f8f9fa;
    color: #333;
}

.nav-item.active {
    background-color: #e8f0fe;
    color: #1a73e8;
    border-left-color: #1a73e8;
}

.nav-item.disabled {
    color: #bbb;
    pointer-events: none;
}

.nav-icon {
    width: 20px;
    margin-right: 12px;
    font-size: 14px;
    text-align: center;
}

/* Футер сайдбара */
.sidebar-footer {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    font-size: 15px;
    color: #888;
}

.sidebar-footer a {
    color: #888;
    text-decoration: none;
}

.sidebar-footer a:hover {
    text-decoration: underline;
}

/* Мобильное меню оверлей */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Бургер меню - скрыт на десктопе */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}

.burger-line {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.burger-menu.active .burger-line:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

.close-btn {
    position: relative;
    width: 30px;
    height: 24px;
    background: #fff;
    border: none;
    cursor: pointer;
    padding: 0;
}

.close-btn::before,
.close-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;          /* Чётная ширина */
    height: 2px;          /* Чётная высота */
    background-color: #000;
    margin-left: -10px;   /* Ровно половина width */
    margin-top: -1px;     /* Ровно половина height */
}

.close-btn::before {
    transform: rotate(45deg);
}

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

/* Основной контент */
.main-content {
    margin-left: 280px;
    flex: 1;
    padding: 30px 40px;
}

/* Шапка */
.content-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.header-title {
    font-size: 30px;
    font-weight: 500;
    color: #333;
}

.company-name {
    font-size: 24px;
    font-weight: 400;
    color: #666;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%; 
    margin-left: auto;
}

.header-left h1 {
    font-size: 24px;
    font-weight: 400;
    color: #333;
    margin-bottom: 10px;
}

.header-right {
    text-align: right;
}

.curator-label {
    font-size: 16px;
    color: #000;
    margin-bottom: 4px;
}

.curator-phone {
    font-size: 16px;
    color: #000;
    margin: 0;
}

/* Приветствие */
.greeting {
    font-size: 22.5px;
    font-weight: 400;
    color: #333;
    margin-bottom: 20px;
}

/* Цветные блоки */
/* Зеленый блок */
.success-box {
    position: relative;
    padding: 15px 20px;
    border-radius: 10px;
    border: 2px solid #34a853;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s ease;
    background-color: #fff;
    margin-bottom: 25px;
}
/* Оранжевый блок */
.attention-box {
    position: relative;
    padding: 15px 20px;
    border-radius: 10px;
    border: 2px solid #FD8C26;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s ease;
    background-color: #fff;
    margin-bottom: 25px;
}
/* Синий блок */
.info-box {
    position: relative;
    padding: 15px 20px;
    border-radius: 10px;
    border: 2px solid #295CC9;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s ease;
    background-color: #fff;
    margin-bottom: 25px;
}
/* Красный блок */
.stop-box {
    position: relative;
    padding: 15px 20px;
    border-radius: 10px;
    border: 2px solid #dd4c5a;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s ease;
    background-color: #fff;
    margin-bottom: 25px;
}
/* Фиолетовый блок */
.ask-box {
    position: relative;
    padding: 15px 20px;
    border-radius: 10px;
    border: 2px solid #c929c3;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s ease;
    background-color: #fff;
    margin-bottom: 25px;
}

.check-icon {
    background-color: transparent;
    color: inherit; /* ← важно */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 39px;
    line-height: 1;
    flex-shrink: 0;
    font-family: "bootstrap-icons";
}

.check-icon::before {
    content: ""; /* ← убираем дефолтную иконку */
}

.success-box p,
.attention-box p,
.info-box p,
.stop-box p,
.ask-box p {
    padding: 14px;
    color: #000;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
}

/* Видео */
.video-block {
    margin-bottom: 30px;
}

.video-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden; /* ВОТ ЭТО ГЛАВНОЕ */
    background-color: #333;
    aspect-ratio: 16/9;
    max-width: 100%;
    margin: 5px auto;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.video-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, background-color 0.2s;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.05);
    background-color: #fff;
}

.play-icon {
    color: #333;
    font-size: 28px;
    margin-left: 4px;
}

/* Информационная секция */
.info-section h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.topics-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.topic-item {
    padding-bottom: 20px;
    border: 1px solid transparent;
}

.topic-item:last-child {
    border-bottom: none;
}

.topic-item h4 {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
}

.topic-item p {
    font-size: 20px;
    font-weight: 400;
    color: #000;
    line-height: 1.7;
}

/* Футер с кнопками */
.content-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.btn {
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.btn-back {
    background-color: #fff;
    color: #555;
    border-color: #ddd;
}

.btn-back:hover {
    background-color: #f5f5f5;
    border-color: #ccc;
}

.btn-primary {
    background-color: #1a73e8;
    color: white;
    border-color: #1a73e8;
}

.btn-primary:hover {
    background-color: #1557b0;
    border-color: #1557b0;
}

.header-center {
    display: flex;
    justify-content: flex-start;
    align-items: baseline;
    gap: 15px;
    flex-wrap: wrap;
    max-width: 100%;
} 

/* Тесты Варианты ответов теста */
.answer-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    margin-bottom: 8px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 20px;
    transition: background-color 0.2s, border-color 0.2s;
}

.answer-option:hover {
    background-color: #f0f6ff;
    border-color: #1a73e8;
}

.answer-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #1a73e8;
    flex-shrink: 0;
    cursor: pointer;
}

.answer-option:has(input:checked) {
    background-color: #e8f0fe;
    border-color: #1a73e8;
}

/* Ввод в поля ответов текстом */
.question-label {
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.5;
}

.answer-textarea {
    width: 100%;
    min-height: 140px;
    padding: 12px 16px;
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    color: #333;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    resize: vertical;
    line-height: 1.5;
    transition: border-color 0.2s, box-shadow 0.2s;
    background-color: #fff;
    box-sizing: border-box;
}

.answer-textarea:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
}

.char-counter {
    text-align: right;
    font-size: 14px;
    color: #888;
    margin-top: 5px;
}

.char-counter.limit-near {
    color: #e8a000;
}

.char-counter.limit-reached {
    color: #d93025;
    font-weight: 600;
}

/* SUCCESS — оставляем как есть */
.success-box .check-icon {
    color: #34a853;
}
.success-box .check-icon::before {
    content: "\f26b"; /* check-circle */
}

/* INFO — галка, но синяя */
.info-box .check-icon {
    color: #295CC9;
}
.info-box .check-icon::before {
    content: "\f26b"; /* та же галка */
}

/* ATTENTION — восклицательный знак */
.attention-box .check-icon {
    color: #FD8C26;
}
.attention-box .check-icon::before {
    content: "\f333"; /* exclamation-triangle */
}

/* STOP — крест */
.stop-box .check-icon {
    color: #dd4c5a;
}
.stop-box .check-icon::before {
    content: "\f623"; /* x-circle */
}

/* ASK — вопрос */
.ask-box .check-icon {
    color: #c929c3;
}
.ask-box .check-icon::before {
    content: "\f505"; /* question-circle */
}

/* Картинка (по аналогии с видео) 
.image-block {
    margin-bottom: 30px;
}*/

.image-wrapper {
    border-radius: 12px;
    overflow: hidden;
    max-width: 100%;
    margin: 5px auto;
}

.image-wrapper img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ── Видео-виджет ── */
.vizitka-wrap {
    margin: 24px 0;
    font-family: inherit;
}

.vizitka-question {
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.5;
    background: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

/* ── Блок камеры ── */
.vizitka-recorder {
    background: #f8fafd;
    border: 2px solid #dde6f5;
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
	margin: 20px 0 30px;
}

.vizitka-videos {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: rgb(249, 250, 253);
	border: 1px solid #e3e8f2;
    border-radius: 10px;
    overflow: hidden;
}

.video-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-icon i {
    font-size: 58px;
    color: #295CC9;
}

.vizitka-videos video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(249, 250, 253);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.video-placeholder-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.video-icon {
    font-size: 48px;
    opacity: 0.6;
}

.js-video-stream  { z-index: 1; }
.js-video-recorded { z-index: 2; }
.js-video-recorded._hidden { display: none; }
._hidden {
    opacity: 0;
    pointer-events: none;
}

/* ── Таймер ── */
.vizitka-timer {
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #444;
}

/* по умолчанию скрыто */
.vizitka-timer,
.vizitka-controls {
    display: none;
}

/* показываем после включения камеры */
.vizitka-recorder.is-ready .vizitka-timer,
.vizitka-recorder.is-ready .vizitka-controls {
    display: flex;
}

.vizitka-timer .vt-current {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    color: #1a56db;
    min-width: 40px;
}

.vizitka-timer .vt-remaining {
    font-variant-numeric: tabular-nums;
    color: #888;
    min-width: 40px;
}

/* Ползунок прогресса */
.js-video-time-range {
    flex: 1;
    appearance: none;
    -webkit-appearance: none;
    height: 6px;
    border-radius: 3px;
    background: #dde6f5;
    outline: none;
    cursor: default;
}

.js-video-time-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: #1a56db;
    cursor: default;
}

.js-video-time-range::-moz-range-thumb {
    width: 14px; height: 14px;
    border-radius: 50%;
    background: #1a56db;
    border: none;
    cursor: default;
}

/* ── Кнопки управления ── */
.vizitka-controls {
    gap: 10px;
    flex-wrap: wrap;
}

.vbtn {
    flex: 1;
    min-width: 130px;
    padding: 12px 18px;
    border: none;
    border-radius: 9px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .18s, transform .12s, opacity .18s;
}

.vbtn:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.vbtn-record {
    background: #1a56db;
    color: #fff;
}

.vbtn-record:not(:disabled):hover { background: #1348c0; transform: translateY(-1px); }
.vbtn-record.is-recording { background: #c81e1e; }
.vbtn-record.is-recording:not(:disabled):hover { background: #a81818; }

.vbtn-cancel {
    background: #e8edf7;
    color: #334;
}

.vbtn-cancel:not(:disabled):hover { background: #d9e2f3; }

.vbtn-save {
    background: #057a55;
    color: #fff;
}

.vbtn-save:not(:disabled):hover { background: #046042; transform: translateY(-1px); }


/* ── Скрываем надпись Камера загружается… ── */
.vizitka-status:empty {
    display: none;
}

/* ── Статус / ошибки ── */
.vizitka-status {
    font-size: 13px;
    color: #666;
    min-height: 18px;
    text-align: center;
}

.vizitka-status.is-error { color: #c81e1e; font-weight: 600; }
.vizitka-status.is-ok    { color: #057a55; font-weight: 600; }

/* ── Плавная анимация появления ── */
@keyframes vzFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}
.vizitka-wrap { animation: vzFadeIn .45s ease; }

/* ── Адаптив ── */
@media (max-width: 500px) {
    .vbtn { font-size: 13px; padding: 10px 12px; }
    .vizitka-question { font-size: 14px; }
}

/* Поля контактной формы */
.contact-input {
    display: block;
    width: 100%;
    padding: 12px 16px;
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #000;
    background-color: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 4px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.contact-input:focus {
    border-color: #4285f4;
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.12);
}

.contact-input.is-invalid {
    border-color: #dd4c5a;
    box-shadow: 0 0 0 3px rgba(221, 76, 90, 0.10);
}

.contact-input.is-valid {
    border-color: #34a853;
}

.field-error {
    font-size: 15px;
    color: #dd4c5a;
    min-height: 20px;
    margin-bottom: 12px;
    padding-left: 2px;
}

/* Адаптивность */
/* Планшеты и ноутбуки (1024px - 1279px) */
@media (max-width: 1279px) {
    .sidebar {
        width: 260px;
    }
    .main-content {
        margin-left: 260px;
        padding: 25px 35px;
    }
    .header-title {
        font-size: 28px;
    }
    .company-name {
        font-size: 22px;
    }
}

/* Маленькие планшеты (768px - 1023px) */
@media (max-width: 1023px) {
    .sidebar {
        width: 220px;
    }
    .main-content {
        margin-left: 220px;
        padding: 20px 25px;
    }
    .header-title {
        font-size: 24px;
    }
    .company-name {
        font-size: 20px;
    }
    .header-center {
        flex-direction: row;
        align-items: baseline;
        gap: 12px;
    }
    .video-wrapper {
        max-width: 100%;
    }
	.image-wrapper {
        max-width: 100%;
    }
}

/* Мобильные устройства (до 730px) - БУРГЕР МЕНЮ */
@media (max-width: 730px) {
    .container {
        flex-direction: column;
    }

    /* Скрываем сайдбар по умолчанию, показываем как выдвижное меню */
    .sidebar {
        width: 280px;
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        z-index: 100;
        transform: translateX(-100%);
        background-color: #fff;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
        padding: 15px 20px;
    }

    /* Бургер меню на уровне текста АН Самолет, увеличен на 30% */
    .burger-menu {
        display: flex;
        position: relative;
        top: auto;
        right: auto;
        /* Увеличение на 30%: было 32x26, стало 42x34 */
        width: 42px;
        height: 34px;
        background-color: rgba(255, 255, 255, 0.95);
        border-radius: 6px;
        padding: 7px 6px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        margin-left: 10px;
        align-self: center;
        margin-top: -25px; /* Поднять на 25px выше (еще 15px) */
    }

    .burger-menu:hover {
        background-color: #fff;
        box-shadow: 0 3px 12px rgba(0,0,0,0.2);
    }

    .burger-line {
        height: 3px;
        background-color: #333;
    }

    /* Анимация для увеличенного бургера */
    .burger-menu.active .burger-line:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }

    .burger-menu.active .burger-line:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }

    .content-header {
        flex-direction: column;
    }

    .header-right {
        text-align: left;
    }

    .header-center {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        position: relative;
    }

    .company-name {
        font-size: 20px;
    }

    .header-title {
        font-size: 22px;
    }

    /* Уменьшаем зелёную рамку */
    .success-box,
.attention-box,
.info-box,
.stop-box,
.ask-box  {
        padding: 12px 15px;
        gap: 0.5rem;
    }

    .success-box p,
.attention-box p,
.info-box p,
.stop-box p,
.ask-box p
 {
        font-size: 20px;
        padding: 10px;
    }

    .check-icon {
        font-size: 32px;
    }

    /* Уменьшаем видео */
    .video-wrapper {
        max-width: 100%;
        margin: 0 auto;
    }

    .play-button {
        width: 60px;
        height: 60px;
    }

    .play-icon {
        font-size: 22px;
    }

    .topic-item h4 {
        font-size: 20px;
    }

    .topic-item p {
        font-size: 20px;
        line-height: 1.6;
    }

    .btn {
        padding: 10px 20px;
        font-size: 18px;
    }

    .curator-label {
        font-size: 18px;       
    }

    .curator-phone {
        font-size: 18px;       
    }
	
	.sidebar {
    width: 280px;
    position: fixed;
    top: 0;
    left: 0;
    min-height: 100vh; /* fallback */
    min-height: 100dvh; /* современное решение для мобильных браузеров */
    padding-bottom: max(50px, env(safe-area-inset-bottom, 50px)); /* отступ снизу */
    z-index: 100;
    transform: translateX(-100%);
    background-color: #fff;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    overflow-y: auto; /* чтобы скролл работал внутри сайдбара */
}

.image-wrapper {
        max-width: 100%;
        margin: 0 auto;
    }

}

/* Очень маленькие экраны (до 729px) */
@media (max-width: 729px) {
    .main-content {
        padding: 12px 15px;
    }

    .header-title {
        font-size: 20px;
    }

    .content-header {
        align-items: flex-start;
    }

    .header-center {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 0;
        width: 100%;
    }

    .burger-menu {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        margin-left: 0;
        width: 40px;
        height: 32px;
        padding: 6px 5px;
        margin-top: -1px; /* Поднять на 25px выше (еще 15px) */
    }
	
     .burger-menu.active .burger-line:nth-child(1) {
        transform: translateY(8.6px) rotate(45deg);
    }

    .burger-menu.active .burger-line:nth-child(3) {
        transform: translateY(-8.6px) rotate(-45deg);
    }

    .company-name {
        font-size: 20px;
        margin-left: 0 !important;
        margin-bottom: 10px;
        text-align: left;
        width: 100%;
        padding-right: 50px; /* Отступ для бургера */
    }

    .curator-label {
        font-size: 18px;       
    }

    .curator-phone {
        font-size: 18px;       
    }

    .greeting {
        font-size: 20px;
    }

    .success-box,
.attention-box,
.info-box,
.stop-box,
.ask-box 
 {
        padding: 10px 12px;
    }

    .success-box p,
.attention-box p,
.info-box p,
.stop-box p,
.ask-box p
 {
        font-size: 20px;
        padding: 8px;
    }

    .check-icon {
        font-size: 28px;
    }

    .topic-item h4 {
        font-size: 20px;
    }

    .topic-item p {
        font-size: 20px;
    }

    .btn {
        padding: 8px 16px;
        font-size: 20px;
    }

    .content-footer {
        flex-direction: column;
        gap: 15px;
    }

    .btn-back, .btn-primary {
        width: 100%;
    }
	
	.sidebar {
    width: 280px;
    position: fixed;
    top: 0;
    left: 0;
    min-height: 100vh; /* fallback */
    min-height: 100dvh; /* современное решение для мобильных браузеров */
    padding-bottom: max(50px, env(safe-area-inset-bottom, 50px)); /* отступ снизу */
    z-index: 100;
    transform: translateX(-100%);
    background-color: #fff;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    overflow-y: auto; /* чтобы скролл работал внутри сайдбара */
}

/* Футер сайдбара */
.sidebar-footer {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    font-size: 16px;
    color: #888;
}

.sidebar-footer a {
    color: #888;
    text-decoration: none;
}

.sidebar-footer a:hover {
    text-decoration: underline;
}

}
