/* 智汇数据统计页面专属样式（仅 system/data/enroll_zhihui.blade.php 引用） */

/* ---------- 卡片容器 ---------- */
#calendar-index .stat-card{
	background: #ffffff;
	margin-top: 20px;
	padding: 4px 20px 18px;
	border-radius: 10px;
	border: 1px solid #eef1f7;
	box-shadow: 0 1px 2px rgba(16, 42, 86, .04), 0 10px 24px rgba(16, 42, 86, .05);
}
#calendar-index .stat-card-head{
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	padding: 14px 0 12px;
	border-bottom: 1px solid #f0f3f9;
	margin-bottom: 14px;
}
#calendar-index .stat-card-title{
	position: relative;
	padding-left: 12px;
	font-size: 16px;
	font-weight: 600;
	line-height: 22px;
	color: #1f2d3d;
}
#calendar-index .stat-card-title::before{
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 3px;
	height: 16px;
	border-radius: 2px;
	background: #5B8FF9;
}
/* 标题右侧的统计数量（如供应商总数） */
#calendar-index .stat-total-badge{
	display: inline-block;
	margin-left: 8px;
	padding: 0 8px;
	height: 20px;
	line-height: 20px;
	border-radius: 10px;
	background: #eef4ff;
	color: #2f6fed;
	font-size: 12px;
	font-weight: 400;
	vertical-align: 1px;
}
#calendar-index .stat-total-badge b{
	font-weight: 600;
}

/* ---------- 顶部人数概览 ---------- */
#calendar-index .enroll-overview{
	display: flex;
	flex-direction: column;
	gap: 12px;
}
/* 每行四项：今年 / 本月 / 本周 / 昨天 */
#calendar-index .enroll-overview-row{
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
}
#calendar-index .enroll-overview-item{
	padding: 14px 16px;
	border: 1px solid #eef2f8;
	border-radius: 8px;
	background: #fff;
}
/* 第一行面试：蓝色调 */
#calendar-index .enroll-overview-item.is-interview{
	border-color: #dbe8fb;
	background: linear-gradient(180deg, #f5f9ff 0%, #fbfdff 100%);
}
/* 第二行入职：浅蓝色调 */
#calendar-index .enroll-overview-item.is-onboard{
	border-color: #d7e6fb;
	background: linear-gradient(180deg, #f4f9ff 0%, #fafdff 100%);
}
#calendar-index .enroll-overview-label{
	color: #7b8aa1;
	font-size: 13px;
	line-height: 1.4;
}
#calendar-index .enroll-overview-value{
	margin-top: 6px;
	color: #1f2d3d;
	font-size: 26px;
	font-weight: 600;
	line-height: 1.2;
	font-variant-numeric: tabular-nums;
}
#calendar-index .enroll-overview-item.is-interview .enroll-overview-value{
	color: #2b5fbf;
}
#calendar-index .enroll-overview-item.is-onboard .enroll-overview-value{
	color: #1c6dd0;
}
@media (max-width: 991px){
	#calendar-index .enroll-overview-row{
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ---------- 图表 ---------- */
#calendar-index .stat-chart{
	height: 380px;
}
#calendar-index .stat-card-hint{
	color: #8fa0b8;
	font-size: 12px;
	line-height: 18px;
}
/* 卡片内的说明文字（表格上方）需要与表格留出间距 */
#calendar-index .stat-card > .stat-card-hint{
	margin-bottom: 12px;
}

