/* Estilos de la lista publica de precios (look & feel de la referencia "Lista de Precios 2026") */

div.dt-buttons {
  float: left !important;
}

.dataTables_wrapper .dt-toolbar {
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.dataTables_wrapper .dt-toolbar .dataTables_filter {
  flex: 1 1 320px;
  min-width: 0;
}

.dataTables_wrapper .dataTables_filter {
  text-align: left !important;
  margin-bottom: 0;
}

.dataTables_wrapper .dataTables_filter label {
  display: block;
  width: 100%;
  margin-bottom: 0;
}

.dataTables_wrapper .dataTables_filter input {
  margin-left: 0 !important;
  margin-top: 0;
  margin-bottom: 0;
  width: 100% !important;
  max-width: 100%;
}

.dataTables_wrapper .dt-toolbar .dt-buttons {
  flex: 0 0 auto;
  margin-bottom: 0;
  align-self: flex-end;
}

.dataTables_wrapper .dt-toolbar .dt-buttons .btn {
  margin: 0 1px 0 0;
}

.dataTables_wrapper .dataTables_length {
  margin-left: auto;
}

@media (max-width: 767.98px) {
  .dataTables_wrapper .dt-toolbar {
    align-items: stretch;
  }

  .dataTables_wrapper .dt-toolbar .dt-buttons,
  .dataTables_wrapper .dt-toolbar .dt-buttons .btn {
    width: 100%;
  }
}

/* Look & feel tomado de la tabla "cat-table" (Lista de Precios 2026) */
.card {
  background: #eaf4fb;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.table-responsive {
  border-radius: 8px;
  overflow-x: auto;
  overflow-y: hidden;
}

#viewLista,
#viewLista.dataTable {
  width: 100% !important;
  max-width: 100% !important;
  table-layout: auto;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', sans-serif !important;
  font-size: 0.85rem !important;
  font-weight: 400 !important;
  border-collapse: collapse;
}

/* Cabecera de columnas oculta: los grupos por rubro hacen de encabezado visual */
#viewLista thead.text-primary {
  display: none;
}

/* Cabeceras de grupo (rowGroup por rubro), equivalen a .cat-hdr */
#viewLista tr.dtrg-group.dtrg-start td {
  background: transparent !important;
  padding: 0 !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: none !important;
}

/* Un div normal clipea el radius de forma confiable, a diferencia del td de una tabla collapsed */
#viewLista tr.dtrg-group.dtrg-start td .grp-inner {
  background: #2d2d2d;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 8px 14px;
  margin-top: 10px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

#viewLista tbody tr {
  transition: filter .1s;
}

#viewLista tbody tr td {
  border-bottom: 1px solid #b0c4d8 !important;
}

#viewLista tbody tr:last-child td {
  border-bottom: none !important;
}

#viewLista tr.grp-last td {
  border-bottom: none !important;
}

#viewLista tr.grp-last td:first-child {
  border-bottom-left-radius: 8px;
}

#viewLista tr.grp-last td:last-child {
  border-bottom-right-radius: 8px;
}

#viewLista.table-striped tbody tr:nth-of-type(odd),
#viewLista.table-striped tbody tr:nth-of-type(even) {
  background-color: transparent;
}

#viewLista tbody tr:not(.dtrg-group):nth-of-type(odd) td {
  background: #eaf4fb;
}

#viewLista tbody tr:not(.dtrg-group):nth-of-type(even) td {
  background: #d6eaf8;
}

#viewLista tbody tr:not(.dtrg-group):hover td {
  filter: brightness(.97);
}

#viewLista tbody td {
  padding: 7px 14px !important;
  line-height: 1.2 !important;
  font-size: 0.85rem !important;
  font-weight: 400 !important;
  color: #1c1c1e;
  vertical-align: middle;
}

#viewLista tbody td.apple-code {
  width: 15ch;
  min-width: 15ch;
  max-width: 15ch;
  padding-left: 8px !important;
  padding-right: 8px !important;
  font-size: 0.85rem !important;
  font-weight: 400 !important;
  color: #1c1c1e;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  letter-spacing: .02em;
  text-transform: uppercase;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', sans-serif !important;
}

body.dark #viewLista tbody td.apple-code {
  color: #f2f2f7;
}

