/**
 * Video Share Dialog Styles
 */

/* Share button in video overlay */
/* .overlay-shear-box {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
} */

.overlay-shear-box a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.9);
	border-radius: 50%;
	color: #333;
	font-size: 18px;
	transition: all 0.3s ease;
}

.overlay-shear-box a:hover {
	background: #fff;
	transform: scale(1.1);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Share Dialog */
.share-dialog {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
}

.share-dialog.active {
	display: block;
}

.share-dialog-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	animation: fadeIn 0.3s ease;
}

.share-dialog-content {
	position: relative;
	max-width: 500px;
	margin: 50px auto;
	background: #fff;
	border-radius: 10px;
	padding: 30px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
	animation: slideUp 0.3s ease;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes slideUp {
	from {
		transform: translateY(50px);
		opacity: 0;
	}

	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.share-dialog-close {
	position: absolute;
	top: 15px;
	right: 15px;
	background: none;
	border: none;
	font-size: 30px;
	color: #999;
	cursor: pointer;
	line-height: 1;
	padding: 0;
	width: 30px;
	height: 30px;
	transition: color 0.3s ease;
}

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

.share-dialog-content h3 {
	margin: 0 0 10px 0;
	font-size: 24px;
	color: #333;
}

.share-dialog-title {
	margin: 0 0 20px 0;
	color: #666;
	font-size: 14px;
}

/* Share buttons */
.share-dialog-buttons {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 10px;
	margin-bottom: 20px;
}

.share-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 15px;
	border-radius: 5px;
	color: #fff;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	transition: all 0.3s ease;
}

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

.share-facebook {
	background: #1877f2;
}

.share-facebook:hover {
	background: #145dbf;
}

.share-twitter {
	background: #1da1f2;
}

.share-twitter:hover {
	background: #0c85d0;
}

.share-linkedin {
	background: #0077b5;
}

.share-linkedin:hover {
	background: #005885;
}

.share-whatsapp {
	background: #25d366;
}

.share-whatsapp:hover {
	background: #1da851;
}

.share-email {
	background: #666;
	cursor: pointer;
}

.share-email:hover {
	background: #444;
}

/* Link copy section */
.share-dialog-link {
	display: flex;
	gap: 10px;
	padding-top: 20px;
	border-top: 1px solid #eee;
}

.share-link-input {
	flex: 1;
	padding: 10px 15px;
	border: 1px solid #ddd;
	border-radius: 5px;
	font-size: 14px;
	color: #666;
	background: #f9f9f9;
}

.share-copy-btn {
	padding: 10px 20px;
	background: #333;
	color: #fff;
	border: none;
	border-radius: 5px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	white-space: nowrap;
}

.share-copy-btn:hover {
	background: #000;
}

/* Mobile responsive */
@media (max-width: 768px) {
	.share-dialog-content {
		margin: 20px;
		padding: 20px;
		max-width: none;
	}

	.share-dialog-buttons {
		grid-template-columns: 1fr;
	}

	.share-dialog-link {
		flex-direction: column;
	}

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

/* Small mobile adjustments */
@media (max-width: 480px) {
	.overlay-shear-box a {
		width: 35px;
		height: 35px;
		font-size: 16px;
	}

	.share-dialog-content h3 {
		font-size: 20px;
	}
}