body {
    background-color: #f8f9fa;
    padding: 2rem 0;
}

.data-generator-tool {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    margin-bottom: 2rem;
}

.data-generator-tool h2 {
    margin-bottom: 0.5rem;
    color: #333;
}

.tool-container {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

/* 配置区域样式 */
.config-section {
    width: 40%;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #333;
}

.fields-container {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 1.5rem;
}

.field-item {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.field-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.field-header h5 {
    margin: 0;
    font-size: 1rem;
    color: #333;
}

.field-body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.separator-config, .generation-config {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.separator-config h4, .generation-config h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #333;
}

.separator-options, .export-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
}

/* 预览区域样式 */
.preview-section {
    flex: 1;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.preview-actions {
    display: flex;
    gap: 0.5rem;
}

.preview-container {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    min-height: 400px;
    position: relative;
}

.preview-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 400px;
    color: #aaa;
    text-align: center;
}

.preview-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.preview-content {
    max-height: 600px;
    overflow: auto;
}

/* 表单控件样式 */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #444;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-control, .form-select {
    font-size: 0.9rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74,144,226,0.1);
    outline: none;
}

.random-options {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 0.75rem;
    margin-top: 0.5rem;
}

/* 表格样式 */
.table {
    font-size: 0.9rem;
}

.table thead th {
    background: #f0f0f0;
    font-weight: 600;
    color: #333;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .tool-container {
        flex-direction: column;
    }
    
    .config-section {
        width: 100%;
    }
} 