﻿/* Стили для бокового меню */
.sidebar {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    border: 1px solid #eef2f7;
    padding: 1rem;
    height: fit-content;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .sidebar-menu li {
        margin-bottom: 0.25rem;
    }

        .sidebar-menu li:last-child {
            margin-bottom: 0;
        }

    .sidebar-menu a {
        display: block;
        padding: 0.75rem 1rem;
        color: #4a5568;
        text-decoration: none;
        border-radius: 6px;
        transition: all 0.2s;
        font-size: 0.95rem;
    }

        .sidebar-menu a:hover {
            background-color: #edf2f7;
            color: #2b6cb0;
        }

        .sidebar-menu a.active {
            background-color: #485fc7;
            color: white;
        }

.main-content {
    min-height: 600px;
}

.sidebar-section {
    margin-bottom: 1.5rem;
}

    .sidebar-section h4 {
        margin: 0 0 0.75rem 0;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid #eef2f7;
        color: #2d3748;
        font-size: 1rem;
        font-weight: 600;
    }

    .sidebar-section:last-child {
        margin-bottom: 0;
    }

/* Стили для контента */
.instruction-content {
    display: none;
}

    .instruction-content.active {
        display: block;
        animation: fadeIn 0.3s ease-out;
    }

@@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.current-section {
    margin-bottom: 1.5rem;
    padding: 1rem 1.5rem;
    background-color: #f8fafc;
    border-left: 3px solid #bee3f8;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .current-section h3 {
        margin: 0;
        color: #2b6cb0;
        font-size: 1.3rem;
        font-weight: 600;
    }

.copy-link-btn {
    background-color: #edf2f7;
    border: none;
    border-radius: 4px;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    color: #4a5568;
    font-size: 0.9rem;
    transition: all 0.2s;
}

    .copy-link-btn:hover {
        background-color: #e2e8f0;
        color: #2d3748;
    }

    .copy-link-btn.copied {
        background-color: #48bb78;
        color: white;
    }

h5 {
    margin: 1.4rem 0 0.8rem 0;
    padding-bottom: 0.4rem;
    border-bottom: 1px dashed #cbd5e0;
    font-weight: 600;
    color: #2d3748;
    font-size: 1.05rem;
}

h6 {
    margin: 1.2rem 0 0.6rem 0;
    font-weight: 600;
    color: #4a5568;
    font-size: 1rem;
}

p, ol, ul {
    margin-bottom: 0.9rem;
    line-height: 1.6;
    color: #4a5568;
}

> :last-child {
    margin-bottom: 0;
}

ol, ul {
    padding-left: 1.4rem;
}

li {
    margin-bottom: 0.5rem;
}

    li:last-child {
        margin-bottom: 0;
    }

strong {
    color: #2b6cb0;
    font-weight: 600;
}

code {
    background-color: #ebf8ff;
    color: #2b6cb0;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
}

.coming-soon {
    color: #c5c5c5 !important
}
.image-example {
    margin: 1.5rem 0;
    text-align: center;
}

    .image-example img {
        max-width: 100%;
        height: auto;
        border-radius: 6px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        border: 1px solid #eef2f7;
    }

.image-caption {
    margin-top: 0.5rem;
    font-style: italic;
    color: #718096;
    font-size: 0.9rem;
}