.ep-dashboard-panel {
	margin-bottom: 16px;

	& .components-notice {
		margin: 0 0 16px 0;
	}

	& .components-notice__actions {
		display: inline-flex;
	}

	& .components-checkbox-control:has([disabled]) {

		& input[disabled],
		& .components-checkbox-control__label {
			opacity: 0.5;
		}
	}
}

.ep-dashboard-tabs {
	display: grid;
	grid-gap: 40px;
	grid-template-columns: max-content auto;

	& .components-tab-panel__tab-content {
		padding-top: 14px;

		& .components-notice {
			margin: 16px 0;
		}
	}

	& .components-tab-panel__tabs-item {
		flex-wrap: wrap;
		font-weight: 400;
		text-align: left;

		&.is-active {
			background: #f0f0f0;
			font-weight: 500;

			&::after {
				content: none;
			}
		}

		&:focus:not(:disabled) {
			box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
			outline: var(--wp-admin-border-width-focus) solid transparent;
		}
	}

	@media (max-width: 782px) {
		gap: 0;
		grid-template-columns: 1fr;

		& .components-tab-panel__tabs {
			margin-left: -16px;
			margin-right: -16px;
		}
	}
}

.ep-feature-tab {
	align-items: start;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.ep-feature-tab__status {
	color: rgb(117, 117, 117);
	display: block;
	font-size: 12px;
	font-weight: 400;
	width: 100%;
}

.ep-dashboard-control {
	margin-bottom: 24px;
	margin-top: 24px;

	& .components-base-control__help code {
		font-size: inherit;
	}
}

.ep-dashboard-heading {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: space-between;
	min-height: 20px;
}
