/* Modal de partage centrée */
.share-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.4);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	z-index: 1100;
	display: none;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.share-modal-overlay.active {
	display: flex;
	opacity: 1;
}

.share-modal-content {
	background: white;
	border-radius: 16px;
	padding: 24px;
	max-width: 90%;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
	transform: scale(0.9);
	transition: transform 0.3s ease;
	position: relative;
}

.share-modal-overlay.active .share-modal-content {
	transform: scale(1);
}

.share-modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	padding-bottom: 16px;
	border-bottom: 1px solid #e5e7eb;
}

.share-modal-title {
	font-size: 20px;
	font-weight: 600;
	color: #1f2937;
	display: flex;
	align-items: center;
	gap: 8px;
}

.share-modal-close {
	background: none;
	border: none;
	font-size: 24px;
	color: #6b7280;
	cursor: pointer;
	padding: 4px;
	line-height: 1;
	transition: color 0.2s;
}

.share-modal-close:hover {
	color: #1f2937;
}

/* Grille de boutons */
.share-buttons-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(3, 1fr);
}

@media (min-width: 768px) {
	.share-buttons-grid {
		grid-template-columns: repeat(5, 1fr);
	}
	.share-modal-content {
		max-width: 600px;
	}
}

.share-button-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 16px 8px;
	border-radius: 12px;
	text-decoration: none;
	transition: all 0.2s ease;
	cursor: pointer;
	border: none;
	background: #f9fafb;
}

.share-button-item:hover {
	background: #f3f4f6;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.share-button-icon {
	width: 48px;
	height: 48px;
	margin-bottom: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.share-button-label {
	font-size: 12px;
	color: #374151;
	text-align: center;
	font-weight: 500;
}

/* Styles spécifiques pour chaque réseau */
.share-button-messenger {
	background: linear-gradient(135deg, #0084ff 0%, #0066cc 100%);
	color: white;
}

.share-button-messenger:hover {
	background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
}

.share-button-facebook {
	background: #1877f2;
	color: white;
}

.share-button-facebook:hover {
	background: #166fe5;
}

.share-button-whatsapp {
	background: #25d366;
	color: white;
}

.share-button-whatsapp:hover {
	background: #128c7e;
}

.share-button-viber {
	background: #7360f2;
	color: white;
}

.share-button-viber:hover {
	background: #5a4bc7;
}

.share-button-telegram {
	background: linear-gradient(135deg, #37aee2 0%, #1e96c8 100%);
	color: white;
}

.share-button-telegram:hover {
	background: linear-gradient(135deg, #1e96c8 0%, #1578a5 100%);
}

.share-button-instagram {
	background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
	color: white;
}

.share-button-instagram:hover {
	background: linear-gradient(135deg, #e6683c 0%, #dc2743 25%, #cc2366 50%, #bc1888 75%, #a0126b 100%);
}

.share-button-copy {
	background: #3b82f6;
	color: white;
}

.share-button-copy:hover {
	background: #2563eb;
}

.share-button-sms {
	background: #06b6d4;
	color: white;
}

.share-button-sms:hover {
	background: #0891b2;
}

.share-button-email {
	background: #0dbef3;
	color: white;
}

.share-button-email:hover {
	background: #0ba8d9;
}

.share-button-item.share-button-messenger .share-button-label,
.share-button-item.share-button-facebook .share-button-label,
.share-button-item.share-button-whatsapp .share-button-label,
.share-button-item.share-button-viber .share-button-label,
.share-button-item.share-button-telegram .share-button-label,
.share-button-item.share-button-instagram .share-button-label,
.share-button-item.share-button-copy .share-button-label,
.share-button-item.share-button-sms .share-button-label,
.share-button-item.share-button-email .share-button-label {
	color: white;
}

