/* ToolHub · Biblioteca de Assets · Borrado administrador v2
   Solo icono de papelera: sin círculo, caja, borde ni fondo visible.
   La lógica y permisos siguen siendo los mismos. */

.asset-delete-x {
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #ff7783;
  font-size: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  opacity: .9;
  transition:
    transform .16s cubic-bezier(.16,1,.3,1),
    color .16s ease,
    opacity .16s ease,
    filter .16s ease;
}

.asset-delete-x::before {
  content: "";
  width: 19px;
  height: 19px;
  display: block;
  margin: auto;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 3h6l1 2h4v2H4V5h4l1-2Zm-2 6h10l-.7 11.1A2 2 0 0 1 14.3 22H9.7a2 2 0 0 1-2-1.9L7 9Zm3 2v8h2v-8h-2Zm4 0v8h2v-8h-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 3h6l1 2h4v2H4V5h4l1-2Zm-2 6h10l-.7 11.1A2 2 0 0 1 14.3 22H9.7a2 2 0 0 1-2-1.9L7 9Zm3 2v8h2v-8h-2Zm4 0v8h2v-8h-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.asset-delete-x:hover {
  transform: translateY(-1px) scale(1.12);
  color: #ff9aa3;
  opacity: 1;
  background: transparent;
  border: 0;
  box-shadow: none;
  filter: drop-shadow(0 0 6px rgba(255, 92, 107, .32));
}

.asset-delete-x:focus-visible {
  outline: 2px solid rgba(255, 119, 131, .65);
  outline-offset: 2px;
  border-radius: 4px;
}

.asset-delete-x:active {
  transform: scale(.94);
}

.asset-delete-x[hidden] {
  display: none !important;
}

@media (max-width: 620px) {
  .asset-delete-x {
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
  }

  .asset-delete-x::before {
    width: 18px;
    height: 18px;
  }
}
