/* Shared feedback appearance for public pages, account screens, Studio and Editor. */
.design-page .renderlion-notification {
	display: grid;
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	min-height: 44px;
	grid-template-columns: 28px minmax(0, 1fr) 28px;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 12px 14px;
	border: 0;
	border-radius: 12px;
	box-shadow: rgba(0, 0, 0, 0.45) 0 25px 20px -20px, rgba(17, 17, 26, 0.1) 0 1px 0;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
	text-align: center;
	white-space: normal;
}

.design-page .renderlion-notification--success {
	background: #17813b;
	color: #fff;
}

.design-page .renderlion-notification--warning {
	background: #f4c84a;
	color: #15130f;
}

.design-page .renderlion-notification--error {
	background: #c41f1f;
	color: #fff;
}

.design-page .renderlion-notification > .renderlion-notification__icon {
	display: inline-grid;
	width: 28px;
	height: 28px;
	grid-column: 1;
	grid-row: 1;
	align-self: center;
	justify-self: center;
	place-items: center;
}

.design-page .renderlion-notification__icon svg {
	display: block;
	width: 20px;
	height: 20px;
}

.design-page .renderlion-notification > .renderlion-notification__content {
	display: grid;
	min-width: 0;
	grid-column: 2;
	grid-row: 1;
	gap: 2px;
	text-align: center;
	overflow-wrap: anywhere;
}

.design-page .renderlion-notification__title {
	margin: 0;
	color: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
}

.design-page .renderlion-notification__message {
	margin: 0;
	color: inherit;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
}

.design-page .renderlion-notification__actions {
	justify-content: center;
	gap: 6px;
}

.design-page .renderlion-notification > .renderlion-notification__dismiss {
	display: inline-grid;
	width: 28px;
	height: 28px;
	grid-column: 3;
	grid-row: 1;
	align-self: center;
	justify-self: end;
	margin: 0;
}

/* Recovery actions sit below the message so the text stays centered. */
.design-page .renderlion-notification > .ui-button,
.design-page .renderlion-notification > .renderlion-notification__action,
.design-page .renderlion-notification > .renderlion-notification__actions {
	grid-column: 2;
	grid-row: 2;
	justify-self: center;
	width: auto;
	max-width: 100%;
	margin: 0;
}

.design-page .renderlion-notification > .ui-button,
.design-page .renderlion-notification > .renderlion-notification__action,
.design-page .renderlion-notification__actions > .ui-button,
.design-page .renderlion-notification__actions > .renderlion-notification__action {
	min-height: 36px;
	padding: 6px 12px;
	border: 1px solid currentColor;
	border-radius: 18px;
	background: transparent;
	background-image: none;
	color: inherit;
	font-size: 13px;
	line-height: 1.2;
	white-space: normal;
}

.design-page .renderlion-notification > .ui-button:hover,
.design-page .renderlion-notification > .renderlion-notification__action:hover,
.design-page .renderlion-notification__actions > .ui-button:hover,
.design-page .renderlion-notification__actions > .renderlion-notification__action:hover {
	background: rgb(255 255 255 / 14%);
}

.design-page .renderlion-notification--warning .ui-button:hover,
.design-page .renderlion-notification--warning .renderlion-notification__action:hover {
	background: rgb(21 19 15 / 8%);
}

.design-page .renderlion-notification-region {
	gap: 6px;
}

.design-header--workspace .renderlion-notification[data-studio-save-feedback] {
	width: min(400px, calc(100vw - 32px));
	max-width: none;
}

.design-page .editor-media-popup .editor-image-action-notification-region {
	margin-bottom: 6px;
}

.design-page .renderlion-notification[hidden],
.design-page .renderlion-notification [hidden],
.design-page .renderlion-notification-region[hidden] {
	display: none;
}
