/**
 * Video Call request modal (cos-woo-theme).
 *
 * Storefront modal opened from the "По видеосвязи на сайте" header item.
 * Uses theme design tokens (--cwt-color-*) so it matches the brand palette.
 */

.cwt-vc-scrim {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(11, 22, 38, 0.6);
	backdrop-filter: blur(4px);
	animation: cwtVcFade 0.18s ease;
}

@keyframes cwtVcFade {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.cwt-vc-modal {
	position: relative;
	width: 100%;
	max-width: 440px;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 24px 60px rgba(11, 22, 38, 0.32);
	padding: 30px 28px 28px;
	animation: cwtVcPop 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cwtVcPop {
	from {
		transform: translateY(14px) scale(0.98);
		opacity: 0;
	}
	to {
		transform: none;
		opacity: 1;
	}
}

.cwt-vc-x {
	position: absolute;
	top: 12px;
	right: 14px;
	width: 34px;
	height: 34px;
	border: 0;
	background: transparent;
	color: #8a93a2;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	border-radius: 8px;
}

.cwt-vc-x:hover {
	background: #f1f3f6;
	color: #0b1626;
}

.cwt-vc-body {
	text-align: center;
}

.cwt-vc-ic {
	width: 58px;
	height: 58px;
	margin: 0 auto 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--cwt-color-accent, #00b8d4);
	color: #fff;
}

.cwt-vc-ic-ok {
	background: #1faa59;
}

.cwt-vc-title {
	margin: 0 0 8px;
	font-size: 21px;
	font-weight: 700;
	color: var(--cwt-color-ink, #0b1626);
}

.cwt-vc-lead {
	margin: 0 0 18px;
	font-size: 14px;
	line-height: 1.5;
	color: #5b6573;
}

.cwt-vc-form {
	display: flex;
	flex-direction: column;
	gap: 10px;
	text-align: left;
}

.cwt-vc-form input,
.cwt-vc-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1.5px solid #dde2e9;
	border-radius: 11px;
	font-size: 15px;
	font-family: inherit;
	color: #0b1626;
	background: #fbfcfd;
	transition: border-color 0.15s;
}

.cwt-vc-form input:focus,
.cwt-vc-form textarea:focus {
	outline: none;
	border-color: var(--cwt-color-accent, #00b8d4);
	background: #fff;
}

.cwt-vc-form textarea {
	resize: vertical;
	min-height: 52px;
}

.cwt-vc-err {
	display: none;
	color: #d63638;
	font-size: 13px;
	margin: 2px 0 0;
}

.cwt-vc-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin-top: 4px;
	padding: 13px 18px;
	border: 0;
	border-radius: 11px;
	background: var(--cwt-color-accent, #00b8d4);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	text-decoration: none;
	transition: filter 0.15s;
}

.cwt-vc-submit:hover {
	filter: brightness(0.94);
	color: #fff;
}

.cwt-vc-submit:disabled {
	opacity: 0.6;
	cursor: default;
}

.cwt-vc-join {
	margin-top: 8px;
	background: #1faa59;
	font-size: 16px;
	padding: 15px 18px;
}

.cwt-vc-wait,
.cwt-vc-ready {
	padding: 8px 0 4px;
}

.cwt-vc-spinner {
	width: 46px;
	height: 46px;
	margin: 4px auto 16px;
	border: 4px solid #e4e8ee;
	border-top-color: var(--cwt-color-accent, #00b8d4);
	border-radius: 50%;
	animation: cwtVcSpin 0.9s linear infinite;
}

@keyframes cwtVcSpin {
	to {
		transform: rotate(360deg);
	}
}

@media (max-width: 480px) {
	.cwt-vc-modal {
		padding: 26px 18px 20px;
		border-radius: 16px;
	}
}
