@use "~admin-stylesheets/colors";

.nab-heatmap-kind-selector {
	display: block;

	.components-tab-panel__tabs {
		background: colors.$nab-background-light-grey;
		border-top: 0;
		display: flex;
		padding-left: 0;
		top: 0;
		margin-top: 0;

		.components-button {
			border-radius: 0;
			height: 50px;
		}

		.components-button:focus:not(:disabled) {
			background-color: colors.$nab-background-light-grey;
			box-shadow: inset 0 -3px colors.$wp-components-color-accent;
			outline: none;
		}
	}

	&__tab {
		align-items: center;
		display: flex;
		flex-grow: 1;
		line-height: 1;
		justify-content: center;

		&--active {
			box-shadow: inset 0 -3px colors.$wp-components-color-accent;
			font-weight: 600;
		}
	}

	&--locked &__tab {
		pointer-events: none;
	}
}

.nab-resolution-selector {
	display: flex;
	justify-content: center;

	&__option {
		display: flex;
		align-items: center;
	}
}

.nab-heatmap-settings {

	&__interactive-option {
		margin-top: 1em;
	}

	&__public-selector {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		margin-top: 1em;

		.components-toggle-control {
			margin-bottom: 0.5em;
		}
	}

	&__public-result {
		width: 100%;

		&-description {
			font-size: 12px;
			color: colors.$nab-text-dark-grey;
			margin-bottom: 0;
			padding-bottom: 0;
		}

		&-url {
			display: flex;
			justify-content: space-between;

			&-input {
				flex-grow: 1;
			}
		}
	}
}
