/* Popup TJ Conecta - Estilos */
.popup-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.9);
	z-index: 99999;
	display: flex;
	justify-content: center;
	align-items: center;
	animation: fadeIn 0.3s ease;
}

.popup-content {
	position: relative;
	max-width: 90vw;
	max-height: 90vh;
	display: flex;
	justify-content: center;
	align-items: center;
}

.popup-image {
	max-width: 100%;
	max-height: 90vh;
	object-fit: contain;
	cursor: pointer;
	border-radius: 8px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
	transition: transform 0.2s ease;
}

.popup-image:hover {
	transform: scale(1.02);
}

.popup-close {
	position: absolute;
	top: -15px;
	right: -15px;
	background: #fff;
	color: #333;
	border: none;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
	transition: all 0.2s ease;
	z-index: 100000;
}

.popup-close:hover {
	background: #f44336;
	color: #fff;
	transform: rotate(90deg);
}

.popup-checkbox-container {
	position: absolute;
	bottom: -15px;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(255, 255, 255, 0.95);
	padding: 8px 15px;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.popup-checkbox-label {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	margin: 0;
	font-size: 14px;
	color: #333;
	user-select: none;
}

.popup-checkbox {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	width: 20px;
	height: 20px;
	border: 2px solid #333;
	border-radius: 4px;
	cursor: pointer;
	position: relative;
	background: #fff;
	transition: all 0.2s ease;
}

.popup-checkbox:hover {
	border-color: #f44336;
}

.popup-checkbox:checked {
	background: #f44336;
	border-color: #f44336;
}

.popup-checkbox:checked::after {
	content: '×';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #fff;
	font-size: 24px;
	font-weight: bold;
	line-height: 1;
}

.popup-checkbox-label span {
	font-weight: 500;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@media (max-width: 768px) {
	.popup-content {
		max-width: 95vw;
		max-height: 95vh;
	}
	.popup-close {
		top: 10px;
		right: 10px;
	}
}
