.megh-share-wrapper {
	display: flex;
	width: 100%;
}

.megh-share-trigger {
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	transition: all 0.3s ease;
	font-weight: 500;
	text-transform: uppercase;
}

.megh-share-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* Modal Overlay */
.megh-share-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.megh-share-modal-overlay.is-open {
	opacity: 1;
	visibility: visible;
}

/* Modal Content */
.megh-share-modal-content {
	background: #ffffff;
	border-radius: 12px;
	width: 90%;
	max-width: 400px;
	padding: 30px;
	position: relative;
	transform: scale(0.9);
	transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.megh-share-modal-overlay.is-open .megh-share-modal-content {
	transform: scale(1);
}

/* Modal Header */
.megh-share-modal-title {
	margin: 0 0 20px 0;
	font-size: 20px;
	color: #333;
	font-weight: 600;
	text-align: center;
}

.megh-share-modal-close {
	position: absolute;
	top: 15px;
	right: 15px;
	background: none;
	border: none;
	font-size: 24px;
	line-height: 1;
	color: #999;
	cursor: pointer;
	padding: 5px;
	transition: color 0.2s;
}

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

/* Networks Grid */
.megh-share-networks {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px;
}

.megh-share-network-item {
	background: none;
	border: none;
	padding: 10px;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	transition: transform 0.2s;
}

.megh-share-network-item:hover {
	transform: translateY(-3px);
}

.megh-share-modal-icon {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 8px;
	color: #fff;
	font-size: 22px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.megh-share-modal-icon svg {
	width: 24px;
	height: 24px;
	fill: currentColor;
}

.megh-share-modal-name {
	font-size: 12px;
	color: #555;
	font-weight: 500;
}

/* Feedback */
.megh-share-copy-feedback {
	margin-top: 20px;
	padding: 10px;
	background: #e6f4ea;
	color: #1e8e3e;
	text-align: center;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 500;
}
