
html,body {margin: 0;background-color: #e2eefe;overflow-y: hidden;}
* {box-sizing: border-box;}

/**
 * 顶部栏 
 */
.admin-header {width: 100%;height: 40px;background: #2968ed;color: white;padding: 0 20px;position: fixed;top: 0;left: 0;}
#imgLogo {display: block;width: 30px;height: 30px;margin-top: 5px ;margin-left: 0px;float: left;}
.title-yangpin {display: block;font-size: 16px;margin-left: 10px;margin-top: 11px;float: left;}
.login {display: block;border:1px solid white;border-radius: 4px;width:105px;height:26px;font-size: 14px;margin-top: 9px;text-align: center;padding: 3px 10px;cursor: pointer;transition: background-color 0.3s;float: right;;margin-left: 15px}
.login:hover {background-color: white;color: #324faf;}
.contact-icon {margin-right: 5px;vertical-align: middle;}
#iconChat {vertical-align: middle;}
/* 联系我们弹窗 */
.lianxiwomen-1 {width: 260px;height:260px;border: 1px solid #efefef;position: fixed;top: 41px;right: 20px;background-color: white;border-radius: 5px;box-shadow: 0 1px 1px 0 rgba(0,0,0,0.2);text-align: center;display: none;z-index: 1003;}
.lianxiwomen-2 {width: 245px;height: 200px;margin: auto;display: block;}
.lianxiwomen-3 {width: 150px;height: 150px;margin: auto;margin-top: 15px;}
.lianxiwomen-4 {font-size: 14px;display: block;}

/* 主体内容 */
.admin-main {display: flex;margin-top:40px;min-height: calc(100vh - 40px);}
.footer-1 {font-size: 16px;}
.footer-2 {font-size: 14px;}

/* 侧边栏 */
.admin-sidebar {width: 180px;background: #4560ad;overflow-y: auto;scrollbar-width: none;padding-top: 20px;padding-bottom: 50px;position: fixed;height: calc(100vh - 40px);}
.sidebar-list {background-color: #324faf;width: 180px;margin: auto;border-radius: 10px;padding: 20px 0px;max-height: 450px;overflow-y: scroll;}
/* 自定义滚动条样式 - Webkit 浏览器（Chrome、Edge、Safari） */
.sidebar-list::-webkit-scrollbar {width: 5px; /* 滚动条宽度 */}
.sidebar-list::-webkit-scrollbar-track {background-color: #415bb1; /* 滚动条轨道颜色 */border-radius: 4px;}
.sidebar-list::-webkit-scrollbar-thumb {background-color: #ccc; /* 滚动条滑块颜色 */border-radius: 4px;}
.sidebar-list::-webkit-scrollbar-thumb:hover {background-color: #ddd; /* 鼠标悬停颜色 */}
.sidebar-1 {background-color: #324faf;width: 180px;margin: auto;border-radius: 10px;padding: 10px 0px;margin-top: 15px;text-align: center;}
.sidebar-2 {
  display: inline-block;
  padding: 8px 28px;
  background-color: #0056b3; /* 按钮背景色 */
  color: white;             /* 文字颜色 */
  border-radius: 4px;       /* 圆角 */
  cursor: pointer;          /* 鼠标手型 */
  font-size: 14px;
  transition: background-color 0.3s;
  margin: 5px 0px;
}



.pulsing-ripple-btn {
  position: relative;
  border: none;
  overflow: hidden;
}

/* 多层波纹动画 */
.pulsing-ripple-btn::before,
.pulsing-ripple-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border: 2px solid #ffffff;
  border-radius: 4px;
  opacity: 0;
  z-index: 1;
}

.pulsing-ripple-btn::before {
  animation: ripple-in 2s infinite;
}

.pulsing-ripple-btn::after {
  animation: ripple-in 2s infinite 1s; /* 错开时间 */
}

/* 波纹：从小变大，透明度降低 */
@keyframes ripple-in {
  0% {
    width: 70%;
    height: 70%;
    opacity: 1;
    border-color: #ffffff;
  }
  50% {
    width: 110%;
    height: 110%;
    opacity: 0.3;
    border-color: #ffffff;
  }
  100% {
    width: 130%;
    height: 130%;
    opacity: 0;
    border-color: #ffffff;
  }
}

.sidebar-2:hover {
  background-color: white; /* 悬停颜色 */
  color: #0056b3;
}
 


.height30 {height: 30px !important;}

/* 主体部分 */
.admin-content {flex: 1;padding: 15px;background-color: #e4eefc;margin-left: 180px;width: calc(100% - 170px);overflow-x: hidden;}
.show-page-search {display: block;width: 70px;height: 30px;line-height: 30px;text-align: center;border-radius: 6px;cursor: pointer;margin-left: 105px;padding:2px 20px;background-color: #007bff;color: white;font-size: 16px;position: absolute;top: 130px;right: 1.5%;z-index: 501;}
.show-page-search:hover {background-color: #0056b3;}
/*主体部分*/
.content-1 {background-color: #fafcff;border-radius: 5px;box-shadow: 0 1px 1px 0 rgba(0,0,0,0.2);display: flex;min-height: calc(100% - 65px);/* min-width: 1600px */;width:100%;position: relative;overflow: hidden;}

/**
 * 左侧大柜子 tc-new-content-5
*/
/* 柜子大图*/
.content-number {width: 320px;height:650px;vertical-align: top;display: inline-block;background-color: #fafcff;border-radius: 10px;margin:20px 10px;box-shadow: 0 2px 6px 0 rgba(0,0,0,0.2);padding: 7px 10px;}
.title-guizi {width: 100%;position: relative;}
.title-guizi-view {display: block;width: 280px;line-height: 30px;text-align: center;font-size: 14px;color: #1e40af;background-color: #e4effe;margin-left: 10px;border-radius: 5px;box-shadow: 0 1px 1px 0 rgba(0,0,0,0.2);}
.title-guizi-view2 {display: block;width: 280px;line-height: 30px;text-align: center;font-size: 14px;color: #1e40af;background-color: #e4effe;margin-left: 10px;border-radius: 5px;box-shadow: 0 1px 1px 0 rgba(0,0,0,0.2);position: absolute;left: 0;top: 0}
.content-big {width: 300px;height: 570px;}
.title-guizi-view3 {background-color: #007bff;color: white;line-height: 15px;padding: 3px 5px;cursor: pointer;}
.hide {display: none;}

/**
 * 左侧柜子列表
 */
.content {display: block;color:white;width: 130px;height:40px;border-radius: 5px;font-size: 14px;text-align: center;line-height: 40px;margin: 0 auto;margin-bottom: 15px;cursor: pointer;background-image: url(../img/icon-guizi-white.png);background-size: 20px 30px;background-repeat: no-repeat;background-position: 20px 5px;text-align: left;border: 2px solid #324faf;background-color: #4662b7;}
.content:hover {border: 2px solid #ddd;}
.content-left {margin-left: 50px;}
.content-tiger {background-color: #4662b7;;border: 2px solid #ddd;}



/**
 * 顶部搜索栏 
 */
.sousuos {width: 100%;height: 50px;background-color: #fafcff;border-radius: 5px;box-shadow: 0 1px 1px 0 rgba(0,0,0,0.2);padding: 10px 15px;margin-bottom: 10px;}
.sousuo-1 {display: inline-block;vertical-align: middle;}
.input-1 {display: inline-block;appearance: none;background-color: #eff6ff;border-radius: 5px;width:95%;height: 30px;line-height: 30px;border: 1px solid #bfdbfe;padding: 0;text-indent: 15px;outline: none;font-size: 15px;}
.icon-date {position: absolute;right: 5px;top: 45%;transform: translateY(-50%);font-size: 18px;pointer-events: none;}
/* 搜索栏 */
.btn-search {display: block;width: 90px;height: 30px;line-height: 30px;text-align: center;border-radius: 5px;cursor: pointer;margin-left: 105px;padding-left: 20px;background-image: url(../img/search.png);background-repeat: no-repeat;background-size: 25px 25px;background-position: 8px 3px;background-color: #007bff;color: white;font-size: 16px;}
.btn-search:hover {background-color: #0056b3;}
.search-close {display: block;width: 120px;height: 30px;line-height: 29px;text-align: center;border-radius: 5px;cursor: pointer;padding:2px 20px;background-color: #007bff;color: white;font-size: 16px;position: absolute;top: 0px;right: 20px;}
.search-close:hover {background-color: #0056b3;}
.tips-search {margin: auto;font-size: 16px;;}
.sousuo-2 {display: inline-block;background-color: #bfdbfe;border-radius: 5px;width:25px;height: 30px;line-height: 30px;border: 1px solid #bfdbfe;padding: 0;font-size: 15px;text-align: center;}
.radius-cutleft {border-top-left-radius: 0px;border-bottom-left-radius: 0px; ;}
.radius-cutright {border-top-right-radius: 0px;border-bottom-right-radius: 0px; ;}
.sousuo-3 {width: 30%;}

/* 容器设置 */
.grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 3fr 1fr;
  gap: 0px;
  box-sizing: border-box;
}
/* 子元素通用样式 */
.grid-item {
  display: flex;
  align-items: center;
  justify-content: center;
}


/* 搜索结果弹窗 */


.content-1 {}



.tc-search {min-height: calc(100% - 15px);/* width: calc(100% - 20px) */;width:100%;background-color: white;position: absolute;top: 0px;left: 0px;z-index: 501;}
/* .content-tc-search {width: 100%;} */
.search-seyang {display: inline-block;width: 90%;height: 60px;border-radius: 5px;box-shadow: 0 0 2px rgba(0,0,0,0.2);}

/* 搜索页进出效果 */
.tc-search {
  overflow: hidden;
  transition: transform 0.3s ease-in-out;
}
/* 初始状态：显示在左侧 */
.tc-search.open {
	/* display: block; */
  transform: translateX(0);
  transform: translateY(0);
}
/* 隐藏状态：滑出到右侧 */
.tc-search.closed {
  transform: translateX(100vw);
  transform: translateY(-100vh);
  /* display: none; */
}
/* 设置表格容器的样式 */
.table-container {
    width: calc(100% - 40px);
	/* width: 100%; */
    height: 580px; /* 固定高度 */
    overflow-x: hidden; /* 禁用横向滚动 */
    overflow-y: scroll; /* 强制显示垂直滚动条 */
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-top: 20px;
	margin-left: 20px;
}
/* 自定义滚动条样式 - Webkit 浏览器（Chrome、Edge、Safari） */
.table-container::-webkit-scrollbar {width: 5px; /* 滚动条宽度 */}
.table-container::-webkit-scrollbar-track {background-color: #efefef; /* 滚动条轨道颜色 */border-radius: 4px;}
.table-container::-webkit-scrollbar-thumb {background-color: #d1eef1; /* 滚动条滑块颜色 */border-radius: 4px;}
.table-container::-webkit-scrollbar-thumb:hover {background-color: #ddd; /* 鼠标悬停颜色 */}
/* 表格样式 */
.data-table {
    width: 100%; /* 表格宽度占满容器 */
    min-width: 100%;
    border-collapse: collapse;
    table-layout: fixed; /* 固定列宽，防止横向滚动 */
    font-size: 14px;
}
/* 表头样式 */
.data-table thead {
    background-color: #e4effe;
    position: sticky; /* 表头固定 */
    top: -2px;
    z-index: 10;
}
/* 单元格样式 */
.data-table th,
.data-table td {
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid #eee;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* 鼠标悬停时的背景色 */
.data-table tr:hover {
    background-color: #fafafa;
}
/* 分页控件样式 */
.pagination {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
	position: relative;
}
.pagination button {
    padding: 6px 12px;
    border: 1px solid #ccc;
    background-color: #fff;
    cursor: pointer;
    border-radius: 4px;
}
.pagination button:hover {
    background-color: #f0f0f0;
}
/* 鼠标放在格子上显示内容 */
.tooltip {
  position: absolute;
  background: #333;
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 91000;
  max-width: 300px;
  word-break: break-all;
}
.tooltip.show {
  opacity: 1;
  pointer-events: auto;
}
.btn {
  display: block;
  padding: 6px 6px;
  margin: 2px;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  color: #fff;
  background-color: #007bff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  user-select: none;
}
.quantity-change:hover {background-color: #0056b3;}
.btn.view {
  background-color: #007bff; /* 蓝色 */
  margin-bottom: 10px;
  display: block;
}
.btn.view:hover {
  background-color: #0056b3;
}
.btn.delete {
  background-color: #dc9fb1; /* 红色 */
  display: block;
}
.btn.delete:hover {
  background-color: #a71d2a;
}


/* 箱子缩略图 */
.xiangzis {width: 100%;height: 100%;position: relative;}
.xiangzi {width: 89px;height: 96px;position: absolute;background-color: white;cursor: pointer;border: 3px solid #bfdbfe;}
.xiangzi:hover {border: 2px solid #1e40af;/* scale: 1.05; */}
.xiangzi-tiger {border: 2px solid #1e40af;}
/* 箱子里有货 */
.kacao-view-have {background-color: #fdf9cf;}
.kacao-view-tiger {background-color: #fde7e8;}

/* 盒子大图 */
.hezi {width: 1100px;height: 700px;display: inline-block;margin-top: 20px}
.hezis {width: 100%;height:650px;background-color: #fafcff;border-radius: 5px;box-shadow: 0 2px 6px 0 rgba(0,0,0,0.2);padding: 20px 20px;}

/* 表格 */
.table-hezi {width: 100%;height: 320px;padding-right: 5px;}
table {border-collapse: collapse; margin:0;font-family: Arial, sans-serif;}
th, td {border: 1px solid #bfdbfe;padding: 0px; text-align: center; ;position: relative;}
.table-hezi th {background-color: #e4effe; width: 50px;color: #1e40af;font-size: 14px;}
.table-hezi thead th {height: 40px;}
.table-hezi th,td {height: 25px;}
.th-left {background-color: #e4effe;font-size: 14px;color: #1e40af;}
td {color: #333;cursor: pointer;}
td:hover {background-color: #e4effe;/* scale: 1.05; */}
.backcolor-red {background-color: #fde7e8;color: #991b1b;}
.backcolor-green {background-color: #E8F5E9;color: #777;}
/* 弹窗 */
.yangben-list {position: absolute;top: 20px;left: 10px;border:1px solid #bfdbfe;background-color: white;padding: 20px 20px;z-index: 50;display: none;border-radius: 10px;;box-shadow: 0 2px 6px 0 rgba(0,0,0,0.2);padding-right: 40px;}
.detail-yangben {display: block;color: #1e40af;}
.yangben-detaile {display: block;width: 240px;font-size: 18px;background-image: url(../img/dot.png);background-size: 8px 8px;background-repeat: no-repeat;text-indent: 20px;background-position: 0px 8px;color: #1e40af;}
.yangben-all {font-size: 16px;color: ##1e40af;}
.yangben-every {padding:10px 0px;border-bottom: 1px solid #1e40af;}

/* 右侧卡片详情 */
.tc-tishi {width: 160px;height: 670px;position: relative;vertical-align: top;display: inline-block;margin-right: 0px;background-color: #fafcff;border-radius: 10px;box-shadow:0 2px 6px 0 rgba(0,0,0,0.2);padding: 20px;margin-left: 85px;overflow-x: hidden;}
.tishi {width: 160px;height: 670px;position: absolute;}
.cards-detaile {display: block;;font-size: 14px;color: #1e40af;margin-bottom: 10px;}
.cards-all {width: 100%;height: 95%;overflow-x: hidden;overflow-y: scroll;}
/* 自定义滚动条样式 - Webkit 浏览器（Chrome、Edge、Safari） */
.cards-all::-webkit-scrollbar {width: 5px; /* 滚动条宽度 */}
.cards-all::-webkit-scrollbar-track {background-color: #fff; /* 滚动条轨道颜色 */border-radius: 4px;}
.cards-all::-webkit-scrollbar-thumb {background-color: #eee; /* 滚动条滑块颜色 */border-radius: 4px;}
.cards-all::-webkit-scrollbar-thumb:hover {background-color: #ddd; /* 鼠标悬停颜色 */}
.card-every {border-bottom: 1px solid #1e40af;margin-bottom: 20px;padding-bottom: 5px;}
.card-detail {font-size: 14px;color: #1e40af;display: block;text-align: left;}

/* 设置表格容器的样式(大盒子下方的格子内卡片列表界面) */
/* 表格样式 */
.cards-hezis {
	height: 255px;width: 1066px;
}
.cards-hezis {
    overflow-x: hidden; /* 禁用横向滚动 */
    overflow-y: scroll; /* 强制显示垂直滚动条 */
}
/* 自定义滚动条样式 - Webkit 浏览器（Chrome、Edge、Safari） */
.cards-hezis::-webkit-scrollbar {width: 5px; /* 滚动条宽度 */}
.cards-hezis::-webkit-scrollbar-track {background-color: #fff; /* 滚动条轨道颜色 */border-radius: 4px;}
.cards-hezis::-webkit-scrollbar-thumb {background-color: #eee; /* 滚动条滑块颜色 */border-radius: 4px;}
.cards-hezis::-webkit-scrollbar-thumb:hover {background-color: #ddd; /* 鼠标悬停颜色 */}

.gezi-data-table {
    width: 100%; /* 表格宽度占满容器 */
    min-width: 100%;
    border-collapse: collapse;
    table-layout: fixed; /* 固定列宽，防止横向滚动 */
    font-size: 14px;
	margin-top: 5px;
	z-index: 10;
}
/* 表头样式 */
.gezi-data-table thead {
    background-color: #e4effe;
    position: sticky; /* 表头固定 */
    top: 0;
    z-index: 10;
}
/* 单元格样式 */
.gezi-data-table th,
.gezi-data-table td {
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid #eee;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* 显示卡片详情的弹窗 */
.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 502;
	display: none;
}
.modal-container {
	background-color: white;
	border-radius: 8px;
	width: 750px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.15);
	font-family: Arial, sans-serif;
}
.modal-header {
	padding: 16px 20px;
	border-bottom: 1px solid #eee;
	position: relative;
}
.modal-title {
	font-size: 18px;
	font-weight: bold;
	color: #333;
}
.close-btn {
	position: absolute;
	top: 10px;
	right: 20px;
	background: none;
	border: none;
	font-size: 28px;
	cursor: pointer;
	color: #999;
	transition: transform 0.3s ease, background 0.3s ease;
}
.close-btn:hover {transform: rotate(90deg);}
.modal-body {
	padding: 20px;
	display: flex;
}
.color-preview {
	width: 250px;
	height: 250px;
	border-radius: 8px;
	background-color: #f0f0f0;
	border: 1px solid #ddd;
	margin-right: 50px;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #666;
}
.color-preview-1 {
	display: inline-block;
}
.color-preview-3 {display: block;font-size: 14px;margin-top: 15px;margin-bottom: 5px;}
.color-preview-2 {text-align: center;padding-right: 50px;}
.color-preview-4 {display: block;width:250px;margin-top:20px;color:white;text-align: center;font-size: 14px;padding: 10px;background-color: #1e40af;border-radius: 5px;}
.margin-right-20 {margin-right: 20px;}
.info-grid {
	flex: 1;
}
.info-row {
	display: flex;
	margin-bottom: 15px;
	font-size: 14px;
	border-bottom: 1px solid #e4e4e4;
	
}
.font-bold{font-weight: bold;}
.info-label {
	width: 80px;
	color: #666;
}
.info-value {
	flex: 1;
	color: #333;
}
.modal-footer {
	padding: 16px 20px;
	border-top: 1px solid #eee;
	text-align: right;
}
.confirm-btn {
	padding: 8px 24px;
	background-color: #1890ff;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
}
.confirm-btn:hover {
	background-color: #40a9ff;
}
.border-bottom-none {border-bottom: none;margin-bottom: 0;}
.info-value-1 {display: block;border-color: #e4e4e4;height: 130px;}
/* 新增柜子的弹窗 */
.tc-new-content {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1000;
	display: none;
}
.tc-new-content-1 {
	background-color: white;
	border-radius: 8px;
	width: 600px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.15);
	font-family: Arial, sans-serif;
}
.tc-new-content-2 {
	padding: 10px 20px;
	border-bottom: 1px solid #eee;
	position: relative;
	background-color: #1890ff;
}
.tc-new-content-4 {
	font-size: 16px;
	color: #eee;
}
.tc-new-content-5 {
	position: absolute;
	top: -5px;
	right: 15px;
	background: none;
	border: none;
	font-size: 40px;
	cursor: pointer;
	color: #555;
}
.tc-new-content-5:hover {color: white;;}
.tc-new-content-3 {
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 30px;
}
/* 表单样式 */
.form-group-1 {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.form-input-2{
	padding: 6px 12px;
	width: 90%;margin: auto;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
}
.form-input-2:focus {
	border-color: #1890ff;
	outline: none;
	box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}
.tc-new-content-6 {
	padding: 16px 20px;
	border-top: 1px solid #eee;
	text-align: right;
}
.tc-new-content-7 {
	padding: 8px 24px;
	background-color: #1890ff;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
}
.tc-new-content-7:hover {
	background-color: #40a9ff;
}
.tc-new-content-8{
	display: block;width: 100%;
	background-color: #e4effe;
	color: #555;
	font-size: 14px;
	border-radius: 8px;
	line-height: 30px;;
}


/*
新增卡片的弹窗
*/
/* 弹窗背景遮罩 */
.popup-screen {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
	opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.popup-screen-active {
  opacity: 1;
  visibility: visible;
}
/* 弹窗卡片主体 */
.popup-card {
  background: white;
  border-radius: 12px;
  width: 1500px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}
/* 顶部标题栏 */
.popup-header {
  padding: 10px 18px;
  border-bottom: 1px solid #f0f0f0;
  background-color: #bfdbfe;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.popup-title {
  font-size: 16px;
  color: #555;
  margin: 0;
}
.popup-dismiss {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: black;
  padding: 0;
  line-height: 1;
}
.popup-dismiss:hover {
  color: white;
}
/* 表单内容区（5列网格） */
.popup-content {
  flex: 1;
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr) 2fr;
  gap: 20px;
  overflow-y: auto;
}
.form-group-1 {
	height:500px;
	background-color: #fafcff;border-radius: 10px;box-shadow: 0 2px 6px 0 rgba(0,0,0,0.2);
	padding: 0px;
	text-align: center;
}

.form-group-1 span {
	font-size: 14px;text-align: center;
	box-sizing: content-box;
}
/* 表单组样式 */
.tc-new-card-9 {
	display: flex;
	margin-bottom: 5px;
	font-size: 14px;
	position: relative;
}
.tc-new-card-12{
	padding: 5px 10px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	width: 192px;
}
.border-right-none {border-right: none;}
.tc-new-card-12:focus {
	border-color: #1890ff;	
	outline: none;
	box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}
.tc-new-card-12 {display: inline-block;appearance: none;outline: none;}
.tc-new-card-12s {position: absolute;right: 32px;top: 45%;transform: translateY(-50%);font-size: 18px;pointer-events: none;}


.tc-new-card-13 {
	display: inline-block;vertical-align: top;line-height: 30px;width: 56px;margin-right: 5px;
}
.tc-new-card-14 {display: inline;width: auto;}
#newCardChooseCabinet {width: 90%;}
#newCardRemark {width:192px;height: 50px;}
.tc-new-card-15 {width: 90%;height: 200px;margin: auto;padding: 10px 0px;}
.tc-new-card-16 {display: block;width: 80%;height: 30px;line-height: 30px;padding: 5px 20px;background-color: #e4effe;margin: 5px 5px;border-radius: 5px;}
.tc-new-card-16:hover {background-color: #1890ff;cursor: pointer;}
.tc-new-card-16-actived {background-color: #1890ff;}
/* 设置表格容器的样式 */
.tc-new-card-15 {
    overflow-x: hidden; /* 禁用横向滚动 */
    overflow-y: scroll; /* 强制显示垂直滚动条 */
}
/* 自定义滚动条样式 - Webkit 浏览器（Chrome、Edge、Safari） */
.tc-new-card-15::-webkit-scrollbar {width: 5px; /* 滚动条宽度 */}
.tc-new-card-15::-webkit-scrollbar-track {background-color: #fff; /* 滚动条轨道颜色 */border-radius: 4px;}
.tc-new-card-15::-webkit-scrollbar-thumb {background-color: #eee; /* 滚动条滑块颜色 */border-radius: 4px;}
.tc-new-card-15::-webkit-scrollbar-thumb:hover {background-color: #ddd; /* 鼠标悬停颜色 */}
.tc-new-card-17 {width: 90%;height: 400px;text-align: left;}
.tc-new-card-18 {width: 90%;height: 400px;margin: auto;}
.tc-new-card-19 {display: block;min-height: 22px;display: none;}
.tc-new-card-22 {width: 230px;height: 400px;margin: auto;background-image:url(../img/content2.png) ;background-size: 100% 100%;text-align: center;}
.tc-new-card-23 th,td {width: 100px;font-size: 14px;height: 28px;}
.tc-new-card-24 th {width: 100px;font-size: 14px;height: 25px;background-color: #e4effe;}
.tc-new-card-25 {display: block;width: 100%;text-align: center;background-color: #1890ff;color: white;height: 30px;line-height: 30px;padding: 5px 0px;border-radius: 5px;}
.border-radio-bottom-none {border-bottom-left-radius: 0;border-bottom-right-radius: 0;}
.tc-new-card-26 {display: block;width: 68%;height: 30px;line-height: 30px;padding: 5px 20px;background-color: #e4effe;margin:auto;border-radius: 5px;cursor: pointer;border: 1px solid #e4effe;}
.tc-new-card-26:hover {border: 1px solid #1890ff;}
.tc-new-card-27 {display: inline-block;width: 190px;height: 30px;border: 1px solid #ddd;background-color: white;}
.tc-new-card-28 {
	display: flex;
	flex-direction: column;
	gap: 6px;
	height:90px;
	background-color: #fafcff;border-radius: 10px;box-shadow: 0 3px 5px 0 rgba(0,0,0,0.2);
	padding: 0px;
	text-align: center;
}
.tc-new-card-30 {width: 90%;height: 225px;margin: auto;padding: 10px 0px;}



/* 上传区域容器样式 */


/* 隐藏的文件输入框 */
.upload-input {
  display: none;
}
.upload-input2 {
  display: none;
}

/* 上传按钮样式 */
.upload-label {
  display: inline-block;width: 90%;
  padding: 4px 8px;
  background-color: #007bff;
  color: white;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
  margin-top: 5px;
}

.upload-label:hover {
  background-color: #0056b3;
}

/* 状态显示样式 */
.upload-status {
  flex: 1;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 3px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}



/* 清空按钮样式 */
.clear-btn {
  padding: 4px 8px;width: 90%;text-align: center;
  background-color: #a0d7a3;
  margin-top: 5px;
  color: white;
  border: none;
  border-radius: 3px;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
}

  
  
.clear-btn:hover {
  background-color: #56c8a8;
}

.clear-btn:disabled {
  background-color: #6c757d;
  cursor: not-allowed;
}
/* 图片预览容器 */
.image-preview-container {
  width: 100%;
  height: 100px;
  margin-top: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px dashed #ccc;
  border-radius: 4px;
  overflow: hidden;
  padding: 5px 5px;
  background-image:url( ../img/iconimg.png);background-repeat: no-repeat;background-position: center;background-size: 50%;
	box-sizing: border-box;
}

.image-preview-container.show {
  display: flex;
}

/* 图片预览 */
.image-preview {
  max-width: 100%;
  max-height: 100%;
  vertical-align: middle;
  display: none;
}
.image-preview:hover{
	cursor: pointer;scale: calc(1.01);
}
.image-preview.show {
  display: block;
}

/* 调整上传容器样式 */
.upload-container {
  width: 250px;
  height: 230px;
  padding: 10px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

/* 调整上传项样式 */
.upload-item {
  display:inline-block;width: 115px;
  /* border: 2px solid #765899; */
}

/* 上传控件行 */
.upload-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}
/* 上传状态图标样式 */
.upload-status {
  display: block;
  align-items: center;
  flex: 1;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 90%;text-align: center;
}

.status-icon {
  margin-right: 5px;
  font-size: 14px;
}

.status-pending {
  color: #6c757d;
}

.status-uploading {
  color: #ffc107;
  animation: spin 1s linear infinite;
}

.status-uploaded {
  color: #28a745;
}

.status-error {
  color: #dc3545;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.upload-status.upload-pending {
  background-color: #f8f9fa;
  color: #6c757d;
}

.upload-status.uploading {
  background-color: #fff3cd;
  color: #856404;
}

.upload-status.uploaded {
  /* background-color: #d4edda; */
  color: #155724;
}

.upload-status.error {
  background-color: #f8d7da;
  color: #721c24;
}


























/* 底部操作栏 */
.popup-footer {
  padding: 5px 24px;
  border-top: 1px solid #f0f0f0;
  text-align: right;
}
.action-btn {
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}
.action-btn.confirm {
  background-color: #1890ff;
  color: white;
  border: none;
}
.action-btn.confirm:hover {
  background-color: #40a9ff;
}



.background-icon-view {background-image: url(../img/content2.png);background-size: 25px 25px;background-repeat: no-repeat;}
.border-bottom-color {border-bottom: 5px solid red;}

.cell-big {position: relative;}
.cell-big span {display: block;width: 100%;height: 4px;position: absolute;left: 0px;bottom: 0px;
border: 1px solid transparent; /* 清除默认边框 */
  background: linear-gradient(45deg, #ff4d4d, #ff9933, #ffff00, #33cc33, #0099ff, #9966cc, #ff66cc);
  background-size: 800% 800%; /* 设置背景尺寸 */
  animation: gradientShift 5s ease infinite;
  
  transform: scaleX(0); /* 初始缩放为0（完全隐藏） */
    transform-origin: center; /* 从中间展开 */
    transition: transform 0.2s ease; /* 平滑过渡 */
}
.cell-big-actived span {display: block;transform: scaleX(1);}

/* 搜索界面某个卡片处于被删除状态 */
.card-deleted {background-color: #999;color: #666; pointer-events: none;        /* 完全禁用鼠标事件 */
    opacity: 0.5;                /* 视觉上变灰，提示不可用 */
    cursor: not-allowed;   }

.search-result-empty {display: block;width: 1000px;font-size: 14px;text-align: center;padding: 30px;}

/* 弹窗-修改样本数量 */
.tc-quantity-change {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1000;
	display: none;
}





/* 确认对话框 */
.tc-alert {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1001;
	display: none;
}








