/**
 * Pantalla de carga compartida (producto por metros y subida posterior).
 *
 * Cuelga de <body>, fuera de los contenedores de los shortcodes: no hereda
 * nada de ellos y lleva sus colores puestos.
 */

.masdtf-veil {
	position: fixed;
	inset: 0;
	z-index: 100001;
	background: rgba(255, 255, 255, .92);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	font-family: inherit;
	color: #101828;
}

.masdtf-veil[hidden] {
	display: none;
}

.masdtf-veil__card {
	display: grid;
	justify-items: center;
	gap: 14px;
	width: min(360px, 100%);
	text-align: center;
}

.masdtf-veil__logo {
	max-width: min(260px, 70vw);
	max-height: 90px;
	width: auto;
	height: auto;
}

.masdtf-veil__logo[hidden] {
	display: none;
}

.masdtf-veil__spinner {
	width: 38px;
	height: 38px;
	border: 4px solid #dfe3ea;
	border-top-color: #2563eb;
	border-radius: 50%;
	animation: masdtf-veil-spin .8s linear infinite;
}

@keyframes masdtf-veil-spin {
	to { transform: rotate(360deg); }
}

.masdtf-veil__text {
	font-size: .95rem;
	color: #667085;
	letter-spacing: .02em;
	word-break: break-word;
}

.masdtf-veil__bar {
	display: block;
	width: 100%;
	height: 8px;
	border-radius: 4px;
	background: #eef0f4;
	overflow: hidden;
}

.masdtf-veil__bar > span {
	display: block;
	height: 100%;
	width: 0;
	background: #2563eb;
	transition: width .2s ease;
}

.masdtf-veil__pct {
	font-size: 1.1rem;
	font-weight: 700;
}
