/**
 * 3点リーダー・共通テーブルツールバー等のドロップダウンメニュー
 */
.ppkg-actions-menu {
  position: fixed;
  z-index: 2000;
  min-width: 10rem;
  overflow: hidden;
  font-size: 13px;
  color: var(--pc-gray-800, #595757);
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.ppkg-actions-menu--anchored {
  position: absolute;
  right: 0;
  margin-top: 0.5rem;
  z-index: 10;
}

.ppkg-actions-menu--anchored-left {
  left: 0;
  right: auto;
}

.ppkg-actions-menu__item {
  display: block;
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
  border-bottom: 1px solid #e5e7eb;
  cursor: pointer;
  box-sizing: border-box;
}

.ppkg-actions-menu__item:last-child,
li:last-child > .ppkg-actions-menu__item {
  border-bottom: none;
}

.ppkg-actions-menu__item:hover,
.ppkg-actions-menu__item:focus {
  background: #f9fafb;
  color: inherit;
}

.ppkg-actions-menu__item--danger {
  color: #dc2626;
}

.ppkg-actions-menu__item--danger:hover,
.ppkg-actions-menu__item--danger:focus {
  background: #fef2f2;
  color: #dc2626;
}

.ppkg-actions-menu__item--disabled {
  color: #9ca3af;
  cursor: default;
  pointer-events: none;
}

.ppkg-actions-menu__item--disabled:hover,
.ppkg-actions-menu__item--disabled:focus {
  background: transparent;
}

.ppkg-actions-menu__item--label {
  cursor: default;
}

.ppkg-actions-menu__item--label:hover,
.ppkg-actions-menu__item--label:focus {
  background: transparent;
}

.ppkg-actions-menu__item--active,
.ppkg-actions-menu__item.is-active {
  font-weight: 600;
}