/* ---------- 时间段筛选控件 ---------- */
#calendar-index .stat-card-tools{
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}
#calendar-index .stat-input{
	height: 34px;
	line-height: 32px;
	min-width: 210px;
	padding: 0 12px;
	border: 1px solid #dfe6f0;
	border-radius: 6px;
	background: #fff;
	color: #34495e;
	font-size: 13px;
	transition: border-color .2s, box-shadow .2s;
}
#calendar-index .stat-input::placeholder{
	color: #9aa8bb;
}
#calendar-index .stat-input:hover{
	border-color: #b8cbe8;
}
#calendar-index .stat-input:focus{
	border-color: #5B8FF9;
	box-shadow: 0 0 0 3px rgba(91, 143, 249, .15);
	outline: none;
}
/* 区间按钮组：今年 / 去年 / 自定义 */
#calendar-index .stat-range-group{
	display: inline-flex;
	align-items: center;
	padding: 3px;
	border-radius: 8px;
	background: #f2f5fa;
}
#calendar-index .stat-range-btn{
	height: 28px;
	margin: 0;
	padding: 0 14px;
	border: none;
	border-radius: 6px;
	background: transparent;
	color: #5c6b81;
	font-size: 13px;
	line-height: 1;
	cursor: pointer;
	transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}
#calendar-index .stat-range-btn + .stat-range-btn{
	margin-left: 2px;
}
#calendar-index .stat-range-btn:hover{
	color: #2f6fed;
}
#calendar-index .stat-range-btn.is-active{
	background: #fff;
	color: #2f6fed;
	font-weight: 600;
	box-shadow: 0 1px 3px rgba(30, 60, 120, .15);
}
/* 卡片在页面右侧，日历面板改为向右展开时可能超出屏幕，这里限制最大宽度 */
#calendar-index .daterangepicker{
	max-width: calc(100vw - 40px);
}

/* ---------- 员工在职企业排名表格 ---------- */
#calendar-index .stat-table-wrap{
	max-height: 520px;
	overflow: auto;
	border: 1px solid #e8eef6;
	border-radius: 8px;
}
#calendar-index .stat-table{
	margin-bottom: 0;
	border: 0;
	border-collapse: separate;
	border-spacing: 0;
	white-space: nowrap;
	font-size: 13px;
}
#calendar-index .stat-table > thead > tr > th{
	position: sticky;
	top: 0;
	z-index: 3;
	padding: 11px 14px;
	background: #f4f7fc;
	border: 0;
	border-bottom: 1px solid #e3eaf4;
	color: #54657e;
	font-size: 13px;
	font-weight: 600;
}
#calendar-index .stat-table > tbody > tr > td,
#calendar-index .stat-table > tfoot > tr > td{
	padding: 10px 14px;
	border: 0;
	border-bottom: 1px solid #eef2f8;
	color: #34495e;
	font-variant-numeric: tabular-nums;
}
/* 企业名称列固定在左侧，横向滚动时保持可见 */
#calendar-index .stat-table > thead > tr > th:first-child{
	position: sticky;
	left: 0;
	z-index: 4;
	background: #f4f7fc;
	text-align: left;
}
#calendar-index .stat-table > tbody > tr > td:first-child{
	position: sticky;
	left: 0;
	z-index: 2;
	max-width: 240px;
	overflow: hidden;
	text-overflow: ellipsis;
	background: #fff;
	text-align: left;
	font-weight: 500;
	color: #1f2d3d;
}
#calendar-index .stat-table > tbody > tr:nth-child(even) > td{
	background: #fbfcfe;
}
#calendar-index .stat-table > tbody > tr:hover > td{
	background: #f1f6ff;
}
#calendar-index .stat-table .col-board-num{
	color: #1c6dd0;
	font-weight: 600;
}
#calendar-index .stat-table .col-rate{
	color: #1c6dd0;
}
/* 已打款费用列 */
#calendar-index .stat-table .col-money{
	color: #b25b00;
}
/* 暂无数据来源的列（需求/录取）置灰 */
#calendar-index .stat-table .is-empty{
	color: #c2ccda;
}
#calendar-index .stat-table > tfoot > tr > td{
	position: sticky;
	bottom: 0;
	z-index: 3;
	background: #eef4ff;
	border-top: 1px solid #dbe6f8;
	font-weight: 600;
	color: #1f2d3d;
}
#calendar-index .stat-table > tfoot > tr > td:first-child{
	z-index: 4;
	background: #eef4ff;
	text-align: left;
}
#calendar-index .stat-table td.enroll-empty{
	padding: 28px 14px;
	color: #9aa8bb;
}
