body {
    font-family: Arial, sans-serif;
    margin: 20px;
    background-color: #f4f4f9;
    color: #333;
}

h1 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 20px;
}

p {
    text-align: center;
    color: #666;
}

.input-container {
    display: grid;
    gap: 15px;
    margin-bottom: 20px;
}

.input-group {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.input-group label {
    font-weight: bold;
    color: #2c3e50;
    margin-right: 10px;
}

.input-group input {
    width: 100px;
    padding: 8px;
    margin-right: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    background-color: #3498db;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #2980b9;
}

.result {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.result h2 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.result ul {
    list-style-type: none;
    padding: 0;
}

.result li {
    margin-bottom: 10px;
    padding: 10px;
    background: #ecf0f1;
    border-radius: 4px;
}

.style1 {
    color: #0000FF;
    font-weight: bold;
}

/* 新增复制和删除按钮样式 */
.input-group button {
    padding: 6px 12px; /* 缩小按钮尺寸 */
    font-size: 14px;
    margin-left: 5px; /* 添加按钮间距 */
}

.input-group button:nth-of-type(1) {
    background-color: #2ecc71; /* 复制按钮颜色 */
}

.input-group button:nth-of-type(1):hover {
    background-color: #27ae60;
}

.input-group button:nth-of-type(2) {
    background-color: #e74c3c; /* 删除按钮颜色 */
}

.input-group button:nth-of-type(2):hover {
    background-color: #c0392b;
}