/* Lightbox Styles */
.lightbox {
	display: none;
	position: fixed;
	z-index: 9999;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.95);
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.lightbox.active {
	display: flex;
	opacity: 1;
}

.lightbox-content {
	position: relative;
	max-width: 90%;
	max-height: 90%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lightbox-image {
	max-width: 100%;
	max-height: 90vh;
	object-fit: contain;
	user-select: none;
}

.lightbox-close {
	position: absolute;
	top: 20px;
	right: 40px;
	font-size: 40px;
	color: #fff;
	cursor: pointer;
	background: none;
	border: none;
	padding: 10px;
	line-height: 1;
	z-index: 10000;
	transition: opacity 0.2s ease;
}

.lightbox-close:hover {
	opacity: 0.7;
}

.lightbox-prev,
.lightbox-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	font-size: 40px;
	color: #fff;
	cursor: pointer;
	background: none;
	border: none;
	padding: 20px;
	z-index: 10000;
	transition: opacity 0.2s ease;
	user-select: none;
}

.lightbox-prev:hover,
.lightbox-next:hover {
	opacity: 0.7;
}

.lightbox-prev {
	left: 20px;
}

.lightbox-next {
	right: 20px;
}

.lightbox-counter {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	color: #fff;
	font-size: 14px;
	background-color: rgba(0, 0, 0, 0.5);
	padding: 8px 16px;
	border-radius: 4px;
}

/* Mobile responsive */
@media (max-width: 768px) {
	.lightbox-close {
		top: 10px;
		right: 10px;
		font-size: 30px;
	}
	
	.lightbox-prev,
	.lightbox-next {
		font-size: 30px;
		padding: 10px;
	}
	
	.lightbox-prev {
		left: 10px;
	}
	
	.lightbox-next {
		right: 10px;
	}
}
