/* Events Section Styles */
.events-list-container {
	max-height: 80vh;
	overflow-y: auto;
	background-color: #fff;
	border-radius: 10px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	padding: 20px;
}

.events-list-container::-webkit-scrollbar {
	width: 8px;
}

.events-list-container::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 10px;
}

.events-list-container::-webkit-scrollbar-thumb {
	background: #7fbe41;
	border-radius: 10px;
}

.events-list-container::-webkit-scrollbar-thumb:hover {
	background: #94c83f;
}

.event-image-container {
	position: sticky;
	top: 20px;
	text-align: center;
}

.event-image-container img {
	width: 100%;
	height: 400px;
	object-fit: cover;
	border: 3px solid #7fbe41;
	transition: all 0.3s ease;
}

.event-info-btn-container {
	text-align: center;
	opacity: 0;
	transform: translateY(20px);
	transition: all 0.4s ease;
}

.event-info-btn-container.show {
	opacity: 1;
	transform: translateY(0);
}

/* Date Group Styling */
.event-date-group {
	margin-bottom: 30px;
}

.event-date-group:last-child {
	margin-bottom: 0;
}

.event-date-header {
	font-size: 1.3rem;
	font-weight: bold;
	color: #7fbe41;
	margin-bottom: 0px;
	padding: 10px 15px;
	border-bottom: 3px solid #7fbe41;
	text-align: left;
	background-color: #f8f9fa;
	border-radius: 5px;
	cursor: default;
}

.collapsible-header {
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: all 0.3s ease;
	user-select: none;
}

.collapsible-header:hover {
	background-color: #e8f5e8;
	transform: translateX(3px);
}

.collapsible-header.active {
	background-color: #e8f5e8;
	border-bottom-color: #94c83f;
}

.collapse-icon {
	font-size: 1rem;
	transition: transform 0.3s ease;
	color: #7fbe41;
}

.collapsible-header.active .collapse-icon {
	transform: rotate(90deg);
}

.event-items-container {
	overflow: hidden;
	transition: all 0.4s ease;
}

.event-items-container.collapsed {
	max-height: 0;
	opacity: 0;
	margin-top: 0;
	padding-top: 0;
}

.event-items-container.expanded {
	max-height: none;
	opacity: 1;
	margin-top: 10px;
	padding-top: 5px;
}

/* Individual Event Item Styling */
.event-item {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
	padding: 15px 20px;
	background-color: #ffffff;
	border-radius: 8px;
	border-left: 4px solid #e9ecef;
	transition: all 0.3s ease;
	cursor: pointer;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.event-item:hover {
	transform: translateX(8px);
	box-shadow: 0 4px 12px rgba(127, 190, 65, 0.2);
	border-left-color: #7fbe41;
	background-color: #f8fff0;
}

.event-item.active {
	background-color: #f0f9e8;
	border-left-color: #7fbe41;
	box-shadow: 0 4px 15px rgba(127, 190, 65, 0.3);
	transform: translateX(8px);
}

.event-item:last-child {
	margin-bottom: 0;
}

.event-time {
	font-weight: 600;
	min-width: 120px;
	margin-right: 20px;
	font-size: 0.85rem;
	background-color: #7fbe41;
	color: white;
	padding: 6px 12px;
	border-radius: 20px;
	text-align: center;
	flex-shrink: 0;
	transition: background-color 0.3s ease;
	white-space: nowrap;
}

.event-item.active .event-time {
	background-color: #5a8a2e;
}

.event-title {
	flex: 1;
	color: #343a40;
	font-size: 1rem;
	line-height: 1.4;
	font-weight: 500;
	transition: color 0.3s ease;
}

.event-title .text-muted.small {
	font-size: 0.85rem;
	margin-top: 4px;
	line-height: 1.3;
}

.event-item.active .event-title {
	color: #2c5016;
	font-weight: 600;
}

.event-item:hover .event-title {
	color: #2c5016;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
	.events-list-container {
		padding: 15px;
	}

	.event-image-container {
		position: static;
		margin-bottom: 30px;
	}

	.event-image-container img {
		height: 250px;
	}

	.event-item {
		flex-direction: column;
		text-align: center;
		padding: 15px;
	}
	.event-time {
		margin-right: 0;
		margin-bottom: 10px;
		min-width: auto;
		font-size: 0.8rem;
		padding: 4px 8px;
	}

	.event-date-header {
		font-size: 1.1rem;
		padding: 8px 0;
	}
}
