/* ============ 简繁体转换 - 工具特有样式 ============ */
/* 通用样式（卡片,按钮,分隔线,info-box,form-textarea,tabs 等）已由 common.css 统一提供 */

/* ---- 容器 ---- */
#jianti-container {
    margin-bottom: 15px;
}

/* ---- 左右两栏 flex 布局 ---- */
#jianti-container > .section-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

#jianti-container > .section-row > .settings-card,
#jianti-container > .section-row > .preview-card {
    flex: 1;
    margin-top: 0;
    margin-bottom: 0;
}

/* ---- 按钮居中容器 ---- */
.btn-container-center {
    display: flex;
    justify-content: center;
    padding: 8px 0;
}

/* ---- 字符统计 ---- */
.sort-stats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
    padding: 10px 14px;
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: 8px;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.8;
}

.sort-stats strong {
    color: #374151;
    font-weight: 600;
}

/* ---- 结果区 ---- */
.result-area {
    padding: 12px 0;
}

/* ---- 结果文本输出 ---- */
.result-text-output {
    min-height: 200px;
    max-height: 400px;
    overflow-y: auto;
    padding: 16px;
    background: #fafbfc;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.result-text-output:hover {
    border-color: #c4b5fd;
}

.result-content {
    font-size: 16px;
    line-height: 1.8;
    color: #1f2937;
    white-space: pre-wrap;
    word-break: break-all;
    word-wrap: break-word;
}

/* ---- 结果统计 ---- */
.result-stats {
    margin-top: 12px;
    padding: 10px 14px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    font-size: 13px;
    color: #166534;
    text-align: center;
}

/* ---- 响应式 ---- */
@media (max-width: 768px) {
    #jianti-container > .section-row {
        flex-direction: column;
    }
}
