/**
 * SWP Notary — Admin promo banner.
 */

.swp-notary-promo-banner {
	position: relative;
	margin: 40px 20px 20px 0;
	background: #0A0D53;
	background-image: linear-gradient(135deg, #0A0D53 0%, #2930BF 100%);
	border-radius: 10px;
	box-shadow: 0 4px 16px rgba(10, 13, 83, 0.18);
	overflow: hidden;
	color: #FFFFFF;
}

.swp-notary-promo-banner__inner {
	display: flex;
	align-items: start;
	gap: 24px;
	padding: 22px 56px 22px 28px;
	flex-wrap: wrap;
	flex-direction: column;
}

.swp-notary-promo-banner__brand {
	flex: 0 0 auto;
}

.swp-notary-promo-banner__logo {
	display: block;
	max-height: 56px;
	width: 50%;
	background: white;
    padding: 10px;
    border-radius: 5px;
}

/* .swp-notary-promo-banner__content {
	flex: 1 1 320px;
	min-width: 240px;
} */

.swp-notary-promo-banner__title {
	margin: 0 0 6px;
	padding: 0;
	color: #FFFFFF;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
}

.swp-notary-promo-banner__text {
	margin: 0;
	color: #FFFFFF;
	opacity: 0.92;
	font-size: 14px;
	line-height: 1.55;
}

.swp-notary-promo-banner__actions {
	display: flex;
	gap: 12px;
	flex: 0 0 auto;
	flex-wrap: wrap;
}

.swp-notary-promo-banner__btn {
	display: inline-block;
	padding: 11px 22px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	border-radius: 6px;
	border: 2px solid transparent;
	transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.swp-notary-promo-banner__btn:focus {
	outline: 2px solid #FFFFFF;
	outline-offset: 2px;
	box-shadow: none;
}

.swp-notary-promo-banner__btn--buy {
	background: #F45D29;
	color: #FFFFFF;
	border-color: #F45D29;
}

.swp-notary-promo-banner__btn--buy:hover,
.swp-notary-promo-banner__btn--buy:focus {
	background: #FFFFFF;
	color: #F45D29;
	border-color: #FFFFFF;
	transform: translateY(-1px);
}

.swp-notary-promo-banner__btn--demo {
	background: transparent;
	color: #FFFFFF;
	border-color: #FFFFFF;
}

.swp-notary-promo-banner__btn--demo:hover,
.swp-notary-promo-banner__btn--demo:focus {
	background: #FFFFFF;
	color: #2930BF;
	border-color: #FFFFFF;
	transform: translateY(-1px);
}

.swp-notary-promo-banner__close {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 32px;
	height: 32px;
	padding: 0;
	background: rgba(255, 255, 255, 0.12);
	color: #FFFFFF;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 50%;
	cursor: pointer;
	font-size: 22px;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.swp-notary-promo-banner__close:hover,
.swp-notary-promo-banner__close:focus {
	background: #FFFFFF;
	color: #4B5863;
	transform: rotate(90deg);
	outline: none;
}

.swp-notary-promo-banner.is-dismissing {
	opacity: 0;
	transform: translateY(-6px);
	transition: opacity 0.25s ease, transform 0.25s ease;
}

@media (max-width: 782px) {
	.swp-notary-promo-banner {
		margin: 12px 12px 12px 0;
	}
	.swp-notary-promo-banner__inner {
		padding: 18px 48px 18px 18px;
		gap: 16px;
	}
	.swp-notary-promo-banner__title {
		font-size: 17px;
	}
	.swp-notary-promo-banner__actions {
		width: 100%;
	}
	.swp-notary-promo-banner__btn {
		flex: 1 1 auto;
		text-align: center;
	}
}
