.aec-calendar-wrapper {
	width: 100%;
	margin: 0 auto;
}
.aec-google-link {
	margin-bottom: 20px;
	text-align: right;
}
.aec-calendar-container {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	background: #fff;
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.05);
	align-items: stretch;
}
.aec-month {
	display: flex;
	flex-direction: column;
	width: 100%;
}
.aec-month-title {
	text-align: center;
	margin-bottom: 15px;
	margin-top: 0;
	flex-shrink: 0;
}
.aec-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	grid-auto-rows: minmax(60px, 1fr);
	gap: 5px;
	flex-grow: 1;
}
.aec-day-header {
	text-align: center;
	font-weight: bold;
	padding: 10px 5px;
	background: #f5f5f5;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.aec-day {
	padding: 5px;
	border: 1px solid #eee;
	border-radius: 4px;
	position: relative;
	background: #fff;
	display: flex;
	flex-direction: column;
	transition: all 0.2s ease;
	z-index: 1;
}
.aec-day:hover {
    z-index: 50;
}
.aec-day.aec-empty {
	background: transparent !important;
	border: none;
	pointer-events: none;
}
.aec-day.aec-today {
	box-shadow: 0 0 5px rgba(0,115,170,0.2) inset;
}
.aec-day-number {
	display: block;
	font-weight: 500;
	margin-bottom: 5px;
	pointer-events: none;
}

.aec-event-tooltip-container {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
	z-index: 10;
}

.aec-event-tooltip {
	display: none;
	position: absolute;
	bottom: calc(100% + 10px);
	left: 50%;
	transform: translateX(-50%);
	background: #333;
	color: #fff;
	padding: 12px;
	border-radius: 6px;
	width: max-content;
	max-width: 250px;
	z-index: 9999;
	font-size: 13px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.2);
	pointer-events: none;
	text-align: left;
}

.aec-event-tooltip::after {
	content: '';
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	border-width: 6px;
	border-style: solid;
	border-color: #333 transparent transparent transparent;
}

/* Force display only on class for click interaction */
.aec-event-tooltip-container.show-tooltip .aec-event-tooltip {
	display: block !important;
	animation: aec-fade-in 0.2s ease;
}

@keyframes aec-fade-in {
    from { opacity: 0; transform: translate(-50%, 5px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

.aec-event-tooltip strong {
	display: block;
	margin-bottom: 5px;
	font-size: 14px;
	font-weight: bold;
}
.aec-event-tooltip p {
	margin: 0;
	font-size: 12px;
	color: #eee;
	line-height: 1.4;
	white-space: normal;
}
