/* description.css - Подробное описание (Markdown) */

.description-section {
    margin-bottom: 40px;
}

.description-section h3 {
    color: #6C63FF;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.detailed-description {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 25px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    word-wrap: break-word;
}

.detailed-description h1 {
    font-size: 1.8rem;
    color: #6C63FF;
    margin: 20px 0 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.detailed-description h2 {
    font-size: 1.4rem;
    color: #6C63FF;
    margin: 20px 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.detailed-description h3 {
    font-size: 1.2rem;
    color: #FF6B6B;
    margin: 15px 0 10px;
}

.detailed-description p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.detailed-description a {
    color: #6C63FF;
    text-decoration: none;
}

.detailed-description a:hover {
    text-decoration: underline;
}

.detailed-description img.markdown-img {
    max-width: 100%;
    border-radius: 12px;
    margin: 15px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.detailed-description code {
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9em;
    color: #FF6B6B;
}

.detailed-description pre {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 15px 0;
}

.detailed-description pre code {
    background: none;
    padding: 0;
}

.detailed-description ul.markdown-list,
.detailed-description ol.markdown-list {
    margin: 15px 0 15px 25px;
}

.detailed-description li {
    margin: 8px 0;
}

.detailed-description blockquote {
    border-left: 3px solid #6C63FF;
    margin: 15px 0;
    padding: 10px 20px;
    background: rgba(108, 99, 255, 0.1);
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.detailed-description hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, #6C63FF, transparent);
    margin: 25px 0;
}

.markdown-table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
}

.markdown-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.markdown-table th {
    background: rgba(108, 99, 255, 0.2);
    color: #6C63FF;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.markdown-table td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #F1F1F6;
}

.markdown-table tr:last-child td {
    border-bottom: none;
}

.markdown-table tr:hover {
    background: rgba(255, 255, 255, 0.03);
}