.gform-admin {

	.gform-tabs {
		display: flex;
		flex-direction: column;
		gap: var(--gform-admin-spacer-6);
	}

	.gform-tabs__tablist {
		border-block-end: 1px solid var(--gform-admin-color-porcelain-gray);
		display: flex;
		flex-wrap: wrap;
		gap: var(--gform-admin-spacer-6);
	}

	.gform-tabs__tab {
		block-size: auto;
		border: none;
		border-block-end: 2px solid transparent;
		border-radius: 0;
		color: var(--gform-admin-color-comet);
		gap: var(--gform-admin-spacer-2);
		margin-block-end: -1px;
		padding-block: 1px var(--gform-admin-spacer-4);
		padding-inline: var(--gform-admin-spacer-1);
		transition: var(--gform-admin-transition-hover);

		&:focus {
			background: transparent;
			border-block-end: 2px solid var(--gform-admin-color-santas);
			color: var(--gform-admin-color-comet);
			outline: none;
		}

		&:hover {
			background: transparent;
			border-block-end: 2px solid var(--gform-admin-color-port);
			color: var(--gform-admin-color-port);
		}

		.gform-button__icon.gform-icon {
			margin: 0;
		}

		.gform-status-indicator {
			margin-block: -1px;
		}
	}

	.gform-tabs__tab--active {

		&,
		&:hover,
		&:focus {
			background: transparent;
			border-block-end: 2px solid var(--gform-admin-color-port);
			color: var(--gform-admin-color-port);
		}
	}

	.gform-tabs__tabpanels {
		position: relative;
	}

	.gform-tabs__tabpanel {
		display: none;
		inline-size: 100%;
		inset-block-start: 0;
		inset-inline-start: 0;
		opacity: 0;
		position: absolute;
		transition: opacity 0.15s ease;
	}

	.gform-tabs__tabpanel--reveal {
		display: block;
		position: static;
	}

	.gform-tabs__tabpanel--open {
		display: block;
		opacity: 1;
		position: static;
	}

	.gform-tabs__tabpanel--hide {
		display: block;
		opacity: 0;
		position: absolute;
	}
}
