.ct-tabs {
	margin: var(--tabs-container-margin, 25px -12px 0 -12px);

	> ul {
		display: flex;
		column-gap: 7px;
		margin: var(--tabs-pills-margin, 0 14px);

		> li {
			flex: 1 1 0;
			display: flex;
			align-items: center;
			justify-content: center;
			font-size: 13px;
			font-weight: 500;
			height: 42px;
			margin: 0;
			padding: 0px 10px 0 10px;
			cursor: pointer;
			border: 1px solid #d6d6d6;
			box-sizing: border-box;
			color: #555;
			background: #eaeaec;

			&.active {
				position: relative;
				color: #3c4248;
				background: transparent !important;

				&:before, &:after {
					position: absolute;
					content: '';
				}
				
				&:before {
					position: absolute;
					content: '';
					top: -2px;
					left: -1px;
					right: -1px;
					height: 2px;
					background: var(--accentColor);
				}

				&:after {
					left: 0;
					bottom: -2px;
					width: 100%;
					height: 3px;
					background: #f0f0f1;
				}
			}

			&:not(.active) {
				&:hover {
					background: #fff;
					color: #444;
				}
			}
		}
	}

	> .ct-current-tab {
		margin-top: -1px;
		padding: 0 12px;
		border-top: 1px solid #d6d6d6;
	}

	&:not(:last-child) {
		> .ct-current-tab {
			margin-bottom: 20px;
		}
	}
}

// modal tabs
.ct-admin-modal .ct-tabs {
	> ul > li {
		background: #f5f5f5;

		&.active:after {
			background: #fff;
		}
	}
}