
.tool-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

.tool-title {
    text-align: center;
    margin-bottom: 35px;
}

.tool-title h1 {
    font-size: 30px;
    color: #222;
    margin-bottom: 10px;
    font-weight: 700;
}

.tool-title p {
    font-size: 16px;
    color: #666;
}

/* 输入输出框 */
.input-box, .output-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 20px;
    margin-bottom: 20px;
}

textarea {
    width: 100%;
    min-height: 220px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    font-size: 15px;
    line-height: 1.6;
    resize: vertical;
    outline: none;
    transition: all 0.3s;
}

textarea:focus {
    border-color: #2d8cf0;
    box-shadow: 0 0 0 2px rgba(45,140,240,0.15);
}

/* 按钮栏 */
.action-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.btn {
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

.btn-clear-tag {
    background: #e6f2ff;
    color: #2d8cf0;
    border: 1px solid #b3d8ff;
}

.btn-clear-tag:hover {
    background: #d4eaff;
}

.btn-example {
    background: #f5f7fa;
    color: #515a6e;
    border: 1px solid #e4e7ed;
}

.btn-example:hover {
    background: #e9eef5;
}

.btn-copy {
    background: #e6f9e9;
    color: #2da44e;
    border: 1px solid #b8e9c3;
}

.btn-copy:hover {
    background: #d4f4dc;
}

.btn-clear {
    background: #ff4d4f;
    color: #fff;
}

.btn-clear:hover {
    background: #ff7875;
}

/* 选项 */
.options-group {
    display: flex;
    gap: 25px;
    align-items: center;
}

.option-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 15px;
    color: #333;
}

.option-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #2d8cf0;
    appearance: checkbox !important;

}

/* 提示框 */
.tip-box {
    background-color: rgba(45, 140, 240, 0.12);
    border: 1px solid rgba(45, 140, 240, 0.3);
    border-radius: 12px;
    text-align: center;
    padding: 15px;
    margin-top: 15px;
    display: none;
}

.tip-box p {
    color: #2d8cf0;
    font-size: 15px;
}