/* ============================================================
   СТИЛИ РАЗДЕЛА ПОДДЕРЖКИ (ДОКУМЕНТАЦИИ)
   Плагин DocYu
   ============================================================ */

/* ---------- ОСНОВНОЙ КОНТЕЙНЕР ---------- */
.support-container {
    display: flex;
    gap: 2.5rem;
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #e1e1e1;
    padding: 2rem;
    min-height: 500px;
    max-width: 1200px;
    margin: 2rem auto;
}


/* ---------- ЛЕВАЯ КОЛОНКА (МЕНЮ) ---------- */
.support-sidebar {
    display: flex;
    flex-direction: column;
    flex: 0 0 280px;
    border-right: 1px solid #ebebef;
    padding-right: 1.5rem;
    min-height: 500px;
}

.support-sidebar-header {
    padding-bottom: 1rem;
    border-bottom: 1px solid #ebebef;
    margin-bottom: 1rem;
}

.support-sidebar-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0;
}

/* ============================================================
    ИКОНКИ ВНИЗУ
   ============================================================ */

.support-sidebar-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    flex: 1;
}

.support-sidebar-header {
    padding-bottom: 1rem;
    border-bottom: 1px solid #ebebef;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.support-sidebar-nav {
    flex: 1;
    overflow-y: auto;
}

.support-sidebar-footer {
    display: flex;
    gap: 12px;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid #ebebef;
    justify-content: center;
    flex-shrink: 0;
}

.support-footer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f5f3ff;
    color: #6c5ce7;
    transition: all 0.25s ease;
    text-decoration: none;
}

.support-footer-icon:hover {
    background: #6c5ce7;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(108, 92, 231, 0.25);
}

.support-footer-icon svg {
    width: 20px;
    height: 20px;
    display: block;
    fill: currentColor;
}

.support-footer-icon:hover svg {
    fill: #fff;
}
.support-footer-icon:last-child:hover svg {
    fill: #ffffff !important;
}
/* ============================================================
   АДАПТАЦИЯ
   ============================================================ */

@media (max-width: 768px) {
    .support-sidebar {
        flex: none;
        width: 100%;
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid #ebebef;
        padding-bottom: 1.2rem;
        min-height: auto;
    }
    
    .support-sidebar-inner {
        height: auto;
    }
    
    .support-sidebar-footer {
        padding-top: 0.8rem;
        margin-top: 0.8rem;
    }
    
    .support-footer-icon {
        width: 36px;
        height: 36px;
    }
    
    .support-footer-icon svg {
        width: 18px;
        height: 18px;
    }
}

/* ---------- МЕНЮ ---------- */
.support-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.support-menu li {
    margin-bottom: 0.2rem;
}

.support-menu li a {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    color: #555566;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.support-menu li a:hover {
    background: #f5f3ff;
    color: #6c5ce7;
}

.support-menu li a.active {
    color: #6c5ce7;
    font-weight: 500;
    background: #f5f3ff;
}

.support-menu .docs-icon {
    display: inline-block;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-right: 6px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    transition: stroke 0.2s ease;
}

.support-menu li a:hover .docs-icon,
.support-menu li a.active .docs-icon {
    stroke: #6c5ce7;
}

.support-submenu {
    padding-left: 1.2rem;
    margin-top: 0.2rem;
}

.support-submenu li a {
    font-size: 0.85rem;
    padding: 0.3rem 0.8rem;
}

.toggle-submenu {
    display: none;
    background: none;
    border: none;
    color: #8888a0;
    cursor: pointer;
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
    margin-left: 0.3rem;
}

.support-menu li .menu-arrow {
    font-size: 0.6rem;
    color: #8888a0;
    margin-left: 0.3rem;
}

.submenu-wrapper {
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.submenu-wrapper.collapsed {
    max-height: 0 !important;
}

/* ---------- ПРАВАЯ КОЛОНКА (КОНТЕНТ) ---------- */
.support-content {
    flex: 1;
    max-width: 900px;
    min-width: 0;
}

.support-content h1 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 1rem 0;
    border-bottom: 1px solid #ebebef;
    padding-bottom: 10px;
}

.support-content-body {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    word-wrap: break-word;
}

