/**
 * ReyBlock Launchpad - Social Share Buttons Styles
 *
 * @package ReyBlockLaunchpad
 */

.rb-share-buttons {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.rb-share-label {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--rb-color-muted, #94a3b8);
}

.rb-share-list {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.rb-share-btn {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--rb-color-surface, #f8fafc);
	color: var(--rb-color-heading, #0f172a);
	border: 1px solid var(--rb-color-border, #e2e8f0);
	transition: all 0.2s ease;
	text-decoration: none;
	cursor: pointer;
}

.rb-share-btn svg {
	display: block;
	width: 18px;
	height: 18px;
}

.rb-share-btn:hover {
	background-color: var(--rb-palette-primary, #3b82f6);
	border-color: var(--rb-palette-primary, #3b82f6);
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

/* Floating sidebar position */
.rb-share-floating {
	position: fixed;
	left: 1.5rem;
	top: 50%;
	transform: translateY(-50%);
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	z-index: 90;
}

.rb-share-floating .rb-share-label {
	writing-mode: vertical-rl;
	transform: rotate(180deg);
}

.rb-share-floating .rb-share-list {
	flex-direction: column;
}

/* Inline share buttons */
.rb-share-inline {
	padding: 1.5rem 0;
	border-top: 1px solid var(--rb-color-border, #e2e8f0);
	border-bottom: 1px solid var(--rb-color-border, #e2e8f0);
	margin: 2.5rem 0;
}

/* Copy button success state */
.rb-share-copy.is-copied {
	background-color: #22c55e !important;
	border-color: #22c55e !important;
	color: #ffffff !important;
}

/* Responsive: Hide floating share on mobile/tablet to avoid obscuring text */
@media (max-width: 768px) {
	.rb-share-floating {
		display: none !important;
	}
}

/* Dark mode compatibility */
[data-theme="dark"] .rb-share-buttons {
	background-color: transparent;
}

[data-theme="dark"] .rb-share-btn {
	background-color: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.12);
	color: #f8fafc;
}

[data-theme="dark"] .rb-share-btn:hover {
	background-color: var(--rb-palette-primary, #3b82f6);
	border-color: var(--rb-palette-primary, #3b82f6);
	color: #ffffff;
}

