/* AI Poradca – loader ([aizp_loader]) a chybová hláška */

.aizp-loader {
	display: flex;
	flex-direction: column-reverse;
	align-items: center;
	color: var(--primary);
	font-size: var(--h1);
	font-weight: 700;
}

.aizp-loader__bar[value] {
	width: 12.5em;
	max-width: 100%;
	height: .25em;
	border: none;
	border-radius: .125em;
	background: #E6EEFF;
}

.aizp-loader__bar[value]::-moz-progress-bar {
	border: none;
	border-radius: inherit;
	background: var(--primary);
}

.aizp-loader__bar[value]::-webkit-progress-bar {
	border: none;
	border-radius: inherit;
	background: #E6EEFF;
}

.aizp-loader__bar[value]::-webkit-progress-value {
	border: none;
	border-radius: inherit;
	background: var(--primary);
	transition: width .2s linear;
}

.aizp-loader__value {
	padding-bottom: 1em;
}

.aizp-loader__value:not(:empty)::after {
	content: '%';
}

.aizp-error {
	margin-bottom: var(--space-s, 1rem);
	padding: var(--space-xs, .75rem) var(--space-s, 1rem);
	border: 1px solid #d63638;
	border-radius: var(--radius-l, 12px);
	background: #fcf0f1;
	color: #8a1f21;
	font-size: var(--text-s, .95rem);
}
