.wpps-hide-notice {
	display: none !important;
	visibility: hidden !important;
}

#wpps-notices-panel-content {
	padding: 20px;
}

#wpps-notices-panel-content .notice,
#wpps-notices-panel-content .notice-error,
#wpps-notices-panel-content .notice-warning,
#wpps-notices-panel-content .notice-info,
#wpps-notices-panel-content .notice-success,
#wpps-notices-panel-content .error,
#wpps-notices-panel-content .updated,
#wpps-notices-panel-content .update-nag {
	display: block !important;
	margin: 0 0 16px 0;
	padding: 14px 18px !important;
	border-left: 4px solid #2271b1 !important;
	background: #f0f0f1;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04) !important;
	width: auto !important;
	max-width: 100% !important;
}

#wpps-notices-panel-content .notice:last-child,
#wpps-notices-panel-content .notice-error:last-child,
#wpps-notices-panel-content .notice-warning:last-child,
#wpps-notices-panel-content .notice-info:last-child,
#wpps-notices-panel-content .notice-success:last-child,
#wpps-notices-panel-content .error:last-child,
#wpps-notices-panel-content .updated:last-child,
#wpps-notices-panel-content .update-nag:last-child {
	margin-bottom: 0 !important;
}

#wpps-notices-panel-content .notice-error {
	border-left-color: #d63638 !important;
}

#wpps-notices-panel-content .notice-warning {
	border-left-color: #dba617 !important;
}

#wpps-notices-panel-content .notice-info {
	border-left-color: #72aee6 !important;
}

#wpps-notices-panel-content .notice-success {
	border-left-color: #00a32a !important;
}

#wpps-notices-panel-content .notice p {
	margin: 0 0 8px 0 !important;
	font-size: 14px;
	line-height: 1.6;
}

#wpps-notices-panel-content .notice p:last-child {
	margin-bottom: 0 !important;
}

#wpps-notices-panel-content .notice strong {
	font-weight: 600;
}

#wpps-notices-panel-content button.notice-dismiss,
#wpps-notices-panel-content a.notice-dismiss,
#wpps-notices-panel-content .notice-dismiss,
#wpps-notices-panel-content .notice-dismiss-link {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	cursor: pointer !important;
}

#wpps-notices-panel {
	display: none;
	position: fixed;
	top: 32px;
	right: 0;
	width: 800px;
	max-height: calc(100vh - 32px);
	background: #fff;
	box-shadow: -2px 0 10px rgba(0, 0, 0, 0.15);
	z-index: 999999;
	overflow-y: auto;
	border-left: 1px solid #ccd0d4;
}

#wpps-notices-panel.is-open {
	display: block;
}

#wpps-notices-panel-header {
	background: #23282d;
	color: #fff;
	padding: 16px 24px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid #32373c;
	position: sticky;
	top: 0;
	z-index: 10;
}

#wpps-notices-panel-header h3 {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	color: #fff;
}

#wpps-notices-panel-close {
	background: transparent;
	border: none;
	color: #fff;
	cursor: pointer;
	font-size: 24px;
	line-height: 1;
	padding: 0;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 3px;
	transition: background-color 0.2s ease;
	margin: 0;
	vertical-align: middle;
}

#wpps-notices-panel-close:hover {
	background-color: rgba(255, 255, 255, 0.1);
}

#wpps-notices-panel-close:active {
	background-color: rgba(255, 255, 255, 0.2);
}

#wpps-notices-panel-close::before {
	content: '×';
	display: inline-block;
	line-height: 1;
	vertical-align: middle;
}

#wpps-notices-panel-empty {
	padding: 60px 24px;
	text-align: center;
	color: #646970;
	font-size: 14px;
	line-height: 1.6;
}

#wp-admin-bar-wpps-admin-notices {
	margin-left: 15px;
	display: none !important;
}

#wp-admin-bar-wpps-admin-notices.has-notices {
	display: block !important;
	visibility: visible !important;
}

#wp-admin-bar-wpps-admin-notices a {
	cursor: pointer !important;
}

#wp-admin-bar-wpps-admin-notices .wpps-notice-count {
	display: none;
	box-sizing: border-box;
	padding: 2px 6px 3px 5px;
	min-width: 18px;
	height: 18px;
	border-radius: 50%;
	background-color: #d63638;
	color: #fff;
	font-size: 11px;
	line-height: 1.2;
	text-align: center;
	vertical-align: middle;
}

#wp-admin-bar-wpps-admin-notices.has-notices .wpps-notice-count {
	display: inline-block;
}

@media screen and (max-width: 782px) {
	#wpps-notices-panel {
		width: 100%;
		top: 46px;
		max-height: calc(100vh - 46px);
	}

	#wpps-notices-panel-header {
		padding: 16px 20px;
	}

	#wpps-notices-panel-content {
		padding: 16px 20px;
	}

	#wpps-notices-panel-content .notice,
	#wpps-notices-panel-content .notice-error,
	#wpps-notices-panel-content .notice-warning,
	#wpps-notices-panel-content .notice-info,
	#wpps-notices-panel-content .notice-success,
	#wpps-notices-panel-content .error,
	#wpps-notices-panel-content .updated,
	#wpps-notices-panel-content .update-nag {
		padding: 14px 20px !important;
		margin-bottom: 10px !important;
	}
}

@media screen and (max-width: 600px) {
	#wpps-notices-panel {
		width: 100%;
		right: 0;
		left: 0;
	}
}
