body{
  background-color: #000;
  background-color: #f0f0f0;
  font-family: Arial, sans-serif;
}
*{
  margin: 0;
  padding: 0;
}
/* 底部操作栏 */
.bottom-action{
  display: flex;
  align-items: center;
  gap: 10px;
  position: fixed;
  bottom: 5px;
  right: 5px;
  padding: 5px;
  border: 1px solid #404040;
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(233, 233, 233, 0.1);
  background-color: #040000;
}
.main-wrap{
  display: none;
}
.main{
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 30px;
}
.active{
  position: fixed;
  color: red;
  top: 30px;
  left: auto !important;
  top: auto !important;
  width: 50px;
  font-size: 14px;
  padding: 5px;
  margin: 0;
  bottom: 5px;
  right: 5px;
}
#result, #resultList{
  color: #fff;
  text-align: center;
}
#result{
  display: none;
}

#resultList {
  max-height: 60vh;
  overflow-y: auto;
  list-style-type: none;
  padding: 0;
}
#resultList li {
  padding: 5px 0;
}

/* 登录表单
 */

 body {
  background-color: #222223;
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: 100vh;
  margin: 0;
  overflow: hidden; /* 防止滚动 */
}

#login {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  width: 300px;
  text-align: center;
  margin-top: 100px;
}

.title {
  font-size: 24px;
  color: #001529;
  margin-bottom: 20px;
}

label {
  display: block;
  text-align: left;
  margin: 10px 0 5px;
  color: #333;
  font-weight: bold;
}

input[type="text"],
input[type="password"],
button {
  width: 280px; /* 确保它们的宽度一致 */
  padding: 12px;
  margin: 10px 0;
  border-radius: 5px;
  font-size: 16px;
}

input[type="text"],
input[type="password"] {
  border: 1px solid #ddd;
}

input[type="text"]:focus,
input[type="password"]:focus {
  border-color: #001529;
  outline: none;
  box-shadow: 0 0 5px rgba(0, 21, 41, 0.5);
}

button {
  background-color: #0665c0;
  border: none;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s;
  margin: 15px auto 0;
}

button:hover {
  background-color: #00274d; /* 更深的蓝色 */
}

/* 文字样式 */
.examiner {
  margin-right: 15px;
  font-weight: bolder;
  color: #b6b3b3;
}
.kaoguan{
  margin-right: 15px;
  color: rgb(182, 182, 182);
}
#resultList {
  max-height: 200px; /* 设置最大高度以便有可能出现滚动 */
  overflow-y: hidden; /* 隐藏垂直滚动条 */
  overflow-x: hidden; /* 隐藏水平滚动条 */
}

/* 隐藏滚动条的样式（适用于WebKit浏览器） */
#resultList::-webkit-scrollbar {
  display: none; /* 隐藏滚动条 */
}

#btn_logout {
  background-color: #f44336; /* 红色背景 */
  color: white; /* 白色文字 */
  border: none;
  border-radius: 5px;
  padding: 5px 10px;
  cursor: pointer;
  margin: 3px;
}

#btn_logout:hover {
  background-color: #d32f2f; /* 悬停时稍微变暗 */
}
#btn_login{
  width: 304px;
}
.admin{
  margin-top: 15px;
  margin-bottom: -10px;
  text-align: right;
}
.admin:hover{
  cursor: pointer;
  color: #d32f2f;
  /* 下划线 */
  text-decoration: underline;
}

.language{
  color: #fff;
}
.language select {
  padding: 5px 15px;
  border: 1px solid #444;
  border-radius: 6px;
  background-color: #2d2d2d;
  color: #e0e0e0;
  font-size: 14px;
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e0e0e0'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 16px;
  padding-right: 30px;
  width: 80px;
}

.language select option {
  background-color: #2d2d2d;
  color: #e0e0e0;
  padding: 8px 12px;
}

#range{
  width: 300px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

#range:hover {
  background-color: #e0e0e0; /* 悬停时稍微变暗 */
}

/* 下拉框 */
#select_language {
  padding: 5px 15px;
  border: 1px solid #444;
  border-radius: 6px;
  background-color: #2d2d2d;
  color: #e0e0e0;
  font-size: 14px;
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease;
}

#select_language:hover {
  border-color: #666;
  background-color: #3a3a3a;
}

#select_language:focus {
  border-color: #4a90e2;
  box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.3);
}
