body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f9;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
}

h3 {
    color: #333;
    margin-bottom: 20px;

}

label {
    font-size: 8px;
    color: #555;
    margin-bottom: 5px;

}

/* 将输入框和按钮放在一行 */
.input-group {
    align-items: center;
    width: 80%;
    margin: 0 auto;
    text-align: center;
}

input,
button {
    margin: 10px;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

button {
    background-color: #007BFF;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

#result {
    /* 新增样式使结果区域居中 */
    display: flex;
    justify-content: center;
    width: 90%;
    background: #fff;
    margin: 20px auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 0px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #007BFF;
    color: white;
}

tr:hover {
    background-color: #f5f5f5;
}