.reader-site-notification-settings__button {
	color: var(--color-text-subtle);
	display: flex;
	gap: 5px;
	margin: 4px 0;

	svg * {
		stroke: var(--color-text-subtle);
	}

	&:focus {
		box-shadow: none;
		outline: none;
	}
	&:hover {
		cursor: pointer;
	}
}

.accessible-focus .reader-site-notification-settings__button:focus {
	border-color: var(--color-primary);
	border-radius: 2px;
	box-shadow: 0 0 0 2px var(--color-primary-light);
	outline: none;
}

.reader-site-notification-settings__button-label {
	font-size: $font-body-small;

	@include breakpoint-deprecated( "<660px" ) {
		display: none;
	}
}

.reader-site-notification-settings__popout.reader-popover.popover {
	&.is-bottom .popover__arrow::before,
	&.is-bottom-left .popover__arrow::before,
	&.is-bottom-right .popover__arrow::before {
		border: 10px solid var(--color-surface);
		border-bottom-style: solid;
		border-left-color: transparent;
		border-right-color: transparent;
		border-top: none;
	}

	.popover__inner {
		background: var(--color-surface);
	}
}

.reader-popover__wrapper {
	.reader-site-notification-settings__popout-select {
		padding-top: 0;

		.form-select:only-of-type {
			max-width: 100%;
		}
	}

	.form-label {
		display: inline-block;
		font-weight: 400;
		position: relative;
		top: 1px;
	}

	.components-base-control.components-toggle-control {
		/* stylelint-disable-next-line declaration-property-unit-allowed-list */
		line-height: 1.25rem;
		height: 1.25rem;
		margin: 0;
	}
}

.reader-site-notification-settings__popout-toggle,
.reader-site-notification-settings__popout-select,
.reader-site-notification-settings__popout-instructions {
	color: var(--color-neutral-70);
	font-size: $font-body-small;
	padding: 10px 15px;
	text-align: left;

	&:first-child {
		border-top: 0;
		padding-top: 15px;
	}
	&:last-child {
		padding-bottom: 15px;
	}
}

.notify-new-posts-toggle__hint,
.email-new-posts-toggle__hint {
	color: var(--color-text-subtle);
	font-size: $font-body-extra-small;
	margin-bottom: -2px;
	margin-top: 5px;
}

.notify-new-posts-toggle__hint {
	width: 220px;
}

.email-new-posts-toggle__hint {
	margin-top: 4px;
	width: 250px;
}

.reader-site-notification-settings__manage-subscription-button.has-icon.has-text {
	padding: 10px 15px;
	margin-bottom: 12px;
	color: var(--color-neutral-70);
}
