/* HayOrder v1.1.64 – Hybrid-Statusfarben: ruhig, klar, statusbezogen */

/* Kopf bleibt neutral. Nur Rahmen/Glow tragen dezent die Statusfarbe. */
body #orders-ajax-root.ho-orders-164 .ho122-order-card:not(.is-attention) .ho122-order-link{
  border-color:color-mix(in srgb,var(--status) 58%,rgba(84,108,130,.42))!important;
  background:linear-gradient(150deg,rgba(17,31,43,.985),rgba(12,25,36,.985))!important;
  box-shadow:
    0 13px 30px rgba(1,8,16,.20),
    0 0 0 1px color-mix(in srgb,var(--status) 5%,transparent)!important;
}
body #orders-ajax-root.ho-orders-164 .ho122-order-card:not(.is-attention) .ho122-order-link:hover{
  border-color:color-mix(in srgb,var(--status) 74%,rgba(102,128,151,.34))!important;
  box-shadow:
    0 18px 38px rgba(1,8,16,.27),
    0 0 22px color-mix(in srgb,var(--status) 7%,transparent)!important;
}

/* Informationsbereich: Statusfarbe nur als sanfter Grundton. */
body #orders-ajax-root.ho-orders-164 .ho122-order-card .ho154-card-facts{
  background:
    linear-gradient(135deg,
      color-mix(in srgb,var(--status) 10%,rgba(13,28,39,.98)) 0%,
      color-mix(in srgb,var(--status) 5%,rgba(11,25,35,.985)) 52%,
      rgba(11,24,34,.99) 100%)!important;
}

/* Status links oben erhält etwas mehr Statusbezug, Produkte bleiben ruhiger. */
body #orders-ajax-root.ho-orders-164 .ho122-order-card .ho154-status-column{
  background:linear-gradient(135deg,
    color-mix(in srgb,var(--status) 11%,transparent),
    color-mix(in srgb,var(--status) 4%,transparent))!important;
}
body #orders-ajax-root.ho-orders-164 .ho122-order-card .ho155-product-column{
  background:rgba(12,25,35,.30)!important;
}

/* Bestelleingang bewusst neutral, damit Uhrzeit/Datum ruhig lesbar bleiben. */
body #orders-ajax-root.ho-orders-164 .ho122-order-card .ho154-received{
  background:rgba(12,25,35,.22)!important;
}

/* Statuszeit bleibt sichtbar abgesetzt, nimmt aber einen Hauch der Statusfarbe auf. */
body #orders-ajax-root.ho-orders-164 .ho122-order-card .ho154-countdown{
  background:linear-gradient(135deg,
    color-mix(in srgb,var(--status) 5%,rgba(71,44,62,.30)),
    rgba(46,41,57,.48))!important;
}

/* Statusbadge bleibt Haupt-Farbakzent. Produktbadge bewusst neutral. */
body #orders-ajax-root.ho-orders-164 .ho122-order-card .ho122-status{
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--status) 9%,transparent),
             0 4px 13px color-mix(in srgb,var(--status) 8%,transparent)!important;
}
body #orders-ajax-root.ho-orders-164 .ho122-order-card .ho154-product-count{
  color:#d5e0e8!important;
  border-color:rgba(92,124,151,.34)!important;
  background:rgba(16,36,51,.56)!important;
  box-shadow:none!important;
}

/* Feine Kreuzlinien: sichtbar, aber nicht dominant. */
body #orders-ajax-root.ho-orders-164 .ho122-order-card .ho154-status-row{
  border-bottom-color:color-mix(in srgb,var(--status) 13%,rgba(130,151,170,.21))!important;
}
body #orders-ajax-root.ho-orders-164 .ho122-order-card .ho155-product-column,
body #orders-ajax-root.ho-orders-164 .ho122-order-card .ho154-countdown{
  border-left-color:color-mix(in srgb,var(--status) 12%,rgba(130,151,170,.21))!important;
}

/* Selected-Card bleibt klar markiert, ohne das Statussystem zu überfahren. */
body #orders-ajax-root.ho-orders-164 .ho122-order-card.is-selected:not(.is-attention) .ho122-order-link{
  box-shadow:
    0 0 0 1px color-mix(in srgb,var(--status) 24%,transparent),
    0 18px 38px rgba(1,8,16,.27),
    0 0 26px color-mix(in srgb,var(--status) 8%,transparent)!important;
}

/* Light Mode: gleicher Statusgedanke, aber deutlich heller und zurückhaltender. */
body.theme-light #orders-ajax-root.ho-orders-164 .ho122-order-card:not(.is-attention) .ho122-order-link{
  background:linear-gradient(150deg,#fff,#f7fafc)!important;
  border-color:color-mix(in srgb,var(--status) 42%,rgba(64,86,107,.24))!important;
  box-shadow:0 12px 28px rgba(30,48,63,.09)!important;
}
body.theme-light #orders-ajax-root.ho-orders-164 .ho122-order-card .ho154-card-facts{
  background:linear-gradient(135deg,
    color-mix(in srgb,var(--status) 7%,#f9fbfd),
    #f6f9fb 72%)!important;
}
body.theme-light #orders-ajax-root.ho-orders-164 .ho122-order-card .ho154-status-column{
  background:color-mix(in srgb,var(--status) 6%,transparent)!important;
}
body.theme-light #orders-ajax-root.ho-orders-164 .ho122-order-card .ho155-product-column,
body.theme-light #orders-ajax-root.ho-orders-164 .ho122-order-card .ho154-received{
  background:rgba(255,255,255,.36)!important;
}
body.theme-light #orders-ajax-root.ho-orders-164 .ho122-order-card .ho154-countdown{
  background:linear-gradient(135deg,rgba(255,239,243,.68),rgba(248,245,249,.82))!important;
}
body.theme-light #orders-ajax-root.ho-orders-164 .ho122-order-card .ho154-product-count{
  color:#334757!important;
  border-color:rgba(84,111,136,.24)!important;
  background:rgba(255,255,255,.70)!important;
}