.support-content-body h2 {
    font-size: 1.6rem;
    font-weight: 500;
    color: #1a1a2e;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.support-content-body h3 {
    font-size: 1.2rem;
    line-height: 1.2;
    font-weight: 600;
    color: #1a1a2e;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.support-content-body h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.support-content-body p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.support-content-body ul,
.support-content-body ol {
    margin: 0.8rem 0 1.2rem 1.5rem;
    padding-left: 0.5rem;
}

.support-content-body ul li,
.support-content-body ol li {
    margin-bottom: 0.2rem;
    line-height: 1.6;
}

.support-content-body ul li strong,
.support-content-body ol li strong {
    color: #1a1a2e;
}

.support-content-body strong {
    color: #1a1a2e;
    font-weight: 600;
}

.support-content-body em {
    color: #555;
    font-style: italic;
}

/* ---------- БЛОКИ И ЭЛЕМЕНТЫ ---------- */
.support-content-body .highlight {
    background: #f0ecff;
    padding: 0.1rem 0.3rem;
    border-radius: 4px;
    color: #6c5ce7;
    font-weight: 500;
}

.support-content-body .tip-block {
    background: #f8fafc;
    border-left: 4px solid #6c5ce7;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.support-content-body .tip-block strong {
    color: #6c5ce7;
}

.support-content-body .warning-block {
    background: #fff8f0;
    border-left: 4px solid #f59e0b;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.support-content-body .warning-block strong {
    color: #b45309;
}

.support-content-body .important-block {
    background: #fef2f2;
    border-left: 4px solid #ef4444;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.support-content-body .important-block strong {
    color: #b91c1c;
}

.support-content-body a {
    color: #6c5ce7;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.support-content-body a:hover {
    border-bottom-color: #6c5ce7;
}

.support-content-body .faq-item {
    margin-top: 1.5rem;
    padding: 1.2rem 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #ebebef;
}

.support-content-body .faq-item h4 {
    margin-top: 0;
    color: #1a1a2e;
    font-size: 1.05rem;
}

.support-content-body .faq-item p {
    margin-bottom: 0;
}

.support-content-body .btn-example {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: #6c5ce7;
    color: #fff;
    border-radius: 30px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: none;
}

.support-content-body .btn-example:hover {
    background: #5a4bd1;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(108, 92, 231, 0.3);
    color: #fff;
    border-bottom: none;
}

.support-content-body .step {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: #fafafc;
    border-radius: 16px;
    border: 1px solid #ebebef;
}

.support-content-body .step h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.support-content-body .step .step-number {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background: #6c5ce7;
    color: #fff;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 0.5rem;
}

/* ---------- ИЗОБРАЖЕНИЯ ---------- */
.support-content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.support-content-body .wp-block-image {
    margin: 1.5rem 0;
}

.support-content-body .wp-block-image figcaption {
    color: #6b7280;
    font-size: 0.85rem;
    text-align: center;
    margin-top: 0.5rem;
}

/* ---------- ТАБЛИЦЫ ---------- */
.support-content-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

.support-content-body table th,
.support-content-body table td {
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    text-align: left;
}

.support-content-body table th {
    background: #f8fafc;
    font-weight: 600;
    color: #1a1a2e;
}

.support-content-body table tr:nth-child(even) {
    background: #fafafa;
}

/* ---------- ЦИТАТЫ ---------- */
.support-content-body blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    border-left: 4px solid #6c5ce7;
    background: #f8fafc;
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.support-content-body blockquote p {
    margin-bottom: 0;
}

/* ---------- КОД ---------- */
.support-content-body code,
.support-content-body .wp-block-code {
    background: #f1f1f1;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #1a1a2e;
}

.support-content-body pre {
    background: #1a1a2e;
    color: #e5e5e5;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.support-content-body pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

/* ---------- ГАЛЕРЕЯ ---------- */
.support-content-body .wp-block-gallery {
    margin: 1.5rem 0;
}

.support-content-body .wp-block-gallery .blocks-gallery-item figcaption {
    font-size: 0.85rem;
}

/* ---------- ВИДЕО ---------- */
.support-content-body .wp-block-embed {
    margin: 1.5rem 0;
}

.support-content-body .wp-block-embed iframe {
    max-width: 100%;
    border-radius: 8px;
}

/* ---------- ДОБРО ПОЖАЛОВАТЬ ---------- */
.support-welcome {
    text-align: center;
    padding: 2rem 1rem;
}

.support-welcome h1 {
    font-size: 2rem;
    color: #1a1a2e;
    margin-bottom: 1rem;
    border-bottom: none;
}

.support-welcome p {
    color: #8888a0;
    font-size: 1.1rem;
}

.support-quick-links {
    margin-top: 2rem;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.support-quick-links h3 {
    font-size: 1rem;
    color: #555566;
    margin-bottom: 0.8rem;
}

.support-quick-links ul {
    list-style: none;
    padding: 0;
}

.support-quick-links ul li {
    margin-bottom: 0.5rem;
}

.support-quick-links ul li a {
    color: #6c5ce7;
    text-decoration: none;
}

.support-quick-links ul li a:hover {
    text-decoration: underline;
}

/* ============================================================
   ГЛАВНАЯ СТРАНИЦА ДОКУМЕНТАЦИИ (/docs/)
   ============================================================ */

.docs-home-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 0 0 2rem 0;
}

.docs-home-card {
    display: block;
    padding: 24px 20px;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.docs-home-card:hover {
    transform: translateY(-4px);
    border-color: #6c5ce7;
    box-shadow: 0 8px 24px rgba(108, 92, 231, 0.1);
}

.docs-home-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.docs-home-card-desc {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0 0 1rem 0;
    line-height: 1.5;
}

.docs-home-card-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: #6c5ce7;
}

.docs-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0 0 2rem 0;
}

.docs-faq-item {
    padding: 16px 20px;
    background: #f8f9fa;
    border-radius: 20px;
    border: 1px solid #e8e8e8;
    transition: all 0.2s ease;
}

.docs-faq-item:hover {
    border-color: #6c5ce7;
    background: #f0edff;
}

.docs-faq-question {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 0.5rem 0;
    cursor: default;
}

.docs-faq-answer {
    font-size: 0.95rem;
    color: #4a4a5a;
    line-height: 1.6;
}

.docs-faq-answer p {
    margin: 0;
}

.docs-home-section {
    margin-bottom: 2.5rem;
}

.docs-home-section-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #ebebef;
}

