/* ============================================================
  BOOWS Action Buttons - Bottom Sheet (mobile)
============================================================ */

.boows-actions-hidden-inline {
  display: none !important;
}

/* Trigger (kebab) */
.boows-actions-trigger {
  border: none;
  background: transparent;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--boows-transition);
}

.boows-actions-trigger:hover {
  background: rgba(0,0,0,0.06);
}

/* Backdrop */
.boows-actions-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
  z-index: 9998;
}

.boows-actions-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* Sheet */
.boows-actions-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  transform: translateY(110%);
  transition: transform 240ms ease;
  background: #fff;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  z-index: 9999;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.18);
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  padding: 10px 12px 14px;
}

.boows-actions-sheet.open {
  transform: translateY(0);
}

.boows-actions-sheet-handle {
  width: 46px;
  height: 5px;
  border-radius: 99px;
  background: rgba(0,0,0,0.14);
  margin: 6px auto 10px;
}

.boows-actions-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 4px 10px;
}

.boows-actions-sheet-title {
  font-weight: 700;
  font-size: 16px;
  color: var(--boows-col-text);
}

.boows-actions-sheet-close {
  border: none;
  background: rgba(0,0,0,0.06);
  border-radius: 14px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.boows-actions-sheet-close i {
  font-size: 20px;
  color: var(--boows-col-text-80);
}

.boows-actions-sheet-body {
  overflow: auto;
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Items */
.boows-actions-sheet-item {
  width: 100%;
  border: none;
  background: rgba(0,0,0,0.04);
  border-radius: 18px;
  padding: 14px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: var(--boows-transition);
  text-align: left;
}

.boows-actions-sheet-item:hover {
  background: rgba(0,0,0,0.08);
}

.boows-actions-sheet-item:active {
  transform: scale(0.99);
}

.boows-actions-sheet-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 16px;
  background: rgba(0,0,0,0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.boows-actions-sheet-item-icon i {
  font-size: 20px;
  color: var(--boows-col-text-80);
}

.boows-actions-sheet-item-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--boows-col-text);
}

/* Prevent background scroll while open */
body.boows-actions-sheet-open {
  overflow: hidden;
}

@media screen and (max-width: 1024px) {
  .boows-actions-trigger {
    display: inline-flex !important;
  }
  .boows-table .scroll-table-action-column,
  .boows-table .boows-actions-col {
    flex: 0 0 42px !important;
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    justify-content: center;
    padding-left: 4px !important;
    padding-right: 4px !important;
  }
  .boows-table .adm-table-head .scroll-table-action-column,
  .boows-table .adm-table-head .boows-actions-col {
    flex: 0 0 42px !important;
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    justify-content: center;
  }
}

/* Dragging should feel direct */
.boows-actions-sheet.dragging {
  transition: none !important;
}
