/*
 * The Smaily invitation banner on the WordPress Dashboard (CON-351).
 * Loaded only on the Dashboard while the banner shows. The admin bundle draws
 * the same look in Tailwind (admin/src/components/banners/PromoBanner.tsx);
 * change both together. No remote fonts or images.
 */
.notice.smaily-connect-banner {
	position: relative;
	display: flex;
	gap: 32px;
	margin: 16px 0;
	padding: 28px;
	overflow: hidden;
	border: 1px solid #ebe3f3;
	border-radius: 16px;
	background: linear-gradient(100deg, #fcfaff 0%, #f7f1fd 55%, #efe5fb 100%);
	box-shadow: none;
	color: #2a1028;
}

.smaily-connect-banner__main {
	flex: 1 1 0;
	min-width: 0;
	max-width: 440px;
}

.smaily-connect-banner__head {
	display: flex;
	align-items: center;
	gap: 14px;
}

.smaily-connect-banner__logo {
	display: inline-flex;
	color: #2a1028;
}

.notice.smaily-connect-banner .smaily-connect-banner__title {
	margin: 0;
	padding: 0;
	font-size: 22px;
	font-weight: 600;
	line-height: 1.2;
	color: #2a1028;
}

.notice.smaily-connect-banner p {
	margin: 0;
	padding: 0;
}

.notice.smaily-connect-banner .smaily-connect-banner__body {
	margin-top: 16px;
	font-size: 15px;
	line-height: 1.45;
}

.notice.smaily-connect-banner .smaily-connect-banner__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 18px;
	margin-top: 20px;
}

.notice.smaily-connect-banner a.smaily-connect-banner__cta,
.notice.smaily-connect-banner a.smaily-connect-banner__cta:visited {
	display: inline-block;
	padding: 10px 18px;
	border-radius: 8px;
	background: linear-gradient(90deg, #2a1028 0%, #5e3b72 100%);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.notice.smaily-connect-banner a.smaily-connect-banner__cta:hover,
.notice.smaily-connect-banner a.smaily-connect-banner__cta:focus {
	color: #fff;
	background: linear-gradient(90deg, #3a1738 0%, #6e4885 100%);
}

.notice.smaily-connect-banner a.smaily-connect-banner__link,
.notice.smaily-connect-banner a.smaily-connect-banner__link:visited {
	color: #6b3f8c;
	font-size: 14px;
	font-weight: 500;
}

.notice.smaily-connect-banner .smaily-connect-banner__note {
	margin-top: 12px;
	font-size: 13px;
	color: #6b6577;
}

.notice.smaily-connect-banner a.smaily-connect-banner__dismiss,
.notice.smaily-connect-banner a.smaily-connect-banner__dismiss:visited {
	position: absolute;
	top: 12px;
	right: 16px;
	z-index: 1;
	font-size: 13px;
	color: #6b6577;
}

.smaily-connect-banner__panel {
	flex: 1 1 0;
	min-width: 0;
	margin: 8px -28px -28px 0;
	padding: 20px 0 20px 20px;
	border: 1px solid #ebe3f3;
	border-right: 0;
	border-radius: 16px 0 0 0;
	background: rgba(255, 255, 255, 0.6);
	-webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 100%);
	mask-image: linear-gradient(to bottom, #000 45%, transparent 100%);
}

.notice.smaily-connect-banner .smaily-connect-banner__panel-label {
	display: inline-block;
	padding: 5px 12px;
	border: 1px solid #e7e1ee;
	border-radius: 8px;
	background: #fff;
	font-size: 13px;
	font-weight: 500;
}

.smaily-connect-banner__row {
	display: flex;
	width: max-content;
	min-width: 100%;
	box-sizing: border-box;
	white-space: nowrap;
	align-items: center;
	gap: 12px;
	margin-top: 12px;
	padding: 12px 14px;
	border: 1px solid #ece8f1;
	border-right: 0;
	border-radius: 10px 0 0 10px;
	background: #fff;
	font-size: 14px;
	font-weight: 500;
}

.smaily-connect-banner__row--1 {
	opacity: 0.6;
}

.smaily-connect-banner__row--2 {
	opacity: 0.3;
}

.smaily-connect-banner__icon {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 8px;
}

.smaily-connect-banner__icon--mail {
	background: #fde4ef;
	color: #e91e63;
}

.smaily-connect-banner__icon--cart {
	background: #fef3c7;
	color: #d97706;
}

.smaily-connect-banner__icon--card {
	background: #ece3fb;
	color: #7c4dbc;
}

.smaily-connect-banner__row-text {
	flex: 1 1 auto;
}

.smaily-connect-banner__chip {
	flex: none;
	padding: 4px 10px;
	border-radius: 6px;
	background: #f1eef5;
	color: #8a8494;
	font-size: 12px;
}

@media (max-width: 960px) {
	.smaily-connect-banner__panel {
		display: none;
	}
}