/* ============================================================
   ГАМБУРГЕР ДЛЯ МОБИЛЬНЫХ УСТРОЙСТВ
   ============================================================ */

.menu-toggle-hidden {
    display: none;
}

.support-sidebar-toggle {
    display: none;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
    flex-shrink: 0;
    user-select: none;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 24px;
    height: 20px;
    justify-content: center;
}

.hamburger-icon span {
    display: block;
    height: 2.5px;
    background: #1a1a2e;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* ============================================================
   АДАПТАЦИЯ ДЛЯ ПЛАНШЕТОВ (768px - 1024px)
   ============================================================ */

@media (max-width: 1024px) {
    .support-container {
        padding: 1.5rem;
        gap: 2rem;
    }

    .support-sidebar {
        flex: 0 0 240px;
        padding-right: 1rem;
    }

    .docs-home-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================================
   АДАПТАЦИЯ ДЛЯ МОБИЛЬНЫХ УСТРОЙСТВ (до 768px)
   ============================================================ */

@media (max-width: 768px) {
    .support-container {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1.2rem;
        border-radius: 16px;
        margin: 1rem auto;
    }

    .support-sidebar {
        flex: none;
        width: 100%;
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid #ebebef;
        padding-bottom: 1.2rem;
    }

    .support-sidebar-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 0;
        margin-bottom: 0;
        border-bottom: none;
    }

    .support-sidebar-header h3 {
        margin: 0;
        font-size: 1rem;
    }

    .support-sidebar-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .support-sidebar-nav {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
        opacity: 0;
        margin-top: 0;
    }

    #menuToggle:checked ~ .support-sidebar-nav {
        max-height: 600px;
        opacity: 1;
        margin-top: 0.8rem;
    }

    #menuToggle:checked ~ .support-sidebar-nav .support-menu {
        animation: slideDown 0.3s ease forwards;
    }

    #menuToggle:checked ~ .support-sidebar-header .support-sidebar-toggle .hamburger-icon span:nth-child(1) {
        transform: translateY(6.5px) rotate(45deg);
    }

    #menuToggle:checked ~ .support-sidebar-header .support-sidebar-toggle .hamburger-icon span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    #menuToggle:checked ~ .support-sidebar-header .support-sidebar-toggle .hamburger-icon span:nth-child(3) {
        transform: translateY(-6.5px) rotate(-45deg);
    }

    .support-sidebar-nav .support-menu {
        display: flex;
        flex-direction: column;
        gap: 0.2rem;
    }

    .support-sidebar-nav .support-menu li a {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
        border-radius: 8px;
        background: #f8f9fa;
        transition: all 0.2s ease;
    }

    .support-sidebar-nav .support-menu li a:hover {
        background: #f0edff;
    }

    .support-sidebar-nav .support-menu li a.active {
        background: #f0edff;
        color: #6c5ce7;
    }

    .support-submenu {
        padding-left: 0.8rem;
    }

    .support-content {
        padding-top: 0;
    }

    .support-content h1 {
        display: none;
    }

    .docs-home-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .docs-home-card {
        padding: 20px 16px;
        border-radius: 20px;
    }

    .docs-home-section-title {
        font-size: 1.2rem;
    }

    .docs-faq-item {
        padding: 14px 16px;
    }

    .support-welcome h1 {
        font-size: 1.5rem;
    }

    .support-welcome p {
        font-size: 1rem;
    }

    .support-content-body h2 {
        font-size: 1.3rem;
    }

    .support-content-body h3 {
        font-size: 1.1rem;
    }

    .support-content-body table {
        font-size: 0.85rem;
    }

    .support-content-body table th,
    .support-content-body table td {
        padding: 0.5rem;
    }

    .support-content-body .faq-item {
        padding: 1rem;
    }

    .support-content-body .step {
        padding: 1rem;
    }

    .support-content-body .tip-block,
    .support-content-body .warning-block,
    .support-content-body .important-block {
        padding: 0.8rem 1rem;
    }
}

