/* 人事任命弹窗样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease-in-out;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    width: 80%;
    max-width: 1200px;
    border-radius: 8px;
    position: relative;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.3s ease-in-out;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
	padding-bottom: 10px;
	border-bottom: 1px solid #e6e6e6;
}

.modal-header h3 {
    margin: 0;
    color: #333;
	font-size: 18px;
	line-height: 1.8;
	font-weight: bold;
}

.close {
    color: #666;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
    line-height: 1;
}

.close:hover {
    color: #333;
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 15px 0;
}

/* 人事任命列表样式 */
.personnel-list {
    width: 100%;
    overflow-x: auto;
}
.personnel-list li a{
	line-height: 1.8;
	font-size: 16px;
	color: #666666;
	display: block;
	min-width: 600px;
}
.personnel-list li{
	transition: all 0.3s;
	position: relative;
	padding-left: 20px;
}
.personnel-list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 15px;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: #CECFD1;
    border-radius: 50%;
}

.personnel-list li:hover a{
    color: #0087e6;
}

.personnel-list li:hover:before {
    background-color: #0087e6;
}

.personnel-list li a:hover {
	color: #0087e6;
}

/* .personnel-list table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 16px;
}
.personnel-list thead{
    background: #C8E1FA;
    border-left: 1px solid #C8E1FA;
    border-right: 1px solid #C8E1FA;
    border-top: 1px solid #C8E1FA;
}
.personnel-list th{
    background: #C8E1FA;
    color: #0087e6;
    font-weight: normal;
}
.personnel-list th,
.personnel-list td {
    padding: 12px 15px;
    text-align: center;
    border-bottom: 1px solid #eee;
    word-break:keep-all;
    white-space:nowrap;
}
.personnel-list td {
    text-align: center;
    color: #999999;
    border: 1px solid #C8E1FA;
}

.personnel-list td:nth-child(2) {
    text-align: left;
}
.personnel-list tr:hover {
    background-color: #f9f9f9;
}

.personnel-list td a {
    color: #3A4559;
    text-decoration: none;
    max-width: 500px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.personnel-list td a:hover {
    color: #0087e6;
    text-decoration: underline;
} */

.modal-Process-content{
	display: flex;
	padding: 20px;
}
.modal-Process-content a{
	display: block;
	padding: 12px 15px;
	text-align: center;
	word-break: keep-all;
	white-space: nowrap;
	border-radius: 6px;
	background-color: #e6f3ff;
	color: #0066cc;
	transition: all 0.2s ease;
	margin: 0 10px;
}
.modal-Process-content a:hover{
	background-color: #cce5ff;
}
/* 人事任命分页样式 */
.personnel-pagination {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 10px 0;
}

.personnel-pagination a {
    padding: 6px 12px;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    min-width: 32px;
    text-align: center;
}

.personnel-pagination a:hover:not(.disabled):not(.current) {
    background-color: #f5f5f5;
    border-color: #ccc;
}

.personnel-pagination .current {
    background-color: #0087e6;
    color: white;
    border-color: #0087e6;
    cursor: default;
}

.personnel-pagination .disabled {
    color: #999;
    cursor: not-allowed;
    pointer-events: none;
    background-color: #f5f5f5;
}

/* 人事任命标签样式 */
.tag.personnel {
    cursor: pointer;
    background-color: #e6f3ff;
    color: #0066cc;
    transition: all 0.2s ease;
}

.tag.personnel:hover {
    background-color: #cce5ff;
}
/* 鼠标移上去子菜单 */

.tag-wrapper-info{
    display: flex;
}

.tag-wrapper {
    position: relative;
    display: inline-block;
}
.tag-wrapper.ban a.tag{
	background: url("../images/ban.png") no-repeat center center;
	width: 22px;
	height: 22px;
	background-size: 100% 100%;
	/* display: block; */
    display: none;
}
.tag-wrapper.jie a.tag{
	background: url("../images/jie.png") no-repeat center center;
	width: 22px;
	height: 22px;
	background-size: 100% 100%;
	display: block;
}
.tag-wrapper.quan span.tag{
	background: url("../images/quan.png") no-repeat center center;
	width: 22px;
	height: 22px;
	background-size: 100% 100%;
	/* display: block; */
    display: none;
}
.tag-submenu {
    position: fixed;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    display: none;
    z-index: 1000;
    min-width: 120px;
	padding:20px 30px;
	border: 1px solid #C8E1FA;
}

.tag-wrapper:hover .tag-submenu {
    display: block;
}

