/*
=============================================================
Zenty Emite 2.0 · Fase 12.4
Botón Crear Nota de Crédito en listado de boletas
=============================================================
*/

body.zenty-boletas-page
  .soft-table
  td:last-child
  .zenty-create-credit-note {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.32rem !important;
  width: auto !important;
  min-width: 82px !important;
  min-height: 36px !important;
  margin: 0 0.34rem 0 0 !important;
  padding: 0.42rem 0.68rem !important;
  border: 1px solid #d97706 !important;
  border-radius: 9px !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, #d97706, #ea580c) !important;
  box-shadow: 0 5px 12px rgba(217, 119, 6, 0.14) !important;
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  vertical-align: middle !important;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    filter 160ms ease !important;
}

body.zenty-boletas-page
  .soft-table
  td:last-child
  .zenty-create-credit-note:hover {
  color: #ffffff !important;
  filter: brightness(1.04);
  transform: translateY(-1px);
  box-shadow: 0 8px 17px rgba(217, 119, 6, 0.2) !important;
}

body.zenty-boletas-page
  .soft-table
  td:last-child
  .zenty-create-credit-note:focus-visible {
  outline: 3px solid rgba(245, 158, 11, 0.27) !important;
  outline-offset: 2px;
}

body.zenty-boletas-page
  .soft-table
  td:last-child
  .zenty-create-credit-note i {
  font-size: 0.78rem;
}

@media (min-width: 1200px) and (max-width: 1365px) {
  body.zenty-boletas-page
    .soft-table
    td:last-child
    .zenty-create-credit-note {
    min-width: 68px !important;
    padding-left: 0.48rem !important;
    padding-right: 0.48rem !important;
    font-size: 0.62rem !important;
  }
}

@media (max-width: 1199px) {
  body.zenty-boletas-page
    .soft-table
    td:last-child
    .zenty-create-credit-note {
    flex: 1 1 125px !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
}
