.body-scroll-disabled {
	overflow: hidden !important;
}

.hr-dialog-wrapper {
	position: fixed;
	inset: 0;
	z-index: 9999;
	background: rgba(0, 0, 0, 0.7);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #4E5969;
	font-size: 14px;
}

.hr-dialog {
	position: relative;
	padding-right: 310px;
	max-height: calc(100% - 30px);
	display: flex;
}

.hr-dialog .left {
	width: 810px;
	border-radius: 2px;
	background-color: #fff;
	display: flex;
	flex-direction: column;
}

.hr-dialog .left .header {
	height: 56px;
	display: flex;
	align-items: center;
	padding: 0 20px;
	border-bottom: 1px solid #EDEFF2;
}

.hr-dialog .left .header .title {
	font-size: 16px;
	color: #1D2129;
	font-weight: bold;
}

.hr-dialog .left .header .icon-close{
	margin-left: auto;
	font-size: 24px;
	color: #4E5969;
	cursor: pointer;
}

.hr-dialog .left .body {
	min-height: 300px;
	padding: 20px;
	overflow: auto;
	flex: 1;
}

.hr-dialog .left .footer {
	border-top: 1px solid #EDEFF2;
	height: 56px;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	padding: 0 20px;
}

.hr-dialog .left .footer .btn {
	margin-left: 8px;
	padding: 5px 16px;
	border-radius: 4px;
	font-size: 14px;
	cursor: pointer;
}

.hr-dialog .right {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 302px;
	border-radius: 2px;
	padding: 12px 16px;
	display: flex;
	flex-direction: column;
	background: #E8F5FF url("../img/hr-dialog/background.png") no-repeat;
	background-position: left bottom;
}

.hr-dialog .right > .header .row {
	display: flex;
	align-items: center;
}

.hr-dialog .right > .header .row img {
	width: 24px;
}

