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

#site-privacy-settings .section-header__label-text button {
	vertical-align: middle;
}

.site-settings__visibility-label {
	&:not(:first-child) {
		margin-top: 15px;
	}
	&.is-checkbox:not(:only-child) {
		margin-left: 25px;
	}
}

.site-settings__advanced-customization-notice {
	display: flex;
	flex-direction: column;
	padding: 20px;
	background-color: var(--color-neutral-0);
	align-items: center;
	justify-content: space-between;
	font-weight: normal;

	&:last-child {
		margin-top: 15px;
	}

	.site-settings__advanced-customization-notice-cta {
		display: flex;
		align-items: center;

		svg {
			flex-shrink: 0;
		}
	}

	svg.gridicon.gridicons-info-outline {
		color: var(--color-warning-30);
		padding-right: 10px;
	}

	.site-settings__advanced-customization-notice-buttons {
		display: flex;
		gap: 5px;
		flex-shrink: 0;
		padding-top: 10px;
	}

	@include break-xlarge {
		flex-direction: row;

		.site-settings__advanced-customization-notice-cta {
			margin-right: 20px;
		}

		.site-settings__advanced-customization-notice-buttons {
			padding-top: 0;
		}
	}
}

.settings-site__privacy {
	p.panel-card__description {
		margin-bottom: 24px;
	}
}
