.firebase-action-panel {
	align-self: center;
	min-height: 390px;
}

.firebase-action-state {
	display: grid;
	gap: 18px;
	align-content: center;
	min-width: 0;
	min-height: 280px;
	text-align: center;
}

.firebase-action-state h2,
.firebase-action-state p {
	margin: 0;
}

.firebase-action-state > p {
	color: var(--ink-500);
	font-size: 16px;
	line-height: 1.55;
}

.firebase-action-icon {
	display: inline-grid;
	place-items: center;
	width: 58px;
	height: 58px;
	margin: 0 auto;
	border-radius: 50%;
	background: #e8f0fb;
	color: var(--navy-800);
}

.firebase-action-icon svg {
	width: 30px;
	height: 30px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
}

.firebase-action-icon--success {
	background: #e5f6ec;
	color: #147044;
}

.firebase-action-icon--warning {
	background: #fff4d6;
	color: #8a5b00;
}

.firebase-action-icon--error {
	background: #ffebeb;
	color: #a32929;
}

.firebase-action-icon--loading {
	width: 48px;
	height: 48px;
	border: 4px solid #dce5f0;
	border-top-color: var(--gold-500);
	background: transparent;
	animation: firebase-action-spin 0.8s linear infinite;
}

.firebase-action-account {
	border-left: 3px solid var(--gold-500);
	background: #fff9e9;
	padding: 12px 14px;
	text-align: left;
	overflow-wrap: anywhere;
}

.firebase-action-buttons {
	display: grid;
	gap: 10px;
}

.firebase-action-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	border: 1px solid #cfd7e3;
	border-radius: 8px;
	background: #ffffff;
	color: var(--navy-800);
	font-weight: 800;
	padding: 10px 16px;
	text-align: center;
}

.firebase-action-state .status-message {
	margin: 0;
	text-align: left;
}

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

@media (min-width: 720px) {
	.firebase-action-buttons {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (prefers-reduced-motion: reduce) {
	.firebase-action-icon--loading {
		animation-duration: 1.8s;
	}
}
