/* HayOrder v1.1.36 – Bestelldetails Timeline + Footer Responsive Fix */

#orders-ajax-root.ho-orders-136 .ho55-history-section{padding:22px 18px 24px}
#orders-ajax-root.ho-orders-136 .ho55-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:16px}
#orders-ajax-root.ho-orders-136 .ho55-section-heading span{letter-spacing:.12em}
#orders-ajax-root.ho-orders-136 .ho55-section-heading h3{margin:6px 0 0;font-size:clamp(30px,2.1vw,40px);line-height:1.05;letter-spacing:-.03em}
#orders-ajax-root.ho-orders-136 .ho55-section-heading small{color:var(--muted);font-size:14px;line-height:1.5}

#orders-ajax-root.ho-orders-136 .ho55-timeline-frame{padding:0!important;border:0!important;background:transparent!important;overflow:visible!important;max-width:none!important}
#orders-ajax-root.ho-orders-136 .ho55-timeline-frame .ho136-timeline-grid,
#orders-ajax-root.ho-orders-136 .ho55-timeline-frame .ho136-timeline-grid.has-cancellation{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;min-width:0!important;padding:0!important;margin:0!important}
#orders-ajax-root.ho-orders-136 .ho55-timeline-frame .ho-timeline-event{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:10px;min-width:0;min-height:132px;padding:18px 16px 16px!important;border-radius:18px;border:1px solid rgba(91,114,145,.28);background:linear-gradient(180deg,rgba(20,31,49,.9),rgba(16,24,39,.94));box-shadow:0 18px 34px rgba(2,8,20,.18);position:relative;overflow:hidden}
#orders-ajax-root.ho-orders-136 .ho55-timeline-frame .ho-timeline-event:before,
#orders-ajax-root.ho-orders-136 .ho55-timeline-frame .ho-timeline-event:after{display:none!important;content:none!important}
#orders-ajax-root.ho-orders-136 .ho55-timeline-frame .ho-timeline-dot{width:16px;height:16px;flex:0 0 16px;margin:0;border-radius:50%;border:2px solid rgba(108,130,158,.45);background:rgba(14,20,31,.88);box-shadow:none}
#orders-ajax-root.ho-orders-136 .ho55-timeline-frame .ho-timeline-event>div{min-width:0;display:flex;flex-direction:column;gap:8px}
#orders-ajax-root.ho-orders-136 .ho55-timeline-frame .ho-timeline-event>div strong{display:block;font-size:clamp(15px,1.05vw,18px)!important;line-height:1.25;font-weight:760;letter-spacing:-.02em;color:var(--text);overflow-wrap:anywhere}
#orders-ajax-root.ho-orders-136 .ho55-timeline-frame .ho-timeline-event>div small{display:block;font-size:13px!important;line-height:1.55;color:var(--muted);overflow-wrap:anywhere}
#orders-ajax-root.ho-orders-136 .ho55-timeline-frame .ho-timeline-event.is-done{border-color:rgba(59,212,134,.32);background:linear-gradient(180deg,rgba(18,58,44,.82),rgba(16,29,34,.94))}
#orders-ajax-root.ho-orders-136 .ho55-timeline-frame .ho-timeline-event.is-done .ho-timeline-dot{border-color:#39d58d;background:#39d58d;box-shadow:0 0 0 4px rgba(57,213,141,.12)}
#orders-ajax-root.ho-orders-136 .ho55-timeline-frame .ho-timeline-event.is-pending{opacity:1}
#orders-ajax-root.ho-orders-136 .ho55-timeline-frame .ho-timeline-event.is-cancelled{border-color:rgba(227,97,97,.42);background:linear-gradient(180deg,rgba(65,28,32,.88),rgba(25,17,22,.96))}
#orders-ajax-root.ho-orders-136 .ho55-timeline-frame .ho-timeline-event.is-cancelled .ho-timeline-dot{border-color:#ee6e6e;background:#ee6e6e;box-shadow:0 0 0 4px rgba(238,110,110,.14)}

