/* 主容器 */
.pinyin-tool {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 24px;
    margin-bottom: 24px;
    width: 100%;
    box-sizing: border-box;
}

/* 标题 */
.tool-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
    display: flex;
    align-items: center;
}

/* 输入区域 */
.input-box {
    border: 1px solid #e5e7eb;
    border-radius: 6px 6px 0 0;
}
.input-wrapper {
    padding: 12px;
    border-top: 1px solid #e5e7eb;
}
.input-content {
    width: 100%;
    height: 192px;
    overflow-y: auto;
    outline: none;
    padding: 4px 0;
    box-sizing: border-box;
}

/* 按钮组 */
.btn-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-top: none;
    background-color: #f9fafb;
    border-radius: 0 0 6px 6px;
}
.btn {
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-success {
    background: #00c853;
    color: #fff;
}
.btn-success:hover {
    background: #00b84a;
}
.btn-default {
    background: #f3f4f6;
    color: #374151;
}
.btn-default:hover {
    background: #e5e7eb;
}

/* 选项组 */
.option-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-left: 8px;
}
.option-item {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    font-size: 14px;
    color: #374151;
}
.option-item input {
    width: 16px;
    height: 16px;
    accent-color: #00c853;
}

/* 结果区域 */
.result-box {
    margin-top: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
}
.result-header {
    padding: 8px 12px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
    color: #6b7280;
}
.result-content {
    padding: 12px;
    min-height: 48px;
    overflow-y: auto;
    outline: none;
    color: #1f2937;
}

/* 自定义滚动条 */
.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}