.hr-dialog .right > .header .row .title {
	margin-left: 8px;
	font-size: 16px;
	background: linear-gradient(90deg, #4F59FF 0%, #833BFF 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-fill-color: transparent;
	font-weight: bold;
}

.hr-dialog .right > .header .tips {
	margin-top: 4px;
	font-size: 12px;
	color: #737585;
}

.hr-dialog .right > .body {
	margin-top: 8px;
	margin-right: -16px;
	padding-right: 10px;
	flex: 1;
	overflow-y: scroll;
}

.hr-dialog .right > .body > .empty {
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.hr-dialog .right > .body > .empty > img {
	margin-right: 40px;
}

.hr-dialog .right > .body > .empty > .title {
	color: #303133;
	margin: 22px 0 8px;
	font-weight: bold;
}

.hr-dialog .right > .body > .empty > .subtitle {
	width: 216px;
	color: #737585;
	font-size: 12px;
	text-align: center;
}


.hr-dialog .right > .body::-webkit-scrollbar {
	width: 6px;
	height: 6px;
	background-color: transparent;
}

.hr-dialog .right > .body .file:not(:first-child) {
	margin-top: 16px;
}

.hr-dialog .right > .body .file > .header {
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	border-radius: 2px;
}

.hr-dialog .right > .body .file > .header .img-file-arrow {
	position: relative;
	top: 6px;
}

.hr-dialog .right > .body .file > .header .img-file {
	margin: 0 8px 0 4px;
}

.hr-dialog .right > .body .file > .header .file-name {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hr-dialog .right > .body .file > .body {
	background-color: #fff;
	overflow: hidden;
}

.hr-dialog .right .info > .header,
.hr-dialog .right .warning > .header,
.hr-dialog .right .success > .header,
.hr-dialog .right .diff > .header {
	position: relative;
	padding: 8px 12px;
	border-radius: 2px 2px 0 0;
	margin: 2px;
	width: calc(100% - 4px);
}

.hr-dialog .right .info > .header {
	background: #EDEFF2;
	color: #1D2129;
}

.hr-dialog .right .warning > .header,
.hr-dialog .right .success > .header,
.hr-dialog .right .diff > .header{
	position: relative;
	padding: 8px 12px 8px 36px;
}

.hr-dialog .right .warning > .header {
	background: #FFF7E8;
	color: #FF7D00;
}

.hr-dialog .right .success > .header {
	background: #E8FFEA;
	color: #00B42A;
}

.hr-dialog .right .success.view > .header {
	color: #000000;
}

.hr-dialog .right .success.view > .header > .highlight {
	color: #00B42A;
	font-weight: bold;
}

.hr-dialog .right .diff > .header {
	color: #000000;
	background: #FFECE8;
}

.hr-dialog .right .warning > .header::before,
.hr-dialog .right .success > .header::before,
.hr-dialog .right .diff > .header::before {
	content: '';
	position: absolute;
	left: 12px;
	top: 11px;
	width: 16px;
	height: 16px;
}

.hr-dialog .right .warning > .header::before {
	background: url("../img/hr-dialog/warning.png") no-repeat;
}

.hr-dialog .right .success > .header::before {
	top: 10px;
	background: url("../img/hr-dialog/success.png") no-repeat;
}

.hr-dialog .right .diff > .header::before {
	background: url("../img/hr-dialog/diff.png") no-repeat;
}

.hr-dialog .right > .body .file > .body .btn {
	border: 1px solid;
	border-radius: 4px;
	padding: 5px 0;
	width: calc(100% - 24px);
	margin: 8px 12px;
	text-align: center;
	cursor: pointer;
	background-color: #FFFFFF;
}

.hr-dialog .right .info .loading {
	margin: 13px 0;
	border-radius: 2px;
	background: linear-gradient(270deg, #B334FD 5%, #023EC7 93%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-fill-color: transparent;
}

.hr-dialog .right .info .loading img {
	width: 30px;
	margin: 0 8px 0 12px;
}


.hr-dialog .right .success > .label,
.hr-dialog .right .diff > .label {
	color: #86909C;
	margin: 8px 12px;
}

.hr-dialog .right .success > .value {
	color: #1D2129;
	padding: 0 12px 12px 12px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	cursor: default;
}

.hr-dialog .right .diff > .header > .highlight {
	color: #F53F3F;
	font-weight: bold;
}

.hr-dialog .right .diff > .header > .highlight-2 {
	color: #1D2129;
	font-weight: bold;
	margin: 0 4px;
}

.hr-dialog .right .diff > .field {
	position: relative;
	padding: 0 12px 16px 30px;
}

.hr-dialog .right .diff > .field:not(:last-child)::after {
	content: '';
	position: absolute;
	width: 80%;
	bottom: 8px;
	right: 0;
	left: 30px;
	height: 1px;
	background-color: #EDEFF2;
}

.hr-dialog .right .diff > .field > .name {
	position: relative;
	color: #1D2129;
	font-weight: bold;
	margin-bottom: 8px;
}

.hr-dialog .right .diff > .field > .row {
	position: relative;
	margin: 4px 0;
	display: flex;
}

.hr-dialog .right .diff > .field > .row > .field-label {
	color: #1D2129;
	width: auto;
	flex: 0 0 74px;
}

.hr-dialog .right .diff > .field > .row > .field-value {
	flex: 1;
	display: -webkit-box;          /* 使用旧版弹性盒子布局（WebKit浏览器） */
	-webkit-box-orient: vertical;   /* 设置盒子的方向为垂直 */
	-webkit-line-clamp: 3;          /* 限制显示的行数 */
	overflow: hidden;
}

.hr-dialog .right .diff > .field > .templates-writer {
	margin-left: 74px;
	cursor: pointer;
}

/*圆圈1*/
.hr-dialog .right .diff > .field > .name::before {
	content: '';
	position: absolute;
	top: 7px;
	left: -17px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background-color: #165DFF;
	z-index: 1;
}

/*线1*/
.hr-dialog .right .diff > .field > .name::after {
	content: '';
	position: absolute;
	top: 7px;
	left: -14px;
	width: 1px;
	height: calc(100% + 6px);
	background-color: #94BFFF;
}

/*三角形*/
.hr-dialog .right .diff > .field > .name > .field-name-arrow {
	position: absolute;
	bottom: -14px;
	left: -16px;
	border-left: 3px solid transparent;
	border-right: 3px solid transparent;
	border-top: 3px solid #94BFFF;
	transform: translateX(-0.5px);
}

/*圆圈2*/
.hr-dialog .right .diff > .field > .row.form::before {
	content: '';
	position: absolute;
	top: 7px;
	left: -17px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	border: 1px solid #C9CDD4;
	z-index: 1;
}


/*线2*/
.hr-dialog .right .diff > .field > .row.form::after {
	content: '';
	position: absolute;
	top: 13px;
	left: -14px;
	width: 1px;
	height: calc(100% - 2px);
	background: linear-gradient(to bottom, #C9CDD4 0, #C9CDD4 50%, #94BFFF 50%, #94BFFF 100%);
}


/*圆圈3*/
.hr-dialog .right .diff > .field > .row.file::before {
	content: '';
	position: absolute;
	top: 7px;
	left: -17px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	border: 1px solid #94BFFF;
	z-index: 1;
}


.hr-dialog .right .diff.view .row {
	display: block;
}

.hr-dialog .right .diff.view .row .field-label {
	color: #86909C;
}

.hr-dialog .right .diff.view .row .field-value {
	margin: 8px 0;
	color: #1D2129;
	flex: 1;
	display: -webkit-box;          /* 使用旧版弹性盒子布局（WebKit浏览器） */
	-webkit-box-orient: vertical;   /* 设置盒子的方向为垂直 */
	-webkit-line-clamp: 3;          /* 限制显示的行数 */
	overflow: hidden;
}

.hr-dialog .right .diff.view > .field > .row.form::after {
	height: calc(100% + 4px);
}

.hr-dialog .right .diff.view > .field > .row.file:not(:last-child)::after {
	content: '';
	position: absolute;
	top: 13px;
	left: -14px;
	width: 1px;
	height: calc(100% + 2px);
	background: #94BFFF;
}


.hr-dialog .emap-upload-list-container {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
    position: relative;
    width: fit-content;
    max-width: 100%;
}

.hr-dialog .emap-upload-list-container .emap-upload-block-wrap {
    overflow: unset;
}

.hr-dialog .ai-icon {
    display: inline-block;
    margin-left: 8px;
    background: linear-gradient(to right, #EAE6FF, #FFE3F6);
    font-size: 12px;
    font-weight: normal;
    padding: 1px 8px;
    border-radius: 2px;
}

.hr-dialog .info .templates:disabled {
    background-color: #FFFFFF !important;
    color: #BBBBBB !important;
    border: 1px solid #BBBBBB !important;
}