/**
 * فقط مودال پخش ویدیو و ریست دکمه — چیدمان بخش‌ها از style قالب Macneed است.
 */

button.videoCard {
	appearance: none;
	border: 0;
	padding: 0;
	margin: 0;
	width: 100%;
	font: inherit;
	color: inherit;
	background: #fff;
	border-radius: 50px;
	text-align: center;
	cursor: pointer;
}

.macneed-pc-modal[hidden] {
	display: none !important;
}

.macneed-pc-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	box-sizing: border-box;
}

.macneed-pc-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.65);
}

.macneed-pc-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(960px, 100%);
	max-height: 90vh;
	background: #000;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.macneed-pc-modal__close {
	position: absolute;
	top: 0.35rem;
	inset-inline-end: 0.35rem;
	z-index: 2;
	width: 2.25rem;
	height: 2.25rem;
	border: 0;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
}

.macneed-pc-modal__frame-wrap {
	position: relative;
	padding-top: 56.25%;
}

.macneed-pc-modal__iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
