

/* Start:/local/components/public/content.manual/templates/.default/style.css?17861144267328*/
/* Общая обертка страницы */
.instruction-page-wrapper {
    background-color: #f7f9fc;
    min-height: 100vh;
    padding-bottom: 80px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Липкая компактная шапка */
.instruction-top-bar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    padding: 16px 0;
    margin-bottom: 32px;
}

.top-bar-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Контейнер поиска и меню */
.nav-search-container {
    position: relative;
    width: 100%;
    max-width: 750px;
}

/* Общая обертка поисковой строки */
.nav-search-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    background: #f1f3f7;
    border: 2px solid transparent;
    border-radius: 12px;
    transition: all 0.2s ease;
    padding: 2px;
}

.nav-search-wrapper:focus-within {
    background: #ffffff;
    border-color: #0071e3;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12);
}

/* Выбор ролей (Селект) */
.search-role-selector {
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 14px;
}

.role-select {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: none;
    font-size: 14px;
    font-weight: 600;
    color: #1d1d1f;
    padding: 10px 24px 10px 0;
    cursor: pointer;
    outline: none;
}

.selector-icon {
    position: absolute;
    right: 8px;
    font-size: 14px;
    color: #8e8e93;
    pointer-events: none;
}

/* Разделитель между селектом и поиском */
.search-divider {
    width: 1px;
    height: 24px;
    background: #d1d1d6;
    margin: 0 8px;
}

/* Поле поиска */
.search-input-box {
    position: relative;
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.nav-search-icon {
    color: #8e8e93;
    font-size: 15px;
    margin-right: 10px;
    margin-left: 8px;
}

.nav-search-input {
    flex-grow: 1;
    background: transparent;
    border: none;
    padding: 12px 40px 12px 0;
    font-size: 15px;
    color: #1d1d1f;
    outline: none;
}

.nav-search-clear {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    font-size: 20px;
    color: #8e8e93;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

/* Абсолютное Выпадающее Мегаменю */
.mega-menu-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 12px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    padding: 36px 32px 32px 32px;
    z-index: 1001;
    
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    
    max-height: 70vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #d1d1d6 transparent;
}

.mega-menu-dropdown.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #8e8e93;
    cursor: pointer;
    transition: color 0.2s;
}
.mega-menu-close:hover { color: #ff3b30; }

.mega-menu-dropdown::-webkit-scrollbar { width: 6px; }
.mega-menu-dropdown::-webkit-scrollbar-thumb { background-color: #d1d1d6; border-radius: 4px; }

/* Так как видна всегда ТОЛЬКО ОДНА колонка (роль), мы не плодим колонки, а выстраиваем сами ссылки сеткой */
.mega-menu-grid {
    display: block;
}

.mega-menu-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: #86868b;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    border-bottom: 1px solid #eef0f2;
    padding-bottom: 12px;
}

/* Сетка ссылок. Автоматически раскидает ссылки по колонкам внутри меню */
.mega-menu-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 8px;
}

.instruction-nav-link {
    display: block;
    padding: 8px 12px;
    background: transparent;
    color: #1d1d1f;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.2s ease;
}
.instruction-nav-link:hover { background: #f1f3f7; color: #0071e3; }
.instruction-nav-link.is-active { background: #e8f2ff; color: #0071e3 !important; font-weight: 600; }

.search-no-results { padding: 20px; color: #86868b; font-size: 15px; text-align: center; }

/* Ридер контента */
.instruction-content-reader { max-width: 800px; margin: 0 auto; background: #ffffff; padding: 48px 56px; border-radius: 20px; box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03); }
.article-body { font-size: 16px; line-height: 1.7; color: #2c2c2e; }
.article-body p { margin-bottom: 20px; }
.article-body h1, .article-body h2, .article-body h3 { margin-top: 32px; margin-bottom: 16px; font-weight: 700; color: #1d1d1f; }
.article-body img { max-width: 100%; height: auto; border-radius: 12px; margin: 24px 0; box-shadow: 0 4px 16px rgba(0,0,0,0.06); }

/* Футер и фидбек */
.article-footer-actions { margin-top: 48px; padding-top: 32px; border-top: 1px solid #eef0f2; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.btn-modern-support { display: inline-flex; align-items: center; gap: 10px; padding: 12px 28px; background: #0071e3; color: #ffffff !important; border-radius: 24px; font-size: 15px; font-weight: 600; text-decoration: none !important; cursor: pointer; transition: all 0.25s ease; box-shadow: 0 4px 14px rgba(0, 113, 227, 0.25); }
.btn-modern-support:hover { background: #0077ed; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0, 113, 227, 0.35); }
.modern-feedback-box { text-align: center; background: #f5f5f7; padding: 20px 28px; border-radius: 16px; width: 100%; max-width: 420px; }
.feedback-title { display: block; font-size: 14px; color: #86868b; margin-bottom: 12px; font-weight: 500; }
.feedback-buttons { display: flex; justify-content: center; gap: 12px; }
.btn-feedback { border: none; padding: 10px 20px; font-size: 14px; font-weight: 600; border-radius: 18px; background: #ffffff; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 2px 6px rgba(0,0,0,0.04); transition: all 0.2s ease; }
.btn-feedback.positive:hover { color: #34c759; }
.btn-feedback.negative:hover { color: #ff3b30; }

@keyframes fadeInPage { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* Мобильная адаптивность */
@media (max-width: 768px) {
    .mega-menu-dropdown { padding: 32px 16px 20px 16px; }
    .mega-menu-links { grid-template-columns: 1fr; } /* Одна колонка на телефонах */
    .instruction-content-reader { padding: 24px 16px; border-radius: 0; box-shadow: none; background: transparent; }
    .role-select { max-width: 120px; text-overflow: ellipsis; }
}
/* End */
/* /local/components/public/content.manual/templates/.default/style.css?17861144267328 */