.tag-submenu::before,
.tag-submenu::after {
  content: "";
  position: absolute;
	top: -4px;
	left: 50%;
  width: 0;
  height: 0;
  margin-left: -6px;
}

.tag-submenu::before {
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
  border-bottom: 7px solid #c8e1fa;
  top: -8px;
}

.tag-submenu::after {
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
  border-bottom: 7px solid white;
  top: -7px;
  right: 11px;
}

.submenu-content {
    position: relative;
    background: #fff;
    border-radius: 4px;
    padding: 5px 0;
    width: 600px;
}

.index-tag-submenu {
    position: absolute;
    right: 34px;
    top: -26px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);

    display: none;
    z-index: 1000;
    min-width: 120px;
	padding:20px 30px;
	border: 1px solid #C8E1FA;
}

.tag-wrapper:hover .index-tag-submenu {
    display: block;
}

.index-tag-submenu::before,
.index-tag-submenu::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  transform: rotate(45deg);
}

/* 外层边框箭头 */
.index-tag-submenu::before {
  top: 30px;
  right: -7px;
  background: #fff;
  border-top: 1px solid #C8E1FA;
  border-right: 1px solid #C8E1FA;
  z-index: 1;
}

/* 内层遮罩箭头，使边框呈现 1px 线条效果 */
.index-tag-submenu::after {
  top: 31px;
  right: -6px;
  width: 10px;
  height: 10px;
  background: #fff;
  z-index: 2;
}

.index-submenu-content {
    position: relative;
    background: #fff;
    border-radius: 4px;
    padding: 5px 0;
    width: 600px;
}


.submenu-item {
    padding: 8px 15px;
    transition: all 0.3s;
}

.tag-submenu.show {
    display: block;
}

.submenu-title{
	font-size: 18px;
	line-height: 1.8;
	font-weight: bold;
	border-bottom: 1px solid #e6e6e6;
	padding-bottom: 10px;
	color: #333;
}
.submenu-content {
	padding: 8px 0;
}
.submenu-item {
	transition: all 0.3s;
	position: relative;
	padding-left: 20px;
}
.submenu-item a {
    line-height: 1.8;
    font-size: 16px;
    color: #666666 !important;
	display: block;
	max-width: 600px;
}
.submenu-item2 {
	transition: all 0.3s;
	position: relative;
	padding-left: 20px;
}
.submenu-item2 a {
	line-height: 1.8;
	font-size: 16px;
	color: #666666;
	display: block;
	max-width: 800px;
	white-space: normal;
	word-wrap: break-word;
	overflow-wrap: break-word;
}
.submenu-item:before {
    content: '';
    position: absolute;
    left: 0;
    top: 18px;
    width: 8px;
    height: 8px;
    background-color: #CECFD1;
    border-radius: 50%;
}
.submenu-item2:before {
    content: '';
    position: absolute;
    left: 0;
    top: 13px;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: #CECFD1;
    border-radius: 50%;
}

.submenu-item:hover a{
    color: #0087e6 !important;
}

.submenu-item:hover:before {
    background-color: #0087e6;
}

.submenu-item a:hover {
	color: #0087e6;
}
.submenu-content1{
    padding: 8px 0;
    display: flex;
    margin: -10px;
    /* min-width: 500px; */
    flex-wrap: wrap;
    padding-top: 10px;
}
.submenu-item1 {
	margin: 10px;
}
.submenu-item1 a{
	display: inline-block;
	padding: 2px 8px;
	border-radius: 50px;
	font-size: 14px;
	margin-right: 5px;
	cursor: pointer;
	background-color: #e6f3ff;
	color: #0066cc;
	transition: all 0.2s ease;
}
.submenu-item1 a:hover{
	background-color: #cce5ff;
}




/* 错误信息和无数据样式 */
.error-message,
.no-data {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 14px;
}

.error-message {
    color: #ff4444;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 响应式样式 */
@media screen and (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }

    .personnel-list th,
    .personnel-list td {
        padding: 8px 10px;
        font-size: 13px;
    }

    .modal-header h3 {
        font-size: 16px;
    }

    .personnel-pagination a {
        padding: 4px 8px;
        font-size: 13px;
        min-width: 28px;
    }

    .personnel-pagination {
        gap: 4px;
    }
	.modal-Process-content{
		flex-wrap: wrap;
		justify-content: space-around;
	}
	.modal-Process-content a{
		margin: 10px;
	}
}

/* 滚动条样式 */
.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #666;
} 