/* 转换器容器 */
.ftl-converter-container {
    margin: 20px 0;
    padding: 20px;
    background: #fff;
    border: 1px solid #ccd0d4;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
}

/* 输入输出区域 */
.ftl-input-section,
.ftl-output-section,
.ftl-preview-section {
    margin-bottom: 20px;
}

.ftl-input-section h2,
.ftl-output-section h2,
.ftl-preview-section h2 {
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

/* 控制按钮 */
.ftl-controls {
    margin: 20px 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.ftl-controls .button {
    margin: 0 10px;
}

.ftl-option {
    margin-left: 20px;
    display: flex;
    align-items: center;
}

.ftl-option input[type="checkbox"] {
    margin-right: 5px;
}

/* 帮助区域 */
.ftl-help-section {
    margin-top: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-left: 4px solid #0073aa;
}

/* 预览区域 */
.ftl-preview-section {
    margin-top: 20px;
    background: #fff;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 3px;
}

#ftl-preview-container {
    min-height: 300px;
    background: #fff;
}

#ftl-preview-frame {
    width: 100%;
    min-height: 300px;
    border: 1px solid #eee;
    background: #fff;
}

/* 响应式设计 */
@media screen and (max-width: 782px) {
    .ftl-converter-container {
        padding: 10px;
    }
}

/* WordPress 按钮样式覆盖 */
.wrap .button {
    display: inline-block;
    text-decoration: none;
    font-size: 13px;
    line-height: 2.15384615;
    min-height: 30px;
    margin: 0;
    padding: 0 10px;
    cursor: pointer;
    border-width: 1px;
    border-style: solid;
    -webkit-appearance: none;
    border-radius: 3px;
    white-space: nowrap;
    box-sizing: border-box;
}

.wrap .button-primary {
    background: #0073aa;
    border-color: #0073aa;
    color: #fff;
    text-decoration: none;
    text-shadow: none;
}

.wrap .button-primary:hover {
    background: #005177;
    border-color: #005177;
    color: #fff;
}

/* 文本区域样式 */
.wrap textarea.large-text {
    width: 100%;
    font-family: monospace;
    font-size: 14px;
    line-height: 1.5;
}

/* 确保前端页面中的WordPress管理样式 */
.wrap {
    margin: 10px 20px 0 2px;
}

.wrap h1 {
    font-size: 23px;
    font-weight: 400;
    margin: 0;
    padding: 9px 0 4px;
    line-height: 1.3;
} 