.tool-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 26px;
    background: #fff;
}
/* 筛选配置区域排版优化 */
.config-wrap {
    background: #f5f8ff;
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 22px;
}
.config-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
    margin-bottom: 14px;
}
.config-row:last-child {
    margin-bottom: 0;
}
.config-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.config-item label {
    font-size: 14px;
    color: #333;
    white-space: nowrap;
}
.config-item input[type="text"],
.config-item select {
    padding: 8px 12px;
    border: 1px solid #dce1ec;
    border-radius: 7px;
    font-size: 14px;
    min-width: 140px;
}
.config-item input[type="checkbox"] {
    appearance: checkbox !important;
    -webkit-appearance: checkbox !important;
    width: 16px;
    height: 16px;
    margin: 0;
}
/* 上下布局 输入输出框 */
.main-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.box-title {
    font-size: 15px;
    color: #222;
    margin: 0 0 12px;
    font-weight: 500;
}
textarea {
    width: 100%;
    height: 320px;
    padding: 13px;
    border: 1px solid #e5e7eb;
    border-radius: 9px;
    font-family: Consolas,Monaco,monospace;
    font-size: 13px;
    line-height: 1.6;
    box-sizing: border-box;
    resize: vertical;
    background: #fafbfc;
}
textarea:focus {
    outline: none;
    border-color: #2d8cf0;
    box-shadow: 0 0 0 3px rgba(45,140,240,0.12);
    background: #fff;
}
.btn-group {
    margin: 20px 0;
}
.btn {
    padding: 9px 20px;
    border: none;
    border-radius: 7px;
    font-size: 14px;
    cursor: pointer;
    margin-right: 12px;
    transition: all 0.2s;
}
.btn-gen {
    background-color: #2d8cf0;
    color: #fff;
}
.btn-gen:hover {
    background-color: #2379d9;
}
.btn-format {
    background-color: #9368e9;
    color: #fff;
}
.btn-format:hover {
    background-color: #8254d8;
}
.btn-copy {
    background-color: #67c23a;
    color: #fff;
}
.btn-copy:hover {
    background-color: #56ad2e;
}
.btn-clear {
    background-color: #f56c6c;
    color: #fff;
}
.btn-clear:hover {
    background-color: #e25555;
}
.tips-box {
    margin-top: 18px;
    padding: 12px 16px;
    background: #f0f7ff;
    border-radius: 8px;
    font-size: 13px;
    color: #555;
    line-height: 1.7;
}
.status-tip {
    margin-top: 10px;
    font-size: 13px;
    height: 22px;
    line-height: 22px;
}
.success-text {
    color: #19943e;
}
.error-text {
    color: #d83232;
}