/* Queme Share Widget Styles */

:root {
	--queme-share-primary: #000000;
	--queme-share-primary-hover: #1f2937;
	--queme-share-bg: #ffffff;
	--queme-share-border: #e5e7eb;
	--queme-share-text: #1f2937;
	--queme-share-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
	:root {
		--queme-share-bg: #1f2937;
		--queme-share-border: #374151;
		--queme-share-text: #f3f4f6;
	}
}

.queme-share-widget {
	position: fixed;
	z-index: 9999;
	bottom: 40px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.queme-share-widget.queme-share-left {
	left: 20px;
}

.queme-share-widget.queme-share-right {
	right: 75px;
}

/* Toggle Button */
.queme-share-toggle {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--queme-share-primary);
	color: white;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: var(--queme-share-shadow);
	transition: all 0.3s ease;
	font-size: 0;
	padding: 0;
}

.queme-share-toggle:hover {
	background: var(--queme-share-primary-hover);
	transform: scale(1.1);
}

.queme-share-toggle:active {
	transform: scale(0.95);
}

.queme-share-toggle svg {
	width: 24px;
	height: 24px;
	stroke: white;
	stroke-width: 2;
}

/* Menu */
.queme-share-menu {
	position: absolute;
	bottom: 70px;
	left: 50%;
	transform: translateX(-50%) scale(0);
	background: var(--queme-share-bg);
	border: 1px solid var(--queme-share-border);
	border-radius: 12px;
	box-shadow: var(--queme-share-shadow);
	display: flex;
	flex-direction: column;
	gap: 0;
	min-width: 180px;
	transition: all 0.3s ease;
	opacity: 0;
	pointer-events: none;
}

.queme-share-widget.active .queme-share-menu {
	transform: translateX(-50%) scale(1);
	opacity: 1;
	pointer-events: auto;
}

/* Share Buttons */
.queme-share-btn {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	border: none;
	background: transparent;
	color: var(--queme-share-text);
	text-decoration: none;
	cursor: pointer;
	font-size: 14px;
	font-weight: 400;
	transition: all 0.2s ease;
	border-bottom: 1px solid var(--queme-share-border);
}

.queme-share-btn:last-child {
	border-bottom: none;
}

.queme-share-btn:hover {
	background: #f3f4f6;
}

@media (prefers-color-scheme: dark) {
	.queme-share-btn:hover {
		background: #374151;
	}
}

.queme-share-btn svg {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

/* Social Media Colors */
.queme-share-facebook {
	--btn-color: #1877f2;
}

.queme-share-facebook:hover {
	color: var(--btn-color);
	background: rgba(24, 119, 242, 0.1);
}

.queme-share-twitter {
	--btn-color: #1da1f2;
}

.queme-share-twitter:hover {
	color: var(--btn-color);
	background: rgba(29, 161, 242, 0.1);
}

.queme-share-linkedin {
	--btn-color: #0a66c2;
}

.queme-share-linkedin:hover {
	color: var(--btn-color);
	background: rgba(10, 102, 194, 0.1);
}

.queme-share-whatsapp {
	--btn-color: #25d366;
}

.queme-share-whatsapp:hover {
	color: var(--btn-color);
	background: rgba(37, 211, 102, 0.1);
}

.queme-share-email {
	--btn-color: #ea4335;
}

.queme-share-email:hover {
	color: var(--btn-color);
	background: rgba(234, 67, 53, 0.1);
}

.queme-share-copy {
	--btn-color: #6366f1;
}

.queme-share-copy:hover {
	color: var(--btn-color);
	background: rgba(99, 102, 241, 0.1);
}

/* Toast Notification */
.queme-share-toast {
	position: fixed;
	bottom: 110px;
	left: 50%;
	transform: translateX(-50%);
	background: #10b981;
	color: white;
	padding: 12px 20px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 400;
	box-shadow: var(--queme-share-shadow);
	animation: queme-share-toast-in 0.3s ease;
	z-index: 9998;
	max-width: 90%;
}

@keyframes queme-share-toast-in {
	from {
		opacity: 0;
		transform: translateX(-50%) translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateX(-50%) translateY(0);
	}
}

/* Responsive */
@media (max-width: 768px) {
	.queme-share-widget {
		bottom: 20px;
	}

	.queme-share-widget.queme-share-left {
		left: 10px;
	}

	.queme-share-widget.queme-share-right {
		right: 10px;
	}

	.queme-share-toggle {
		width: 48px;
		height: 48px;
	}

	.queme-share-menu {
		min-width: 160px;
	}

	.queme-share-btn {
		padding: 10px 12px;
		font-size: 13px;
		gap: 10px;
	}

	.queme-share-modal-content {
		width: 280px;
		padding: 30px 20px;
	}
}
