/* VTC Magic Link — modal (opened by the [vtc_get_app] shortcode button) */

.vtc-ml-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.vtc-ml-modal[hidden] {
	display: none;
}
.vtc-ml-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 17, 38, 0.6);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}
.vtc-ml-modal-panel {
	position: relative;
	max-width: 420px;
	width: 100%;
	background: linear-gradient(160deg, #4D52B4 0%, #4E9CE8 100%);
	border: 1px solid rgba(255,255,255,0.35);
	border-radius: 20px;
	padding: 36px 28px 28px;
	text-align: center;
	box-shadow: 0 20px 60px rgba(0,0,0,0.4);
	animation: vtc-ml-pop-in 0.22s ease;
}
@keyframes vtc-ml-pop-in {
	from { opacity: 0; transform: translateY(12px) scale(0.98); }
	to   { opacity: 1; transform: translateY(0) scale(1); }
}
.vtc-ml-modal-panel h2 {
	color: #fff;
	font-family: -apple-system, 'Helvetica Neue', Arial, sans-serif;
	font-size: 22px;
	margin: 0 0 6px;
}
.vtc-ml-modal-sub {
	color: rgba(255,255,255,0.85);
	font-family: -apple-system, 'Helvetica Neue', Arial, sans-serif;
	font-size: 14px;
	margin: 0 0 24px;
}

/*
 * Close X — static soft-white only. Theme / browser focus rings (often
 * orange/red) and tap highlights are fully suppressed.
 */
button.vtc-ml-modal-close,
.vtc-ml-modal button.vtc-ml-modal-close {
	appearance: none;
	-webkit-appearance: none;
	position: absolute;
	top: 10px;
	right: 14px;
	background: transparent !important;
	border: none !important;
	color: rgba(255, 255, 255, 0.8) !important;
	font-size: 26px !important;
	font-weight: 300;
	line-height: 1 !important;
	cursor: pointer;
	padding: 4px !important;
	margin: 0 !important;
	width: auto;
	height: auto;
	min-width: 0;
	min-height: 0;
	border-radius: 0 !important;
	outline: none !important;
	outline-offset: 0 !important;
	box-shadow: none !important;
	text-shadow: none !important;
	-webkit-tap-highlight-color: transparent !important;
	-webkit-focus-ring-color: transparent;
}

button.vtc-ml-modal-close:hover,
button.vtc-ml-modal-close:focus,
button.vtc-ml-modal-close:focus-visible,
button.vtc-ml-modal-close:active,
.vtc-ml-modal button.vtc-ml-modal-close:hover,
.vtc-ml-modal button.vtc-ml-modal-close:focus,
.vtc-ml-modal button.vtc-ml-modal-close:focus-visible,
.vtc-ml-modal button.vtc-ml-modal-close:active {
	color: rgba(255, 255, 255, 0.8) !important;
	background: transparent !important;
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
	transform: none !important;
}

.vtc-ml-modal-panel:focus,
.vtc-ml-modal-panel:focus-visible {
	outline: none !important;
	box-shadow: none !important;
}
