/* 11A-8.13.74 — Deux choix explicites pour le premier envoi d'un document. */
.quote-page-content > .quote-lifecycle-current > .document-next-send-actions,
.invoice-page-content > .invoice-lifecycle-current > .document-next-send-actions {
  grid-column: 3;
  display: flex;
  align-items: center;
  justify-self: end;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.document-next-send-actions > :is(.quote-lifecycle-action, .invoice-lifecycle-action) {
  min-height: 38px;
  justify-content: center;
  font-size: 11px;
  white-space: nowrap;
}

.document-next-send-actions > .document-mark-sent {
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  box-shadow: none;
  font-weight: 620;
}
.document-next-send-actions > .document-mark-sent:hover:not(:disabled) {
  border-color: var(--accent);
  background: var(--hover);
  color: var(--accent);
}
.document-next-send-actions > .document-mark-sent:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 30%, transparent);
  outline-offset: 2px;
}
.document-next-send-actions > .document-mark-sent .lucide {
  width: 15px;
  height: 15px;
}

@media (max-width: 1080px) {
  .quote-page-content > .quote-lifecycle-current > .document-next-send-actions,
  .invoice-page-content > .invoice-lifecycle-current > .document-next-send-actions {
    grid-column: 1 / -1;
    width: 100%;
    justify-self: stretch;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .document-next-send-actions > :is(.quote-lifecycle-action, .invoice-lifecycle-action) {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 540px) {
  .quote-page-content > .quote-lifecycle-current > .document-next-send-actions,
  .invoice-page-content > .invoice-lifecycle-current > .document-next-send-actions {
    grid-template-columns: minmax(0, 1fr);
  }
}
