/* 行业模板页面样式 */
.industry-template-main {
    display: flex;
    height: calc(100vh - 60px);
    background: #fff;
}
.industry-sidebar {
    width: 180px;
    background: #f7f8fa;
    border-right: 1px solid #e5e6eb;
    padding: 0;
}
#industry-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.industry-item {
    padding: 18px 24px;
    cursor: pointer;
    font-size: 16px;
    color: #222;
    border-left: 4px solid transparent;
    transition: background 0.2s, border-color 0.2s;
}
.industry-item.active {
    background: #eaf3ff;
    border-left: 4px solid #1677ff;
    color: #1677ff;
}
.industry-keywords-section {
    flex: 1;
    padding: 32px 40px;
    overflow-y: auto;
}
.industry-keywords-header {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
}
#current-industry-title {
    font-size: 20px;
    font-weight: 600;
    margin-right: 24px;
}
#add-industry-keyword {
    padding: 6px 18px;
    font-size: 15px;
}
.industry-keywords-tree {
    background: #f7f8fa;
    border-radius: 8px;
    padding: 18px 24px;
    min-height: 300px;
}
.keyword-node {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    padding: 0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s, border 0.2s;
    position: relative;
}
.keyword-node:hover {
    box-shadow: 0 4px 16px rgba(22,119,255,0.08);
    border: 1.5px solid #1677ff;
}
.keyword-node.dragging {
    border: 2px dashed #1677ff;
    background: #eaf3ff;
}
.keyword-title {
    font-size: 16px;
    flex: 1;
    padding: 12px 0 12px 16px;
    font-weight: 500;
}
.keyword-node-child {
    background: #f7f8fa;
    margin-left: 36px;
    border-radius: 6px;
    font-size: 15px;
    box-shadow: none;
    padding: 8px 0 8px 16px;
}
.keyword-node-child .keyword-title {
    font-size: 15px;
    font-weight: 400;
    padding-left: 0;
}
.keyword-actions {
    display: flex;
    gap: 8px;
    margin-right: 12px;
}
/* 展开/收起按钮 */
.expand-btn {
    width: 28px; height: 28px; border: none; background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; margin-left: 4px; margin-right: 2px;
    border-radius: 50%; transition: background 0.15s;
}
.expand-btn:hover { background: #eaf3ff; }
.expand-arrow {
    font-size: 18px; color: #1677ff; transition: transform 0.2s;
}
.expand-btn.open .expand-arrow { transform: rotate(90deg); }
/* 弹窗样式 */
.modal {
    position: fixed;
    left: 0; top: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.modal-content {
    background: #fff;
    border-radius: 8px;
    padding: 32px 28px 24px 28px;
    min-width: 320px;
    position: relative;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.close {
    position: absolute;
    right: 18px;
    top: 12px;
    font-size: 22px;
    color: #888;
    cursor: pointer;
}

.sub-keyword-list {
    margin-left: 36px;
    margin-top: 2px;
}
.keyword-node-child-row {
    display: flex;
    align-items: center;
    background: #f7f8fa;
    border-radius: 6px;
    font-size: 15px;
    margin-bottom: 4px;
    padding: 8px 0 8px 16px;
    box-shadow: none;
    border-left: 3px solid #e5e6eb;
}
.keyword-node-child-row .keyword-title {
    font-size: 15px;
    font-weight: 400;
    flex: 1;
    padding-left: 0;
}
.keyword-node-child-row .keyword-actions {
    margin-right: 12px;
    gap: 8px;
} 