body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
h2 {
    text-align: center;
    color: #3399FF;
    margin-top: 20px;
}
h6 {
    text-align: center;
    color: #343a40;
    margin-top: 5px;
}
.container {
    padding: 10px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 10px 10px 10px 10px;
    max-width: 99%;
}
.form-group {
    margin-bottom: 15px;
}
.btn-analyze {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    transition: background-color 0.3s;
}
.btn-analyze:hover {
    background-color: #0056b3;
}
table {
    width: 100%;
    margin-top: 10px;
    border-collapse: collapse;
}
table th, table td {
    border: 1px solid #dee2e6;
    padding: 8px;
    text-align: center;
}
table th {
    background-color: #f1f1f1;
}
.result-info-div {
    margin-top: 30px;
}
.form-control {
    display: inline-block;
    width: auto;
    border-radius: 5px;
    border: 1px solid #ced4da;
    padding: 5px 10px;
    transition: border-color 0.3s;
}
.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}
.object-score {
    width: 65px;
    text-align: center;
}
.object-people {
    width: 100%;
    text-align: center;
}
.scores {
    width: 100%;
    text-align: center;
}
.scores-long {
    width: 100%;
}
.my-span{
    font-size: 12px;
    color: gray;
}
#progress {
  width: 0%;
  height: 3px;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #29d;
  z-index: 99;
  transition: width 0.2s ease-out;
}
.loading-overlay {
    display: none; /* 默认隐藏 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 1050; /* 确保在所有元素之上 */
    justify-content: center;
    align-items: center;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
#myAlert {
    position: fixed;
    top: 45%;
    left: 50%;
    width: 350px;
    height: 120px;
    display: none;
    z-index: 1025;
    justify-content: center;
    align-items: center;
    transform: translate(-50%, -50%);
    background-color: #FFFFFF;
    border-radius: 10px;
}
.alert-content {
    background-color: #FFFFFF;
    width: 350px;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}
#alert-title {
    font-size: 16px;
    margin-bottom: 10px;
}
#alert-message {
    margin-bottom: 20px;
}
#alert-ok {
    padding: 5px 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}
#opacity_bg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: #000;
    opacity: 0.6;
    margin: auto;
    z-index: 1024;
    display: none;
}
.float-button-home {
    padding-bottom: 5px;
    position: fixed;
    top: 45px;
    right: 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background-color 0.3s;
}
.float-button-home:hover {
    background-color: #0056b3;
}
.float-button-history {
    padding-bottom: 5px;
    position: fixed;
    top: 45px;
    right: 80px;
    background-color: #FF9900;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background-color 0.3s;
}
.float-button-history:hover {
    background-color: #FF9933;
}
footer {
    background-color: white; /* 设置footer背景为白色 */
    color: black; /* 设置footer文字为黑色 */
    padding: 10px 0; /* 调整内边距，使footer看起来更简洁 */
    border-top: 1px solid #ddd; /* 添加顶部边框，用于分隔内容区和footer */
    width: 100%; /* 确保footer宽度与页面宽度一致 */
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1); /* 添加阴影效果，使footer与页面内容有所区分 */
}

.footer-container {
    /* 为footer内容容器添加样式 */
    max-width: 800px; /* 限制最大宽度，使内容居中 */
    margin: 0 auto; /* 居中显示 */
    text-align: center;
}

footer p {
    margin: 0; /* 移除段落默认的上下边距 */
}