/* La descripcion ocupa el espacio restante entre el punto y las columnas fijas */
#viewLista tbody td:nth-child(4) {
  padding-left: 24px !important;
  overflow-wrap: anywhere;
}

/* Anchos fijos segun el texto maximo: "USD 100000" y "Ultima Unidad" */
#viewLista tbody td:nth-child(5) {
  width: 9.5ch;
  min-width: 9.5ch;
  max-width: 9.5ch;
  font-weight: 700 !important;
  text-align: right;
  white-space: nowrap;
}

#viewLista tbody td:nth-child(6) {
  width: 16ch;
  min-width: 16ch;
  max-width: 16ch;
  text-align: center;
}

#viewLista tbody td:nth-child(2) {
  width: 24px;
  min-width: 24px;
  max-width: 24px;
  text-align: center;
  padding: 0 !important;
}

#viewLista tbody td .badge {
  width: 100%;
  display: block;
}

/* En mobile se oculta la columna de código para evitar scroll horizontal */
@media (max-width: 767.98px) {
  #viewLista thead th.apple-code-col,
  #viewLista tbody td.apple-code {
    display: none;
  }

  #viewLista thead th.col-dot,
  #viewLista tbody td.col-dot {
    display: none;
  }

  #viewLista tbody td:nth-child(4) {
    padding-left: 14px !important;
  }

  #viewLista tbody tr:not(.dtrg-group) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 16ch;
    align-items: center;
    position: relative;
    border-bottom: none !important;
  }

  #viewLista tbody tr:not(.dtrg-group)::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: #b0c4d8;
  }

  #viewLista tbody tr:not(.dtrg-group).grp-last::after {
    display: none;
  }

  #viewLista tbody tr.dtrg-group td {
    border: none !important;
    background: transparent !important;
  }

  #viewLista tbody tr.dtrg-group .grp-inner {
    border: none !important;
  }

  #viewLista tbody tr:not(.dtrg-group) td {
    background: transparent !important;
    border: none !important;
  }

  #viewLista tbody tr:not(.dtrg-group):nth-of-type(odd) {
    background: #eaf4fb;
  }

  #viewLista tbody tr:not(.dtrg-group):nth-of-type(even) {
    background: #d6eaf8;
  }

  #viewLista tbody tr:not(.dtrg-group) td:nth-child(4) {
    grid-column: 1;
    grid-row: 1 / span 2;
    min-width: 0;
  }

  #viewLista tbody tr:not(.dtrg-group) td:nth-child(5) {
    grid-column: 2;
    grid-row: 1;
    width: auto;
    min-width: 0;
    max-width: none;
    padding: 4px 8px !important;
  }

  #viewLista tbody tr:not(.dtrg-group) td:nth-child(6) {
    grid-column: 2;
    grid-row: 2;
    width: auto;
    min-width: 0;
    max-width: none;
    padding: 4px 8px !important;
  }

  #viewLista tbody tr:not(.dtrg-group) td:nth-child(5),
  #viewLista tbody tr:not(.dtrg-group) td:nth-child(6) {
    text-align: right;
    border: none !important;
  }
}

/* Clases propias para niveles de stock que no cubre el theme */
.badge-tael {
  background: #ff9f0a;
  color: #fff;
}

body.dark .badge-tael {
  background: #b25000;
  color: #fff;
}

#viewLista .badge-dark {
  background: #343a40;
  color: #fff;
}

body.dark #viewLista .badge-dark {
  background: #e9ecef;
  color: #1c1c1e;
}

/* Cabecera "Lista de Precios 2026" (idéntica a la referencia) */
header.lp-header {
  background: #1c1c1e;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 200;
}

header.lp-header .header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

header.lp-header .logo {
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
  color: #fff;
}

header.lp-header .logo span {
  color: #007aff;
}

header.lp-header .search-wrap {
  flex: 1;
  min-width: 150px;
}

header.lp-header .search-wrap input {
  width: 100%;
  padding: 7px 14px 7px 32px;
  border-radius: 16px;
  border: none;
  background: #ffffff;
  color: #1c1c1e;
  font-size: 0.8rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 10px center;
  transition: background .2s;
}

