/* Resultado del bot en la tarjeta del pedido: encabezado con el reintento a la derecha, el producto como fila con
   su estado en una pastilla y las cuentas como fichas (en vez de una lista larga separada por comas). */
body #adminDashboard .order-bot-status { gap: 10px !important; }
body #adminDashboard .order-bot-status .order-bot-heading { flex-wrap: wrap; gap: 8px 10px !important; }
body #adminDashboard .order-bot-status .order-bot-heading > .order-bot-retry {
  width: auto !important; min-height: 34px !important; margin: 0 0 0 auto !important; padding: 0 14px !important;
  display: inline-flex !important; align-items: center; gap: 6px; border-radius: 999px !important;
  font-size: 13px !important; font-weight: 700 !important; white-space: nowrap;
}
body #adminDashboard .order-bot-status .order-bot-heading > .order-bot-retry svg { width: 15px; height: 15px; }

body #adminDashboard .order-bot-status .order-unit-outcomes > li {
  margin: 0 !important; padding: 12px 14px !important; border: 0 !important; border-radius: 10px !important;
  background: rgba(0, 0, 0, .18) !important;
}
:root[data-admin-theme="light"] body #adminDashboard .order-bot-status .order-unit-outcomes > li { background: rgba(255, 255, 255, .7) !important; }
body #adminDashboard .order-bot-status .order-unit-outcomes > li > strong { font-size: 14px; }
body #adminDashboard .order-bot-status .order-unit-outcomes > li > strong small { font-size: 13px; font-weight: 600; color: var(--admin-muted); }
body #adminDashboard .order-bot-status .order-unit-outcomes > li > .unit-state {
  justify-self: end; padding: 3px 10px; border-radius: 999px; font-size: 12px !important;
  background: rgba(255, 255, 255, .1); color: var(--admin-text) !important;
}
:root[data-admin-theme="light"] body #adminDashboard .order-bot-status .order-unit-outcomes > li > .unit-state { background: rgba(11, 27, 58, .08); }

body #adminDashboard .order-bot-reasons li.reason-block { display: grid !important; gap: 8px; padding: 10px 0 2px !important; border: 0 !important; }
body #adminDashboard .order-bot-reasons li.reason-block .reason-what { font-size: 14px !important; font-weight: 700 !important; }
body #adminDashboard .order-bot-reasons .reason-chips { display: flex; flex-wrap: wrap; gap: 6px; }
body #adminDashboard .order-bot-reasons .reason-chip {
  display: inline-flex; align-items: baseline; gap: 6px; padding: 4px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12);
  font-size: 12px; line-height: 1.4; color: var(--admin-text); white-space: nowrap;
}
body #adminDashboard .order-bot-reasons .reason-chip b { font-weight: 700; }
body #adminDashboard .order-bot-reasons .reason-chip time { color: #ffc95c; font-weight: 600; }
body #adminDashboard .order-bot-reasons .is-unaccepted .reason-chip { border-color: rgba(255, 120, 100, .35); background: rgba(255, 120, 100, .1); }
:root[data-admin-theme="light"] body #adminDashboard .order-bot-reasons .reason-chip { background: #fff; border-color: rgba(11, 27, 58, .12); }
:root[data-admin-theme="light"] body #adminDashboard .order-bot-reasons .reason-chip time { color: #8a5a00; }
:root[data-admin-theme="light"] body #adminDashboard .order-bot-reasons .is-unaccepted .reason-chip { background: #fff1ee; border-color: rgba(200, 60, 40, .25); }
body #adminDashboard .order-bot-reasons li.reason-block .reason-todo {
  max-width: none !important; font-size: 12.5px !important; font-weight: 500 !important; color: var(--admin-muted) !important;
}
body #adminDashboard .order-bot-status .order-unit-outcomes > li > strong { color: var(--admin-text) !important; font-weight: 700 !important; }

@media (max-width: 640px) {
  body #adminDashboard .order-bot-status .order-bot-heading > .order-bot-retry { flex: 1 0 100%; justify-content: center; margin: 2px 0 0 !important; }
}
