/**
 * Admin Notices.
 */

:root {
	--storeengine-primary-font: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	/*--storeengine-secondary-font: 'Inter', sans-serif;*/
	--storeengine-primary-color: #008DFF;
	--storeengine-secondary-color: #FF5000;
	--storeengine-text-color: #101828;
	--storeengine-placeholder-color: #8E949A;
	--storeengine-border-color: #DDDEDF;
	--storeengine-gray-color: #646C73;
	--storeengine-background-color: #FAFAFA;
	--storeengine-green-color: #00AD6B;
	--storeengine-warning-color: #FDB022;
	--storeengine-error-color: #FF4D4D;
	--storeengine-white-color: #ffffff;
	--storeengine-violet-color: #9A6EFF;
}

.storeengine-admin-notice {
	--base-color: var(--storeengine-primary-color);
	--icon-color: var(--base-color);
	--icon-background: oklch(from var(--base-color) l c h / 0.4);
	--alt-color: oklch(from var(--base-color) 99.7% 0.1078 h / .086);
	font-family: var(--storeengine-primary-font) sans-serif;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 13px 24px;
	border-top: 1px solid var(--storeengine-border-color);
	box-sizing: border-box;
	margin: 0;
	border-left-color: var(--base-color);
}
.storeengine-admin-notice * {
	font-family: var(--storeengine-primary-font) sans-serif;
	box-sizing: border-box;
}
.storeengine-admin-notice.notice-info {
	--base-color: var(--storeengine-primary-color);
}
.storeengine-admin-notice.notice-success {
	--base-color: var(--storeengine-green-color);
}
.storeengine-admin-notice.notice-warning {
	--base-color: var(--storeengine-warning-color);
}
.storeengine-admin-notice.notice-error {
	--base-color: var(--storeengine-error-color);
}
.storeengine-admin-notice:first-child {
	border-top: 0;
}
.storeengine-admin-notice .storeengine-icon {
	display: flex;
	font-size: 1.2em;
}
.storeengine-admin-notice__title, .storeengine-admin-notice__wrapper {
	display: flex;
	gap: 24px;
	align-items: center;
	margin: 0;
}
.storeengine-admin-notice__icon {
	position: relative;
	border-radius: 50%;
	background: var(--icon-background);
	padding: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.storeengine-admin-notice__icon .storeengine-icon {
	font-size: 24px;
	font-weight: 600;
	color: var(--icon-color);
}
.storeengine-admin-notice__icon span {
	display: inline;
	font-size: 50px;
	color: var(--storeengine-primary-color);
}
.storeengine-admin-notice__content p {
	font-weight: 400;
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--storeengine-subtitle-color);
	margin: 0;
	padding: 0;
}
.storeengine-admin-notice__content p:not(:first-child) {
	margin-top: 0.5em;
}
.storeengine-admin-notice .storeengine-admin-notice__title,
.storeengine-admin-notice .storeengine-admin-notice__content h3 {
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.5;
	margin: 0.5rem 0;
}
.storeengine-admin-notice__control .storeengine-btn {
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 17px;
	padding: 12px 35px;
	text-transform: none;
}
.storeengine-admin-notice-close.notice-dismiss {
	color: #fff;
	background: #787c82;
	width: 24px;
	height: 24px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 100%;
	top: 12px;
	right: 12px;
}
.storeengine-admin-notice-close.notice-dismiss::before {
	display: none;
}
.storeengine-admin-notice-close.notice-dismiss .storeengine-icon {
	display: flex;
	font-size: 20px;
}
.storeengine-admin-notice.notice-alt {
	background: var(--alt-color);
}
.storeengine-admin-notice.notice-large {
	padding: 24px 36px;
	gap: 20px;
}

/**
 * Button
 */
.storeengine-btn {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	font-size: 14px;
	line-height: 20px;
	font-weight: 500;
	text-decoration: none;
	background: #fff;
	color: #444;
	cursor: pointer;
	text-align: center;
	padding: 15px;
	height: auto;
	border-radius: 4px;
	box-sizing: border-box;
	margin: 0;
	border: 0;
	overflow: hidden !important;
	transition: all 0.3s ease;
	text-transform: capitalize;
	white-space: nowrap;
}

.storeengine-btn::after {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	left: -100%;
	top: 0;
	background: rgba(0, 0, 0, 0.1);
	transition: all 0.25s cubic-bezier(0.66, 0.36, 0.17, 0.91);
}

.storeengine-btn:hover::after {
	left: 0;
}

.storeengine-btn:hover, .storeengine-btn:focus {
	box-shadow: none !important;
	outline: none !important;
}

.storeengine-btn--preset-blue {
	background: var(--storeengine-primary-color);
	color: #fff !important;
}

.storeengine-btn--md {
	padding: 10px 16px;
	font-size: 14px;
}

/**
 * Handle special cases.
 */
.storeengine-admin-notice.options-permalink-php .storeengine-admin-notice__control .storeengine-btn {
	display: none;
}
