/* Simulações da página Entregas — recriação das telas reais (app do motoboy azul, acompanhamento
   do cliente vermelho→laranja, gestão com cores da loja). Dados fictícios. */

/* ===== app do motoboy (celular) ===== */
.en-app { display: flex; flex-direction: column; height: 100%; background: #f8fafc; color: #021f23; }
.en-bar { flex: 0 0 auto; padding: 32px 12px 8px; background: rgba(255,255,255,.96); border-bottom: 1px solid #e2e8f0; display: flex; justify-content: space-between; align-items: center; }
.en-bar b { display: block; font-size: 12.5px; color: #025e67; }
.en-bar small { font-size: 10px; color: #64748b; }
.en-bar i { width: 28px; height: 28px; border: 1px solid #e2e8f0; border-radius: 8px; display: grid; place-items: center; font-style: normal; font-size: 13px; }
.en-main { flex: 1; min-height: 0; overflow: hidden; padding: 10px; display: flex; flex-direction: column; gap: 9px; }
.en-nav { flex: 0 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border-top: 1px solid #e2e8f0; padding: 6px 0 14px; }
.en-nav span { display: flex; flex-direction: column; align-items: center; gap: 1px; font-size: 9px; color: #64748b; }
.en-nav span em { font-style: normal; font-size: 14px; }
.en-nav span.on { color: #025e67; font-weight: 700; }

.en-hero { border-radius: 16px; padding: 12px; color: #fff; background: linear-gradient(135deg, #021f23, #03363b 55%, #024a51); }
.en-hero small { color: #99f6e4; font-size: 10px; }
.en-hero h4 { margin: 2px 0 8px; font-size: 17px; }
.en-hero .en-pill { float: right; margin-top: -2px; font-size: 9.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: rgba(74,222,128,.2); color: #dcfce7; }
.en-hero__box { border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.1); border-radius: 12px; padding: 9px; }
.en-hero__box p { margin: 0; }
.en-hero__box .k { font-size: 9px; letter-spacing: .08em; color: #99f6e4; }
.en-hero__box .t { font-size: 14px; font-weight: 700; margin-top: 2px; }
.en-hero__box .d { font-size: 10.5px; color: #ccfbf1; margin-top: 2px; }
.en-online { border-radius: 12px; padding: 11px; text-align: center; font-weight: 800; font-size: 13px; color: #fff; background: #22c55e; box-shadow: 0 8px 18px -8px rgba(34,197,94,.7); }
.en-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.en-stat { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 8px; }
.en-stat small { display: block; font-size: 9.5px; color: #64748b; }
.en-stat b { font-size: 17px; }
.en-qr-btn { border-radius: 12px; padding: 11px; text-align: center; font-weight: 700; color: #fff; background: #025e67; }
.en-h { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 13px; }
.en-h span { margin-left: auto; font-size: 10px; border: 1px solid #cbd5e1; border-radius: 999px; padding: 1px 7px; font-weight: 700; }

/* escanear */
.en-scan { aspect-ratio: 1; border-radius: 14px; background: #0b0f17; position: relative; overflow: hidden; display: grid; place-items: center; }
.en-scan { background: radial-gradient(circle at 50% 45%, #3a3226, #17130e 75%); }
.en-scan__cupom { width: 66%; background: #fbfaf6; padding: 9px 9px 14px; color: #111; font: 600 7.5px/1.4 ui-monospace, Menlo, monospace; text-align: center; transform: rotate(-4deg); box-shadow: 0 10px 24px rgba(0,0,0,.45);
  -webkit-mask: linear-gradient(#000 0 0) top/100% calc(100% - 5px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom/8px 5px repeat-x;
  mask: linear-gradient(#000 0 0) top/100% calc(100% - 5px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom/8px 5px repeat-x; }
.en-scan__cupom b { display: block; font-size: 9.5px; letter-spacing: .04em; }
.en-scan__cupom hr { border: 0; border-top: 1px dashed #777; margin: 5px 0; }
.en-scan__cupom .qr { width: 92px; height: 92px; margin: 5px auto 4px; background: #fff url("../../img/qr-pedido-demo.svg") center/contain no-repeat; image-rendering: pixelated; }
.en-scan__mira { position: absolute; inset: 18%; border: 3px solid #22c55e; border-radius: 14px; box-shadow: 0 0 0 999px rgba(0,0,0,.35); }
.en-scan__linha { position: absolute; left: 18%; right: 18%; height: 2px; background: #22c55e; box-shadow: 0 0 10px #22c55e; animation: enScan 1.6s ease-in-out infinite alternate; top: 22%; }
@keyframes enScan { to { top: 78%; } }
.en-sub { margin: 0; font-size: 11px; color: #475569; }
.en-out { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.en-out span { border: 1px solid #cbd5e1; background: #fff; border-radius: 10px; padding: 8px; text-align: center; font-size: 10.5px; font-weight: 600; }

/* aceitar */
.en-k { font-size: 9.5px; letter-spacing: .07em; text-transform: uppercase; color: #64748b; }
.en-big { font-size: 15px; font-weight: 800; line-height: 1.25; }
.en-ref { background: #f0fdfa; color: #024a51; font-weight: 700; font-size: 11px; border-radius: 9px; padding: 7px 9px; }
.en-obs { border: 2px solid #fbbf24; background: #fef3c7; border-radius: 11px; padding: 7px 9px; }
.en-obs b { display: block; font-size: 8.5px; letter-spacing: .07em; color: #78350f; }
.en-obs span { font-weight: 800; font-size: 12.5px; color: #451a03; }
.en-item { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 9px; padding: 6px 8px; font-weight: 800; font-size: 12px; }
.en-item small { display: block; font-weight: 700; font-size: 10.5px; color: #334155; }
.en-cobrar { background: #fffbeb; border-radius: 9px; padding: 7px 9px; font-size: 11px; color: #78350f; }
.en-recebe { font-size: 11.5px; color: #047857; }
.en-confirmar { border-radius: 12px; padding: 12px; text-align: center; font-weight: 800; color: #fff; background: #15803d; }
.en-ok { border: 1px solid #bbf7d0; background: #fff; border-radius: 14px; padding: 14px; text-align: center; }
.en-ok .ic { width: 52px; height: 52px; margin: 6px auto 8px; border-radius: 50%; background: #dcfce7; color: #15803d; display: grid; place-items: center; font-size: 26px; }
.en-ok h4 { margin: 0; color: #14532d; font-size: 18px; }
.en-ok p { margin: 6px 0 12px; font-size: 11.5px; color: #374151; }

/* rota do dia */
.en-mapa { height: 170px; border-radius: 12px; overflow: hidden; border: 1px solid #e2e8f0; flex: 0 0 auto; }
.en-parada { display: grid; grid-template-columns: 26px 1fr; gap: 8px; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 8px; }
.en-parada.prox { border: 2px solid #5eead4; }
.en-parada > i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-style: normal; font-weight: 800; font-size: 12px; background: #16a34a; }
.en-parada > i.ret { background: #d97706; }
.en-parada b { font-size: 12px; }
.en-parada p { margin: 1px 0 0; font-size: 10.5px; color: #64748b; }

/* ===== acompanhamento do cliente ===== */
.ac-app { display: flex; flex-direction: column; height: 100%; background: #f9fafb; }
.ac-top { flex: 0 0 auto; padding: 32px 12px 10px; color: #fff; background: linear-gradient(90deg, #dc2626, #f97316); display: flex; align-items: center; gap: 10px; }
.ac-top b { display: block; font-size: 13.5px; }
.ac-top small { font-size: 10px; opacity: .9; }
.ac-main { flex: 1; min-height: 0; overflow: hidden; padding: 10px; display: flex; flex-direction: column; gap: 9px; }
.ac-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 10px; }
.ac-pill { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 2px 9px; font-size: 10.5px; font-weight: 700; color: #0f766e; border: 1px solid rgba(15,118,110,.33); background: rgba(15,118,110,.08); }
.ac-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ac-steps { list-style: none; margin: 8px 0 0; padding: 0; }
.ac-steps li { position: relative; display: flex; align-items: center; gap: 8px; padding: 0 0 9px 0; font-size: 11.5px; color: #9ca3af; }
.ac-steps li i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #d1d5db; display: grid; place-items: center; font-size: 9px; font-style: normal; background: #fff; flex: 0 0 auto; }
.ac-steps li.ok { color: #1f2937; }
.ac-steps li.ok i { background: #16a34a; border-color: #16a34a; color: #fff; }
.ac-steps li.cur { color: #111827; font-weight: 700; }
.ac-steps li.cur i { border-color: #0f766e; }
.ac-steps li.cur i::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #0f766e; }
.ac-steps li span { margin-left: auto; font-size: 10px; color: #6b7280; font-weight: 400; }
.ac-map { height: 150px; border-radius: 10px; overflow: hidden; margin-top: 6px; }
.ac-cap { text-align: center; font-size: 10px; color: #6b7280; margin-top: 5px; }
.ac-entregador { display: flex; align-items: center; gap: 7px; background: #f9fafb; border-radius: 9px; padding: 7px; font-size: 11.5px; margin-top: 6px; }

/* layout na página */
.en-sim-wide { max-width: 1100px; margin: 0 auto; }
.en-bullets { margin-top: 28px !important; }
.phero__media [data-sim] { width: 100%; }