/* ============================================================
   АДАПТАЦИЯ ДЛЯ МАЛЕНЬКИХ ЭКРАНОВ (до 480px)
   ============================================================ */

@media (max-width: 480px) {
    .support-container {
        padding: 0.8rem;
        border-radius: 12px;
        margin: 0.5rem auto;
    }

    .support-sidebar-header h3 {
        font-size: 0.9rem;
    }

    .support-sidebar-nav .support-menu li a {
        font-size: 0.85rem;
        padding: 0.5rem 0.6rem;
    }

    .support-content-body {
        font-size: 0.9rem;
    }

    .support-content-body h2 {
        font-size: 1.2rem;
    }

    .support-content-body h3 {
        font-size: 1rem;
    }

    .support-content-body ul,
    .support-content-body ol {
        margin-left: 1rem;
    }

    .docs-home-card {
        padding: 16px 14px;
    }

    .docs-home-card-title {
        font-size: 1rem;
    }

    .docs-faq-question {
        font-size: 0.9rem;
    }

    .docs-faq-answer {
        font-size: 0.85rem;
    }
}

/* ============================================================
   ТЕМНАЯ ТЕМА (ОПЦИОНАЛЬНО)
   ============================================================ */

@media (prefers-color-scheme: dark) {
    .support-container {
        background: #1a1a2e;
        border-color: #2d2d44;
    }

    .support-sidebar-header {
        border-bottom-color: #2d2d44;
    }

    .support-sidebar-header h3 {
        color: #e5e5e5;
    }

    .support-menu li a {
        color: #a0a0b0;
    }

    .support-menu li a:hover {
        background: #2d2d44;
        color: #8b7ce6;
    }

    .support-menu li a.active {
        color: #8b7ce6;
        background: #2d2d44;
    }

    .support-content h1 {
        color: #e5e5e5;
        border-bottom-color: #2d2d44;
    }

    .support-content-body {
        color: #d0d0d0;
    }

    .support-content-body h2,
    .support-content-body h3,
    .support-content-body h4 {
        color: #e5e5e5;
    }

    .support-content-body strong {
        color: #e5e5e5;
    }

    .support-content-body a {
        color: #8b7ce6;
    }

    .support-content-body .tip-block {
        background: #1a1a2e;
        border-left-color: #8b7ce6;
    }

    .support-content-body .warning-block {
        background: #1a1a2e;
        border-left-color: #f59e0b;
    }

    .support-content-body .important-block {
        background: #1a1a2e;
        border-left-color: #ef4444;
    }

    .support-content-body .faq-item {
        background: #1a1a2e;
        border-color: #2d2d44;
    }

    .support-content-body .step {
        background: #1a1a2e;
        border-color: #2d2d44;
    }

    .support-content-body blockquote {
        background: #1a1a2e;
    }

    .support-content-body table th {
        background: #2d2d44;
        color: #e5e5e5;
    }

    .support-content-body table td {
        border-color: #2d2d44;
    }

    .support-content-body table tr:nth-child(even) {
        background: #222236;
    }

    .support-content-body code,
    .support-content-body .wp-block-code {
        background: #2d2d44;
        color: #e5e5e5;
    }

    .support-welcome h1 {
        color: #e5e5e5;
    }

    .support-welcome p {
        color: #8888a0;
    }

    .docs-home-card {
        background: #1a1a2e;
        border-color: #2d2d44;
    }

    .docs-home-card:hover {
        border-color: #8b7ce6;
        box-shadow: 0 8px 24px rgba(108, 92, 231, 0.2);
    }

    .docs-home-card-title {
        color: #e5e5e5;
    }

    .docs-home-card-desc {
        color: #a0a0b0;
    }

    .docs-home-card-link {
        color: #8b7ce6;
    }

    .docs-faq-item {
        background: #1a1a2e;
        border-color: #2d2d44;
    }

    .docs-faq-item:hover {
        border-color: #8b7ce6;
        background: #222236;
    }

    .docs-faq-question {
        color: #e5e5e5;
    }

    .docs-faq-answer {
        color: #a0a0b0;
    }

    .docs-home-section-title {
        color: #e5e5e5;
        border-bottom-color: #2d2d44;
    }

    .support-sidebar-nav .support-menu li a {
        background: #1a1a2e;
    }

    .support-sidebar-nav .support-menu li a.active {
        background: #2d2d44;
    }

    .support-sidebar-nav .support-menu li a:hover {
        background: #2d2d44;
    }

    .hamburger-icon span {
        background: #e5e5e5;
    }

    .support-content-body .btn-example {
        background: #8b7ce6;
    }

    .support-content-body .btn-example:hover {
        background: #7a6bd6;
    }
}

