/* Share Popup Modal */
.share-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2000;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.share-modal.active {
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 1;
}

.share-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	z-index: 1;
}

.share-modal-content {
	position: relative;
	background: linear-gradient(135deg, var(--primary-red) 0%, #A01828 100%);
	border-radius: 12px;
	padding: 2rem;
	max-width: 500px;
	width: 90%;
	max-width: min(500px, 80vw);
	z-index: 2;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
	animation: slideDown 0.3s ease;
}

.share-close-btn {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	background: rgba(255, 255, 255, 0.2);
	border: none;
	font-size: 1.5rem;
	color: #FFFFFF;
	cursor: pointer;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: all 0.2s;
	z-index: 3;
}

.share-close-btn:hover {
	background: rgba(255, 255, 255, 0.3);
	transform: rotate(90deg);
}

.share-title {
	color: #FFFFFF;
	margin: 0 0 1.5rem 0;
	font-size: 1.5rem;
	font-weight: 700;
	text-align: center;
}

.share-url-container {
	display: flex;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
	background: rgba(255, 255, 255, 0.95);
	border-radius: 8px;
	padding: 0.5rem;
	align-items: center;
}

.share-url-input {
	flex: 1;
	border: none;
	background: transparent;
	padding: 0.5rem;
	font-family: inherit;
	font-size: 0.9rem;
	color: var(--text-main);
	outline: none;
}

.share-copy-btn {
	background: var(--primary-red);
	border: none;
	color: #FFFFFF;
	padding: 0.5rem 1rem;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.2s;
	font-size: 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
}

.share-copy-btn:hover {
	background: #A01828;
	transform: scale(1.05);
}

.share-copy-btn.copied {
	background: #28a745;
}

.share-buttons {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 0.75rem;
}

.share-btn {
	background: rgba(255, 255, 255, 0.95);
	border: none;
	padding: 0.75rem;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.2s;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: inherit;
	color: var(--text-main);
	aspect-ratio: 1;
}

.share-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.share-btn i {
	font-size: 1.5rem;
}

.share-btn span {
	display: none;
}

.share-facebook:hover {
	background: #1877F2;
	color: #FFFFFF;
}

.share-twitter:hover {
	background: #000000;
	color: #FFFFFF;
}

.share-linkedin:hover {
	background: #0A66C2;
	color: #FFFFFF;
}

.share-whatsapp:hover {
	background: #25D366;
	color: #FFFFFF;
}

.share-telegram:hover {
	background: #0088cc;
	color: #FFFFFF;
}

/* Mobile responsive */
@media (max-width: 600px) {
	.share-modal-content {
		padding: 1.5rem;
		width: 80%;
		max-width: 80vw;
	}
	
	.share-title {
		font-size: 1.25rem;
		margin-bottom: 1rem;
	}
	
	.share-buttons {
		grid-template-columns: repeat(5, 1fr);
		gap: 0.5rem;
	}
	
	.share-btn {
		padding: 0.6rem;
	}
	
	.share-btn i {
		font-size: 1.5rem;
	}
	
	.share-url-input {
		font-size: 0.85rem;
	}
}

