* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 15px;
  }
}

body {
  margin-bottom: 60px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f0f0f0;
}

/* 基础组件 */
.btn {
    background-color: darkgreen !important;
    color: white !important;
    margin: 0 2px !important;
}

.btn:hover, .btn:active {
    background-color: #198754 !important;
    color: white !important;
}
select, input {
    padding: 5px;
    margin: 2px;
    border: 1px solid darkgreen;
    border-radius: 4px;
    box-sizing: border-box;
    background-color: #f0f0f0;
}
.toolbar select, .toolbar input {
    padding: 3px;
    margin: 2px;
    border: 1px solid darkgreen;
    border-radius: 4px;
    box-sizing: border-box;
    background-color: #f0f0f0;
}

.data {
    width: 110px;
}
input[type="submit"] {
    background-color: darkgreen;
    color: white;
    width: 150px;
}
input[type="submit"]:hover, input[type="submit"]:visited {
    background-color: #198754;
    color: #ddd;
}

input[type="radio"] {
    margin-right: 5px;
} 

label:has([type="radio"]) {
    margin-right: 20px;
}

ul.ul1 {
  display: flex;
  flex-wrap: wrap; /* 核心：允许换行（默认是 nowrap 不换行）  list-style: none;  */
  list-style:decimal;
  padding: 0;       
  margin: 0;        
  gap: 5px; 
  margin-bottom: 0 !important;
}
ul.ul2 {
  display: flex;
  flex-wrap: wrap; /* 核心：允许换行（默认是 nowrap 不换行）  list-style: none;  */
  list-style:none;
  padding: 0;       
  margin: 0;        
  gap: 5px; 
  margin-bottom: 0 !important;
}

.ul1 li{
  margin: 0 20px;
}
.ul2 li {
  margin: 0 ;
}
.ul2 a {
  margin-right: 20px ;
}

/* 主体布局 */
.main-container {
  display: flex;
  margin-top: 0;
  min-height: calc(100vh - 60px);
  background-color: #f0f0f0;
}

.container1 {
  margin: 20px 50px;
}
.container1-head {
  padding: 20px 0;
}
/* 左侧菜单 */
.sidebar {
  width: 180px;
  position: relative;
  float: left;
  overflow-y: auto;
}

.account-info {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content:center;
  gap: 10px;
  background-color: black;
  color: white;
}

.account-edit {
  color: yellow;
  cursor: pointer;
}

.account-logout {
  width: 30px;
  height: 30px;
  background-color: darkgreen;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu, .sub-menu {
  list-style: none;
  padding: 0;
  background-color: #fff;
}

.menu-item {
  border-top: 1px solid #ddd;
  padding: 8px 0;
}

.menu-item span {
  padding-left: 20px;
  margin: 5px 0;
}

.myhome {
  color: darkblue;
  cursor: pointer;
  padding-left: 20px;
  margin-bottom: 5px 0;
}

.myhome:hover, .myhome.active {
  color: green;
  box-shadow: inset 0 2px 8px darkgreen;
}

.sub-menu-item {
  color: darkblue;
  cursor: pointer;
  padding-left: 50px ;
  margin: 8px 0;
}

.sub-menu-item:hover,
.sub-menu-item.active {
  color: green;
  box-shadow: 0 2px 8px darkgreen;
}

/* 右侧内容 */
.content {
  position: relative;
  float: left;
  overflow-y: auto;
  padding: 15px;
  flex: 1;
}

.sub-content {
  padding: 10px 20px;
  background-color: white;
  margin: auto;
}

/* 搜索框 */
.toolbar, .upload {

  display: flex; 
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  align-items: center;
  position: relative;
  padding-bottom: 10px;
}

.tool-group {
  margin-right: 20px;
}

/* .tool-group select,
.tool-group input[type="text"] {
    width: 100px;
    padding: 7px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

*/

.short {
  width: 80px !important;
} 

/* 批量上传 */
.card {
  min-height: 700px;
  margin: auto;
  padding: 30px 50px;
  background-color: #fff;
  border: none !important;
}
.card-head {
  display: flex;
  align-items: center;
  justify-content: left;
}
.card-content {
  padding: 20px 0;
  align-items: center;
  justify-content: left;
}
.upload {
  display: flex;
  gap: 20px;
}
.upload .msg {
  color: red;
  margin-left: 0;
}
.upload-info {
  display:none;
  gap:10px;
  padding: 10px 0;
}
.upload-info ul {
  display: flex; 
  flex-wrap: wrap;
  column-gap: 40px;
}
.upload-info li {
   list-style-type: disclosure-closed;
}
.error-info {
  display: flex; 
  flex-wrap: wrap;
  justify-content: flex-start;
  gap:10px;
  padding: 5px 0;
  font-size: 12px;
}
.error-info span {
  padding: 0 2px;
  border:1px dashed red;

  color: #474545
}

/* 表单 */
form {
  min-width: 300px;
  max-width: 500px;
  padding: 30px 50px;
  background-color: #fff;
  border-radius: 4px;
}

.form-head {
    display: flex;
    align-items: center;
    justify-content: left;
}
.form-content {
  padding: 20px 0;
  align-items: center;
  justify-content: left;
  justify-items: center;
}
.form-foot {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-items: center;
}

.form-group {
    display:flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 5px 0;
    margin: 5px auto;
    height: 55px;
}
.form-group input {
    padding: 5px !important;
}
.login-group input {
    padding: 8px !important;
    margin: 3px auto;
}
form span {
  width: 70px;
}

.msg {
    color:red;
    display: flex;
    justify-content: center;
    align-items: end;
    margin: auto auto;
    height:30px;
}

.msg2 {
    color:red;
    margin-left: 10px;

}

/* 弹框 */
.modal {
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: fixed;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
    display: none;
}

.overlay {
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0,0,0,0.7);
    z-index: 4000;
    position: fixed;
}

.dialog {
    max-width: 500px;
    width: auto;
    padding: 20px 50px;
    margin: 100px auto;
    position: relative;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px darkgreen;
    z-index: 5000;
}

.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.dialog-close {
  color: darkgreen;
  cursor: pointer;
  font-size: 20px;
}

.dialog-content {
  margin: 0 auto;
}

.dialog span {
  width: 70px;
}

.dialog-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
}

thead th {
  background-color: darkgreen !important ;
  color: white !important;
  border: none;
}

.detail-view {
  background-color: #f0f0f0 !important;
}
.taskimg {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content:left;
  gap: 5px;
}
.taskimg img {
    object-fit: cover; 
    height: 100px;
    display: block;
}
.inner-table {
  text-align: center;
  margin: 3px 10px;
  float: left;
}

.t-200 {
  width: 200px;
}
.t-300 {
  width: 300px;
}
.t-400 {
  width: 400px;
}
.t-3 {
  width: 30%;
}
.t-4 {
  width: 40%;
}
.t-5 {
  width: 50%;
}
.t-6 {
  width: 60%;
}
.inner-table tr {
  padding:3px 0;  
  border:1px dashed;
}

