.tool-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 20px;
    font-family: "Microsoft YaHei", Arial, sans-serif;
    color: #333;
}
.tool-title {
    font-size: 26px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
    color: #222;
}
.tool-desc {
    text-align: center;
    color: #666;
    margin-bottom: 35px;
    font-size: 15px;
}
.card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 28px;
    margin-bottom: 25px;
    border: 1px solid #eee;
}
.form-group {
    margin-bottom: 22px;
}
.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 15px;
}
.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #dcdfe6;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s;
    box-sizing: border-box;
    resize: vertical;
    min-height: 120px;
}
.form-control:focus {
    border-color: #409eff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(64,158,255,0.1);
}
.tip {
    font-size: 12px;
    color: #909399;
    margin-top: 6px;
}
/* 顶部行内输入 */
.row-inline {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.inline-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.inline-item label {
    font-size: 14px;
    color: #333;
    white-space: nowrap;
}
.inline-input {
    width: 70px;
    height: 34px;
    padding: 0 8px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    font-size: 14px;
}
.quick-btn {
    padding: 6px 12px;
    background: #f5f7fa;
    border: 1px solid #e4e7ed;
    border-radius: 4px;
    margin-right: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    font-size: 13px;
}
.quick-btn:hover {
    background: #e9edf2;
}
.btn-group {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}
.btn {
    flex: 1;
    height: 42px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
}
.btn-primary {
    background: #409eff;
    color: #fff;
}
.btn-primary:hover {
    background: #338eef;
}
.btn-default {
    background: #f5f7fa;
    color: #666;
    border: 1px solid #e4e7ed;
}
.btn-default:hover {
    background: #e9edf2;
}
.result-box {
    background: #fafbfc;
    border: 1px solid #f0f2f5;
    border-radius: 8px;
    padding: 15px;
    min-height: 120px;
    white-space: pre-wrap;
    word-break: break-all;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 10px;
}
.result-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
}
@media (max-width: 768px) {
    .btn-group {
        flex-direction: column;
    }
    .card {
        padding: 20px;
    }
}