/**
 * Settings > Dropshipping: "Chrome extension not detected" card (WC_DS_CBE_Notice), between the top tabs and the panels.
 */
.wc-ds-cbe-notice {
	display: flex;
	align-items: center;
	gap: 12px 16px;
	margin: 0 0 var(--wc-ds-space-4, 16px);
	padding: 12px 12px 12px 16px;
	background: var(--wc-ds-surface, #fff);
	border: 1px solid #f0d8a8;
	border-left: 4px solid #dba617;
	border-radius: var(--wc-ds-radius, 6px);
	box-shadow: var(--wc-ds-shadow-card, 0 1px 3px rgba(0, 0, 0, 0.08));
	opacity: 1;
	transform: none;
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.wc-ds-cbe-notice[hidden] {
	display: none;
}

.wc-ds-cbe-notice.is-entering {
	opacity: 0;
	transform: translateY(-4px);
}

.wc-ds-cbe-notice__icon {
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	font-size: 20px;
	line-height: 36px;
	text-align: center;
	color: #996800;
	background: #fcf9e8;
	border-radius: 50%;
}

.wc-ds-cbe-notice__body {
	flex: 1 1 auto;
	min-width: 0;
}

.wc-ds-cbe-notice__body p {
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
}

.wc-ds-cbe-notice__title {
	font-weight: 600;
	color: var(--wc-ds-text, #1d2327);
}

.wc-ds-cbe-notice__text {
	color: var(--wc-ds-text-muted, #50575e);
}

.wc-ds-cbe-notice__error {
	margin-top: 4px !important;
	color: #b32d2e;
}

.wc-ds-cbe-notice__error[hidden] {
	display: none;
}

.wc-ds-cbe-notice__cta {
	flex: 0 0 auto;
}

.wc-ds-cbe-notice__dismiss {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	margin: 0;
	padding: 0;
	color: #787c82;
	background: transparent;
	border: 0;
	border-radius: var(--wc-ds-radius-sm, 4px);
	cursor: pointer;
}

.wc-ds-cbe-notice__dismiss:hover,
.wc-ds-cbe-notice__dismiss:focus {
	color: #d63638;
	background: #f6f7f7;
}

.wc-ds-cbe-notice__dismiss:focus {
	outline: 2px solid var(--wc-ds-accent, #2271b1);
	outline-offset: 1px;
}

.wc-ds-cbe-notice__dismiss[disabled] {
	opacity: 0.5;
	cursor: default;
}

@media (max-width: 600px) {
	.wc-ds-cbe-notice {
		flex-wrap: wrap;
		align-items: flex-start;
	}

	.wc-ds-cbe-notice__body {
		flex-basis: calc(100% - 100px);
	}

	.wc-ds-cbe-notice__cta {
		order: 3;
		margin-left: 52px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wc-ds-cbe-notice {
		transition: none;
	}
}