#orders-ajax-root.ho-orders-136 .ho68-modal-footer{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:18px;padding:16px 24px 20px;border-top:1px solid rgba(90,111,146,.2);background:linear-gradient(180deg,rgba(7,13,24,.72),rgba(8,14,24,.96))}
#orders-ajax-root.ho-orders-136 .ho68-action-caption{margin:0;color:var(--muted);font-size:13px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;white-space:nowrap}
#orders-ajax-root.ho-orders-136 .ho68-footer-buttons{display:flex!important;justify-content:flex-end;align-items:stretch;flex-wrap:nowrap;gap:12px;min-width:0;width:100%}
#orders-ajax-root.ho-orders-136 .ho68-footer-buttons .ho68-action-form{display:flex;min-width:0;margin:0}
#orders-ajax-root.ho-orders-136 .ho68-footer-buttons .ho68-primary-form{flex:1 1 auto;max-width:420px}
#orders-ajax-root.ho-orders-136 .ho68-footer-buttons .ho68-cancel-form{flex:0 0 auto}
#orders-ajax-root.ho-orders-136 .ho68-footer-buttons :is(button,.ho68-print-button){display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:58px;padding:0 24px;border-radius:16px;font-size:18px;font-weight:740;letter-spacing:-.02em;line-height:1.15;text-align:center;white-space:nowrap;box-shadow:0 16px 30px rgba(6,11,21,.18);transition:transform .18s ease,filter .18s ease,box-shadow .18s ease}
#orders-ajax-root.ho-orders-136 .ho68-footer-buttons .ho68-primary-form button{width:100%}
#orders-ajax-root.ho-orders-136 .ho68-footer-buttons .ho68-cancel-form button,
#orders-ajax-root.ho-orders-136 .ho68-footer-buttons .ho68-print-button{min-width:250px}
#orders-ajax-root.ho-orders-136 .ho68-footer-buttons :is(button,.ho68-print-button):hover{transform:translateY(-1px);filter:brightness(1.03)}

@media (max-width:1180px){
  #orders-ajax-root.ho-orders-136 .ho55-timeline-frame .ho136-timeline-grid,
  #orders-ajax-root.ho-orders-136 .ho55-timeline-frame .ho136-timeline-grid.has-cancellation{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media (max-width:860px){
  #orders-ajax-root.ho-orders-136 .ho55-history-section{padding:20px 14px 22px}
  #orders-ajax-root.ho-orders-136 .ho55-section-heading h3{font-size:clamp(26px,6vw,34px)}
  #orders-ajax-root.ho-orders-136 .ho55-timeline-frame .ho136-timeline-grid,
  #orders-ajax-root.ho-orders-136 .ho55-timeline-frame .ho136-timeline-grid.has-cancellation{grid-template-columns:repeat(2,minmax(0,1fr))}
  #orders-ajax-root.ho-orders-136 .ho68-modal-footer{grid-template-columns:minmax(0,1fr);gap:12px;padding:15px 14px 18px}
  #orders-ajax-root.ho-orders-136 .ho68-action-caption{display:none}
  #orders-ajax-root.ho-orders-136 .ho68-footer-buttons{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  #orders-ajax-root.ho-orders-136 .ho68-footer-buttons .ho68-primary-form{grid-column:1/-1;max-width:none}
  #orders-ajax-root.ho-orders-136 .ho68-footer-buttons .ho68-action-form{width:100%}
  #orders-ajax-root.ho-orders-136 .ho68-footer-buttons .ho68-cancel-form,
  #orders-ajax-root.ho-orders-136 .ho68-footer-buttons .ho68-print-button{min-width:0!important;width:100%}
  #orders-ajax-root.ho-orders-136 .ho68-footer-buttons :is(button,.ho68-print-button){width:100%;min-height:56px;padding:0 18px;font-size:16px;white-space:normal}
}

@media (max-width:560px){
  #orders-ajax-root.ho-orders-136 .ho55-history-section{padding:18px 12px 20px}
  #orders-ajax-root.ho-orders-136 .ho55-section-heading{align-items:flex-start}
  #orders-ajax-root.ho-orders-136 .ho55-section-heading small{font-size:13px}
  #orders-ajax-root.ho-orders-136 .ho55-timeline-frame .ho136-timeline-grid,
  #orders-ajax-root.ho-orders-136 .ho55-timeline-frame .ho136-timeline-grid.has-cancellation{grid-template-columns:minmax(0,1fr)}
  #orders-ajax-root.ho-orders-136 .ho55-timeline-frame .ho-timeline-event{min-height:116px;padding:16px 14px 14px!important;border-radius:16px}
  #orders-ajax-root.ho-orders-136 .ho55-timeline-frame .ho-timeline-event>div strong{font-size:16px!important}
  #orders-ajax-root.ho-orders-136 .ho55-timeline-frame .ho-timeline-event>div small{font-size:12px!important}
  #orders-ajax-root.ho-orders-136 .ho68-footer-buttons :is(button,.ho68-print-button){font-size:15px}
}
