/* Step-wise mobile login (assets_web/js/app/mobile-auth.js) */

/* Only one step is visible at a time; beat any display set on the step's own class */
[data-ma-step][hidden],
[data-ma-section][hidden] {
	display: none !important;
}

.ma-spinner {
	display: none;
	width: 16px;
	height: 16px;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: ma-spin 0.7s linear infinite;
	flex-shrink: 0;
}

.is-loading .ma-spinner {
	display: inline-block;
}

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

/* Text buttons ("नंबर बदलें", resend) keep a 44px tap target */
.ma-link {
	background: none;
	border: 0;
	min-height: 44px;
	padding: 0 4px;
	color: #1565c0;
	font-weight: 600;
	text-decoration: underline;
	cursor: pointer;
}

.ma-link:disabled {
	color: #64748b;
	text-decoration: none;
	cursor: default;
}

.ma-sent-to {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 8px;
	color: #1e293b;
}

.ma-toast {
	position: fixed;
	top: 20px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 10050;
	max-width: calc(100vw - 32px);
	padding: 12px 20px;
	border-radius: 8px;
	background: #1b5e20;
	color: #ffffff;
	font-weight: 600;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}