header.lp-header .search-wrap input::placeholder {
  color: #aaa;
}

header.lp-header .search-wrap input:focus {
  outline: none;
}

header.lp-header .btn-dark {
  background: transparent;
  border: 1px solid #3a3a3c;
  color: #aeaeb2;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .15s;
}

header.lp-header .btn-dark:hover {
  border-color: #666;
  color: #fff;
}

/* Modo oscuro (mismas variables que la referencia) */
body.dark {
  background: #000;
}

body.dark header.lp-header {
  background: #000;
}

body.dark header.lp-header .search-wrap input {
  background: #2c2c2e;
  color: #f2f2f7;
}

body.dark header.lp-header .search-wrap input::placeholder {
  color: #636366;
}

body.dark .card {
  background: #1c1c1e;
}

body.dark #viewLista tr.dtrg-group.dtrg-start td .grp-inner {
  background: #111111;
  color: #f2f2f7;
}

body.dark #viewLista tbody tr td {
  border-bottom-color: #3a3a3c !important;
}

body.dark #viewLista tbody tr:not(.dtrg-group):nth-of-type(odd) td {
  background: #1c1c1e;
}

body.dark #viewLista tbody tr:not(.dtrg-group):nth-of-type(even) td {
  background: #252525;
}

body.dark #viewLista tbody td {
  color: #f2f2f7;
}

body.dark #viewLista_info,
body.dark .dataTables_info {
  color: #aeaeb2 !important;
}

/* El theme fija .wrapper en 100vh; cualquier height fija en un ancestro
   rompe position:sticky del header y la barra de tabs */
.wrapper {
  height: auto !important;
  min-height: 100vh;
}

/* Barra de tabs por rubro (referencia: Lista de Precios) */
.tabs-bar {
  position: sticky;
  top: 50px;
  /* ajustado por JS al alto real del header */
  z-index: 150;
  background: #ffffff;
  border-bottom: 1px solid #d8e5f0;
}

.tabs-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 5px 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.tabs-inner::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  flex: 0 0 auto;
  padding: 2px 8px;
  border-radius: 11px;
  border: 1px solid #b0c4d8;
  background: #ffffff;
  color: #1c1c1e;
  font-size: 0.66rem;
  line-height: 1.3;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  transition: all .15s;
}

.tab-btn:hover {
  border-color: #007aff;
  color: #007aff;
}

.tab-btn.active {
  background: #1c1c1e;
  border-color: #1c1c1e;
  color: #ffffff;
}

.tab-count {
  opacity: .55;
  font-size: 0.62rem;
  margin-left: 1px;
}

.tab-count.tab-info-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #007aff;
  color: #ffffff;
  font-size: 0.65rem;
  font-style: italic;
  opacity: 1;
}

body.dark .tabs-bar {
  background: #1c1c1e;
  border-bottom-color: #3a3a3c;
}

body.dark .tab-btn {
  background: #2c2c2e;
  border-color: #3a3a3c;
  color: #f2f2f7;
}

body.dark .tab-btn:hover {
  border-color: #0a84ff;
  color: #0a84ff;
}

body.dark .tab-btn.active {
  background: #f2f2f7;
  border-color: #f2f2f7;
  color: #1c1c1e;
}

/* Barra de acciones debajo de los tabs (pills, refresh, hora, contador) */
.action-bar {
  background: transparent;
  border-bottom: 1px solid #d8e5f0;
  margin-top: 8px;
}

.action-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5px 8px;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.pill {
  padding: 2px 8px;
  border-radius: 11px;
  border: 1px solid #b0c4d8;
  background: #ffffff;
  color: #1c1c1e;
  font-size: 0.66rem;
  line-height: 1.3;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all .15s;
}

.pill:hover {
  border-color: #007aff;
  color: #007aff;
}

.pill.all.active {
  background: #1c1c1e;
  border-color: #1c1c1e;
  color: #ffffff;
}

.pill.stk {
  background: #d1f4dd;
  color: #1a7c31;
  border-color: #d1f4dd;
}

.pill.stk.active {
  background: #1a7c31;
  color: #ffffff;
  border-color: #1a7c31;
}

.pill-sep {
  width: 1px;
  height: 16px;
  background: #b0c4d8;
  flex-shrink: 0;
}

