.auth4app-auth {
	max-width: 420px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #1a1a1a;
}

.auth4app-auth__label {
	display: block;
	margin-bottom: 8px;
	font-size: 14px;
	font-weight: 600;
}

.auth4app-auth__row {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.auth4app-auth__input {
	flex: 1 1 180px;
	min-height: 44px;
	padding: 10px 12px;
	border: 1px solid #cfd4dc;
	border-radius: 8px;
	font-size: 16px;
	box-sizing: border-box;
}

.auth4app-auth__input:focus {
	outline: none;
	border-color: #229ED9;
	box-shadow: 0 0 0 3px rgba(34, 158, 217, 0.15);
}

.auth4app-auth__btn {
	min-height: 44px;
	padding: 10px 18px;
	border: 0;
	border-radius: 8px;
	background: #229ED9;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}

.auth4app-auth__btn:disabled {
	opacity: 0.6;
	cursor: default;
}

.auth4app-auth__hint {
	margin: 0 0 12px;
	font-size: 14px;
	line-height: 1.4;
	color: #4b5563;
}

.auth4app-auth__code {
	margin-bottom: 12px;
	padding: 12px;
	border-radius: 8px;
	background: #f3f4f6;
	font-size: 28px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-align: center;
}

.auth4app-auth__links {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 16px;
}

.auth4app-auth__messenger {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	padding: 10px 14px;
	border-radius: 10px;
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	transition: opacity 0.15s ease;
}

.auth4app-auth__messenger:hover {
	opacity: 0.92;
	color: #fff;
}

.auth4app-auth__messenger img {
	width: 28px;
	height: 28px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.2);
}

.auth4app-auth__qr {
	display: flex;
	justify-content: center;
	margin-bottom: 12px;
}

.auth4app-auth__qr img {
	border-radius: 8px;
	border: 1px solid #e5e7eb;
}

.auth4app-auth__status {
	margin: 0 0 12px;
	font-size: 13px;
	color: #6b7280;
}

.auth4app-auth__link-btn {
	border: 0;
	background: transparent;
	color: #229ED9;
	cursor: pointer;
	padding: 0;
	font-size: 14px;
}

.auth4app-auth__error {
	margin-top: 12px;
	padding: 10px 12px;
	border-radius: 8px;
	background: #fef2f2;
	color: #b91c1c;
	font-size: 14px;
}

.auth4app-auth [hidden] {
	display: none !important;
}

.auth4app-auth__input {
	min-width: 0;
	max-width: 100%;
}
