#calendar{
	min-height: 360px;
}
/* 基础样式 */
.jq-calendar {
	font-family: 'Segoe UI', Arial, sans-serif;
	width: auto;
	max-width: 1000px;
	margin: 0 auto 0;
	/* border-radius: 6px; */
	/* box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); */
	overflow: hidden;
	transition: all 0.3s ease;
	min-height: 360px;
}

.jq-calendar .header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px;
	background: var(--qk-main-color);
	color: white;
}

.jq-calendar .header button {
	background: rgba(255, 255, 255, 0.2);
	border: none;
	padding: 10px 20px;
	border-radius: 6px;
	color: white;
	cursor: pointer;
	transition: all 0.2s ease;
}

.jq-calendar .header button:hover {
	background: rgba(255, 255, 255, 0.3);
}

.jq-calendar table {
	width: 100%;
	border-collapse: collapse;
	background: white;
	table-layout: fixed;
	min-width: 100%;
	border-collapse: collapse; /* 合并边框 */
	border-spacing: 0; /* 清除单元格间隙 */
}

.jq-calendar th {
	text-align: center !important;
	height: 40px !important;
	vertical-align: middle !important;
	border-top: none !important;
	font-size: 14px;
}

.jq-calendar th,
.jq-calendar td {
	height: 60px;
	padding: 8px;
	text-align: center;
	border: 1px solid #f0f0f0;
	vertical-align: top;
	position: relative;
	padding: 0;
}

.jq-calendar td {
	position: relative;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	cursor: pointer;
	min-width: 0 !important; /* 允许单元格收缩 */
}
/* .jq-calendar tr th:nth-child(7) {
	border-right: none;
	padding-right: 1px;
}
.jq-calendar tr td:nth-child(7) {
	border-right: none;
} */

/* 悬停特效 */
.jq-calendar td:not(.not-current):hover {
	/* 背景渐变效果 */


	/* 立体阴影 */
	/* //box-shadow: 0 4px 12px rgba(33, 150, 243, 0.15),
		inset 0 0 0 1px rgba(33, 150, 243, 0.2); */
	background: #f7f7f7;
	/* 轻微放大 */
	z-index: 2;
}





/* 日期数字悬停动画 */
.jq-calendar td:hover>div {}

/* 事件点动画 */
.jq-calendar td:hover::after {
	transform: translateY(-50%) scale(1.2);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.jq-calendar td>div {
	font-weight: 500;
	text-align: center;
	margin-top: 8px;
	font-size: 18px;
}

.jq-calendar td.today {
	background: #f7f7f7;
	font-weight: 700;
}

.jq-calendar td.not-current {
	color: #ddd;
	background: #fdfdfd;
}

/* 事件点样式 */
.jq-calendar td.event-date::after {
	content: "";
	position: absolute;
	bottom: 12px;
	left: 50%;
	transform: translateX(-50%);
	width: 6px;
	height: 6px;
	border-radius: 50%;
	transition: all 0.2s;
}

.jq-calendar td.past-event::after {
	background: #999;
}

.jq-calendar td.future-event::after {
	background: #2196F3;
}

.jq-calendar td.today-event::after {
	background: #4CAF50;
	width: 8px;
	height: 8px;
}


/* 精准定位样式 */
.calendar-tooltip {
	position: fixed;
	background: white;
	/* border: 1px solid #e0e0e0; */
	border-radius: 3px;
	padding: 5px;
	width: 300px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
	z-index: 1000;
	opacity: 0;
	transition: opacity 0.2s;
	text-align: center;
	pointer-events: auto;
}

/* 允许链接交互 */
.calendar-tooltip .article-link {
	pointer-events: auto;
}

/* 文章列表样式 */
.article-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.article-item {
	position: relative;
	padding: 4px 0 4px 30px;
}

.article-item::before {
	content: " ";
	/* 必须属性，生成伪元素 */
	position: absolute;
	/* 绝对定位控制位置 */
	top: 50%;
	/* 垂直居中定位 */
	transform: translateY(-50%);
	/* 精确垂直居中 */
	left: 10px;
	border-radius: 50%;
	/* 圆形效果 */
	background-color: #ff9800;
	/* 指定橙色 */
	width: 6px;
	height: 6px;
}

.article-item:hover {
	background: #f8f9ff;
}

.article-link {
	color: #2196F3;
	text-decoration: none;
	display: block;
	transition: background 0.2s;
	font-size: 14px;
	text-align: left;
	padding-left: 10px;
}

@media (max-width: 1215px) {
	.jq-calendar th {
		line-height: 30px;
		height: 30px !important;
		font-size: 12px;
	}
	.jq-calendar td>div{
		font-size: 14px;
	}
	
	/* .jq-calendar th,
	.jq-calendar td {
		height: 60px;
	} */
}
/* 响应式样式 */
@media (max-width: 768px) {
	.jq-calendar {
		font-size: 14px;
		margin: 10px;
	}

	.jq-calendar th,
	.jq-calendar td {
		height: 60px;
		padding: 4px;
	}

	.jq-calendar td>div {
		margin-top: 6px;
		font-size: 12px;
	}

	.jq-calendar th {
		line-height: 30px;
		height: 30px !important;
		font-size: 12px;
	}


	.jq-calendar td:not(.not-current):hover {
		transform: none;
		/* 禁用移动端缩放 */
		box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
	}


}

@media (max-width: 480px) {
	.jq-calendar {
		font-size: 12px;
	}

	.jq-calendar th,
	.jq-calendar td {
		height: 50px;
		padding: 2px;
	}

	.jq-calendar td.event-date::after {
		bottom: 10px;
	}
}



/* 加载状态样式 */
.loading-events::after {
	content: "加载中...";
	display: block;
	padding: 20px;
	text-align: center;
	color: #666;
}




















