@import "@wordpress/base-styles/breakpoints";
@import "@wordpress/base-styles/mixins";
@import "@wordpress/base-styles/variables";

.a4a-popover__content {
	display: flex;
	flex-direction: column;
	gap: 16px;
	border-radius: 4px;
	width: 300px;

	.button {
		margin-inline-end: 8px;
	}

	.a4a-popover__title {
		@include body-medium;
		color: var(--color-accent-60);
	}
}

.a4a-popover {
	.components-popover__content {
		padding: 16px;
	}
}

.theme-a8c-for-agencies  .components-button.a4a-popover__popover-button {
	padding: 8px;
	white-space: unset;
	text-align: unset;
	margin-block: 0;
	width: 100%;
	border-radius: 4px;
	height: auto;
	color: var(--color-text-black);

	&:hover {
		background-color: var(--color-neutral-0);
	}

	@include break-large {
		display: flex;
		gap: 8px;
		align-items: unset;
		justify-content: unset;
	}

	.a4a-popover__popover-button-icon {
		display: none;

		@include break-large {
			display: block;
		}

		.sidebar__menu-icon {
			width: 24px;
			height: 24px;
			max-width: fit-content;
		}
	}

	.a4a-popover__popover-button-heading {
		@include heading-medium;
	}

	.a4a-popover__popover-button-description {
		@include body-small;
		color: var(--color-accent);
		padding-top: 4px;
	}
}
