/* HERO ANIMATION */
  :root {
    --gep-ruby: #D42F5A;
    --gep-dark: #1B1B2F;
    --gep-green: #2ECB71;
    --gep-white: #FFFFFF;
    --gep-light-grey: #F5F6F8;
    --gep-text: #333333;
    --gep-muted: #888888;
    --gep-border: #E5E7EB;
  }
  #order-processing .window {
    width: 440px;
    background: var(--gep-white);
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    overflow: hidden;
  }
  #order-processing .window-header {
    background: var(--gep-white);
    border-bottom: 1px solid var(--gep-border);
    padding: 12px 16px;
    display: flex; align-items: center; gap: 8px;
  }
  #order-processing .window-dots span {
    display: inline-block; width: 8px; height: 8px;
    border-radius: 50%; margin-right: 4px;
  }
  #order-processing .dot-r { background: #FF5F57; }
  #order-processing .dot-y { background: #FFBD2E; }
  #order-processing .dot-g { background: #28C840; }
  #order-processing .window-title { font-size: 12px; font-weight: 600; color: var(--gep-text); margin-left: 4px; }
  #order-processing .window-body { padding: 18px 20px 20px; }

  /* Request card */
  #order-processing .request-card {
    border: 1px solid var(--gep-border);
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 14px;
    animation: cardIn 0.5s cubic-bezier(0.22,1,0.36,1) 0.3s both;
  }
  @keyframes cardIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  #order-processing .card-title { font-size: 13px; font-weight: 700; color: var(--gep-text); margin-bottom: 3px; }
  #order-processing .card-meta  { font-size: 11px; color: var(--gep-muted); }

  /* Workflow steps */
  #order-processing .workflow {
    display: flex; align-items: center; gap: 0;
    margin-bottom: 14px;
    opacity: 0;
    animation: fadeIn 0.4s ease 1.0s forwards;
  }
  @keyframes fadeIn { to { opacity: 1; } }

  #order-processing .step {
    flex: 1; text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 5px;
  }
  #order-processing .step-circle {
    width: 28px; height: 28px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700;
    border: 2px solid var(--gep-border);
    background: var(--gep-white);
    color: var(--gep-muted);
    transition: all 0.4s ease;
  }
  #order-processing .step-label { font-size: 9px; color: var(--gep-muted); font-weight: 600; letter-spacing: 0.03em; }

  #order-processing .arrow {
    width: 18px; flex-shrink: 0;
    text-align: center; color: var(--gep-border);
    font-size: 14px; margin-bottom: 14px;
  }

  /* Step activations */
  #order-processing .step-1 .step-circle {
    animation: stepActive 0.3s ease 1.2s forwards;
  }
  #order-processing .step-2 .step-circle {
    animation: stepActive 0.3s ease 1.8s forwards;
  }
  #order-processing .step-3 .step-circle {
    animation: stepActive 0.3s ease 2.4s forwards;
  }
  #order-processing .step-4 .step-circle {
    animation: stepDone 0.3s ease 3.0s forwards;
  }
  @keyframes stepActive {
    to { background: #EFF6FF; border-color: #3B82F6; color: #1D4ED8; }
  }
  @keyframes stepDone {
    to { background: #F0FDF4; border-color: var(--gep-green); color: #166534; }
  }

  /* PO created badge */
  #order-processing .po-badge {
    display: flex; align-items: center; gap: 8px;
    background: #F0FDF4;
    border: 1px solid #86EFAC;
    border-radius: 8px;
    padding: 10px 14px;
    opacity: 0;
    animation: badgeIn 0.5s cubic-bezier(0.22,1,0.36,1) 3.2s forwards;
  }
  @keyframes badgeIn {
    from { opacity: 0; transform: scale(0.94); }
    to   { opacity: 1; transform: scale(1); }
  }
  #order-processing .po-check { font-size: 16px; }
  #order-processing .po-text { font-size: 12px; font-weight: 700; color: #166534; }
  #order-processing .po-sub  { font-size: 10px; color: #4ADE80; margin-top: 1px; }

  #order-processing .agent-tag {
    margin-left: auto;
    font-size: 10px;
    color: var(--gep-ruby);
    font-weight: 600;
    background: #FFF0F3;
    border-radius: 4px;
    padding: 2px 7px;
  }
  /* Section 1 */
  :root {
    --gep-ruby: #D42F5A;
    --gep-dark: #1B1B2F;
    --gep-green: #2ECB71;
    --gep-white: #FFFFFF;
    --gep-light-grey: #F5F6F8;
    --gep-text: #333333;
    --gep-muted: #888888;
    --gep-border: #E5E7EB;
  }
  section.img-txt-block .img-block { height: 100%!important; text-align: center;}
  #order-processing-s1 .window {
    width: 440px; height: 318px;
    background: var(--gep-white);
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    overflow: hidden;
    display: flex; flex-direction: column; margin: 0 auto;
  }
  #order-processing-s1 .window-header {
    background: var(--gep-white);
    border-bottom: 1px solid var(--gep-border);
    padding: 11px 16px;
    display: flex; align-items: center; gap: 8px;
    flex-shrink: 0;
  }
  #order-processing-s1 .window-dots span {
    display: inline-block; width: 8px; height: 8px;
    border-radius: 50%; margin-right: 4px;
  }
  #order-processing-s1 .dot-r { background: #FF5F57; }
  #order-processing-s1 .dot-y { background: #FFBD2E; }
  #order-processing-s1 .dot-g { background: #28C840; }

  #order-processing-s1 .agent-pill {
    display: flex; align-items: center; gap: 6px;
    margin-left: 4px;
  }
  #order-processing-s1 .agent-dot-online {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--gep-green);
  }
  #order-processing-s1 .window-title { font-size: 12px; font-weight: 600; color: var(--gep-text); }

  #order-processing-s1 .chat-body {
    flex: 1; padding: 14px 16px;
    display: flex; flex-direction: column; gap: 10px;
    overflow: hidden;
  }

  /* User bubble */
  #order-processing-s1 .msg-user {
    display: flex; justify-content: flex-end;
    opacity: 0;
    animation: msgIn 0.4s cubic-bezier(0.22,1,0.36,1) 0.5s forwards;
  }
  #order-processing-s1 .bubble-user {
    background: var(--gep-dark);
    color: var(--gep-white);
    border-radius: 12px 12px 2px 12px;
    padding: 9px 13px;
    font-size: 12px; line-height: 1.5;
    max-width: 290px;
  }

  /* Typing */
  #order-processing-s1 .msg-typing {
    display: flex; align-items: flex-end; gap: 7px;
    opacity: 0;
    animation: msgIn 0.3s ease 1.3s forwards, typingHide 0s 2.4s forwards;
  }
  @keyframes typingHide { to { display: none; } }

  /* Agent reply */
  #order-processing-s1 .msg-agent {
    display: flex; align-items: flex-start; gap: 7px;
    opacity: 0;
    animation: msgIn 0.4s cubic-bezier(0.22,1,0.36,1) 2.5s forwards;
  }

  @keyframes msgIn {
    from { opacity: 0; transform: translateY(7px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  #order-processing-s1 .avatar {
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--gep-ruby);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; margin-top: 2px;
  }
  #order-processing-s1 .avatar svg { width: 11px; height: 11px; fill: white; }

  #order-processing-s1 .bubble-agent {
    background: var(--gep-light-grey);
    border: 1px solid var(--gep-border);
    color: var(--gep-text);
    border-radius: 12px 12px 12px 2px;
    padding: 10px 13px;
    font-size: 12px; line-height: 1.5;
    max-width: 320px;
  }
  #order-processing-s1 .agent-label {
    display: block; font-size: 10px; font-weight: 700;
    color: var(--gep-ruby); margin-bottom: 5px;
  }

  /* Supplier options */
  #order-processing-s1 .supplier-list { margin-top: 8px; display: flex; flex-direction: column; gap: 4px; }
  #order-processing-s1 .supplier-row {
    display: flex; align-items: center; justify-content: space-between;
    background: var(--gep-white);
    border: 1px solid var(--gep-border);
    border-radius: 6px;
    padding: 5px 8px;
    font-size: 11px;
  }
  #order-processing-s1 .supplier-name { font-weight: 600; color: var(--gep-text); }
  #order-processing-s1 .supplier-price { color: var(--gep-muted); }
  #order-processing-s1 .preferred-tag {
    font-size: 9px; font-weight: 700; letter-spacing: 0.04em;
    background: #EFF6FF; color: #1D4ED8;
    border-radius: 3px; padding: 1px 5px;
  }

  /* Compliance badge */
  #order-processing-s1 .compliance-badge {
    display: inline-flex; align-items: center; gap: 5px;
    margin-top: 8px;
    background: #F0FDF4;
    border: 1px solid #86EFAC;
    border-radius: 4px;
    padding: 3px 8px;
    font-size: 10px; font-weight: 700;
    color: #166534;
  }

  /* Typing dots */
  #order-processing-s1 .bubble-typing {
    background: var(--gep-light-grey);
    border: 1px solid var(--gep-border);
    border-radius: 12px 12px 12px 2px;
    padding: 9px 12px;
  }
  #order-processing-s1 .typing-dots { display: flex; gap: 4px; }
  #order-processing-s1 .typing-dots span {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--gep-muted);
    animation: dot-bounce 1.1s ease-in-out infinite;
  }
  #order-processing-s1 .typing-dots span:nth-child(2) { animation-delay: 0.15s; }
  #order-processing-s1 .typing-dots span:nth-child(3) { animation-delay: 0.30s; }
  @keyframes dot-bounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-5px); }
  }