/* ===== Send Order: pre-send checks + inline fixes ===== */
.so-check-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  max-height: 300px;
  overflow-y: auto;
}
.so-check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.45;
  animation: so-check-in 0.22s ease both;
}
@keyframes so-check-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: none; }
}
.so-check-text { flex: 1; }
.so-check-ok .so-check-text { color: var(--text-muted); }
.so-check-fail .so-check-text { color: var(--danger); font-weight: 500; }
/* Inline fix panel */
.so-fix-panel {
  margin-top: 16px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.so-fix-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.so-fix-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 320px;
  overflow-y: auto;
}
.so-fix-row {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  animation: so-check-in 0.22s ease both;
}
.so-fix-blocked {
  background: var(--danger-bg);
  border-color: var(--danger);
}
.so-fix-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-transform: capitalize;
}
.so-fix-dest {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-light);
}
.so-fix-problem {
  font-size: 12px;
  color: var(--text-muted);
  margin: 4px 0 8px;
  line-height: 1.45;
}
.so-fix-blocked .so-fix-problem { color: var(--danger); }
.so-fix-input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  background: var(--surface);
  color: var(--text);
}
.so-fix-input:focus { outline: none; border-color: var(--border-focus); }
.so-fix-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}
.so-fix-error {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--danger);
}
/* Success appreciation note */
.so-success-note {
  margin-top: 18px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--success);
  animation: so-praise-in 0.4s cubic-bezier(0.2, 0.8, 0.3, 1) both;
}
@keyframes so-praise-in {
  from { opacity: 0; transform: scale(0.94) translateY(6px); }
  to   { opacity: 1; transform: none; }
}

/* Send Order: check rows show what was verified (two-line layout) */
.so-check-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.so-check-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}
.so-check-detail {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  word-break: break-word;
}
.so-check-detail-bad { color: var(--danger); }
.so-check-active .so-check-title { color: var(--text-muted); font-weight: 500; }
.so-check-ok .so-check-title { color: var(--text); }
.so-check-fail .so-check-title { color: var(--danger); }

/* Order Queue: remove button + clickable logo + footer layout */
.btn-danger-outline {
  background: var(--surface);
  color: var(--danger);
  border: 1px solid #fecaca;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.btn-danger-outline:hover:not(:disabled) { background: var(--danger-bg); border-color: var(--danger); }
.btn-danger-outline:disabled { opacity: 0.6; cursor: not-allowed; }
.modal-footer-spacer { flex: 1; }
.topbar-logo[role="button"] { cursor: pointer; }
.topbar-logo[role="button"]:hover { opacity: 0.8; }
.topbar-logo[role="button"]:focus-visible { outline: 2px solid var(--border-focus); outline-offset: 3px; border-radius: 4px; }

/* Order Queue: renewal countdown badge */
.oq-renew {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
}
.oq-renew.renew-ok   { background: var(--success-bg); color: var(--success); }
.oq-renew.renew-soon { background: #fef3c7; color: #92400e; }
.oq-renew.renew-due  { background: var(--danger-bg); color: var(--danger); }

.so-optional { font-weight: 400; font-size: 11px; color: var(--text-light); }