.btn-refresh {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 11px;
  border: 1px solid #b0c4d8;
  background: #ffffff;
  color: #1c1c1e;
  font-size: 0.66rem;
  line-height: 1.3;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all .15s;
}

.btn-refresh:hover {
  border-color: #007aff;
  color: #007aff;
}

.btn-refresh:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.btn-refresh.loading svg {
  animation: lp-spin .7s linear infinite;
}

@keyframes lp-spin {
  to {
    transform: rotate(360deg);
  }
}

.refresh-info {
  font-size: 0.68rem;
  color: #8e8e93;
  white-space: nowrap;
}

body.dark .action-bar {
  border-bottom-color: #3a3a3c;
}

body.dark .pill {
  background: #2c2c2e;
  border-color: #3a3a3c;
  color: #f2f2f7;
}

body.dark .pill:hover {
  border-color: #0a84ff;
  color: #0a84ff;
}

body.dark .pill.all.active {
  background: #f2f2f7;
  border-color: #f2f2f7;
  color: #1c1c1e;
}

body.dark .pill.stk {
  background: #1a3d24;
  color: #4cd964;
  border-color: #1a3d24;
}

body.dark .pill.stk.active {
  background: #4cd964;
  color: #1c1c1e;
  border-color: #4cd964;
}

body.dark .pill-sep {
  background: #3a3a3c;
}

body.dark .btn-refresh {
  background: #2c2c2e;
  border-color: #3a3a3c;
  color: #f2f2f7;
}

body.dark .btn-refresh:hover {
  border-color: #0a84ff;
  color: #0a84ff;
}

body.dark .refresh-info {
  color: #8e8e93;
}

/* Boton nuevos ingresos y modal (look & feel de la referencia) */
.btn-new-arrivals {
  display: none;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 11px;
  border: 1px solid #cc2200;
  background: #fce8e6;
  color: #cc2200;
  font-size: 0.66rem;
  line-height: 1.3;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  animation: titilar 1s ease-in-out infinite;
  transition: opacity .15s;
}

.btn-new-arrivals.visible {
  display: inline-flex;
}

.btn-new-arrivals:hover {
  opacity: .8;
}

.btn-garantia {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 11px;
  border: 1px solid #b0c4d8;
  background: #ffffff;
  color: #1c1c1e;
  font-size: 0.66rem;
  line-height: 1.3;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all .15s;
}

.btn-garantia:hover {
  border-color: #007aff;
  color: #007aff;
}

.new-dot-btn {
  width: 7px;
  height: 7px;
  background: #cc2200;
  border-radius: 50%;
  flex-shrink: 0;
}

body.dark .new-dot-btn {
  background: #ff6b6b;
}

@keyframes titilar {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.new-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #34c759;
  border-radius: 50%;
}

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  background: #ffffff;
  border-radius: 12px;
  width: 100%;
  max-width: 1000px;
  max-height: 80vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
}

body.dark .modal-box {
  background: #1c1c1e;
}

.modal-header {
  padding: 14px 18px;
  border-bottom: 1px solid #d8e5f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

body.dark .modal-header {
  border-bottom-color: #3a3a3c;
}

.modal-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1a7c31;
  display: flex;
  align-items: center;
  gap: 7px;
}

body.dark .modal-title {
  color: #4cd964;
}

.modal-title-dot {
  width: 8px;
  height: 8px;
  background: #007aff;
  border-radius: 50%;
}

body.dark .modal-title-dot {
  background: #7cc6ff;
}

.modal-subtitle {
  font-size: 0.72rem;
  color: #8e8e93;
  margin-top: 2px;
}

.btn-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  color: #8e8e93;
  font-size: 18px;
  line-height: 1;
  padding: 2px 6px;
  border-radius: 6px;
  transition: background .1s;
}

.btn-modal-close:hover {
  background: #d8e5f0;
}

body.dark .btn-modal-close:hover {
  background: #3a3a3c;
}

.modal-body {
  overflow-y: auto;
  padding: 12px 0;
}

.modal-text {
  padding: 0 18px 18px;
  color: #1c1c1e;
  font-size: 0.82rem;
  line-height: 1.6;
  white-space: pre-line;
}

