/* Przycisk usuwania zlecenia: przywrócony wygląd i animacje. */
.requests-list .delete-request-btn {
  appearance: none;
  border: 1px solid #f3a1a5;
  background: linear-gradient(180deg, #fff7f7 0%, #ffe9eb 100%);
  color: #b4232a;
  border-radius: 9px;
  min-height: 38px;
  padding: 0 13px 0 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 3px 9px rgba(180, 35, 42, 0.12);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.requests-list .delete-request-btn::before {
  content: "";
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M3 6h18M8 6V4h8v2m-9 0 1 14h8l1-14M10 10v6m4-6v6'/%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='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M3 6h18M8 6V4h8v2m-9 0 1 14h8l1-14M10 10v6m4-6v6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.requests-list .delete-request-btn:hover {
  background: linear-gradient(180deg, #fff0f1 0%, #ffd9dc 100%);
  border-color: #e6656b;
  color: #991b1f;
  transform: translateY(-2px);
  box-shadow: 0 8px 17px rgba(180, 35, 42, 0.2);
}

.requests-list .delete-request-btn:active {
  transform: translateY(0) scale(0.96);
  box-shadow: 0 2px 5px rgba(180, 35, 42, 0.18);
  transition-duration: 70ms;
}

.requests-list .delete-request-btn:focus-visible {
  outline: 3px solid rgba(237, 28, 36, 0.24);
  outline-offset: 2px;
}

.requests-list .delete-request-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
  .requests-list .delete-request-btn {
    transition: none;
  }
}
