/* TabStyle.css - タブ切り替えUI */

.tab-bar {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin: 0;
    padding: 0 0 0 0;
}

.tab-button {
    position: relative;
    padding: 10px 28px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    background-color: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: color var(--transition-fast), border-bottom-color var(--transition-normal), background-color var(--transition-fast);
    border-radius: 0;
    margin: 0;
    box-shadow: none;
    letter-spacing: 0.3px;
}

.tab-button:hover {
    color: rgba(255, 255, 255, 0.9);
    background-color: rgba(255, 255, 255, 0.08);
    transform: none;
    box-shadow: none;
}

.tab-button:active {
    background-color: rgba(255, 255, 255, 0.12);
    transform: none;
    box-shadow: none;
}

.tab-button.active {
    color: white;
    border-bottom-color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

/* タブコンテンツの表示/非表示 */
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}

/* 左パネル内のタブ切り替え */
.tab-panel {
    display: none;
}
.tab-panel.active {
    display: block;
}

/* 右パネル内のタブ切り替え */
.tab-right-panel {
    display: none;
}
.tab-right-panel.active {
    display: block;
}

/* ダークモード切り替えボタン */
.theme-toggle {
    position: absolute;
    right: 24px;
    top: 16px;
    width: 36px;
    height: 36px;
    padding: 0;
    margin: 0;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    color: white;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
    box-shadow: none;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    box-shadow: none;
}

.theme-toggle:active {
    transform: scale(0.95);
    box-shadow: none;
}
