/* Sidebar item rows: subtle hover, actions only on hover, no layout shift */
.sova-sidebar .ws-row {
  padding: 2px 0;
}

.sova-sidebar .ws-row .ws-actions {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .15s ease;
  /* keep space reserved so layout doesn't jump */
}

/* Show actions on hover */
.sova-sidebar .ws-row:hover .ws-actions {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Button styling to match dark sidebar */
.sova-sidebar .ws-actions .btn {
  border-color: rgba(255,255,255,.35) !important;
  color: #fff !important;
  background: transparent !important;
  line-height: 1.1;
  padding: .15rem .35rem;
}
.sova-sidebar .ws-actions .btn:hover,
.sova-sidebar .ws-actions .btn:focus {
  background: rgba(255,255,255,.1) !important;
  border-color: rgba(255,255,255,.6) !important;
}

/* Make sure link text stays readable */
.sova-sidebar .ws-item-name {
  color: inherit;
}

/* Touch devices: show actions by default (no hover) */
@media (hover: none) and (pointer: coarse) {
  .sova-sidebar .ws-row .ws-actions {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}
