/* 全局样式 */
body {
    font-family: 'Roboto', sans-serif; /* 使用更现代的字体*/
    background-image: url('../bj.jpg'); /* 修改背景图片路径 */
    background-size: cover;
    background-repeat: no-repeat;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: relative;
    background-color: #f4f4f4; /*添加背景色，使页面更柔和*/
}

.mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    z-index: -1;
}

/* 表单样式 */
form {
    text-align: center;
    margin-bottom: 20px;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /*添加阴影效果*/
}

input[type="text"] {
    padding: 10px;
    width: 300px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 10px;
}

input[type="submit"],
button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #4CAF50; /*更鲜艳的按钮颜色*/
    color: white;
    cursor: pointer;
    margin: 5px;
    transition: background-color 0.3s ease; /*添加过渡效果*/
}

input[type="submit"]:hover,
button:hover {
    background-color: #45a049; /*悬停时的按钮颜色*/
}

/* 表格样式 */
table {
    border-collapse: collapse;
    width: 100%;
    max-width: 800px;
    margin-bottom: 20px;
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /*添加阴影效果*/
}

table,
th,
td {
    border: 1px solid #ccc;
}

th,
td {
    padding: 10px;
    text-align: left;
}

th {
    background-color: #f0f0f0; /*表头背景色*/
}

#all-results-table {
    display: none;
    background-color: rgba(255, 255, 255, 0.7); /*明确设置显示所有内容表格的背景色*/
}