/*
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
.framework-tabs {
	display: flex;
	gap: 4px;
	margin: 16px 0;
	border-bottom: 1px solid var(--border-color);
}

.framework-tabs__tab {
	margin-bottom: -1px;
	padding: 8px 18px;
	border: 1px solid transparent;
	border-radius: var(--radius) var(--radius) 0 0;
	background: transparent;
	color: var(--muted);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.framework-tabs__tab:hover {
	color: var(--text);
}

.framework-tabs__tab[aria-selected="true"] {
	border-color: var(--border-color);
	border-bottom-color: var(--bg);
	background: var(--bg);
	color: var(--accent, var(--primary));
}

.framework-tabs__tab:focus-visible {
	outline: 2px solid var(--accent, var(--primary));
	outline-offset: -2px;
}

.framework-tabs__panel[hidden] {
	display: none;
}
