.pc-lightbox img {
	cursor: zoom-in;
}

.pc-gallery { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.pc-photo { background: #fff; border: 1px solid #e0e0e0; padding: 15px; border-radius: 10px; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.pc-photo img { max-width: 100%; height: auto; border-radius: 10px; margin-bottom: 10px; }
.sc_votes { margin: 10px 0; font-weight: bold; }
.pc-vote-btn { margin-top: 10px; }

/* Messaggio di successo */
.pc-upload-success {
	background-color: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
	padding: 15px 20px;
	margin: 20px auto;
	text-align: center;
	border-radius: 8px;
	max-width: 600px;
	font-weight: bold;
	font-size: 1.1em;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Messaggio di warning */
.pc-upload-warning {
	background-color: #fff3cd;
	color: #856404;
	border: 1px solid #ffeeba;
	padding: 12px 18px;
	margin: 20px 0;
	border-radius: 6px;
	font-weight: bold;
	font-size: 1em;
	box-shadow: 0 1px 5px rgba(0,0,0,0.05);
	display: initial;
	width: 100%;
	box-sizing: border-box;
}


/* Form responsive */
.pc_form {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	align-items: center;
	margin-bottom: 20px;
}

/* Input e file */
.pc_input {
	padding: 10px 15px;
	border: 1px solid #ddd;
	border-radius: 50px;
	font-size: 1em;
	flex: 1 1 250px;
	max-width: 300px;
}

/* Bottone */
.pc_button {
	background-color: #d01616;
	color: white;
	border: none;
	padding: 12px 20px;
	border-radius: 50px;
	font-size: 1em;
	cursor: pointer;
	flex: 1 1 200px;
	max-width: 200px;
	text-align: center;
}

/* Responsive */
@media (max-width: 600px) {
	.pc_form {
		flex-direction: column;
		align-items: stretch;
	}

	.pc_input, .pc_button {
		width: 100%;
		max-width: none;
	}
}

