/**
 * Стили для блока документов
 * Подключается автоматически через documents_block.php
 */

.documents-block {
    margin: 40px 0;
}

.documents-section {
    margin-bottom: 30px;
}

.documents-section-title {
    font-size: 20px;
    font-weight: 600;
    color: #182968;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #182968;
}

.documents-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.document-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: 0.25s;
}

.document-item:hover {
    background: #eef0f5;
    box-shadow: 0 4px 15px rgba(24, 41, 104, 0.1);
}

.document-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(24, 41, 104, 0.1);
    border-radius: 8px;
    margin-right: 15px;
}

.document-icon svg {
    width: 24px;
    height: 24px;
}

.document-info {
    flex: 1;
    min-width: 0;
}

.document-name {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
}

.document-download-btn {
    display: inline-block;
    flex-shrink: 0;
    padding: 0 20px;
    height: 40px;
    line-height: 38px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: #182968;
    border: 1px solid #182968;
    cursor: pointer;
    transition: 0.25s;
    margin-left: 15px;
    text-decoration: none;
}

.document-download-btn:hover {
    background: #2f3e77;
    border-color: #2f3e77;
    color: #fff;
}

@media (max-width: 768px) {
    .document-item {
        flex-wrap: wrap;
        gap: 10px;
    }
    .document-info {
        flex: 1 1 calc(100% - 55px);
    }
    .document-download-btn {
        width: 100%;
        text-align: center;
        margin-left: 0;
    }
}