body.dark .modal-text {
  color: #f2f2f7;
}

.modal-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px 280px;
  align-items: center;
  gap: 10px;
  padding: 7px 18px;
  border-bottom: 1px solid #d8e5f0;
  font-size: 0.8rem;
}

body.dark .modal-row {
  border-bottom-color: #3a3a3c;
}

.modal-row:last-child {
  border-bottom: none;
}

.modal-row-name {
  color: #1c1c1e;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.dark .modal-row-name {
  color: #f2f2f7;
}

.modal-row-meta {
  font-size: 0.72rem;
  color: #8e8e93;
  text-align: right;
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modal-row-price {
  font-weight: 700;
  color: #1c1c1e;
  white-space: nowrap;
  width: 110px;
  text-align: right;
}

body.dark .modal-row-price {
  color: #f2f2f7;
}

.modal-empty {
  text-align: center;
  padding: 30px 20px;
  color: #8e8e93;
  font-size: 0.8rem;
}

@media (max-width: 700px) {
  .modal-box {
    max-width: 100%;
  }

  .modal-row {
    padding-left: 12px;
    padding-right: 12px;
    gap: 6px;
    grid-template-columns: minmax(0, 1fr) 90px 190px;
  }

  .modal-row-price {
    width: 90px;
  }
}

@media (max-width: 767.98px) {
  .modal-row {
    grid-template-columns: minmax(0, 1fr) 90px;
    align-items: start;
  }

  .modal-row-name {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    overflow-wrap: anywhere;
  }

  .modal-row-meta {
    grid-column: 1 / -1;
    grid-row: 2;
    text-align: left;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }

  .modal-row-price {
    grid-column: 2;
    grid-row: 1;
    width: 90px;
  }
}

@media (max-width: 767.98px) {
  #viewLista tbody tr:not(.dtrg-group):nth-of-type(odd) {
    background-color: #e2f0fa !important;
  }

  #viewLista tbody tr:not(.dtrg-group):nth-of-type(even) {
    background-color: #c8e2f2 !important;
  }

  #viewLista tbody tr:not(.dtrg-group) td {
    color: #1c1c1e !important;
  }

  body.dark #viewLista tbody tr:not(.dtrg-group):nth-of-type(odd) {
    background-color: #222326 !important;
  }

  body.dark #viewLista tbody tr:not(.dtrg-group):nth-of-type(even) {
    background-color: #303238 !important;
  }

  body.dark #viewLista tbody tr:not(.dtrg-group) td {
    color: #f2f2f7 !important;
  }
}

/* Texto de ayuda de la barra de acciones, sobre la funcionalidad de copia rapida */
.lp-copy-hint {
  font-size: 0.72rem;
  opacity: 0.65;
  white-space: nowrap;
}

@media (max-width: 991.98px) {
  .lp-copy-hint {
    display: none;
  }
}

/* Copia rapida tipo planilla: celda, rango arrastrado, fila y categoria */
#viewLista tbody tr:not(.dtrg-group) td.apple-code,
#viewLista tbody tr:not(.dtrg-group) td:nth-child(4),
#viewLista tbody tr:not(.dtrg-group) td:nth-child(5),
#viewLista tbody tr:not(.dtrg-group) td:nth-child(6) {
  cursor: copy;
  user-select: none;
}

#viewLista tr.dtrg-group.dtrg-start td .grp-inner {
  cursor: copy;
}

#viewLista tbody td.lp-selected {
  background: #a9d6f5 !important;
  outline: 1px solid #2e86de;
  outline-offset: -1px;
}

#viewLista tbody td.lp-flash {
  animation: lpFlash .4s ease;
}

#viewLista tbody tr.lp-flash-row td,
#viewLista tbody tr.lp-flash-row.dtrg-group .grp-inner {
  animation: lpFlash .4s ease;
}

@keyframes lpFlash {
  0% { background-color: #6fc276; }
  100% { background-color: transparent; }
}

.lp-copy-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 12px);
  background: #2d2d2d;
  color: #fff;
  padding: 9px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 3000;
  max-width: 90vw;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lp-copy-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

body.dark #viewLista tbody td.lp-selected {
  background: #1d4e73 !important;
  outline-color: #4fa3e0;
}
