.doga-elogo-workspace{min-width:0}
.doga-elogo-workspace>h2{margin:0 0 16px;font-size:24px;font-weight:700;line-height:1.25}
.doga-elogo-workspace .erp-card{padding:16px;display:grid;gap:12px}
.doga-elogo-workspace .erp-card>button{justify-self:start;width:auto}
.doga-elogo-workspace .erp-card>label{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.doga-elogo-workspace .invoice-table-scroll{max-width:100%;overflow:auto}
.doga-elogo-workspace .invoice-row-actions{gap:8px}
.doga-elogo-workspace .elogo-outbox-search{display:flex;flex-wrap:wrap;gap:8px;align-items:end}
.doga-elogo-workspace .elogo-outbox-search label{display:grid;gap:5px;flex:0 1 360px;font-weight:600}
.doga-elogo-workspace .elogo-outbox-search input,.doga-elogo-workspace .erp-card>label select{
  min-height:36px;padding:7px 10px;border:1px solid var(--line,#d6e1ed);border-radius:6px;
  background:var(--surface,#fff);color:var(--text,#1c2b44);font:inherit
}
.doga-elogo-workspace .elogo-outbox-search input{width:100%}
.erp-app[data-theme=dark] .doga-elogo-workspace .elogo-outbox-search input,
.erp-app[data-theme=dark] .doga-elogo-workspace .erp-card>label select{
  background:#172840;border-color:#2b405a;color:#dfebfb
}

.doga-elogo-queue-controls{display:flex;flex-wrap:wrap;align-items:end;gap:12px}
.doga-elogo-queue-notice{margin:0 0 12px;font-weight:600}
.doga-elogo-preflight{margin:12px 0;padding:12px 16px;border:1px solid var(--line,#d6e1ed);border-radius:8px}
.doga-elogo-preflight h3{margin-bottom:8px;font-weight:650}
.doga-elogo-preflight ul{padding-inline-start:18px;margin:4px 0}
.doga-elogo-preflight p{margin-top:8px}
.doga-elogo-queue-controls>label{display:grid;gap:5px;min-width:10rem;font-weight:600}
.doga-elogo-queue-controls select{min-height:36px;padding:7px 10px;border:1px solid var(--line,#d6e1ed);
  border-radius:6px;background:var(--surface,#fff);color:var(--text,#1c2b44);font:inherit}
.erp-app[data-theme=dark] .doga-elogo-queue-controls select{background:#172840;border-color:#2b405a;color:#dfebfb}
.doga-elogo-workspace [aria-label="eLogo geçmişi"]{margin-top:24px;display:grid;gap:12px}
.doga-elogo-workspace [aria-label="eLogo geçmişi"]>h3{font-size:18px;font-weight:650}

.doga-elogo-workspace .doga-elogo-party-name{min-width:160px;max-width:340px;overflow-wrap:anywhere}

.doga-elogo-workspace .doga-document-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 4px;
}
.doga-elogo-workspace .doga-document-overview > div {
  min-width: 0;
  padding: 14px 16px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(115deg, #1749b3, #3878ec);
  box-shadow: 0 5px 16px #245ac326;
}
.doga-elogo-workspace .doga-document-overview > div:nth-child(2) {
  background: linear-gradient(115deg, #00778f, #00869e);
}
.doga-elogo-workspace .doga-document-overview > div:nth-child(3) {
  background: linear-gradient(115deg, #a83e22, #c24829);
}
.doga-elogo-workspace .doga-document-overview dt {
  color: inherit;
  font-size: .95rem;
  font-weight: 600;
}
.doga-elogo-workspace .doga-document-overview dd {
  margin: 5px 0 0;
  color: inherit;
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.doga-elogo-workspace :is(.elogo-outbox-search, .doga-elogo-queue-controls) {
  min-width: 0;
  align-items: end;
  padding: 10px 12px;
  border: 1px solid var(--line, #e1e9f3);
  border-radius: 12px;
  background: var(--surface, #fff);
}
.doga-elogo-workspace .doga-elogo-queue-controls .elogo-outbox-search {
  padding: 0;
  border: 0;
  background: transparent;
}
.doga-elogo-workspace .elogo-outbox-search label { min-width: 0; }
.doga-elogo-workspace .elogo-outbox-search button[type=submit] {
  border-color: #1e52a0;
  background: #1e52a0;
  color: #fff;
}
.doga-elogo-workspace .elogo-outbox-search button[type=submit]:hover:not(:disabled) {
  background: #173b70;
}
.doga-elogo-workspace .invoice-table-scroll {
  border: 1px solid var(--line, #dfe7f2);
  border-radius: 17px;
  box-shadow: 0 8px 28px #1d416d0b;
}
.doga-elogo-workspace .invoice-table-scroll .invoice-list {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.doga-elogo-workspace .invoice-list thead {
  background: linear-gradient(110deg, #173b70, #285b9e);
}
.doga-elogo-workspace .invoice-list thead th {
  padding: 14px 12px;
  border: 0;
  background: transparent;
  color: #f0f6ff;
  font-size: .875rem;
  font-weight: 650;
  letter-spacing: .03em;
  vertical-align: middle;
}
.doga-elogo-workspace .invoice-list tbody td {
  padding: 12px;
  border-bottom: 1px solid var(--line, #edf2f8);
  font-size: .9375rem;
  vertical-align: middle;
}
.doga-elogo-workspace .invoice-list tbody tr:nth-child(even) { background: #f8faff; }
.doga-elogo-workspace .invoice-list tbody tr:last-child td { border-bottom: 0; }
.erp-app[data-theme=dark] .doga-elogo-workspace .invoice-list tbody tr:nth-child(even) {
  background: #20334d;
}
.erp-app[data-theme=dark] .doga-elogo-workspace .invoice-list thead th {
  background: transparent;
  color: #f0f6ff;
}
.doga-elogo-workspace > h2 { font-size: 1.75rem; }
.doga-elogo-workspace .erp-card :is(label, input, select, .erp-button) {
  font-size: .9375rem;
}
@media (max-width: 540px) {
  .doga-elogo-workspace .doga-document-overview { gap: 6px; }
  .doga-elogo-workspace .doga-document-overview > div { padding: 9px 8px; }
  .doga-elogo-workspace .elogo-outbox-search label { flex-basis: 100%; }
}
.doga-elogo-workspace .doga-invoice-tools {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: end;
  gap: 8px;
}
.doga-elogo-workspace .doga-invoice-tools label {
  display: grid;
  gap: 5px;
  font-weight: 600;
}
.doga-elogo-workspace .doga-invoice-tools input[type=date] {
  min-height: 36px;
  padding: 5px 8px;
  border: 1px solid var(--line, #d6e1ed);
  border-radius: 6px;
  background: var(--surface, #fff);
  color: var(--text, #1c2b44);
}
.doga-elogo-workspace .doga-invoice-tools :is(p, small) { flex-basis: 100%; }
.doga-elogo-workspace .doga-invoice-filter-row {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px 12px;
}
.doga-elogo-workspace .doga-invoice-filter-row > label {
  display: grid;
  gap: 5px;
  font-weight: 600;
}
.doga-elogo-workspace .doga-invoice-filter-row .elogo-outbox-search {
  padding: 0;
  border: 0;
  background: transparent;
}
.doga-elogo-workspace .doga-dispatch-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.doga-elogo-workspace .doga-dispatch-overview button {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 2px solid transparent;
  border-radius: 12px;
  background: #126653;
  color: #fff;
  text-align: start;
  font: inherit;
  cursor: pointer;
}
.doga-elogo-workspace .doga-dispatch-overview button:last-child { background: #a44422; }
.doga-elogo-workspace .doga-dispatch-overview button[aria-pressed=true] {
  border-color: currentColor;
  outline: 1px solid #213c5b;
}
.doga-elogo-workspace .doga-dispatch-overview strong { font-size: 1.35rem; }
.doga-elogo-workspace .doga-elogo-queue-controls,
.doga-elogo-workspace .doga-elogo-queue-controls .doga-invoice-tools,
.doga-elogo-workspace .doga-elogo-queue-controls .elogo-outbox-search {
  align-items: end;
  gap: 8px 12px;
}
.doga-elogo-workspace .doga-elogo-queue-controls .doga-invoice-tools { display: contents; }
.doga-elogo-workspace .doga-elogo-queue-controls :is(input:not([type=checkbox]), select, button) {
  min-height: 36px;
}
.doga-elogo-workspace .doga-invoice-dispatch-row {
  flex-wrap: nowrap;
  align-items: flex-end;
  overflow-x: auto;
}
.doga-elogo-workspace .doga-invoice-dispatch-row > :is(button, label) {
  flex: 0 0 auto;
  white-space: nowrap;
}
.doga-elogo-workspace .doga-invoice-dispatch-row > .elogo-outbox-search {
  flex: 1 0 auto;
  flex-wrap: nowrap;
  align-items: end;
}
.doga-elogo-workspace .doga-invoice-dispatch-row .elogo-outbox-search label {
  flex: 1 0 12rem;
}
.doga-elogo-workspace :is(.erp-card > label, .doga-invoice-tools, .doga-elogo-queue-controls, .doga-invoice-filter-row) select,
.doga-elogo-workspace .doga-invoice-tools input[type=date],
.doga-elogo-workspace .doga-invoice-filter-row .elogo-outbox-search button[type=button],
.doga-elogo-workspace .doga-elogo-queue-controls .elogo-outbox-search button[type=button] {
  border-color: #afc8eb;
  background: #e7f0fd;
  color: #173b70;
}
.doga-elogo-workspace .elogo-outbox-search button[type=submit]:disabled {
  opacity: .62;
}
.doga-elogo-workspace :is(.doga-invoice-tools, .doga-elogo-queue-controls, .doga-invoice-filter-row) :is(select, input, button):focus-visible {
  outline: 2px solid #3279d5;
  outline-offset: 2px;
}
.erp-app[data-theme=dark] .doga-elogo-workspace :is(.erp-card > label, .doga-invoice-tools, .doga-elogo-queue-controls, .doga-invoice-filter-row) select,
.erp-app[data-theme=dark] .doga-elogo-workspace .doga-invoice-tools input[type=date],
.erp-app[data-theme=dark] .doga-elogo-workspace .elogo-outbox-search button[type=button] {
  border-color: #466d9a;
  background: #233f63;
  color: #eef5ff;
  color-scheme: dark;
}
.doga-elogo-workspace .erp-button.doga-action-refresh { --action-color: #1e52a0; }
.doga-elogo-workspace .erp-button.doga-action-series { --action-color: #61439c; }
.doga-elogo-workspace .erp-button.doga-action-print { --action-color: #116c75; }
.doga-elogo-workspace .erp-button.doga-action-send { --action-color: #166646; }
.doga-elogo-workspace .erp-button:is(.doga-action-refresh,.doga-action-series,.doga-action-print,.doga-action-send) {
  background: var(--action-color);
  border-color: var(--action-color);
  color: #fff;
}
.doga-elogo-workspace .erp-button:is(.doga-action-refresh,.doga-action-series,.doga-action-print,.doga-action-send):hover:not(:disabled) {
  filter: brightness(.88);
}
.doga-elogo-workspace .erp-button:is(.doga-action-refresh,.doga-action-series,.doga-action-print,.doga-action-send):disabled {
  opacity: .5;
  cursor: not-allowed;
}
.invoice-actions-menu .doga-sale-edit { --sale-action-color: #1e52a0; }
.invoice-actions-menu .doga-sale-cancel { --sale-action-color: #aa342c; }
.invoice-actions-menu .doga-sale-print { --sale-action-color: #116c75; }
.invoice-actions-menu .doga-sale-send { --sale-action-color: #166646; }
.invoice-actions-menu .invoice-row-actions button:is(.doga-sale-edit,.doga-sale-cancel,.doga-sale-print,.doga-sale-send) {
  color: #fff;
  border-color: var(--sale-action-color);
  background: var(--sale-action-color);
}
.invoice-actions-menu .invoice-row-actions button:is(.doga-sale-edit,.doga-sale-cancel,.doga-sale-print,.doga-sale-send):hover:not(:disabled) {
  filter: brightness(.88);
}
.invoice-actions-menu .invoice-row-actions button:is(.doga-sale-edit,.doga-sale-cancel,.doga-sale-print,.doga-sale-send):disabled {
  opacity: .5;
  cursor: not-allowed;
}
