/* 统一设置默认字体样式 */
body {
  height: 120vh;
  width: auto;
  overflow: auto;
  background-image: linear-gradient(125deg, #F44336, #E91E63, #9C27B0, #3F51B5, #2196F3);
  background-size: 400%;
  font-family: "montserrat";
  animation: bganimation 10s infinite;
  color:white;
}
@keyframes bganimation {
0% {
    background-position: 0% 50%;
}

50% {
    background-position: 100% 50%;
}

100% {
    background-position: 0% 50%;
}
}
/* 设置导航栏背景颜色、链接颜色和激活链接颜色 */
.navbar {
background-color: #ED1B24;
color: #f3ecec;
}

.navbar a {
color: #eee;
}

.navbar a:hover {
color: #fff;
}



/* 设置输入框的样式 */
.form-control {
background-color: #f8f9fa;
color: #495057;
border-color: #ccc;
}

/* 设置输入框的鼠标悬浮样式和输入框聚焦时的样式 */
.form-control:hover,
.form-control:focus {
background-color: #e9ecef;
color: #495057;
border-color: #ccc;
}

/* 添加 footer 样式 */
.footer {
position: absolute;
bottom: 0;
width: 100%;
height: 60px;
background-color: #f5f5f5;
line-height: 60px;
text-align: center;
}

/* 根据屏幕尺寸调整表格字体大小和行高 */

@media screen and (max-width: 767px) {
table {
  font-size: 12px;
}
}
.table-container {
max-height: 450px;
overflow: auto;
}
/* 设置表格样式 */
.table {
width: calc(100% - 10px);
margin-top: 20px;
background-color: white;
color: #000;
border-radius: 4px;
border: none;
box-shadow: 0 2px 0 rgba(0, 0, 0, 0.03); /*添加阴影效果*/
margin-right: 10px;
}

.table th,
.table td {
padding: 8px;
text-align: center;
border: none; /* 将颜色为 #ddd 的边框去掉 */
}

.table th {
padding-top: 12px;
padding-bottom: 12px;
text-align: center;
background-color: #333333;
color: white;
/* border-top: none;
border-right: 1px solid #ddd;
border-bottom: 1px solid #ddd; */
}

tr:hover {background-color: #333333;}
.table td {
background-color: rgb(245, 241, 241);
border: 1px solid #ddd;
padding: 8px;
/* border-top: none;
border-right: 1px solid #ddd;
border-bottom: 1px solid #ddd; */
}
.table tr:hover td { /* 鼠标悬停时改变背景颜色 */
background-color: #f5f5f5;
}
/* 添加输入框无法获得焦点时的样式（移动端） */
.input-group-addon {
background-color: #f8f9fa;
color: #495057;
border-color: #ced4da;
}
.form-group.scrollable {
overflow-y: auto;
max-height: 300px;
}
.form-group {
line-height: 2;
}
/* 添加输入框无法获得焦点时的样式：鼠标悬浮和聚焦（移动端） */
.input-group-addon:hover,
.input-group-addon:focus {
background-color: #e9ecef;
color: #495057;
border-color: #ced4da;
}

.btn {
background-color: #ED1B24;
border: 1px solid #fff;
border-radius: 0;
box-shadow: none;
color: #ffffff;
font-size: 16px;
font-weight: 400;
text-transform: uppercase;
padding: 5px 24px;
margin-top: 15px;
transition: all 0.3s ease 0s;
text-decoration: none;
}
.btn:hover {
background-color: #333333;
color: #ffffff;
}
.text-right {
display: inline-block;
direction: rtl; /* 这里的 rtl 表示从右到左 */
}

.thanks {
max-width: 200px;
/* max-height: 200px; */
display: block;
margin: 0 auto;
}

.truncate {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 90%; /* 或者您可以加一个更合适的宽度百分比 */
}
select {
text-align: right;
}