* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    padding: 20px;
    background-color: #f5f5f5;
}

.container {
    display: flex;
    gap: 20px;
    max-width: 1600px;
    margin: 0 auto;
    height: calc(100vh - 40px);
    align-items: stretch;
}

/* .editor-section,
.preview-section {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.editor-section {
    flex: 1;
    min-width: 300px;
}

.preview-section {
    flex: 2;
    min-width: 600px;
} */

button {
    cursor: pointer;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    background-color: #846EFF;
    color: white;
    font-size: 14px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #846EFF;
}

.copyable {
    cursor: pointer;
    transition: background-color 0.2s;
}

.copyable:hover {
    background-color: rgba(74, 144, 226, 0.1);
}

.copyable:active {
    background-color: rgba(74, 144, 226, 0.2);
}

/* 响应式布局 */
@media (max-width: 1200px) {
    .container {
        flex-direction: column;
        height: auto;
    }
}