/* Share Modal Styles - Global */
.share-modal {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	align-items: center;
	justify-content: center;
	z-index: 9999;
	opacity: 0;
	transition: opacity 0.3s ease;
	backdrop-filter: blur(4px);
	pointer-events: none;
}

.share-modal.active {
	display: flex;
	opacity: 1;
	pointer-events: auto;
}

.share-modal-content {
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
	padding: 0;
	max-width: 420px;
	width: 90%;
	transform: scale(0.9);
	transition: transform 0.3s ease;
	overflow: hidden;
	max-height: 90vh;
	overflow-y: auto;
}

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

.share-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 25px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.share-modal-header h3 {
	margin: 0;
	font-size: 18px;
	color: #333;
	font-weight: 600;
}

.share-modal-close {
	background: none;
	border: none;
	font-size: 28px;
	cursor: pointer;
	color: #999;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	transition: color 0.2s ease;
	padding: 0;
}

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

.share-modal-body {
	padding: 25px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	align-items: center;
}

.share-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 15px;
	border: 2px solid #eee;
	border-radius: 12px;
	background: #fafafa;
	cursor: pointer;
	transition: all 0.2s ease;
	font-size: 12px;
	font-weight: 600;
	color: #333;
	flex: 0 1 auto;
	min-width: 80px;
}

.share-btn:hover {
	border-color: var(--primary-pink);
	background: rgba(255, 20, 147, 0.05);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(255, 20, 147, 0.15);
}

.share-btn svg {
	width: 32px;
	height: 32px;
}

.share-btn-whatsapp svg { color: #25D366; }
.share-btn-facebook svg { color: #1877F2; }
.share-btn-pinterest svg { color: #E60023; }

.share-modal-divider {
	width: 100%;
	height: 1px;
	background: rgba(0, 0, 0, 0.08);
	margin: 0;
}

.share-modal-copy {
	padding: 20px 25px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.share-modal-copy-label {
	font-size: 12px;
	font-weight: 600;
	color: #666;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.share-copy-container {
	display: flex;
	gap: 8px;
}

.share-link-input {
	flex: 1;
	padding: 10px 12px;
	border: 2px solid #eee;
	border-radius: 8px;
	font-size: 13px;
	color: #333;
	background: #fafafa;
	font-family: 'Monaco', 'Menlo', monospace;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	transition: border-color 0.2s ease;
}

.share-link-input:focus {
	outline: none;
	border-color: var(--primary-pink);
}

.share-copy-btn {
	padding: 10px 16px;
	background: var(--primary-pink);
	color: white;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	font-size: 12px;
	font-weight: 600;
	transition: all 0.2s ease;
	white-space: nowrap;
}

.share-copy-btn:hover {
	background: #ff0080;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(255, 20, 147, 0.3);
}

.share-copy-btn.copied {
	background: #4CAF50;
}

@media (max-width: 480px) {
	.share-modal-body {
		gap: 10px;
	}

	.share-btn {
		padding: 12px;
		font-size: 11px;
		min-width: 70px;
	}

	.share-btn svg {
		width: 28px;
		height: 28px;
	}

	.share-copy-container {
		flex-direction: column;
	}

	.share-copy-btn {
		width: 100%;
	}
}
