/* Bloom MyAcc — blok "Prihlásiť sa / Vytvoriť účet" na začiatku pokladne. */

.bloom-auth-box {
	margin: 0 0 20px;
}

.bloom-auth-chooser {
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
}

.bloom-auth-chip {
	background: #eaf6fd;
	border: 1px solid #a9dcf5;
	border-radius: 20px;
	color: #045a82;
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	padding: 8px 16px;
	transition: background .15s, color .15s, border-color .15s;
	white-space: nowrap;
}

.bloom-auth-chip:hover {
	background: #d9f0fb;
}

.bloom-auth-chip.is-active {
	background: #00a0e3;
	border-color: #00a0e3;
	color: #fff;
}

.bloom-auth-chip-guest {
	color: #045a82;
}

.bloom-auth-panels {
	background: #fff;
	border: 1px solid #e6eaf2;
	border-radius: 6px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .04);
	margin-top: 10px;
	max-width: 360px;
	position: relative;
}

.bloom-auth-panel-close {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 26px;
	height: 26px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 0;
	border-radius: 50%;
	color: #999;
	cursor: pointer;
	font-size: 18px;
	line-height: 1;
	padding: 0;
	z-index: 2;
}

.bloom-auth-panel-close:hover {
	background: #f4f6f9;
	color: #333;
}

.bloom-auth-panel {
	display: none;
	padding: 34px 16px 14px;
}

.bloom-auth-panel.is-active {
	display: block;
}

.bloom-auth-box .form-row {
	margin-bottom: 8px;
}

.bloom-auth-box label {
	display: block;
	font-size: 12px;
	color: #666;
	margin-bottom: 3px;
}

.bloom-auth-box .input-text {
	width: 100%;
	box-sizing: border-box;
	padding: 7px 10px;
	border: 1px solid #dbe1eb;
	border-radius: 4px;
	/* 16px = minimálna veľkosť, pri ktorej iOS Safari/Android Chrome
	   automaticky nepribližuje stránku po kliknutí do poľa (rovnaké
	   správanie ako ostatné polia v pokladni). Pod 16px by mobil pri
	   fokuse strieľal zoom. */
	font-size: 16px;
}

.bloom-auth-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 10px 0 0;
}

.bloom-auth-actions .button {
	font-size: 13px;
	padding: 8px 16px;
}

.bloom-auth-actions a {
	font-size: 12px;
}

.bloom-auth-msg {
	font-size: 12px;
	margin: 8px 0 0;
}

.bloom-auth-msg--ok { color: #2e7d32; }
.bloom-auth-msg--err { color: #c0392b; }

.bloom-auth-success {
	background: #eef9ee;
	border: 1px solid #bfe6bf;
	border-radius: 6px;
	padding: 12px;
	text-align: center;
}

.bloom-auth-success-icon {
	background: #2e7d32;
	border-radius: 50%;
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	height: 28px;
	width: 28px;
	margin-bottom: 8px;
}

.bloom-auth-success p {
	color: #33502f;
	font-size: 12.5px;
	line-height: 1.5;
	margin: 0;
}

@media (max-width: 600px) {
	.bloom-auth-chooser {
		gap: 6px;
	}
	.bloom-auth-chip {
		flex: 1 1 0;
		min-width: 0;
		box-sizing: border-box;
		text-align: center;
		font-size: 10.5px;
		line-height: 1.25;
		padding: 7px 4px;
		white-space: normal;
	}
	.bloom-auth-panels {
		max-width: 100%;
	}
}