/* ============================================================
   АНИМАЦИИ
   ============================================================ */

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.support-content-body .step {
    animation: fadeIn 0.5s ease;
}

.support-content-body .faq-item {
    animation: fadeIn 0.5s ease;
}

.docs-home-card {
    animation: fadeIn 0.5s ease;
}

/* ============================================================
   УТИЛИТЫ
   ============================================================ */

.support-text-center {
    text-align: center;
}

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

.support-mt-1 {
    margin-top: 1rem;
}

.support-mt-2 {
    margin-top: 2rem;
}

.support-mb-1 {
    margin-bottom: 1rem;
}

.support-mb-2 {
    margin-bottom: 2rem;
}

.support-hidden {
    display: none;
}

/* ============================================================
   ПЕЧАТЬ
   ============================================================ */

@media print {
    .support-sidebar {
        display: none;
    }

    .support-container {
        border: none;
        padding: 0;
        margin: 0;
        border-radius: 0;
    }

    .support-content {
        max-width: 100%;
    }

    .support-content h1 {
        border-bottom: 1px solid #000;
    }

    .support-content-body a {
        color: #000;
        border-bottom: 1px dotted #000;
    }

    .support-content-body .btn-example {
        display: none;
    }
}

/* ============================================================
   БЛОК "БЫЛА ЛИ СТАТЬЯ ПОЛЕЗНОЙ?"
   ============================================================ */

.docyu-feedback-block {
    margin-top: 2.5rem;
    padding: 1.5rem 2rem;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #ebebef;
}

.docyu-feedback-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 1rem;
}

.docyu-feedback-form {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    align-items: center;
}

.docyu-feedback-btn {
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.docyu-feedback-yes {
    background: #e8f5e9;
    color: #2e7d32;
}

.docyu-feedback-yes:hover {
    background: #c8e6c9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.2);
}

.docyu-feedback-no {
    background: #fce4ec;
    color: #c62828;
}

.docyu-feedback-no:hover {
    background: #f8bbd0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(198, 40, 40, 0.2);
}

.docyu-feedback-count {
    font-size: 0.75rem;
    opacity: 0.7;
}

.docyu-feedback-result {
    font-size: 0.95rem;
    color: #1a1a2e;
}

.docyu-feedback-result p {
    margin-bottom: 0.5rem;
}

.docyu-feedback-stats {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.85rem;
    color: #6b7280;
}

.docyu-feedback-total {
    margin-top: 0.8rem;
    font-size: 0.8rem;
    color: #9e9e9e;
}

/* Прогресс-бар */
.docyu-feedback-bar {
    width: 100%;
    height: 10px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.docyu-feedback-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #66bb6a, #43a047);
    border-radius: 10px;
    transition: width 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 0.6rem;
    color: #fff;
    font-weight: 600;
    padding-right: 6px;
    min-width: 30px;
}

/* Сообщение об успехе */
.docyu-feedback-success {
    padding: 12px 20px;
    background: #e8f5e9;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    color: #2e7d32;
    font-weight: 500;
    border-left: 4px solid #43a047;
}

/* ============================================================
   АДАПТАЦИЯ
   ============================================================ */

@media (max-width: 768px) {
    .docyu-feedback-block {
        padding: 1rem;
    }
    
    .docyu-feedback-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .docyu-feedback-btn {
        justify-content: center;
        padding: 0.7rem;
    }
}

@media (max-width: 480px) {
    .docyu-feedback-btn {
        font-size: 0.85rem;
    }
}