.wpps-login-as-banner {
	position: fixed;
	bottom: 20px;
	left: 20px;
	z-index: 999999;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.wpps-login-as-banner--admin {
	max-width: min(420px, calc(100vw - 40px));
}

.wpps-login-as-banner--frontend {
	max-width: none;
}

.wpps-login-as-banner__status {
	margin: 0;
	padding: 10px 14px;
	background: #1d2327;
	color: #fff;
	border-radius: 4px 4px 0 0;
	font-size: 13px;
	line-height: 1.4;
}

.wpps-switch-back-trigger {
	background: #dc3232 !important;
	color: #fff !important;
	border: none !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
	cursor: pointer;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.4;
	text-align: center;
}

.wpps-login-as-banner--admin .wpps-switch-back-trigger {
	padding: 12px 20px !important;
	border-radius: 0 0 4px 4px !important;
	text-align: left;
	width: 100%;
}

.wpps-login-as-banner--frontend .wpps-switch-back-trigger {
	padding: 8px 12px !important;
	border-radius: 4px !important;
	width: auto;
	max-width: 140px;
	min-width: 0;
	white-space: nowrap;
}

.wpps-switch-back-trigger:hover,
.wpps-switch-back-trigger:focus {
	background: #b32d2e !important;
	color: #fff !important;
}

.wpps-switch-back-trigger.is-busy {
	opacity: 0.5;
	pointer-events: none;
}
