*{
    box-sizing:border-box}
body{
    margin:0;
    background:#020617;
    font-family:Arial,Helvetica,sans-serif;
    color:#e5e7eb}
.phone{
    max-width:430px;
    margin:0 auto;
    min-height:100vh;
    background:#050816;
    position:relative;
    box-shadow:0 0 45px #000;
    padding-bottom:84px;
    overflow-x:hidden}
.header{
    position:sticky;
    top:0;
    z-index:20;
    background:#070b18;
    color:#fff;
    padding:16px;
    border-bottom-left-radius:28px;
    border-bottom-right-radius:28px;
    border-bottom:1px solid #172036;
    box-shadow:0 12px 30px #0008}
.hrow{
    display:flex;
    justify-content:space-between;
    align-items:center}
.hrow h1{
    margin:0;
    font-size:20px}
.hrow p{
    margin:4px 0 0;
    color:#93c5fd;
    font-size:12px}
.badge{
    display:inline-flex;
    align-items:center;
    gap:6px;
    border-radius:999px;
    padding:8px 11px;
    font-size:12px;
    font-weight:900}
.badge:before{
    content:"";
    width:8px;
    height:8px;
    border-radius:50%;
    background:currentColor}
.online{
    background:#052e26;
    color:#86efac}
.content{
    padding:14px}
.hero{
    background:linear-gradient(135deg,#064e3b,#020617);
    border-radius:30px 30px 0 0;
    padding:20px 20px 8px;
    margin-bottom:16px;
    box-shadow:0 16px 35px #0008}
.heroTop{
    display:flex;
    justify-content:space-between}
.hero small{
    color:#dcfce7}
.heroIcon{
    width:62px;
    height:62px;
    border-radius:50%;
    background:#ffffff24;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px}
.metrics,.walletGrid{
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    gap:10px;
    margin-top:14px}
.walletGrid{
    grid-template-columns:1fr 1fr}
.metric,.walletBox{
    background:#0f172ad6;
    border:1px solid #1f2937;
    border-radius:18px;
    padding:10px;
    min-height:58px}
.metric span,.walletBox span{
    display:block;
    color:#dcfce7;
    font-size:11px}
.metric b,.walletBox b{
    font-size:19px}
.metric.white{
    background:#111827;
    color:#60a5fa;
    border-color:#2563eb}
.sectionHead{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin:18px 0 12px}
.sectionHead h3{
    font-size:22px;
    margin:0;
    color:#f8fafc}
.sectionHead span{
    font-size:12px;
    color:#94a3b8}
.bottom{
    position:fixed;
    left:50%;
    bottom:0;
    transform:translateX(-50%);
    width:100%;
    max-width:430px;
    background:#070b18;
    border-top:1px solid #1f2937;
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:2px;
    padding:8px 8px 10px;
    z-index:30}
.bottom button{
    border:0;
    background:transparent;
    color:#94a3b8;
    padding:8px 2px;
    border-radius:16px;
    font-size:11px;
    font-weight:700}
.bottom .active{
    background:#064e3b;
    color:#bbf7d0}

/* status */.statusCard{
    background:#111827;
    border:1px solid #263245;
    box-shadow:0 10px 22px #0004;
    border-radius:24px;
    margin-bottom:12px;
    overflow:hidden}
.statusHead{
    width:100%;
    border:0;
    background:#111827;
    color:#e5e7eb;
    padding:14px 15px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    text-align:left;
    cursor:pointer}
.statusLeft{
    display:flex;
    align-items:center;
    gap:10px}
.dot{
    width:10px;
    height:10px;
    border-radius:50%;
    flex:none}
.pill{
    position:relative;
    display:inline-flex;
    gap:7px;
    align-items:center;
    padding:8px 12px;
    border-radius:999px;
    font-weight:900;
    font-size:14px;
    border:1px solid transparent}
.count{
    font-size:13px;
    font-weight:900;
    color:#cbd5e1}
.chev{
    font-size:22px;
    color:#94a3b8}
.open .chev{
    transform:rotate(90deg)}
.rows{
    display:none;
    padding:0 12px 12px}
.open .rows{
    display:block}
.urgentDot{
    position:absolute;
    right:-7px;
    top:-7px;
    width:18px;
    height:18px;
    border-radius:50%;
    background:#ef4444;
    border:3px solid white}
.red{
    background:#3b1114;
    color:#fca5a5;
    border-color:#7f1d1d}
.redDot{
    background:#ef4444}
.green{
    background:#052e26;
    color:#86efac;
    border-color:#047857}
.greenDot{
    background:#22c55e}
.purple{
    background:#21143e;
    color:#c4b5fd;
    border-color:#6d28d9}
.purpleDot{
    background:#8b5cf6}
.orange{
    background:#3b210d;
    color:#fdba74;
    border-color:#c2410c}
.orangeDot{
    background:#f97316}
.black{
    background:#1f2937;
    color:#e5e7eb;
    border-color:#475569}
.blackDot{
    background:#94a3b8}
.navy{
    background:#0b1f4a;
    color:#93c5fd;
    border-color:#2563eb}
.navyDot{
    background:#2563eb}
.rows.bgLoja1{
    background:#ef444414}
.rows.bgLoja2{
    background:#22c55e14}
.rows.bgRota{
    background:#8b5cf614}
.rows.bgFeito{
    background:#2563eb14}
.rows.bgAguardando{
    background:#f9731614}
.rows.bgPerdido{
    background:#94a3b814}
.rows.bgLoja1 .row{
    background:#421a2b;
    border-color:#ef444438}
.rows.bgLoja2 .row{
    background:#102c22;
    border-color:#22c55e38}
.rows.bgRota .row{
    background:#151a2b;
    border-color:#334155}
.rows.bgFeito .row{
    background:#10203a;
    border-color:#2563eb38}
.rows.bgAguardando .row{
    background:#281c12;
    border-color:#f9731638}
.rows.bgPerdido .row{
    background:#1d2430;
    border-color:#94a3b838}

/* card de entrega conforme print */.row{
    position:relative;
    width:100%;
    min-height:113px;
    text-align:left;
    border-radius:20px;
    padding:26px 70px 16px 72px;
    margin-top:10px;
    cursor:pointer;
    color:#e5e7eb;
    border:1px solid #263245;
    box-shadow:0 10px 22px #0004;
    overflow:visible}
.store{
    position:absolute;
    left:10px;
    top:-10px;
    border-radius:999px;
    padding:7px 12px;
    font-size:12px;
    font-weight:900;
    line-height:1;
    z-index:3}
.loja1Label{
    background:#ef4444;
    color:#fff;
    border:1px solid #fca5a5}
.loja2Label{
    background:#22c55e;
    color:#fff;
    border:1px solid #86efac}
.payWrap{
    position:absolute;
    left:14px;
    top:31px;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:6px}
.pay{
    width:42px;
    height:42px;
    border-radius:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:900}
.pix{
    background:#052e26;
    color:#86efac;
    font-size:13px}
.card{
    background:#172554;
    color:#93c5fd;
    font-size:20px}
.cash{
    background:#052e26;
    color:#86efac;
    font-size:20px}
.urgentMini{
    width:34px;
    height:24px;
    border-radius:999px;
    background:#ef4444;
    color:#fde68a;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:14px;
    font-weight:900}
.urgentMiniText{
    font-size:9px;
    line-height:1;
    color:#fca5a5;
    font-weight:900;
    letter-spacing:.2px;
    margin-top:-3px}
.main{
    min-width:0}
.line1{
    display:flex;
    gap:7px;
    align-items:center}
.addr{
    font-weight:900;
    font-size:15px;
    color:#f8fafc;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    text-shadow:0 1px 0 #000}
.infoLine{
    margin-top:8px;
    color:#fbbf24;
    font-size:13px;
    font-weight:900;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis}
.meta{
    margin-top:6px;
    color:#93c5fd;
    font-size:12px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis}
.taxaLine{
    position:absolute;
    right:12px;
    bottom:9px;
    color:#fff;
    font-size:12px;
    font-weight:900}
.rowArrow{
    position:absolute;
    right:28px;
    top:54px;
    color:#cbd5e1;
    font-size:18px}
.collabAvatar{
    position:absolute;
    right:13px;
    top:14px;
    width:25px;
    height:25px;
    border-radius:50%;
    display:block;
    border:0;
    box-shadow:0 4px 10px rgba(0,0,0,.35);
    z-index:2;
    overflow:hidden;
    background:#0f172a}
.collabAvatar img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:50%;
    display:block}
.collabAvatar:after{
    content:"";
    position:absolute;
    right:0;
    bottom:0;
    width:6px;
    height:6px;
    border-radius:50%;
    background:#22c55e;
    box-shadow:0 0 0 1.5px #111827}

/* rota */.routeFilters{
    display:flex;
    align-items:center;
    gap:8px;
    background:#0b1020;
    margin:0 -14px 12px;
    padding:10px 34px;
    border-top:1px solid #111827;
    border-bottom:1px solid #111827}
.routeFilter{
    position:relative;
    border:1px solid #263245;
    border-radius:21px;
    height:44px;
    padding:0 18px;
    display:flex;
    align-items:center;
    gap:9px;
    min-width:112px;
    font-weight:900}
.routeFilter.loja1{
    background:#3b1114;
    color:#fff;
    border-color:#7f1d1d}
.routeFilter.loja2{
    background:#052e26;
    color:#bbf7d0;
    border-color:#047857}
.routeFilter .num{
    margin-left:auto;
    color:#cbd5e1}
.routeFilter .orangePin{
    position:absolute;
    left:54px;
    top:-15px;
    width:26px;
    height:26px;
    border-radius:50%;
    background:#f97316;
    border:3px solid #f97316;
    box-shadow:0 0 0 3px #f9731622}
.routeFilter .redPin{
    position:absolute;
    left:86px;
    top:-8px;
    width:18px;
    height:18px;
    border-radius:50%;
    background:#ef4444;
    border:3px solid white}
.routeRowWrap{
    position:relative}
.routeRowWrap .row{
    padding-right:86px;
    margin-right:0}
.finishBtn{
    position:absolute;
    right:0;
    top:10px;
    bottom:0;
    width:58px;
    border:0;
    background:#22c55e;
    color:white;
    border-radius:0 20px 20px 0;
    font-size:24px;
    font-weight:900;
    z-index:4;
    box-shadow:-7px 0 18px rgba(34,197,94,.22);
    cursor:pointer}
.finishBtn:before{
    content:"";
    position:absolute;
    left:-18px;
    top:0;
    bottom:0;
    width:24px;
    background:#22c55e;
    border-radius:20px 0 0 20px}
.finishBtn span{
    position:relative;
    z-index:2}
.statusCard .finishBtn{
    display:none}
.routeScreen .row{
    background:#111827;
    border-color:#263245}
.routeScreen .collabAvatar{
    right:45px}
.routeScreen .rowArrow{
    right:46px}
.routeScreen .taxaLine{
    right:34px}
.sideBack{
    position:fixed;
    right:calc(50% - 198px);
    top:500px;
    z-index:85;
    border:1px solid #7f1d1d;
    background:linear-gradient(135deg,#ef4444,#b91c1c);
    color:#fff;
    height:44px;
    padding:0 14px;
    border-radius:999px;
    font-size:14px;
    font-weight:900;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    box-shadow:0 10px 24px rgba(239,68,68,.4);
    cursor:pointer}
.sideBack span:first-child{
    font-size:20px}
.fab{
    position:fixed;
    right:calc(50% - 198px);
    bottom:24px;
    width:64px;
    height:64px;
    border-radius:50%;
    background:#ef4444;
    color:white;
    border:5px solid #111827;
    box-shadow:0 14px 30px #ef444452;
    font-size:28px;
    z-index:80}
.orderHeroNew{
    background:#050506;
    border:1px solid #1f2937;
    border-radius:0 0 26px 26px;
    padding:18px 14px 16px;
    margin:0 -14px 14px;
    box-shadow:0 18px 38px rgba(0,0,0,.45);
    position:relative}
.orderTopNew{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:10px}
.clientLabelNew{
    font-size:12px;
    color:#93c5fd;
    font-weight:900;
    margin-bottom:4px}
.clientNameNew{
    font-size:24px;
    font-weight:900;
    color:#fff;
    margin:0 0 12px}
.idLineNew{
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
    color:#93c5fd;
    font-size:12px;
    font-weight:800;
    margin-bottom:14px}
.urgentBadgeNew{
    display:inline-flex;
    align-items:center;
    gap:7px;
    background:#521d22;
    color:#fff;
    border:1px solid #7f1d1d;
    border-radius:9px;
    padding:7px 10px;
    font-size:13px;
    font-weight:900}
.urgentBadgeNew:before{
    content:"";
    width:8px;
    height:8px;
    border-radius:50%;
    background:#fca5a5}
.taxInlineNew{
    display:inline-flex;
    align-items:center;
    gap:5px;
    background:#2b1720;
    color:#f8fafc;
    border:1px solid #4b2230;
    border-radius:7px;
    padding:5px 9px;
    font-size:12px;
    font-weight:900;
    line-height:1}
.taxInlineNew:before{
    content:"Taxa";
    color:#cbd5e1;
    font-weight:800}
.attendantTopNew{
    display:flex;
    align-items:center;
    gap:7px;
    background:#111827;
    border:1px solid #263245;
    border-radius:14px;
    padding:6px 9px 6px 6px;
    min-width:112px}
.attendantTopNew img{
    width:32px;
    height:32px;
    border-radius:50%;
    object-fit:cover}
.attendantTopNew small{
    display:block;
    color:#60a5fa!important;
    font-size:9px!important;
    line-height:1;
    font-weight:900;
    text-transform:uppercase;
    margin:0!important}
.attendantTopNew b{
    display:block;
    color:#fff;
    font-size:12px;
    max-width:62px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis}
.orderQuickActions{
    display:flex;
    gap:8px;
    justify-content:flex-end;
    margin-top:10px}
.quickBtnNew{
    width:46px;
    height:46px;
    border-radius:15px;
    border:0;
    background:#065f46;
    color:#d1fae5;
    font-size:21px;
    display:flex;
    align-items:center;
    justify-content:center}
.addressPillNew{
    display:flex;
    align-items:center;
    gap:10px;
    background:#111827;
    border:1px solid #263245;
    border-radius:20px;
    padding:13px 15px;
    color:#fff;
    font-size:14px;
    font-weight:800;
    margin-bottom:12px}
.pinNew{
    color:#f472b6}
.payValueGridNew{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px}
.infoCardNew{
    background:#111827;
    border:1px solid #263245;
    border-radius:22px;
    padding:14px;
    min-height:88px}
.labelNew{
    color:#60a5fa;
    font-size:12px;
    font-weight:800;
    margin-bottom:9px}
.paymentLineNew{
    display:flex;
    align-items:center;
    gap:9px;
    color:#fff;
    font-size:16px;
    font-weight:900}
.valueTextNew{
    font-size:18px;
    color:#fff;
    font-weight:900}
.inlineStatusBox{
    background:#111827;
    border:1px solid #263245;
    border-radius:24px;
    padding:14px 10px 12px;
    margin-bottom:14px}
.inlineStatusBox h3{
    margin:0 0 6px;
    font-size:22px;
    color:#f8fafc}
.inlineStatusBox p{
    margin:0 0 10px;
    color:#94a3b8;
    font-size:13px}
.inlineStatusGrid{
    border-top:1px solid #263245;
    padding-top:8px;
    display:grid;
    grid-template-columns:1fr 1fr;
    column-gap:18px;
    row-gap:8px}
.inlineStatusOption{
    width:100%;
    border:0;
    background:#111827;
    color:#e5e7eb;
    min-height:46px;
    padding:8px 0;
    display:flex;
    align-items:center;
    gap:8px;
    text-align:left;
    cursor:pointer;
    border-bottom:1px solid #263245}
.inlineStatusOption.selectedStatus{
    background:#052e26;
    border:2px solid #10b981;
    border-radius:18px;
    padding:8px 10px}
.selectedTag{
    margin-left:auto;
    background:#10b981;
    color:#022c22;
    border-radius:999px;
    padding:5px 8px;
    font-size:11px;
    font-weight:900}
.warn,.infoBox{
    border-radius:18px;
    padding:12px;
    margin:10px 0 14px}
.warn{
    background:#3b2f0c;
    color:#facc15;
    border:1px solid #854d0e;
    font-weight:900}
.infoBox{
    background:#1e1b12;
    color:#facc15;
    border:1px solid #713f12;
    font-size:13px}
.actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px}
.btn{
    height:48px;
    border-radius:17px;
    border:0;
    font-weight:900}
.danger{
    background:#111827;
    color:#fca5a5;
    border:1px solid #7f1d1d}
.primary{
    background:#059669;
    color:white}
@media(max-width:430px){
    .fab,.sideBack{
    right:16px}
.routeFilters{
    padding-left:34px}
.routeFilter{
    min-width:106px;
    padding:0 14px}
.sideBack{
    top:400px}
}
@media(max-width:390px){
    .row{
    padding-left:67px}
.routeFilter{
    min-width:98px}
.finishBtn{
    width:54px}
}

/* ===== AJUSTES FINOS CONFORME PRINT ===== */

/* Loja dentro do card/lista, sem ficar para fora */
.row{
    
  padding-top:40px!important;
    
  padding-left:72px!important;
    
  min-height:116px!important;
}

.store{
    
  top:10px!important;
    
  left:12px!important;
    
  padding:6px 11px!important;
    
  font-size:12px!important;
}

.payWrap{
    
  top:43px!important;
}

.main{
    
  padding-top:0!important;
}

/* Bolinhas dos filtros menores */
.routeFilter .orangePin{
    
  width:14px!important;
    
  height:14px!important;
    
  left:58px!important;
    
  top:-7px!important;
    
  border:2px solid #f97316!important;
    
  box-shadow:0 0 0 2px #f9731628!important;
}

.routeFilter .redPin{
    
  width:14px!important;
    
  height:14px!important;
    
  left:82px!important;
    
  top:-5px!important;
    
  border:2px solid white!important;
}

/* Botao verde da rota mais fino, mantendo encaixe lateral */
.routeRowWrap .row{
    
  padding-right:62px!important;
}

.finishBtn{
    
  width:36px!important;
    
  top:10px!important;
    
  bottom:0!important;
    
  border-radius:0 18px 18px 0!important;
    
  font-size:18px!important;
}

.finishBtn:before{
    
  left:-10px!important;
    
  width:14px!important;
    
  border-radius:16px 0 0 16px!important;
}

.routeScreen .collabAvatar{
    right:32px!important}

.routeScreen .rowArrow{
    right:32px!important}

.routeScreen .taxaLine{
    right:20px!important}

@media(max-width:390px){
    .finishBtn{
    width:34px!important}
.routeRowWrap .row{
    padding-right:58px!important}
}

/* ===== AJUSTE CARD ROTA: NAO CORTAR AVATAR/TAXA ===== */

/* card com etiqueta loja dentro e proporcional */
.row{
    
  padding-top:26px!important;
    
  padding-left:72px!important;
    
  padding-right:78px!important;
    
  min-height:112px!important;
    
  overflow:visible!important;
}

.store{
    
  top:13px!important;
    
  left:11px!important;
    
  padding:4px 8px!important;
    
  font-size:11px!important;
    
  line-height:1!important;
    
  border-radius:999px!important;
}

.payWrap{
    top:43px!important;
    left:14px!important}

.main{
    padding-top:0!important}
.addr{
    font-size:15px!important;
    line-height:1.15!important}
.infoLine{
    margin-top:7px!important}
.meta{
    margin-top:6px!important}

/* botoes de alerta dos filtros menores */
.routeFilter .orangePin{
    width:10px!important;
    height:10px!important;
    left:60px!important;
    top:-5px!important;
    border:0!important;
    box-shadow:0 0 0 2px #f9731633!important;
    background:#f97316!important}

.routeFilter .redPin{
    width:12px!important;
    height:12px!important;
    left:82px!important;
    top:-5px!important;
    border:2px solid #fff!important;
    background:#ef4444!important}

/* botao verde bem mais fino;
     conteudo protegido da area verde */
.routeRowWrap .row{
    padding-right:74px!important}

.finishBtn{
    width:26px!important;
    top:10px!important;
    bottom:0!important;
    border-radius:0 18px 18px 0!important;
    font-size:16px!important;
    right:0!important}

.finishBtn:before{
    left:-7px!important;
    width:9px!important;
    border-radius:14px 0 0 14px!important}

.routeScreen .collabAvatar{
    right:46px!important;
    top:15px!important;
    width:24px!important;
    height:24px!important}

.routeScreen .rowArrow{
    right:48px!important;
    top:55px!important}

.routeScreen .taxaLine{
    right:44px!important;
    bottom:9px!important;
    z-index:6!important;
    background:rgba(17,24,39,.45);
    padding-left:3px;
    border-radius:4px}

@media(max-width:390px){
    .finishBtn{
    width:24px!important}
.finishBtn:before{
    left:-6px!important;
    width:8px!important}
.routeRowWrap .row{
    padding-right:70px!important}
.routeScreen .taxaLine{
    right:40px!important}
.routeScreen .collabAvatar{
    right:42px!important}
.routeScreen .rowArrow{
    right:44px!important}
.store{
    font-size:10px!important;
    padding:4px 7px!important}
}

/* ===== AJUSTES ROTA FINAL: SOMENTE EM ROTA E SEM CORTES ===== */
.row{
    
  padding-top:24px!important;
    
  padding-left:72px!important;
    
  padding-right:82px!important;
    
  min-height:112px!important;
    
  overflow:visible!important;
}

.store{
    
  top:15px!important;
    
  left:12px!important;
    
  padding:3px 7px!important;
    
  font-size:10px!important;
    
  line-height:1!important;
    
  border-radius:999px!important;
}

.payWrap{
    top:43px!important;
    left:14px!important}

.addr{
    font-size:15px!important;
    line-height:1.05!important}

.infoLine{
    margin-top:7px!important}
.meta{
    margin-top:6px!important}

/* bolinhas dos filtros menores */
.routeFilter .orangePin{
    width:9px!important;
    height:9px!important;
    left:58px!important;
    top:-4px!important;
    border:0!important;
    box-shadow:0 0 0 2px #f9731633!important;
    background:#f97316!important}

.routeFilter .redPin{
    width:11px!important;
    height:11px!important;
    left:80px!important;
    top:-4px!important;
    border:2px solid #fff!important;
    background:#ef4444!important}

/* botao verde mais fino e sem cortar avatar/taxa */
.routeRowWrap .row{
    padding-right:76px!important;
    background:#151a2b!important;
    border-color:#334155!important}

.finishBtn{
    width:22px!important;
    top:10px!important;
    bottom:0!important;
    right:0!important;
    border-radius:0 18px 18px 0!important;
    font-size:15px!important}

.finishBtn:before{
    left:-6px!important;
    width:8px!important;
    border-radius:14px 0 0 14px!important}

.routeScreen .collabAvatar{
    right:42px!important;
    top:15px!important;
    width:24px!important;
    height:24px!important}

.routeScreen .rowArrow{
    right:45px!important;
    top:55px!important}

.routeScreen .taxaLine{
    right:38px!important;
    bottom:9px!important;
    z-index:6!important;
    background:#151a2bd9;
    padding-left:3px;
    border-radius:4px}

@media(max-width:390px){
    .store{
    font-size:9px!important;
    padding:3px 6px!important}
.finishBtn{
    width:20px!important}
.finishBtn:before{
    left:-5px!important;
    width:7px!important}
.routeScreen .taxaLine{
    right:35px!important}
.routeScreen .collabAvatar{
    right:39px!important}
.routeScreen .rowArrow{
    right:41px!important}
.routeRowWrap .row{
    padding-right:72px!important}
}

/* ===== TELA DADOS DO PEDIDO - BOTOES STATUS FLUTUANTES ===== */
.statusFloatBtn{
    
  position:fixed;
    
  right:calc(50% - 198px);
    
  z-index:86;
    
  height:34px;
    
  border:1px solid #263245;
    
  border-radius:11px 0 0 11px;
    
  padding:0 12px;
    
  color:#e5e7eb;
    
  font-weight:900;
    
  font-size:12px;
    
  display:flex;
    
  align-items:center;
    
  gap:6px;
    
  box-shadow:0 10px 24px rgba(0,0,0,.42);
    
  cursor:pointer;
}

.statusFloatBtn.rota{
    top:340px;
    background:#21143e;
    color:#c4b5fd;
    border-color:#6d28d9}

.statusFloatBtn.feito{
    top:385px;
    background:#0b1f4a;
    color:#bfdbfe;
    border-color:#2563eb}

.futureInfoBox{
    
  min-height:250px;
    
  background:#111827;
    
  border:1px solid #263245;
    
  border-radius:22px;
    
  padding:18px;
    
  margin:10px 0 14px;
    
  display:flex;
    
  align-items:center;
    
  justify-content:center;
    
  color:#e5e7eb;
    
  text-align:center;
    
  font-size:12px;
    
  font-weight:900;
    
  box-shadow:0 10px 22px rgba(0,0,0,.35);
}

.statusPanelFloating{
    
  position:fixed;
    
  right:0;
    
  bottom:86px;
    
  width:290px;
    
  max-width:calc(100vw - 22px);
    
  z-index:95;
    
  background:#111827;
    
  border:1px solid #263245;
    
  border-radius:18px 0 0 18px;
    
  box-shadow:-14px 18px 45px rgba(0,0,0,.64);
    
  padding:12px;
}

.statusPanelFloating h3{
    margin:0 0 4px;
    font-size:19px;
    color:#f8fafc}

.statusPanelFloating p{
    margin:0 0 10px;
    color:#94a3b8;
    font-size:11px}

.statusGridFloating{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    border-top:1px solid #263245;
    padding-top:9px}

.statusChoiceFloat{
    min-height:42px;
    border:0;
    border-bottom:1px solid #263245;
    background:#111827;
    color:#e5e7eb;
    display:flex;
    align-items:center;
    gap:6px;
    padding:7px 4px;
    text-align:left;
    cursor:pointer;
    border-radius:12px}

.statusChoiceFloat.current{
    background:#052e26;
    border:2px solid #10b981;
    box-shadow:0 8px 18px rgba(16,185,129,.22)}

.statusChoiceFloat .dot{
    width:7px;
    height:7px}
.statusChoiceFloat .pill{
    font-size:11px;
    padding:6px 8px;
    white-space:nowrap}
.statusChoiceFloat .count{
    font-size:11px;
    margin-left:auto}
.statusChoiceFloat .selectedTag{
    font-size:9px;
    padding:4px 6px;
    margin-left:3px;
    background:#10b981;
    color:#022c22;
    border-radius:999px;
    font-weight:900}

@media(max-width:430px){
    .statusFloatBtn{
    right:16px}
.statusPanelFloating{
    right:0;
    bottom:86px;
    width:290px}
}

/* ===== MODAL DE TAREFAS DA LOJA NO ROTEIRO ===== */
.routeModalBackdrop{
    
  position:fixed;
    
  inset:0;
    
  background:rgba(2,6,23,.62);
    
  z-index:90;
    
  display:flex;
    
  align-items:flex-end;
    
  justify-content:center;
}

.routeModalBox{
    
  width:100%;
    
  max-width:430px;
    
  max-height:72vh;
    
  overflow:auto;
    
  background:#0f172a;
    
  border:1px solid #263245;
    
  border-radius:24px 24px 0 0;
    
  box-shadow:0 -18px 45px rgba(0,0,0,.65);
    
  padding:14px 14px 20px;
}

.routeModalHead{
    
  display:flex;
    
  align-items:center;
    
  justify-content:space-between;
    
  gap:10px;
    
  margin-bottom:10px;
}

.routeModalHead h3{
    margin:0;
    color:#f8fafc;
    font-size:20px;
    font-weight:900}

.routeModalHead p{
    margin:3px 0 0;
    color:#94a3b8;
    font-size:12px}

.routeModalClose{
    
  border:0;
    
  width:36px;
    
  height:36px;
    
  border-radius:12px;
    
  background:#1f2937;
    
  color:#fff;
    
  font-size:20px;
    
  font-weight:900;
    
  cursor:pointer;
}

.routeModalBox .row{
    background:#111827;
    border-color:#334155}

/* ===== BOTAO FINO ABRIR/FECHAR STATUS ===== */
.toggleAllStatusBtn{
    
  height:24px;
    
  border:1px solid #263245;
    
  background:#0f172a;
    
  color:#93c5fd;
    
  border-radius:999px;
    
  padding:0 11px;
    
  font-size:11px;
    
  font-weight:900;
    
  line-height:1;
    
  display:inline-flex;
    
  align-items:center;
    
  justify-content:center;
    
  gap:5px;
    
  cursor:pointer;
    
  box-shadow:0 6px 14px rgba(0,0,0,.22);
}

.toggleAllStatusBtn:active{
    transform:scale(.98)}

/* ===== ENDERECO EM DUAS LINHAS NOS CARDS DE ENTREGA ===== */

/* Somente ajuste visual do endereco;
     mantem a fonte original do projeto. */
.row{
    
  min-height:122px!important;
}

.main{
    
  min-width:0!important;
}

.line1{
    
  height:auto!important;
    
  min-height:36px!important;
    
  align-items:flex-start!important;
}

.addr{
    
  white-space:normal!important;
    
  overflow:hidden!important;
    
  text-overflow:clip!important;
    
  display:-webkit-box!important;
    
  -webkit-line-clamp:2!important;
    
  -webkit-box-orient:vertical!important;
    
  line-height:18px!important;
    
  max-height:36px!important;
    
  height:auto!important;
    
  font-family:inherit!important;
}

.infoLine{
    
  margin-top:5px!important;
}

.meta{
    
  margin-top:5px!important;
}

/* ===== ROTEIRO DO DIA: ENDERECO DUAS LINHAS MAIS ACIMA ===== */

/* Ajuste exclusivo dos cards no roteiro;
     mantem fonte e demais telas. */
.routeScreen .row{
    
  min-height:112px!important;
    
  padding-top:18px!important;
}

.routeScreen .main{
    
  position:relative!important;
    
  top:-8px!important;
    
  min-width:0!important;
}

.routeScreen .line1{
    
  height:auto!important;
    
  min-height:36px!important;
    
  align-items:flex-start!important;
}

.routeScreen .addr{
    
  white-space:normal!important;
    
  overflow:hidden!important;
    
  text-overflow:clip!important;
    
  display:-webkit-box!important;
    
  -webkit-line-clamp:2!important;
    
  -webkit-box-orient:vertical!important;
    
  line-height:18px!important;
    
  max-height:36px!important;
    
  height:auto!important;
    
  font-family:inherit!important;
}

.routeScreen .infoLine{
    
  margin-top:4px!important;
}

.routeScreen .meta{
    
  margin-top:4px!important;
}

/* ===== GANHOS POR LOJA E POR TAXA ===== */
.ganhosTopGrid{
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    gap:8px;
    margin-bottom:14px}

.ganhoCard{
    background:#111827;
    border:1px solid #263245;
    border-radius:0 0 18px 18px;
    padding:10px 9px;
    min-height:86px;
    box-shadow:0 10px 22px rgba(0,0,0,.28);
    overflow:hidden}

.ganhoCard .ganhoTitle{
    display:flex;
    align-items:center;
    gap:6px;
    color:#dbeafe;
    font-size:12px;
    font-weight:900;
    line-height:1.1;
    white-space:nowrap}

.ganhoCard .store{
    position:static!important;
    display:inline-flex!important;
    padding:4px 7px!important;
    font-size:10px!important;
    line-height:1!important;
    white-space:nowrap}

.ganhoCard b{
    display:block;
    margin-top:8px;
    color:#fff;
    font-size:22px;
    line-height:1}

.ganhoCard .qtdMini{
    display:inline-flex;
    margin-top:8px;
    color:#22c55e;
    font-size:10px;
    font-weight:900}

.ganhoCard.final{
    background:#0f172a}

.ganhoSectionTitle{
    display:flex;
    align-items:center;
    gap:8px;
    margin:14px 0 8px;
    color:#f8fafc;
    font-size:13px;
    font-weight:900}

.ganhoTaxLine{
    width:100%;
    min-height:44px;
    border:0;
    background:transparent;
    color:#f8fafc;
    display:grid;
    grid-template-columns:auto auto 1fr;
    gap:18px;
    align-items:center;
    text-align:left;
    padding:8px 2px;
    cursor:pointer;
    font-size:16px;
    font-weight:900;
    border-bottom:1px solid rgba(38,50,69,.55)}

.ganhoTaxLine .valor{
    justify-self:start;
    white-space:nowrap}
.ganhoTaxLine:hover{
    background:rgba(15,23,42,.45);
    border-radius:12px}

.ganhoEmpty{
    background:#111827;
    border:1px solid #263245;
    border-radius:18px;
    padding:16px;
    color:#94a3b8;
    font-weight:800;
    text-align:center}

.ganhoListaHeader{
    background:#111827;
    border:1px solid #263245;
    border-radius:18px;
    padding:12px 14px;
    margin-bottom:12px;
    color:#f8fafc;
    font-weight:900}

.ganhoListaHeader small{
    display:block;
    margin-top:4px;
    color:#94a3b8;
    font-size:12px}

@media(max-width:390px){
    .ganhosTopGrid{
    gap:6px}
.ganhoCard{
    padding:9px 7px}
.ganhoCard b{
    font-size:19px}
.ganhoTaxLine{
    font-size:15px;
    gap:12px}
}

/* ===== AJUSTE PONTUAL GANHOS: FUNDO POR LOJA E TITULO CURTO ===== */
.ganhoListaCards.loja1 .row{
    background:#421a2b!important;
    border-color:#ef444438!important}

.ganhoListaCards.loja2 .row{
    background:#102c22!important;
    border-color:#22c55e38!important}

.ganhoCard .ganhoTitle{
    font-size:12px!important;
    gap:5px!important}


/* ===== ROTEIRO: ORDENACAO, AUTOSCROLL E FEEDBACK ===== */
.routeList{display:flex;flex-direction:column;gap:0}.sortableRouteItem{position:relative;padding-left:0!important;touch-action:pan-y!important;user-select:none;-webkit-user-select:none}.routeScreen .row{cursor:pointer!important}.sortableRouteItem.dragging{position:relative;z-index:40;opacity:.76;transform:scale(.99);touch-action:none!important}.routeScreen .sortableRouteItem.dragging .row{cursor:grabbing!important;border-color:#86efac!important;box-shadow:0 0 0 2px rgba(134,239,172,.34),0 12px 26px rgba(0,0,0,.42)!important}.routeMeta{line-height:1.25!important;white-space:normal!important;color:#93c5fd!important;font-weight:900!important}.routeTimeLine{display:inline-block;margin-top:2px;color:#facc15!important;font-size:11px!important;font-weight:900!important}.routeScreen .routeJustMoved .row{border-color:rgba(251,146,60,.72)!important;box-shadow:0 0 0 1.5px rgba(251,146,60,.22),0 10px 22px rgba(0,0,0,.30)!important;animation:routeMovedPulseSoft 1.25s ease-out!important}@keyframes routeMovedPulseSoft{0%{border-color:rgba(251,146,60,.78);box-shadow:0 0 0 2px rgba(251,146,60,.28),0 12px 26px rgba(0,0,0,.38)}65%{border-color:rgba(251,146,60,.55);box-shadow:0 0 0 1px rgba(251,146,60,.14),0 10px 22px rgba(0,0,0,.26)}100%{border-color:#334155;box-shadow:0 10px 22px rgba(0,0,0,.24)}}

/* ===== MENU PIZZA DE STATUS NO LONG PRESS ===== */
.statusPieBackdrop{position:fixed;inset:0;z-index:99999;background:rgba(2,6,23,.22);backdrop-filter:blur(1px)}.statusPieMenu{position:fixed;width:230px;height:230px;border-radius:50%;background:radial-gradient(circle at center,#111827 0 34%,rgba(15,23,42,.94) 35% 100%);border:1px solid #334155;box-shadow:0 20px 50px rgba(0,0,0,.65);animation:statusPieIn .12s ease-out}.statusPieCenter{position:absolute;left:50%;top:50%;width:78px;height:78px;transform:translate(-50%,-50%);border-radius:50%;background:#020617;border:1px solid #475569;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#e5e7eb;font-weight:900;pointer-events:none}.statusPieCenter b{font-size:20px;line-height:1}.statusPieCenter span{display:block;margin-top:4px;font-size:10px;line-height:1.1}.statusPieOption{position:absolute;transform:translate(-50%,-50%);width:68px;height:48px;border-radius:16px;border:1px solid #334155;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#fff;font-weight:900;cursor:pointer;box-shadow:0 10px 22px rgba(0,0,0,.36)}.statusPieOption span{font-size:16px;line-height:1}.statusPieOption small{font-size:9px;line-height:1;white-space:nowrap}@keyframes statusPieIn{from{transform:scale(.86);opacity:.35}to{transform:scale(1);opacity:1}}@media(max-width:390px){.statusPieMenu{width:218px;height:218px}.statusPieOption{width:63px;height:46px}}


/* ===== CORES POR MOTOQUEIRO ===== */
.profileColorBox{background:#111827;border:1px solid #263245;border-radius:22px;padding:14px;margin-top:14px;box-shadow:0 10px 22px rgba(0,0,0,.28)}
.profileColorBox h3{margin:0 0 5px;color:#f8fafc;font-size:20px}.profileColorBox p{margin:0 0 12px;color:#94a3b8;font-size:12px;line-height:1.35}.motoboyColorCard{background:#0f172a;border:1px solid #334155;border-radius:18px;padding:12px;margin-top:10px}.motoboyColorName{font-weight:900;color:#fff;margin-bottom:10px}.motoboyColorCard label{display:grid;grid-template-columns:1fr 48px;align-items:center;gap:10px;margin-top:8px;color:#cbd5e1;font-weight:800;font-size:13px}.motoboyColorCard input[type=color]{width:48px;height:34px;border:0;background:transparent;padding:0;cursor:pointer}



/* ===== MOTOQUEIROS: CORES E AVATAR NO BANCO ===== */
.profileColorBox{background:#111827;border:1px solid #263245;border-radius:22px;padding:14px;margin-top:14px;box-shadow:0 10px 22px rgba(0,0,0,.28)}
.profileColorBox h3{margin:0 0 5px;color:#f8fafc;font-size:20px}.profileColorBox p{margin:0 0 12px;color:#94a3b8;font-size:12px;line-height:1.35}.motoboyColorCard{background:#0f172a;border:1px solid #334155;border-radius:18px;padding:12px;margin-top:10px}.motoboyColorName{display:flex;align-items:center;gap:9px;font-weight:900;color:#fff;margin-bottom:10px}.motoboyColorName img{width:34px;height:34px;border-radius:50%;object-fit:cover;background:#020617}.motoboyColorCard label{display:grid;grid-template-columns:84px 1fr;align-items:center;gap:10px;margin-top:8px;color:#cbd5e1;font-weight:800;font-size:13px}.motoboyColorCard input[type=color]{width:54px;height:34px;border:0;background:transparent;padding:0;cursor:pointer}.motoboyColorCard input[type=text]{width:100%;background:#020617;color:#e5e7eb;border:1px solid #334155;border-radius:10px;padding:8px;font-size:12px;outline:none}


/* ===== LOGIN E CADASTRO MOTOBOY ===== */
.loginScreen{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:18px;background:linear-gradient(160deg,#020617,#052e26)}
.loginCard{width:100%;max-width:390px;background:#111827;border:1px solid #263245;border-radius:26px;padding:22px;box-shadow:0 22px 60px rgba(0,0,0,.6);color:#e5e7eb}.loginLogo{width:62px;height:62px;border-radius:22px;background:#064e3b;display:flex;align-items:center;justify-content:center;font-size:30px;margin-bottom:12px}.loginCard h1{margin:0 0 6px;color:#fff;font-size:24px}.loginCard p{margin:0 0 14px;color:#94a3b8;font-size:13px;line-height:1.4}.loginFields{display:flex;flex-direction:column;gap:10px}.loginFields label{display:flex;flex-direction:column;gap:5px;color:#cbd5e1;font-size:12px;font-weight:900}.loginFields input{width:100%;background:#020617;color:#e5e7eb;border:1px solid #334155;border-radius:13px;padding:12px;outline:none}.loginPrimary,.loginSecondary,.logoutBtn{width:100%;height:45px;border:0;border-radius:14px;font-weight:900;margin-top:12px;cursor:pointer}.loginPrimary{background:#059669;color:#fff}.loginSecondary{background:#1f2937;color:#bfdbfe}.logoutBtn{width:auto;padding:0 14px;background:#7f1d1d;color:#fecaca}.authMsg{background:#3b2f0c;color:#facc15;border:1px solid #854d0e;border-radius:13px;padding:10px;font-size:12px;font-weight:900;margin-bottom:12px}.registerColors{display:grid;grid-template-columns:1fr 1fr;gap:10px}.registerColors input{height:38px;padding:0}.motoboyColorName small{margin-left:auto;background:#2563eb;color:#fff;border-radius:999px;padding:4px 7px;font-size:9px}.motoboyColorCard input[type=checkbox]{width:22px;height:22px}.motoboyColorCard input[type=tel],.motoboyColorCard input[type=text]{width:100%;background:#020617;color:#e5e7eb;border:1px solid #334155;border-radius:10px;padding:8px;font-size:12px;outline:none}


/* ===== AJUSTES FEITO/GANHOS/AVATAR ===== */
.headerIdentity{display:flex;align-items:center;gap:9px;min-width:0}.headerAvatar{width:38px;height:38px;border-radius:50%;object-fit:cover;background:#020617;border:1px solid #263245}.heroUser{display:flex;align-items:center;gap:10px}.heroUser img{width:42px;height:42px;border-radius:50%;object-fit:cover;background:#020617;border:1px solid rgba(255,255,255,.18)}.heroUser small{font-size:14px!important;color:#dcfce7!important;font-weight:900}.bottomBadge{position:absolute;right:-10px;top:-7px;background:#ef4444;color:#fff;border:2px solid #070b18;min-width:18px;height:18px;border-radius:999px;font-size:10px;line-height:14px;display:flex;align-items:center;justify-content:center;font-weight:900;padding:0 4px}.ganhosTopGrid3{grid-template-columns:1fr 1fr 1fr!important}.ganhoCard{cursor:pointer;border:1px solid #263245;color:#e5e7eb;text-align:left}.ganhoCard.final{cursor:pointer}@media(max-width:390px){.ganhosTopGrid3{grid-template-columns:1fr!important}.ganhoCard{min-height:74px}}


/* ===== CONTROLE DE MOTOBOY POR STATUS ===== */
.heroUserNoPhoto{gap:0!important}.heroUserNoPhoto img{display:none!important}.heroUserNoPhoto small{font-size:16px!important;color:#dcfce7!important;font-weight:900!important}


/* ===== GANHOS POR MOTOBOY E BLOQUEIO DE SELECAO ===== */
.row,.ganhoCard,.ganhoTaxLine,.statusHead,.routeFilter,.motoboyPickCard,.walletMotoboyHero{
    user-select:none!important;
    -webkit-user-select:none!important;
    -webkit-touch-callout:none!important;
}
.walletScreen{padding-bottom:90px;background-attachment:fixed}.walletMotoboyHero{display:flex;align-items:center;gap:12px;background:rgba(2,6,23,.70);border:1px solid rgba(255,255,255,.12);border-radius:22px;padding:14px;margin-bottom:14px;box-shadow:0 8px 22px rgba(0,0,0,.32)}.walletMotoboyHero img{width:52px;height:52px;border-radius:50%;object-fit:cover;background:#020617}.walletMotoboyHero h2{margin:0;color:#fff;font-size:20px}.walletMotoboyHero p{margin:3px 0 0;color:#cbd5e1;font-size:12px;font-weight:800}.motoboyPickCard{width:100%;display:flex;align-items:center;gap:12px;border:1px solid #334155;background:rgba(15,23,42,.92);border-radius:18px;padding:12px;margin:10px 0;color:#fff;text-align:left;box-shadow:0 8px 20px rgba(0,0,0,.28)}.motoboyPickCard img{width:48px;height:48px;border-radius:50%;object-fit:cover}.motoboyPickCard span{display:flex;flex-direction:column;gap:3px}.motoboyPickCard small{color:#94a3b8;font-weight:800}.content{user-select:none;-webkit-user-select:none}


/* ===== HOME CARDS, STATUS PINS E ROTA LIMPA ===== */
.heroTop{align-items:flex-start!important}.heroUserNoPhoto small{display:block;margin-top:2px;font-size:16px!important;line-height:1.1!important}.homeExtraCards{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:12px 0 10px}.homeInfoCard{min-height:58px;background:#101827;border:1px solid #263245;border-radius:16px;color:#e5e7eb;padding:8px;font-weight:900;text-align:left;display:flex;flex-direction:column;justify-content:space-between;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.homeInfoCard span{font-size:10.5px;line-height:1.15;color:#bfdbfe}.homeInfoCard b{font-size:20px;color:#fff;line-height:1}.homeInfoCard.pegar{border-color:#f59e0b;background:#20160b}.homeInfoCard.urgente{border-color:#ef4444;background:#210f14}.metricBtn{border:1px solid #263245;background:#101827;color:#e5e7eb;text-align:left;cursor:pointer}.metric.noClick{user-select:none;-webkit-user-select:none}.orangeInfoDot{display:inline-block;width:8px;height:8px;background:#f97316;border-radius:50%;margin-left:5px;box-shadow:0 0 0 2px rgba(249,115,22,.18)}.routeFilters:empty{display:none}@media(max-width:430px){.homeExtraCards{grid-template-columns:repeat(2,1fr)}.homeExtraCards .homeInfoCard:last-child{grid-column:1/-1}.homeInfoCard{min-height:54px}}


/* ===== BOTAO DE SELECAO EM MASSA LOJA 1 / LOJA 2 ===== */
.statusHead.withBulkBtn{position:relative;padding-right:64px!important}.bulkSideBtn{position:absolute;right:0;top:0;bottom:0;width:42px;background:#22c55e;color:#fff;border-radius:0 22px 22px 0;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:900;box-shadow:-7px 0 18px rgba(34,197,94,.22);z-index:5;cursor:pointer}.bulkSideBtn:before{content:"";position:absolute;left:-12px;top:0;bottom:0;width:16px;background:#22c55e;border-radius:18px 0 0 18px}.bulkSideBtn span{position:relative;z-index:1}.bulkSideBtn:active{filter:brightness(.92)}.bulkBackdrop{position:fixed;inset:0;background:rgba(2,6,23,.72);z-index:99990;display:flex;align-items:flex-end;justify-content:center;padding:12px}.bulkModal{width:100%;max-width:430px;max-height:82vh;overflow:auto;background:#0f172a;border:1px solid #334155;border-radius:24px 24px 0 0;box-shadow:0 -20px 55px rgba(0,0,0,.72);padding:14px;color:#e5e7eb}.bulkHead{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:10px}.bulkHead h3{margin:0;color:#fff;font-size:21px}.bulkHead p{margin:4px 0 0;color:#94a3b8;font-size:12px;font-weight:800}.bulkClose{width:38px;height:38px;border:0;border-radius:12px;background:#1f2937;color:#fff;font-size:22px;font-weight:900;cursor:pointer}.bulkActions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:10px}.bulkActions button{height:38px;border:1px solid #334155;background:#111827;color:#bfdbfe;border-radius:14px;font-weight:900;cursor:pointer}.bulkList{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}.bulkItem{display:grid;grid-template-columns:28px 1fr;gap:9px;align-items:center;background:#111827;border:1px solid #263245;border-radius:16px;padding:10px;cursor:pointer}.bulkItem.selected{border-color:#22c55e;background:#06251d}.bulkItem input{width:21px;height:21px;accent-color:#22c55e}.bulkItem b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#fff;font-size:13px;line-height:1.25}.bulkItem small{display:block;margin-top:4px;color:#93c5fd;font-size:11px;font-weight:800}.bulkSend{width:100%;height:46px;border:0;border-radius:16px;background:#22c55e;color:#fff;font-weight:900;font-size:14px;cursor:pointer}.bulkSend:disabled{background:#334155;color:#94a3b8;cursor:not-allowed}@media(max-width:390px){.bulkSideBtn{width:36px}.statusHead.withBulkBtn{padding-right:56px!important}.bulkModal{padding:12px}}

/* ===== BOTAO ENVIAR PARA FAZENDO NO MODAL DA TELA FAZENDO ===== */
.routeModalActions{
  display:flex;
  align-items:center;
  gap:8px;
  flex:none;
}
.routeModalBulk{
  border:0;
  height:36px;
  border-radius:12px;
  padding:0 12px;
  background:#22c55e;
  color:#fff;
  font-size:12px;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 8px 18px rgba(34,197,94,.28);
  white-space:nowrap;
}
.routeModalBulk:active{filter:brightness(.92);transform:scale(.98)}
@media(max-width:390px){
  .routeModalBulk{padding:0 9px;font-size:11px}
  .routeModalHead{gap:7px}
}

/* ===== AJUSTE PONTUAL: ENDERECO MAIOR NOS STATUS LOJA 1 / LOJA 2 ===== */
.rows.bgLoja1 .row,
.rows.bgLoja2 .row{
  padding-right:48px!important;
}
.rows.bgLoja1 .row .addr,
.rows.bgLoja2 .row .addr{
  padding-right:2px!important;
}


/* ===== PAGAMENTO ORGANIZADO EM CARDS NA TELA DO CLIENTE ===== */
.paymentCardsGridNew{
  display:grid;
  grid-template-columns:1fr;
  gap:9px;
  margin-top:10px;
}
.paymentCardNew{
  background:#111827;
  border:1px solid #263245;
  border-radius:18px;
  padding:11px 13px;
  min-height:58px;
  display:grid;
  grid-template-columns:1fr auto;
  align-items:center;
  column-gap:12px;
  row-gap:6px;
}
.paymentCardTitleNew{
  color:#f8fafc;
  font-size:15px;
  font-weight:900;
  line-height:1.18;
  word-break:break-word;
}
.paymentCardValueNew{
  color:#fff;
  font-size:16px;
  font-weight:900;
  white-space:nowrap;
  justify-self:end;
}
.paymentCardTrocoNew{
  grid-column:1/-1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:2px;
  padding-top:7px;
  border-top:1px solid rgba(38,50,69,.75);
  color:#bbf7d0;
  font-size:14px;
  font-weight:900;
}
.paymentCardTrocoNew b{
  color:#fff;
  font-size:15px;
  white-space:nowrap;
}
.addressPillNew{
  font-size:16px!important;
  line-height:1.25!important;
  font-weight:900!important;
}
@media(max-width:390px){
  .paymentCardNew{grid-template-columns:1fr;padding:10px 12px;}
  .paymentCardValueNew{justify-self:start;}
  .addressPillNew{font-size:15px!important;}
}


/* ===== AJUSTE TELA CLIENTE: ENDERECO GRANDE E ALERTA ANTES DO PAGAMENTO ===== */
.addressPillNew{
  font-size:21px!important;
  line-height:1.18!important;
  font-weight:900!important;
  align-items:flex-start!important;
}
.addressPillNew .pinNew{
  font-size:18px!important;
  line-height:1.2!important;
  margin-top:2px!important;
}
.detailWarnNew{
  margin:10px 0 10px!important;
  font-size:16px!important;
  font-weight:900!important;
}
.actions.singleAction{
  grid-template-columns:1fr!important;
}
@media(max-width:390px){
  .addressPillNew{font-size:19px!important;}
  .detailWarnNew{font-size:15px!important;}
}


/* ===== PADRAO FINAL: CADA FORMA COM PAGAMENTO E VALOR A RECEBER ===== */
.paymentCardsGridNew{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:10px!important;
  margin-top:10px!important;
}
.paymentPairNew{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.paymentFormCardNew,
.paymentReceiveCardNew{
  min-height:86px!important;
  padding:14px!important;
}
.paymentFormCardNew .paymentLineNew{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
}
.paymentFormCardNew .paymentLineNew b{
  color:#fff!important;
  font-size:17px!important;
  line-height:1.18!important;
  font-weight:900!important;
  word-break:break-word!important;
}
.paymentReceiveCardNew .valueTextNew{
  font-size:18px!important;
  line-height:1.1!important;
}
.trocoParaNew{
  margin-top:10px;
  padding-top:8px;
  border-top:1px solid rgba(38,50,69,.85);
  display:flex;
  flex-direction:column;
  gap:3px;
}
.trocoParaNew span{
  color:#60a5fa;
  font-size:12px;
  font-weight:900;
}
.trocoParaNew b{
  color:#bbf7d0;
  font-size:17px;
  font-weight:900;
  line-height:1.1;
}
@media(max-width:390px){
  .paymentPairNew{grid-template-columns:1fr 1fr;gap:8px;}
  .paymentFormCardNew,.paymentReceiveCardNew{padding:12px!important;}
  .paymentFormCardNew .paymentLineNew b{font-size:15px!important;}
  .paymentReceiveCardNew .valueTextNew{font-size:16px!important;}
}


/* ===== TRAVESSAS REFERENCIAIS ===== */
.quickBtnNew{cursor:pointer;}
.orderQuickActions{gap:8px!important;}
.travessaDetailLine,.travessaDetailMissing{
  margin:-4px 0 10px;
  padding:0 4px;
  font-size:13px;
  line-height:1.25;
  font-weight:900;
}
.travessaDetailLine{color:#bbf7d0;}
.travessaDetailLine b{color:#f8fafc;}
.travessaDetailMissing{color:#ef4444;}
.travessaCardLine,.travessaCardMissing{
  margin-top:4px;
  font-size:10.5px;
  line-height:1.15;
  font-weight:900;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.travessaCardLine{color:#bbf7d0;}
.travessaCardLine b{color:#e5e7eb;}
.travessaCardMissing{color:#ef4444;}
.travessaDot{
  display:inline-block;
  width:8px;
  height:8px;
  border-radius:50%;
  margin-right:5px;
  vertical-align:middle;
  box-shadow:0 0 0 2px rgba(255,255,255,.08);
}
.travessaDot.ok{background:#22c55e;}
.travessaDot.missing{background:#ef4444;}
.travessaBackdrop{
  position:fixed;
  inset:0;
  z-index:99998;
  background:rgba(2,6,23,.72);
  display:flex;
  align-items:flex-end;
  justify-content:center;
  padding:12px;
}
.travessaBox{
  width:100%;
  max-width:430px;
  max-height:86vh;
  overflow:auto;
  background:#0f172a;
  border:1px solid #334155;
  border-radius:24px 24px 0 0;
  box-shadow:0 -20px 55px rgba(0,0,0,.72);
  padding:14px;
  color:#e5e7eb;
}
.travessaHead{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px;}
.travessaHead h3{margin:0;color:#fff;font-size:21px;font-weight:900;}
.travessaHead p{margin:4px 0 0;color:#94a3b8;font-size:12px;font-weight:800;}
.travessaHead button{width:38px;height:38px;border:0;border-radius:12px;background:#1f2937;color:#fff;font-size:22px;font-weight:900;cursor:pointer;}
.travessaEnderecoBase{background:#111827;border:1px solid #263245;border-radius:16px;padding:10px;margin-bottom:12px;font-size:12px;font-weight:900;color:#bfdbfe;line-height:1.25;}
.travessaGrid{display:grid;grid-template-columns:1fr;gap:8px;}
.travessaGrid label{display:flex;flex-direction:column;gap:6px;color:#cbd5e1;font-size:12px;font-weight:900;}
.travessaGrid input{width:100%;background:#020617;color:#e5e7eb;border:1px solid #334155;border-radius:13px;padding:12px;outline:none;font-size:14px;font-weight:800;}
.travessaGrid input:focus{border-color:#22c55e;box-shadow:0 0 0 2px rgba(34,197,94,.16);}
.travessaResults{display:flex;flex-direction:column;gap:6px;margin:-2px 0 6px;}
.travessaResults button{width:100%;border:1px solid #263245;background:#111827;color:#f8fafc;border-radius:13px;padding:10px;text-align:left;font-size:13px;font-weight:900;cursor:pointer;}
.travessaResults button:active{filter:brightness(.92);}
.travessaHint{color:#93c5fd;font-size:12px;font-weight:900;padding:4px 2px;}
.travessaError{margin-top:8px;background:#3b1114;border:1px solid #7f1d1d;color:#fca5a5;border-radius:13px;padding:9px;font-size:12px;font-weight:900;}
.travessaSave{width:100%;height:46px;border:0;border-radius:16px;background:#22c55e;color:#fff;font-weight:900;font-size:14px;margin-top:12px;cursor:pointer;}
.travessaSave:disabled{background:#334155;color:#94a3b8;cursor:not-allowed;}
@media(max-width:390px){.travessaBox{padding:12px}.travessaCardLine,.travessaCardMissing{font-size:10px}.travessaDetailLine,.travessaDetailMissing{font-size:12px}}


/* ===== AJUSTE BOTAO RUAS/TRAVESSAS ===== */
.ruasBtnNew{
  background:#047857!important;
  color:#ecfdf5!important;
  font-size:20px!important;
}
.orderQuickActions .ruasBtnNew{order:3;}


/* ===== AJUSTE TAMANHO TEXTO DAS TRAVESSAS ===== */
.travessaDetailLine{
  font-size:16px!important;
  line-height:1.35!important;
  font-weight:900!important;
}
.travessaDetailLine b{
  font-size:16px!important;
  font-weight:900!important;
}
.travessaDetailMissing{
  font-size:15px!important;
  line-height:1.3!important;
}
@media(max-width:390px){
  .travessaDetailLine{font-size:15px!important;line-height:1.3!important;}
  .travessaDetailLine b{font-size:15px!important;}
  .travessaDetailMissing{font-size:14px!important;}
}


/* ===== AVISOS AMARELOS NO DETALHE DO PEDIDO ===== */
.yellowNoticesStack{
  display:flex;
  flex-direction:column;
  gap:9px;
  margin:14px 0 0;
}
.yellowNoticeCard{
  width:100%;
  background:#3b2f0c;
  color:#facc15;
  border:1px solid #854d0e;
  border-radius:0 0 18px 18px;
  padding:13px 15px;
  min-height:52px;
  display:flex;
  align-items:center;
  gap:9px;
  font-weight:900;
  box-shadow:0 10px 22px rgba(0,0,0,.34);
}
.yellowNoticeIcon{
  flex:none;
  font-size:18px;
  line-height:1;
}
.yellowNoticeText{
  color:#facc15;
  font-size:19px;
  line-height:1.15;
  font-weight:900;
  letter-spacing:.2px;
}
.pickupNotice{
  display:block;
  padding:0;
  overflow:hidden;
  background:#050506;
  border-color:#854d0e;
}
.pickupProductCard{
  background:#050506;
  border-top:1px solid rgba(133,77,14,.65);
  padding:8px 10px 7px;
}
.pickupProductCard:first-child{border-top:0;}
.pickupProductTitle{
  color:#fff;
  font-size:16px;
  line-height:1.15;
  font-weight:900;
  letter-spacing:-.2px;
  text-transform:uppercase;
}
.pickupProductMeta{
  color:#cbd5e1;
  font-size:9px;
  line-height:1.25;
  font-weight:800;
  margin-top:4px;
}
@media(max-width:390px){
  .yellowNoticeText{font-size:17px;}
  .pickupProductTitle{font-size:14px;}
  .pickupProductMeta{font-size:8.5px;}
}


/* ===== AJUSTE PEGAR LOJA: PRODUTO ABAIXO DO CAMPO AMARELO ===== */
.pickupProductsStack{
  display:flex;
  flex-direction:column;
  gap:0;
  margin-top:-3px;
}
.pickupProductsStack .pickupProductCard{
  background:#050506;
  border:1px solid #4b2230;
  border-radius:0 0 8px 8px;
  padding:8px 10px 7px;
  box-shadow:0 8px 16px rgba(0,0,0,.35);
}
.pickupProductsStack .pickupProductCard + .pickupProductCard{
  margin-top:6px;
}


/* ===== FINAL PEGAR LOJA LIMPO COMO PRINT ===== */
.pickupProductsStack{
  margin-top:-3px!important;
  gap:0!important;
}
.pickupProductsStack .pickupProductCard{
  background:#050506!important;
  border:1px solid #4b2230!important;
  border-radius:0 0 8px 8px!important;
  padding:7px 9px!important;
  min-height:auto!important;
}
.pickupProductTitle{
  color:#fff!important;
  font-size:11px!important;
  line-height:1.12!important;
  font-weight:900!important;
  letter-spacing:-.15px!important;
  text-transform:uppercase!important;
  white-space:normal!important;
}
.pickupProductMeta{
  color:#cbd5e1!important;
  font-size:8px!important;
  line-height:1.2!important;
  font-weight:800!important;
  margin-top:3px!important;
  white-space:normal!important;
}
@media(max-width:390px){
  .pickupProductTitle{font-size:10.5px!important;}
  .pickupProductMeta{font-size:7.5px!important;}
}


/* ===== FORMATO FINAL PRINT: AVISOS + PRODUTOS PEGAR LOJA ===== */
.yellowNoticesStack{
  display:flex!important;
  flex-direction:column!important;
  gap:9px!important;
  margin:14px 0 0!important;
}
.yellowNoticeCard{
  border-radius:0 0 18px 18px!important;
  min-height:52px!important;
  padding:13px 15px!important;
  background:#3b2f0c!important;
  border:1px solid #854d0e!important;
  color:#facc15!important;
}
.yellowNoticeText{
  font-size:20px!important;
  line-height:1.12!important;
  font-weight:900!important;
  color:#facc15!important;
}
.pickupProductsStack{
  display:flex!important;
  flex-direction:column!important;
  gap:6px!important;
  margin-top:-4px!important;
}
.pickupProductsStack .pickupProductCard{
  background:#050506!important;
  border:1px solid #7a2340!important;
  border-radius:0 0 6px 6px!important;
  padding:7px 9px!important;
  min-height:auto!important;
  box-shadow:none!important;
}
.pickupProductTitle{
  color:#fff!important;
  font-size:12px!important;
  line-height:1.1!important;
  font-weight:900!important;
  letter-spacing:-.15px!important;
  text-transform:uppercase!important;
  white-space:normal!important;
}
.pickupProductMeta{
  color:#e5e7eb!important;
  font-size:8px!important;
  line-height:1.18!important;
  font-weight:900!important;
  margin-top:3px!important;
  white-space:normal!important;
}
@media(max-width:390px){
  .yellowNoticeText{font-size:18px!important;}
  .pickupProductTitle{font-size:11px!important;}
  .pickupProductMeta{font-size:7.5px!important;}
}


/* ===== OBS EMBAIXO DO PRODUTO/AVISO ===== */
.pickupProductObs{
  margin-top:4px!important;
  color:#ef4444!important;
  font-size:11px!important;
  line-height:1.2!important;
  font-weight:900!important;
  text-transform:uppercase!important;
}
.noticeObsCard{
  background:#050506!important;
  border:1px solid #7a2340!important;
  border-radius:0 0 6px 6px!important;
  padding:9px 12px!important;
  color:#f8fafc!important;
  font-size:15px!important;
  line-height:1.3!important;
  font-weight:900!important;
}
.noticeObsCard:first-letter{color:#ef4444!important;}
@media(max-width:390px){
  .pickupProductObs{font-size:10px!important;}
  .noticeObsCard{font-size:14px!important;}
}

/* ===== FORCAR TAMANHO DO NOME DO PRODUTO PEGAR LOJA - FINAL ===== */
.yellowNoticesStack .pickupProductsStack .pickupProductCard .pickupProductTitle,
.orderHeroNew .pickupProductsStack .pickupProductCard .pickupProductTitle,
.pickupProductsStack .pickupProductCard .pickupProductTitle,
div.pickupProductsStack div.pickupProductCard div.pickupProductTitle{
  font-size:22px!important;
  line-height:1.2!important;
  font-weight:900!important;
  color:#ffffff!important;
  letter-spacing:-.2px!important;
  text-transform:uppercase!important;
  white-space:normal!important;
  display:block!important;
}

@media(max-width:390px){
  .yellowNoticesStack .pickupProductsStack .pickupProductCard .pickupProductTitle,
  .orderHeroNew .pickupProductsStack .pickupProductCard .pickupProductTitle,
  .pickupProductsStack .pickupProductCard .pickupProductTitle,
  div.pickupProductsStack div.pickupProductCard div.pickupProductTitle{
    font-size:20px!important;
    line-height:1.2!important;
  }
}

/* ===== AJUSTE FINAL PEGAR LOJA: QTD MENOR E LOJA EM ETIQUETA ===== */
.yellowNoticesStack .pickupProductsStack .pickupProductCard .pickupProductTitle,
.orderHeroNew .pickupProductsStack .pickupProductCard .pickupProductTitle,
.pickupProductsStack .pickupProductCard .pickupProductTitle{
  font-size:0!important;
  line-height:1.15!important;
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:6px!important;
}

.yellowNoticesStack .pickupProductsStack .pickupProductCard .pickupProductName,
.orderHeroNew .pickupProductsStack .pickupProductCard .pickupProductName,
.pickupProductsStack .pickupProductCard .pickupProductName{
  font-size:22px!important;
  line-height:1.12!important;
  font-weight:900!important;
  color:#ffffff!important;
  letter-spacing:-.2px!important;
  text-transform:uppercase!important;
}

.yellowNoticesStack .pickupProductsStack .pickupProductCard .pickupProductQtd,
.orderHeroNew .pickupProductsStack .pickupProductCard .pickupProductQtd,
.pickupProductsStack .pickupProductCard .pickupProductQtd{
  font-size:13px!important;
  line-height:1!important;
  font-weight:900!important;
  color:#ffffff!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
}

.yellowNoticesStack .pickupProductsStack .pickupProductCard .pickupLojaBadge,
.orderHeroNew .pickupProductsStack .pickupProductCard .pickupLojaBadge,
.pickupProductsStack .pickupProductCard .pickupLojaBadge{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:3px 8px!important;
  border-radius:999px!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:900!important;
  color:#ffffff!important;
  white-space:nowrap!important;
  border:1px solid rgba(255,255,255,.45)!important;
  box-shadow:0 2px 6px rgba(0,0,0,.28)!important;
}

.pickupLojaBadge.pickupLoja1{background:#ef4444!important;}
.pickupLojaBadge.pickupLoja2{background:#22c55e!important;}

@media(max-width:390px){
  .yellowNoticesStack .pickupProductsStack .pickupProductCard .pickupProductName,
  .orderHeroNew .pickupProductsStack .pickupProductCard .pickupProductName,
  .pickupProductsStack .pickupProductCard .pickupProductName{
    font-size:20px!important;
  }
  .yellowNoticesStack .pickupProductsStack .pickupProductCard .pickupProductQtd,
  .orderHeroNew .pickupProductsStack .pickupProductCard .pickupProductQtd,
  .pickupProductsStack .pickupProductCard .pickupProductQtd{
    font-size:12px!important;
  }
  .yellowNoticesStack .pickupProductsStack .pickupProductCard .pickupLojaBadge,
  .orderHeroNew .pickupProductsStack .pickupProductCard .pickupLojaBadge,
  .pickupProductsStack .pickupProductCard .pickupLojaBadge{
    font-size:10px!important;
    padding:3px 7px!important;
  }
}

/* ===== AJUSTE FINAL ENDERECO DETALHE: FOCO ANTES DO HIFEN ===== */
.addressPillNew .addressTextNew{
  display:block!important;
  min-width:0!important;
  flex:1!important;
  line-height:1.12!important;
}

.addressPillNew .addressMainNew{
  color:#ffffff!important;
  font-size:22px!important;
  line-height:1.12!important;
  font-weight:900!important;
  letter-spacing:-.2px!important;
}

.addressPillNew .addressRestNew{
  color:#9ca3af!important;
  font-size:13px!important;
  line-height:1.15!important;
  font-weight:800!important;
  letter-spacing:0!important;
}

@media(max-width:390px){
  .addressPillNew .addressMainNew{
    font-size:21px!important;
  }
  .addressPillNew .addressRestNew{
    font-size:12px!important;
  }
}

/* ===== AJUSTE FINAL ENDERECO: PARTE CINZA SEMPRE NA LINHA DE BAIXO ===== */
.addressPillNew .addressRestNew{
  display:block!important;
  margin-top:2px!important;
  color:#9ca3af!important;
  font-size:13px!important;
  line-height:1.18!important;
  font-weight:800!important;
}

/* ===== PIX PAGO: CARD VERDE, VALOR PAGO E VALOR TACHADO ===== */
.paymentReceiveCardNew.paymentPixPaidCard{
  background:#10291f!important;
  border-color:#34d399!important;
  box-shadow:0 10px 22px rgba(16,185,129,.14)!important;
}

.paymentReceiveCardNew.paymentPixPaidCard .labelNew{
  color:#86efac!important;
}

.paymentReceiveCardNew.paymentPixPaidCard .valueTextNew.valuePixPaid{
  color:#bbf7d0!important;
  text-decoration:line-through!important;
  text-decoration-thickness:3px!important;
  text-decoration-color:#22c55e!important;
}

/* ===== TRAVESSAS: TOPO FIXO, RESULTADOS MAIORES E ENDERECO EM DESTAQUE ===== */
.travessaBox{
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
}

.travessaStickyTop{
  position:sticky!important;
  top:0!important;
  z-index:5!important;
  background:#0f172a!important;
  padding-bottom:10px!important;
  border-bottom:1px solid rgba(51,65,85,.55)!important;
}

.travessaEnderecoBase{
  font-size:16px!important;
  line-height:1.22!important;
  font-weight:900!important;
  padding:12px!important;
  margin-bottom:12px!important;
}

.travessaEnderecoBase .addressTextNew{
  display:inline-block!important;
  vertical-align:top!important;
  max-width:calc(100% - 24px)!important;
}

.travessaEnderecoBase .addressMainNew{
  color:#ffffff!important;
  font-size:17px!important;
  line-height:1.18!important;
  font-weight:900!important;
}

.travessaEnderecoBase .addressRestNew{
  display:block!important;
  margin-top:2px!important;
  color:#9ca3af!important;
  font-size:12px!important;
  line-height:1.18!important;
  font-weight:800!important;
}

.travessaSearchLabel{
  display:flex!important;
  flex-direction:column!important;
  gap:7px!important;
  color:#cbd5e1!important;
  font-size:13px!important;
  font-weight:900!important;
}

.travessaInputWrap{
  position:relative!important;
  width:100%!important;
}

.travessaInputWrap input{
  padding-right:44px!important;
}

.travessaClearBtn{
  position:absolute!important;
  right:8px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:30px!important;
  height:30px!important;
  border:0!important;
  border-radius:10px!important;
  background:#1f2937!important;
  color:#ffffff!important;
  font-size:20px!important;
  line-height:1!important;
  font-weight:900!important;
  cursor:pointer!important;
}

.travessaClearBtn:disabled{
  opacity:.35!important;
  cursor:not-allowed!important;
}

.travessaResultsArea{
  flex:1!important;
  overflow:auto!important;
  padding-top:10px!important;
  padding-bottom:8px!important;
}

.travessaResults button{
  color:#facc15!important;
  font-size:18px!important;
  line-height:1.22!important;
  font-weight:900!important;
  padding:13px 12px!important;
  border-color:#854d0e!important;
  background:#111827!important;
}

.travessaHint{
  color:#facc15!important;
  font-size:15px!important;
  font-weight:900!important;
}

@media(max-width:390px){
  .travessaResults button{font-size:17px!important;}
  .travessaEnderecoBase .addressMainNew{font-size:16px!important;}
  .travessaEnderecoBase .addressRestNew{font-size:11.5px!important;}
}

/* ===== DETALHE CLIENTE: CONTACT ID E LOJA EM BADGE ===== */
.clientLabelNew{
  color:#60a5fa!important;
  font-weight:900!important;
}
.detailStoreBadge{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:999px!important;
  padding:5px 10px!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:900!important;
  color:#ffffff!important;
  border:1px solid rgba(255,255,255,.45)!important;
  box-shadow:0 4px 10px rgba(0,0,0,.28)!important;
}
.detailStoreBadge.loja1{
  background:#ef4444!important;
}
.detailStoreBadge.loja2{
  background:#22c55e!important;
}

/* ===== FOTO DA ENTREGA ===== */
.photoBtnNew{
  background:#7c3aed!important;
  color:#fff!important;
  font-size:20px!important;
}

/* ===== GALERIA DE FOTOS DA ENTREGA ===== */
.deliveryPhotosBox{
  margin-top:14px!important;
  background:#111827!important;
  border:1px solid #263245!important;
  border-radius:18px!important;
  padding:12px!important;
  box-shadow:0 10px 22px rgba(0,0,0,.28)!important;
}
.deliveryPhotosHead{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  margin-bottom:10px!important;
}
.deliveryPhotosHead b{
  color:#facc15!important;
  font-size:16px!important;
  line-height:1.15!important;
  font-weight:900!important;
}
.deliveryPhotosHead small{
  color:#94a3b8!important;
  font-size:11px!important;
  font-weight:800!important;
  text-align:right!important;
}
.deliveryPhotosGrid{
  display:grid!important;
  grid-template-columns:repeat(3,1fr)!important;
  gap:8px!important;
}
.deliveryPhotoThumb{
  position:relative!important;
  border:1px solid #334155!important;
  background:#020617!important;
  border-radius:14px!important;
  padding:0!important;
  overflow:hidden!important;
  min-height:92px!important;
  cursor:pointer!important;
  color:#fff!important;
}
.deliveryPhotoThumb img{
  width:100%!important;
  height:92px!important;
  object-fit:cover!important;
  display:block!important;
}
.deliveryPhotoThumb span{
  position:absolute!important;
  left:6px!important;
  top:6px!important;
  width:22px!important;
  height:22px!important;
  border-radius:999px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#ef4444!important;
  color:#fff!important;
  border:2px solid #020617!important;
  font-size:11px!important;
  font-weight:900!important;
}
.deliveryPhotoThumb small{
  display:block!important;
  padding:5px 6px!important;
  color:#cbd5e1!important;
  font-size:8px!important;
  line-height:1.15!important;
  font-weight:800!important;
  text-align:left!important;
}
@media(max-width:390px){
  .deliveryPhotosGrid{grid-template-columns:repeat(2,1fr)!important;}
  .deliveryPhotoThumb img{height:104px!important;}
}

/* ===== COMPROVANTES: FOTO + MAPA + EXCLUIR ===== */
.locationBtnNew{
  background:#047857!important;
  color:#ecfdf5!important;
  font-size:20px!important;
}
.deliveryPhotoThumb{
  display:flex!important;
  flex-direction:column!important;
}
.deliveryPhotoOpen{
  position:relative!important;
  display:block!important;
  width:100%!important;
  border:0!important;
  background:transparent!important;
  padding:0!important;
  margin:0!important;
  cursor:pointer!important;
  color:#fff!important;
  text-align:left!important;
}
.deliveryLocationOnly{
  width:100%!important;
  height:92px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  background:linear-gradient(135deg,#064e3b,#022c22)!important;
  color:#ecfdf5!important;
  font-size:26px!important;
}
.deliveryLocationOnly b{
  font-size:11px!important;
  line-height:1!important;
  font-weight:900!important;
}
.deliveryPhotoActions{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:5px!important;
  padding:6px!important;
  border-top:1px solid rgba(51,65,85,.8)!important;
}
.deliveryPhotoActions button{
  height:27px!important;
  border:0!important;
  border-radius:9px!important;
  background:#047857!important;
  color:#ecfdf5!important;
  font-size:10px!important;
  font-weight:900!important;
  cursor:pointer!important;
}
.deliveryPhotoActions button.delete{
  background:#7f1d1d!important;
  color:#fecaca!important;
}
.deliveryPhotoActions button:only-child{
  grid-column:1/-1!important;
}
@media(max-width:390px){
  .deliveryLocationOnly{height:104px!important;}
}

/* ===== BOTAO LOCALIZACAO VISIVEL NO DETALHE ===== */
.orderQuickActions{
  flex-wrap:wrap!important;
  justify-content:flex-end!important;
}
.deliveryMainActions{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:10px!important;
}
.locationMainBtn{
  background:#047857!important;
  color:#ecfdf5!important;
  border:0!important;
  font-size:15px!important;
  font-weight:900!important;
}
.locationMainBtn:active{filter:brightness(.92)!important;transform:scale(.99)!important;}
.app-toast {
    position: fixed;
    bottom: 90px; /* Fica acima do menu inferior */
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(15, 23, 42, 0.95);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
    font-family: sans-serif;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    max-width: 90%;
    text-align: center;
    pointer-events: none; /* Permite clicar em baixo do toast */
}
.app-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.app-toast.success { background: #16a34a; }
.app-toast.error { background: #dc2626; }
.app-toast.loading { background: #2563eb; }
/* ===== AJUSTES SOLICITADOS: HOME, BUSCA E STATUS ===== */
.heroIcon{display:none!important;}
.homeInfoCard.perdido,.lostMetric{border-color:#64748b!important;background:#2e1065!important;color:#e5e7eb!important;}
.homeExtraCards{grid-template-columns:repeat(4,1fr)!important;}
@media(max-width:430px){.homeExtraCards{grid-template-columns:repeat(2,1fr)!important}.homeExtraCards .homeInfoCard:last-child{grid-column:auto!important}}
.statusCountBadge,
.statusHead .count.statusCountBadge,
.routeFilter .num.statusCountBadge{
  flex:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:20px!important;
  height:20px!important;
  padding:0 6px!important;
  border-radius:999px!important;
  background:#ef4444!important;
  color:#ffffff!important;
  border:2px solid #070b18!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:900!important;
  box-shadow:0 5px 12px rgba(239,68,68,.32)!important;
}
.deliverySearchBox{
  position:relative;
  display:flex;
  align-items:center;
  gap:8px;
  width:100%;
  min-height:48px;
  margin:0 0 12px;
  padding:0 10px 0 13px;
  background:#0b1020;
  border:1px solid #263245;
  border-radius:18px;
  box-shadow:0 10px 22px rgba(0,0,0,.28);
}
.deliverySearchBox span{font-size:17px;flex:none;}
.deliverySearchBox input{
  flex:1;
  min-width:0;
  height:44px;
  border:0;
  outline:none;
  background:transparent;
  color:#f8fafc;
  font-size:14px;
  font-weight:800;
}
.deliverySearchBox input::placeholder{color:#64748b;}
.deliverySearchBox button{
  width:31px;
  height:31px;
  border:0;
  border-radius:11px;
  background:#1f2937;
  color:#fff;
  font-size:19px;
  font-weight:900;
  cursor:pointer;
}
.deliverySearchBox button:disabled{opacity:.35;cursor:not-allowed;}
.routeSearchSticky{
  position:sticky;
  top:86px;
  z-index:75;
  background:#050816;
  padding:10px 14px 0;
  border-bottom:1px solid rgba(31,41,55,.55);
  box-shadow:0 10px 22px rgba(0,0,0,.22);
}
.routeSearchSticky .deliverySearchBox{margin:0 0 10px;}
.routeFloatingFilters{
  position:fixed;
  right:calc(50% - 198px);
  top:166px;
  z-index:86;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:9px;
  pointer-events:none;
}
.routeFloatingFilters .routeFilter{
  pointer-events:auto;
  min-width:112px!important;
  height:44px!important;
  padding:0 14px!important;
  box-shadow:0 10px 24px rgba(0,0,0,.42)!important;
}
.routeFloatingFilters:empty{display:none!important;}
.routeScreen .content{padding-top:12px;}
@media(max-width:430px){
  .routeFloatingFilters{right:16px;top:166px;}
  .routeSearchSticky{top:86px;}
}
@media(max-width:390px){
  .routeFloatingFilters .routeFilter{min-width:98px!important;padding:0 12px!important;}
}
.inlineStatusOption .count,
.statusChoiceFloat .count{
  flex:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:20px!important;
  height:20px!important;
  padding:0 6px!important;
  border-radius:999px!important;
  background:#ef4444!important;
  color:#ffffff!important;
  border:2px solid #070b18!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:900!important;
}

/* ===== AJUSTES SOLICITADOS - ROTEIRO, BUSCA, CARDS E COMPROVANTES ===== */
.heroIcon{display:none!important;}
.homeInfoCard.perdido,.lostMetric{border-color:#64748b!important;background:#1f2937!important;color:#e5e7eb!important;}
.homeExtraCards{grid-template-columns:repeat(4,1fr)!important;}
@media(max-width:430px){.homeExtraCards{grid-template-columns:repeat(2,1fr)!important}.homeExtraCards .homeInfoCard:last-child{grid-column:auto!important}}
.statusCountBadge,
.statusHead .count.statusCountBadge,
.routeFilter .num.statusCountBadge{
  flex:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-width:20px!important;height:20px!important;padding:0 6px!important;border-radius:999px!important;
  background:#ef4444!important;color:#fff!important;border:2px solid #070b18!important;
  font-size:11px!important;line-height:1!important;font-weight:900!important;box-shadow:0 5px 12px rgba(239,68,68,.32)!important;
}
.deliverySearchBox{
  position:relative;display:flex;align-items:center;gap:8px;width:100%;min-height:48px;margin:0 0 12px;
  padding:0 10px 0 13px;background:#0b1020;border:1px solid #263245;border-radius:18px;
  box-shadow:0 10px 22px rgba(0,0,0,.28);z-index:78;
}
.deliverySearchBox span{font-size:17px;flex:none}.deliverySearchBox input{flex:1;min-width:0;height:44px;border:0;outline:none;background:transparent;color:#f8fafc;font-size:14px;font-weight:800}.deliverySearchBox input::placeholder{color:#64748b}.deliverySearchBox button{width:31px;height:31px;border:0;border-radius:11px;background:#1f2937;color:#fff;font-size:19px;font-weight:900;cursor:pointer}.deliverySearchBox button:disabled{opacity:.35;cursor:not-allowed}
.stickyListSearch{position:sticky;top:86px;z-index:78;background:#050816;padding-top:8px;padding-bottom:1px;margin-top:-8px;box-shadow:0 10px 18px rgba(0,0,0,.22)}
.routeSearchSticky{position:sticky;top:86px;z-index:78;background:#050816;padding:10px 126px 0 14px;border-bottom:1px solid rgba(31,41,55,.55);box-shadow:0 10px 22px rgba(0,0,0,.22)}
.routeSearchSticky .deliverySearchBox{margin:0 0 10px;min-height:44px}
.routeFloatingFilters{position:fixed;right:calc(50% - 198px);top:96px;z-index:88;display:flex;flex-direction:column;align-items:flex-end;gap:18px;pointer-events:none}
.routeFloatingFilters .routeFilter{pointer-events:auto;min-width:112px!important;height:44px!important;padding:0 14px!important;box-shadow:0 10px 24px rgba(0,0,0,.42)!important}
.routeFloatingFilters:empty{display:none!important}.routeContentWithSticky{padding-top:12px!important}
@media(max-width:430px){.routeFloatingFilters{right:16px;top:96px}.routeSearchSticky{padding-right:138px;top:86px}}
@media(max-width:390px){.routeFloatingFilters .routeFilter{min-width:98px!important;padding:0 12px!important}.routeSearchSticky{padding-right:126px}}
/* Altere a altura dos botoes Loja 1 / Loja 2 do roteiro aqui: */
.routeFloatingFilters .routeFilter.loja1,
.routeFloatingFilters .routeFilter.loja2{height:44px!important;}

.customerNameCard{color:#fff!important;font-size:14px!important;line-height:1.05!important;font-weight:900!important;margin-bottom:3px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.cardAddressText{display:block!important;min-width:0!important}.cardAddressMain{display:block!important;color:#fff!important;font-size:18px!important;line-height:1.08!important;font-weight:900!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.cardAddressRest{display:block!important;color:#cbd5e1!important;font-size:11px!important;line-height:1.15!important;font-weight:800!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;margin-top:1px!important}.addr{display:block!important;max-height:none!important;-webkit-line-clamp:unset!important;line-height:normal!important}.row{min-height:146px!important;padding-bottom:34px!important}.routeScreen .row{min-height:138px!important;padding-bottom:34px!important}.routeScreen .main{top:-4px!important}
.taskTimeChips{position:absolute;left:12px;right:72px;bottom:7px;display:flex;align-items:center;gap:4px;overflow:hidden;white-space:nowrap}.timeChip{display:inline-flex;align-items:center;border-radius:999px;padding:3px 6px;font-size:9px;line-height:1;font-weight:900;border:1px solid transparent}.timeChip.created{background:#1e293b;color:#bfdbfe;border-color:#334155}.timeChip.status{background:#21143e;color:#c4b5fd;border-color:#6d28d9}.timeChip.deadline.ok{background:#052e26;color:#86efac;border-color:#047857}.timeChip.deadline.warn{background:#3b2f0c;color:#facc15;border-color:#854d0e}.timeChip.deadline.late{background:#3b1114;color:#fca5a5;border-color:#7f1d1d}.taxaLine{bottom:25px!important}.routeScreen .taxaLine{bottom:25px!important}.proofIcons{position:absolute;right:12px;top:43px;display:flex;gap:3px;z-index:7}.proofIcons i{display:inline-flex;align-items:center;justify-content:center;width:21px;height:21px;border-radius:999px;background:#111827;border:1px solid #334155;font-style:normal;font-size:12px;box-shadow:0 5px 10px rgba(0,0,0,.32)}.routeScreen .proofIcons{right:43px;top:43px}
.deliveryPhotosBox{margin:8px 0 10px!important;padding:0!important;overflow:hidden!important}.deliveryPhotosHead{width:100%!important;border:0!important;background:#111827!important;padding:12px!important;margin:0!important;cursor:pointer!important;text-align:left!important}.deliveryPhotosHead .chev{margin-left:auto!important;transition:transform .16s ease!important}.deliveryPhotosBox.open .deliveryPhotosHead .chev{transform:rotate(90deg)!important}.deliveryPhotosRows{display:none!important;padding:0 12px 12px!important}.deliveryPhotosBox.open .deliveryPhotosRows{display:block!important}.deliveryPhotosEmpty{padding:12px;color:#94a3b8;font-size:12px;font-weight:900;text-align:center}.detailStatusChip{position:static!important;transform:none!important;width:auto!important;height:34px!important;padding:5px 9px!important;display:inline-flex!important;flex-direction:row!important;gap:5px!important;border-radius:999px!important}.detailStatusChip span{font-size:14px!important}.detailStatusChip small{font-size:10px!important}.quickPieMain{background:#1f2937!important;color:#fff!important}.quickPieOption{background:#111827!important}.attendantTopNew small{color:#60a5fa!important}.homeFazendoFloat{position:fixed;right:calc(50% - 198px);top:600px;z-index:86;border:1px solid #6d28d9;background:#21143e;color:#c4b5fd;border-radius:999px;height:42px;padding:0 12px;font-weight:900;box-shadow:0 10px 24px rgba(0,0,0,.42);cursor:pointer}.homeFazendoFloat b{display:inline-flex;align-items:center;justify-content:center;min-width:19px;height:19px;margin-left:5px;border-radius:999px;background:#ef4444;color:#fff;font-size:11px}.startToggle{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#0f172a;border:1px solid #263245;border-radius:16px;padding:9px 11px;margin:10px 0;color:#cbd5e1;font-size:12px;font-weight:900}.startToggle input{display:none}.startToggle i{position:relative;width:42px;height:24px;border-radius:999px;background:#334155;flex:none}.startToggle i:before{content:"";position:absolute;left:3px;top:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:.18s}.startToggle input:checked + i{background:#22c55e}.startToggle input:checked + i:before{left:21px}
@media(max-width:430px){.homeFazendoFloat{right:16px}}

/* ===== AJUSTES SOLICITADOS - FINAL ===== */
.cardAddressMain{color:#facc15!important;}
/* Para abaixar/subir o botao Fazendo da Home, altere o TOP abaixo */
.homeFazendoFloat{top:500px!important;}
.heroTop .startToggle{margin:0!important;min-width:154px!important;padding:7px 9px!important;align-self:flex-start!important;}
.heroTop .startToggle span{font-size:11px!important;color:#cbd5e1!important;}
.homeInfoCard.urgente{border-color:#ef4444!important;background:#210f14!important;}

/* ===== AJUSTES SOLICITADOS - HOME/GANHOS/MODAL FAZENDO ===== */
.routeModalBox .routeModalSearchTop{
  position:sticky!important;
  top:0!important;
  z-index:120!important;
  background:#0f172a!important;
  margin:-2px 0 10px!important;
  padding-top:0!important;
  padding-bottom:0!important;
  box-shadow:0 10px 18px rgba(0,0,0,.28)!important;
}
.routeModalBox .routeModalSearchTop .deliverySearchBox{
  margin-bottom:0!important;
}

/* ===== AJUSTE SOLICITADO: SEGUNDA LINHA CINZA DO ENDERECO SEM QUEBRA ===== */
.row .cardAddressRest,
.routeScreen .row .cardAddressRest,
.routeModalBox .row .cardAddressRest,
.walletScreen .row .cardAddressRest,
.ganhoListaCards .row .cardAddressRest{
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  word-break:normal!important;
  display:block!important;
}

/* ===== AJUSTE SOMENTE LINHAS DO ENDERECO NO CARD ===== */
.row .cardAddressMain,
.routeScreen .row .cardAddressMain,
.routeModalBox .row .cardAddressMain,
.walletScreen .row .cardAddressMain,
.ganhoListaCards .row .cardAddressMain{
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:unset!important;
  word-break:break-word!important;
}

.row .cardAddressRest,
.routeScreen .row .cardAddressRest,
.routeModalBox .row .cardAddressRest,
.walletScreen .row .cardAddressRest,
.ganhoListaCards .row .cardAddressRest{
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  word-break:normal!important;
}
.homeInfoCard.perdido{
  background:#3b1114!important;
  border-color:#ef4444!important;
  color:#ffffff!important;
}

/* ===== BOTAO FLUTUANTE STATUS NO DETALHE DA ENTREGA ===== */
.detailStatusMoveBtn{
  position:fixed;
  right:calc(50% - 198px);
  top:520px;
  z-index:86;
  height:42px;
  min-width:96px;
  border:1px solid #047857;
  border-radius:999px;
  padding:0 14px;
  background:#22c55e;
  color:#ffffff;
  font-size:14px;
  font-weight:900;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  box-shadow:0 10px 24px rgba(34,197,94,.36);
  cursor:pointer;
}
.detailStatusMoveBtn:active{
  filter:brightness(.92);
  transform:scale(.98);
}
@media(max-width:430px){
  .detailStatusMoveBtn{
    right:16px;
    top:520px;
  }
}


/* ===== OBSERVACAO E ALERTAS NO CARD DA ENTREGA ===== */
.obsWarnIcon{
  position:absolute;
  right:6px;
  top:13px;
  width:18px;
  height:18px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#ef4444;
  color:#ffffff;
  border:2px solid #111827;
  font-size:12px;
  line-height:1;
  font-weight:900;
  z-index:8;
  box-shadow:0 5px 12px rgba(239,68,68,.38);
}
.routeScreen .obsWarnIcon{
  right:36px;
  top:13px;
}
.futureInfoBox.hasObs{
  align-items:flex-start!important;
  justify-content:flex-start!important;
  flex-direction:column!important;
  text-align:left!important;
  gap:8px!important;
  color:#e5e7eb!important;
  font-size:14px!important;
  line-height:1.35!important;
  white-space:pre-wrap!important;
}
.futureInfoTitle{
  color:#facc15!important;
  font-size:15px!important;
  font-weight:900!important;
}
.futureInfoText{
  color:#f8fafc!important;
  font-size:15px!important;
  line-height:1.35!important;
  font-weight:900!important;
  white-space:pre-wrap!important;
}
.row.instructionBlink{
  animation:instructionBlinkCard .75s linear infinite!important;
  border-color:#ef4444!important;
  box-shadow:0 0 0 2px rgba(239,68,68,.28),0 10px 24px rgba(239,68,68,.34)!important;
}
@keyframes instructionBlinkCard{
  0%,100%{filter:brightness(1.18);}
  50%{filter:brightness(.72);}
}
@media(max-width:390px){
  .obsWarnIcon{right:5px;top:12px;width:17px;height:17px;font-size:11px;}
  .routeScreen .obsWarnIcon{right:33px;}
}

.attendantTopNew{
  position:relative!important;
}
.detailObsWarnIcon{
  position:absolute!important;
  left:24px!important;
  top:2px!important;
  width:17px!important;
  height:17px!important;
  border-radius:999px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#ef4444!important;
  color:#ffffff!important;
  border:2px solid #111827!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:900!important;
  z-index:9!important;
  box-shadow:0 5px 12px rgba(239,68,68,.38)!important;
}


/* ===== CORRECAO FINAL: PISCAR CARD COM INSTRUCOES ESPECIAIS ===== */
.row.instructionBlink,
.statusCard .row.instructionBlink,
.routeScreen .row.instructionBlink,
.routeModalBox .row.instructionBlink,
.walletScreen .row.instructionBlink,
.ganhoListaCards .row.instructionBlink{
  animation:instructionBlinkCardStrong .68s linear infinite!important;
  border-color:#ef4444!important;
  outline:2px solid rgba(239,68,68,.55)!important;
  outline-offset:0!important;
  box-shadow:0 0 0 3px rgba(239,68,68,.32),0 10px 26px rgba(239,68,68,.42)!important;
}
@keyframes instructionBlinkCardStrong{
  0%,100%{
    opacity:1;
    filter:brightness(1.22) saturate(1.22);
  }
  50%{
    opacity:.52;
    filter:brightness(.62) saturate(.9);
  }
}


/* ===== CORRECAO: PISCAR SOMENTE AVISOS AMARELOS DENTRO DO CARD ===== */
.row.instructionBlink,
.statusCard .row.instructionBlink,
.routeScreen .row.instructionBlink,
.routeModalBox .row.instructionBlink,
.walletScreen .row.instructionBlink,
.ganhoListaCards .row.instructionBlink{
  animation:none!important;
  outline:0!important;
  box-shadow:0 10px 22px rgba(0,0,0,.24)!important;
}
.cardInstructionBlinkWrap{
  display:flex!important;
  align-items:center!important;
  gap:5px!important;
  flex-wrap:wrap!important;
  margin-top:5px!important;
  max-height:38px!important;
  overflow:hidden!important;
}
.cardInstructionBlink{
  display:inline-flex!important;
  align-items:center!important;
  max-width:100%!important;
  padding:3px 7px!important;
  border-radius:999px!important;
  background:#3b2f0c!important;
  color:#facc15!important;
  border:1px solid #854d0e!important;
  font-size:10.5px!important;
  line-height:1!important;
  font-weight:900!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  animation:cardInstructionTextBlink 1.3s linear infinite!important;
  box-shadow:0 0 0 1px rgba(250,204,21,.16)!important;
}
@keyframes cardInstructionTextBlink{
  0%,100%{opacity:1;filter:brightness(1.2);}
  50%{opacity:.28;filter:brightness(.72);}
}
@media(max-width:390px){
  .cardInstructionBlink{font-size:10px!important;padding:3px 6px!important;}
  .cardInstructionBlinkWrap{gap:4px!important;}
}


/* ===== PERFIL: FIXO DO MOTOBOY AO LADO DO SAIR ===== */
.profileTopActions{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:10px!important;
  margin-top:12px!important;
}
.profileFixoField{
  display:flex!important;
  flex-direction:column!important;
  gap:5px!important;
  max-width:128px!important;
  color:#cbd5e1!important;
  font-size:12px!important;
  font-weight:900!important;
}
.profileFixoField input{
  width:100%!important;
  height:38px!important;
  background:#020617!important;
  color:#e5e7eb!important;
  border:1px solid #334155!important;
  border-radius:12px!important;
  padding:0 10px!important;
  font-size:14px!important;
  font-weight:900!important;
  outline:none!important;
}
.profileFixoField input:focus{
  border-color:#22c55e!important;
  box-shadow:0 0 0 2px rgba(34,197,94,.16)!important;
}
.profileTopActions .logoutBtn{
  margin-top:0!important;
}


/* ===== AJUSTE MODAL TRAVESSA NO TOPO E CAMPOS MAIORES ===== */
.travessaBackdrop{
  align-items:flex-start!important;
  justify-content:center!important;
  padding:10px 12px 0!important;
}
.travessaBox{
  max-height:92vh!important;
  border-radius:0 0 24px 24px!important;
}
.travessaEnderecoBase{
  color:#facc15!important;
  font-size:22px!important;
  line-height:1.22!important;
  font-weight:900!important;
  border-color:#854d0e!important;
  background:#111827!important;
}
.travessaEnderecoBase .addressMainNew,
.travessaEnderecoBase .addressRestNew{
  color:#facc15!important;
  font-weight:900!important;
}
.travessaEnderecoBase .addressMainNew{
  font-size:24px!important;
  line-height:1.18!important;
}
.travessaEnderecoBase .addressRestNew{
  font-size:17px!important;
  line-height:1.2!important;
}
.travessaGrid input{
  min-height:62px!important;
  font-size:22px!important;
  line-height:1.2!important;
  font-weight:900!important;
  padding:16px 14px!important;
}
.travessaInputWrap input{
  padding-right:50px!important;
}
.travessaResults button{
  color:#facc15!important;
  font-size:24px!important;
  line-height:1.22!important;
  font-weight:900!important;
  padding:15px 12px!important;
}
@media(max-width:390px){
  .travessaEnderecoBase{font-size:20px!important;}
  .travessaEnderecoBase .addressMainNew{font-size:22px!important;}
  .travessaEnderecoBase .addressRestNew{font-size:16px!important;}
  .travessaGrid input{min-height:58px!important;font-size:20px!important;}
  .travessaResults button{font-size:22px!important;}
}


/* ===== HISTORICO EM BANCO SEPARADO ===== */
.headerRightActions{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-end!important;
  gap:7px!important;
}
.historyHeaderBtn{
  height:28px!important;
  border:1px solid #2563eb!important;
  background:#0b1f4a!important;
  color:#bfdbfe!important;
  border-radius:999px!important;
  padding:0 12px!important;
  font-size:11px!important;
  font-weight:900!important;
  cursor:pointer!important;
  box-shadow:0 8px 18px rgba(37,99,235,.22)!important;
}
.historyFilterBox{
  background:#111827!important;
  border:1px solid #263245!important;
  border-radius:22px!important;
  padding:14px!important;
  box-shadow:0 10px 22px rgba(0,0,0,.28)!important;
}
.historyFilterBox h3{
  margin:0 0 5px!important;
  color:#f8fafc!important;
  font-size:21px!important;
}
.historyFilterBox p{
  margin:0 0 12px!important;
  color:#94a3b8!important;
  font-size:12px!important;
  font-weight:800!important;
  line-height:1.35!important;
}
.historyFilterBox label{
  display:flex!important;
  flex-direction:column!important;
  gap:6px!important;
  margin-top:10px!important;
  color:#cbd5e1!important;
  font-size:12px!important;
  font-weight:900!important;
}
.historyFilterBox input{
  width:100%!important;
  height:46px!important;
  background:#020617!important;
  color:#e5e7eb!important;
  border:1px solid #334155!important;
  border-radius:13px!important;
  padding:0 12px!important;
  outline:none!important;
  font-size:14px!important;
  font-weight:800!important;
}
.historySearchBtn{
  width:100%!important;
  height:46px!important;
  border:0!important;
  border-radius:16px!important;
  background:#22c55e!important;
  color:#ffffff!important;
  font-size:14px!important;
  font-weight:900!important;
  margin-top:12px!important;
  cursor:pointer!important;
}
.historySearchBtn:disabled{
  background:#334155!important;
  color:#94a3b8!important;
  cursor:not-allowed!important;
}
.historyMsg{
  margin:12px 0!important;
  background:#0f172a!important;
  border:1px solid #263245!important;
  color:#bfdbfe!important;
  border-radius:16px!important;
  padding:11px!important;
  font-size:12px!important;
  font-weight:900!important;
}
.historyResults{
  display:flex!important;
  flex-direction:column!important;
  gap:10px!important;
  margin-top:12px!important;
}
.historyResultCard{
  background:#111827!important;
  border:1px solid #263245!important;
  border-radius:18px!important;
  padding:12px!important;
  box-shadow:0 10px 22px rgba(0,0,0,.24)!important;
}
.historyResultTop{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
}
.historyResultTop b{
  color:#fff!important;
  font-size:15px!important;
  font-weight:900!important;
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.historyResultTop span{
  flex:none!important;
  background:#21143e!important;
  color:#c4b5fd!important;
  border:1px solid #6d28d9!important;
  border-radius:999px!important;
  padding:5px 8px!important;
  font-size:10px!important;
  font-weight:900!important;
}
.historyAddress{
  margin-top:7px!important;
  color:#facc15!important;
  font-size:15px!important;
  line-height:1.25!important;
  font-weight:900!important;
}
.historyResultCard small{
  display:block!important;
  margin-top:7px!important;
  color:#93c5fd!important;
  font-size:11px!important;
  line-height:1.25!important;
  font-weight:800!important;
}


/* ===== HISTORICO: RESULTADO CLICAVEL ABRE ENTREGA ===== */
.historyResultCard{
  width:100%!important;
  text-align:left!important;
  cursor:pointer!important;
  color:#e5e7eb!important;
}
.historyResultCard:active{
  filter:brightness(.92)!important;
  transform:scale(.99)!important;
}


/* ===== REFERENCIA EXPANSIVEL NO DETALHE DA ENTREGA ===== */
.referenceBox{
  margin:8px 0 10px!important;
}
.referenceHead b{
  color:#facc15!important;
}
.referenceText{
  background:#0f172a!important;
  border:1px solid #334155!important;
  border-radius:14px!important;
  padding:12px!important;
  color:#facc15!important;
  font-size:16px!important;
  line-height:1.35!important;
  font-weight:900!important;
  white-space:pre-wrap!important;
}
@media(max-width:390px){
  .referenceText{font-size:15px!important;}
}


/* ===== AJUSTE REFERENCIA: VERDE IGUAL PIX PAGO E TEXTO MAIOR ===== */
.referenceBox{
  background:#10291f!important;
  border-color:#34d399!important;
  box-shadow:0 10px 22px rgba(16,185,129,.14)!important;
}
.referenceBox .deliveryPhotosHead,
.referenceHead{
  background:#10291f!important;
  border-color:#34d399!important;
}
.referenceHead b{
  color:#86efac!important;
}
.referenceText{
  background:#10291f!important;
  border-color:#34d399!important;
  color:#ffffff!important;
  font-size:21px!important;
  line-height:1.32!important;
  font-weight:900!important;
}
@media(max-width:390px){
  .referenceText{font-size:19px!important;}
}


/* ===== LABELS DE LOJAS APP ===== */
.loja1AppLabel{
  background:#7f1d1d!important;
  color:#ffffff!important;
  border:1px solid #b91c1c!important;
}
.loja2AppLabel{
  background:#065f46!important;
  color:#ffffff!important;
  border:1px solid #047857!important;
}
.detailStoreBadge.loja1App{
  background:#7f1d1d!important;
}
.detailStoreBadge.loja2App{
  background:#065f46!important;
}
.atualizarEntregaBtn{
  background:#1f2937!important;
  color:#ffffff!important;
  border:1px solid #334155!important;
}
.atualizarEntregaBtn:active{
  filter:brightness(.92)!important;
  transform:scale(.99)!important;
}


/* ===== GANHOS: 4 LOJAS ===== */
.ganhosStoreGrid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
}
@media(max-width:390px){
  .ganhosStoreGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}


/* ===== PISCAR AVISOS AMARELOS DENTRO DA ENTREGA ===== */
.yellowNoticeCard.detailInstructionBlink,
.noticeObsCard.detailInstructionBlink{
  animation:cardInstructionTextBlink 1.3s linear infinite!important;
}


/* ===== GANHOS: TOTAL NO HERO E TOTAL LOJAS ===== */
.walletMotoboyHero{
  justify-content:space-between!important;
}
.walletHeroName{
  min-width:0!important;
  flex:1!important;
}
.walletHeroTotal{
  margin-left:auto!important;
  text-align:right!important;
  flex:none!important;
}
.walletHeroTotal span{
  display:block!important;
  color:#cbd5e1!important;
  font-size:11px!important;
  font-weight:900!important;
  white-space:nowrap!important;
}
.walletHeroTotal b{
  display:block!important;
  margin-top:3px!important;
  color:#ffffff!important;
  font-size:16px!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.totalLojasCard{
  color:#ffffff!important;
}
.totalLojasCard .ganhoTitle{
  color:#ffffff!important;
}
.totalLojasLines{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  flex-wrap:wrap!important;
  margin-top:9px!important;
}
.totalLojasLines span{
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
  min-width:0!important;
}
.totalLojasLines .store{
  position:static!important;
  display:inline-flex!important;
  padding:4px 7px!important;
  font-size:10px!important;
  line-height:1!important;
  font-style:normal!important;
  white-space:nowrap!important;
}
.totalLojasLines b{
  margin:0!important;
  color:#ffffff!important;
  font-size:12px!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.totalLojasCard strong{
  display:block!important;
  margin-top:9px!important;
  color:#ffffff!important;
  font-size:17px!important;
  line-height:1!important;
  font-weight:900!important;
}


/* ===== GANHOS: TOTAL LOJAS 1 E 2 ===== */
.walletHeroTotal small{
  display:block!important;
  margin-top:2px!important;
  color:#94a3b8!important;
  font-size:10px!important;
  font-weight:900!important;
  white-space:nowrap!important;
}
.totalLojasLabels{
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  flex-wrap:wrap!important;
  margin-top:9px!important;
}
.totalLojasLabels .store{
  position:static!important;
  display:inline-flex!important;
  padding:4px 7px!important;
  font-size:10px!important;
  line-height:1!important;
  font-style:normal!important;
  white-space:nowrap!important;
}
.totalLojasLabels em{
  color:#ffffff!important;
  font-size:12px!important;
  line-height:1!important;
  font-style:normal!important;
  font-weight:900!important;
}
.totalLojasCard strong{
  font-size:19px!important;
}


/* ===== GANHOS: FIXO NO TOTAL FINALIZADO ===== */
.walletHeroTotal em{
  display:block!important;
  margin-top:4px!important;
  color:#22c55e!important;
  font-size:10px!important;
  line-height:1.05!important;
  font-style:normal!important;
  font-weight:900!important;
  white-space:nowrap!important;
}

/* ===== CORRECAO: PISCAR AVISOS AMARELOS DENTRO DA ENTREGA ===== */
.orderHeroNew .yellowNoticeCard.detailInstructionBlink{
  animation:yellowNoticeDetailBlink .85s linear infinite!important;
}
.orderHeroNew .yellowNoticeCard.detailInstructionBlink .yellowNoticeIcon,
.orderHeroNew .yellowNoticeCard.detailInstructionBlink .yellowNoticeText{
  animation:yellowNoticeDetailTextBlink .85s linear infinite!important;
}
@keyframes yellowNoticeDetailBlink{
  0%,100%{filter:brightness(1.25) saturate(1.25);}
  50%{filter:brightness(.62) saturate(.9);}
}
@keyframes yellowNoticeDetailTextBlink{
  0%,100%{opacity:1;}
  50%{opacity:.35;}
}

/* ===== NFC-E DENTRO DOS COMPROVANTES ===== */
.nfceProofThumb .deliveryPhotoActions{
  grid-template-columns:1fr!important;
}
.nfceProofIcon{
  width:100%!important;
  height:92px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  background:linear-gradient(135deg,#1e293b,#0b1f4a)!important;
  color:#bfdbfe!important;
  font-size:28px!important;
}
.nfceProofIcon b{
  color:#ffffff!important;
  font-size:13px!important;
  line-height:1!important;
  font-weight:900!important;
}
.nfceProofIcon small{
  color:#93c5fd!important;
  font-size:10px!important;
  line-height:1!important;
  font-weight:900!important;
  padding:0!important;
}
.nfceWebViewBackdrop{
  position:fixed!important;
  inset:0!important;
  z-index:999999!important;
  background:rgba(2,6,23,.86)!important;
  display:flex!important;
  align-items:stretch!important;
  justify-content:center!important;
}
.nfceWebViewBox{
  width:100%!important;
  max-width:430px!important;
  height:100vh!important;
  background:#020617!important;
  border-left:1px solid #263245!important;
  border-right:1px solid #263245!important;
  display:flex!important;
  flex-direction:column!important;
  box-shadow:0 0 45px rgba(0,0,0,.75)!important;
}
.nfceWebViewHead{
  flex:none!important;
  min-height:62px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  padding:11px 12px!important;
  background:#070b18!important;
  border-bottom:1px solid #263245!important;
  color:#ffffff!important;
}
.nfceWebViewHead b{
  display:block!important;
  color:#ffffff!important;
  font-size:17px!important;
  font-weight:900!important;
}
.nfceWebViewHead small{
  display:block!important;
  margin-top:3px!important;
  color:#94a3b8!important;
  font-size:11px!important;
  font-weight:800!important;
}
.nfceWebViewHead button{
  width:40px!important;
  height:40px!important;
  border:0!important;
  border-radius:13px!important;
  background:#1f2937!important;
  color:#ffffff!important;
  font-size:24px!important;
  font-weight:900!important;
  cursor:pointer!important;
}
.nfceWebViewFrame{
  flex:1!important;
  width:100%!important;
  border:0!important;
  background:#ffffff!important;
}
@media(max-width:390px){
  .nfceProofIcon{height:104px!important;}
}

/* ===== HISTORICO DE ENTREGAS DO CLIENTE - ERP ===== */
.historicoEntregaBtn{
  background:#0b1f4a!important;
  color:#bfdbfe!important;
  font-size:20px!important;
}
.historicoEntregaScreen{
  padding-bottom:90px!important;
}
.historicoEntregaBox{
  background:#111827!important;
  border:1px solid #263245!important;
  border-radius:18px!important;
  padding:12px!important;
  box-shadow:0 10px 22px rgba(0,0,0,.28)!important;
}
.historicoEntregaSep{
  color:#94a3b8!important;
  font-size:13px!important;
  font-weight:900!important;
  letter-spacing:.4px!important;
  margin-bottom:8px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
}
.historicoEntregaLine{
  display:grid!important;
  grid-template-columns:auto 1fr auto!important;
  align-items:center!important;
  gap:8px!important;
  min-height:44px!important;
  padding:8px 0!important;
  border-top:1px solid rgba(38,50,69,.75)!important;
  color:#e5e7eb!important;
}
.historicoEntregaLine:first-of-type{
  border-top:0!important;
}
.historicoEntregaLine span{
  color:#facc15!important;
  font-size:14px!important;
  font-weight:900!important;
  white-space:nowrap!important;
}
.historicoEntregaLine b{
  color:#ffffff!important;
  font-size:15px!important;
  line-height:1.2!important;
  font-weight:900!important;
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.historicoEntregaLine button{
  border:0!important;
  border-radius:12px!important;
  min-height:32px!important;
  padding:0 10px!important;
  background:#0b1f4a!important;
  color:#bfdbfe!important;
  font-size:11px!important;
  font-weight:900!important;
  cursor:pointer!important;
}
.historicoEntregaLine em{
  color:#64748b!important;
  font-size:10px!important;
  font-style:normal!important;
  font-weight:900!important;
  white-space:nowrap!important;
}
@media(max-width:390px){
  .historicoEntregaLine{
    grid-template-columns:1fr auto!important;
    row-gap:4px!important;
  }
  .historicoEntregaLine span{
    grid-column:1/-1!important;
    font-size:13px!important;
  }
  .historicoEntregaLine b{
    font-size:14px!important;
  }
}

/* ===== TICKET MEDIO NO HISTORICO DO CLIENTE ===== */
.historicoTicketHeaderBtn{
  position:fixed!important;
  right:calc(50% - 198px)!important;
  top:58px!important;
  z-index:24!important;
  height:28px!important;
  border:1px solid #334155!important;
  background:#e5e7eb!important;
  color:#111827!important;
  border-radius:999px!important;
  padding:0 12px!important;
  font-size:11px!important;
  font-weight:900!important;
  cursor:pointer!important;
  box-shadow:0 8px 18px rgba(0,0,0,.28)!important;
}
.historicoTicketTotal{
  background:#111827!important;
  border:1px solid #263245!important;
  border-radius:18px!important;
  padding:14px!important;
  margin-bottom:12px!important;
  box-shadow:0 10px 22px rgba(0,0,0,.28)!important;
}
.historicoTicketTotal span{
  display:block!important;
  color:#cbd5e1!important;
  font-size:12px!important;
  font-weight:900!important;
}
.historicoTicketTotal b{
  display:block!important;
  margin-top:5px!important;
  color:#ffffff!important;
  font-size:26px!important;
  line-height:1!important;
  font-weight:900!important;
}
.historicoTicketList{
  display:flex!important;
  flex-direction:column!important;
  gap:8px!important;
}
.historicoTicketItem{
  display:grid!important;
  grid-template-columns:1fr auto!important;
  gap:10px!important;
  align-items:center!important;
  background:#111827!important;
  border:1px solid #263245!important;
  border-radius:16px!important;
  padding:11px 12px!important;
  box-shadow:0 8px 18px rgba(0,0,0,.22)!important;
}
.historicoTicketItem b{
  display:block!important;
  color:#ffffff!important;
  font-size:14px!important;
  line-height:1.2!important;
  font-weight:900!important;
}
.historicoTicketItem small{
  display:block!important;
  margin-top:4px!important;
  color:#94a3b8!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:800!important;
}
.historicoTicketItem span{
  color:#111827!important;
  background:#e5e7eb!important;
  border-radius:999px!important;
  padding:6px 9px!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:900!important;
  white-space:nowrap!important;
}
@media(max-width:430px){
  .historicoTicketHeaderBtn{right:16px!important;}
}
@media(max-width:390px){
  .historicoTicketItem{grid-template-columns:1fr!important;}
  .historicoTicketItem span{justify-self:start!important;}
}
/* ===== BOLINHA QUANTIDADE ENTREGAS CLIENTE ===== */
.customerDeliveryBadge{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:22px!important;
  height:22px!important;
  padding:0 7px!important;
  margin-left:6px!important;
  border-radius:999px!important;
  background:#cbd5e1!important;
  color:#111827!important;
  border:2px solid #111827!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:900!important;
  vertical-align:middle!important;
  box-shadow:0 5px 12px rgba(203,213,225,.32)!important;
}

/* ===== CARTEIRA DE GANHOS POR PERIODO ===== */
.walletPeriodBox{
  background:#111827;
  border:1px solid #263245;
  border-radius:22px;
  padding:12px;
  margin:0 0 14px;
  box-shadow:0 10px 22px rgba(0,0,0,.28);
}
.walletPeriodHead{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}
.walletPeriodHead h3{margin:0;color:#f8fafc;font-size:20px;font-weight:900;}
.walletPeriodHead p{margin:4px 0 0;color:#94a3b8;font-size:12px;font-weight:900;line-height:1.25;}
.walletPeriodHead label{display:flex;flex-direction:column;gap:5px;min-width:86px;color:#cbd5e1;font-size:11px;font-weight:900;text-align:right;}
.walletPeriodHead input{height:35px;background:#020617;color:#fff;border:1px solid #334155;border-radius:12px;padding:0 9px;font-weight:900;outline:none;text-align:center;}
.walletPeriodBtns{display:flex;gap:7px;overflow-x:auto;padding:2px 0 10px;margin-bottom:2px;}
.walletPeriodBtn{flex:none;height:33px;border:1px solid #334155;background:#0f172a;color:#bfdbfe;border-radius:999px;padding:0 11px;font-size:11px;font-weight:900;cursor:pointer;}
.walletPeriodBtn.active{background:#22c55e;color:#022c22;border-color:#86efac;}
.walletTableWrap{overflow-x:auto;border:1px solid #263245;border-radius:16px;background:#020617;}
.walletPeriodTable{width:100%;border-collapse:collapse;min-width:320px;color:#e5e7eb;}
.walletPeriodTable th,.walletPeriodTable td{padding:10px 9px;border-bottom:1px solid rgba(38,50,69,.75);text-align:left;font-size:12px;font-weight:900;}
.walletPeriodTable th{color:#93c5fd;background:#0b1020;position:sticky;top:0;}
.walletPeriodTable td:nth-child(2),.walletPeriodTable td:nth-child(3),.walletPeriodTable th:nth-child(2),.walletPeriodTable th:nth-child(3){text-align:right;white-space:nowrap;}
.walletPeriodTable td b{display:block;color:#fff;font-size:13px;}
.walletPeriodTable td small{display:block;margin-top:3px;color:#94a3b8;font-size:10px;font-weight:800;}
.walletPeriodTable tfoot td{color:#fff;background:#0f172a;font-size:13px;border-bottom:0;}
@media(max-width:390px){.walletPeriodHead{flex-direction:column}.walletPeriodHead label{text-align:left;width:100%;max-width:120px}.walletPeriodTable th,.walletPeriodTable td{padding:9px 7px}}


/* ===== AJUSTE CARTEIRA: CALENDARIO E TOTAL FINALIZADO ===== */
.walletPeriodFields{
  display:grid!important;
  grid-template-columns:68px 74px 74px 74px!important;
  gap:7px!important;
  align-items:end!important;
  min-width:310px!important;
}
.walletPeriodHead label{
  min-width:0!important;
  text-align:left!important;
}
.walletPeriodHead input[type=date]{
  height:35px!important;
  background:#020617!important;
  color:#fff!important;
  border:1px solid #334155!important;
  border-radius:12px!important;
  padding:0 7px!important;
  font-size:11px!important;
  font-weight:900!important;
  outline:none!important;
}
.walletPeriodHead small{
  display:block!important;
  margin-top:4px!important;
  color:#facc15!important;
  font-size:11px!important;
  font-weight:900!important;
}
.walletPeriodTable th:nth-child(4),
.walletPeriodTable td:nth-child(4){
  text-align:right!important;
  white-space:nowrap!important;
}
.walletPeriodTable td:nth-child(4){
  color:#bbf7d0!important;
}
@media(max-width:390px){
  .walletPeriodFields{grid-template-columns:1fr!important;width:100%!important;min-width:0!important;}
}

/* ===== AJUSTE CARTEIRA: QTD DIAS, DE, ATE E FIXO NA MESMA LINHA ===== */
.walletPeriodFields label{white-space:nowrap!important;}
.walletPeriodFields input{width:100%!important;}
@media(max-width:430px){.walletPeriodHead{flex-direction:column!important}.walletPeriodFields{grid-template-columns:68px 74px 74px 74px!important;width:100%!important;min-width:0!important;gap:6px!important}.walletPeriodHead input{font-size:10px!important;padding:0 5px!important}}
@media(max-width:390px){.walletPeriodFields{grid-template-columns:1fr 1fr!important}.walletPeriodFields label{width:100%!important;max-width:none!important}}


/* ===== CARTEIRA: CLIQUE NO PERIODO ABRE TABELA DE ENTREGAS ===== */
.walletPeriodClickable{cursor:pointer!important;}
.walletPeriodClickable:active{filter:brightness(.9)!important;}
.walletPeriodClickable:hover td{background:rgba(34,197,94,.08)!important;}
.walletPeriodDetailBox{
  background:#111827!important;
  border:1px solid #34d399!important;
  border-radius:22px!important;
  padding:12px!important;
  margin:0 0 14px!important;
  box-shadow:0 10px 22px rgba(16,185,129,.16)!important;
}
.walletPeriodDetailHead{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:10px!important;
  margin-bottom:10px!important;
}
.walletPeriodDetailHead h3{margin:0!important;color:#f8fafc!important;font-size:20px!important;font-weight:900!important;}
.walletPeriodDetailHead p{margin:4px 0 0!important;color:#bbf7d0!important;font-size:12px!important;font-weight:900!important;line-height:1.25!important;}
.walletPeriodDetailHead button{
  width:36px!important;height:36px!important;border:0!important;border-radius:12px!important;
  background:#1f2937!important;color:#fff!important;font-size:22px!important;font-weight:900!important;cursor:pointer!important;
}
.walletPeriodDetailTotals{display:grid!important;grid-template-columns:1fr 1fr 1fr!important;gap:7px!important;margin-bottom:10px!important;}
.walletPeriodDetailTotals span{background:#020617!important;border:1px solid #263245!important;border-radius:14px!important;padding:8px!important;color:#94a3b8!important;font-size:10px!important;font-weight:900!important;}
.walletPeriodDetailTotals b{display:block!important;margin-top:3px!important;color:#fff!important;font-size:13px!important;white-space:nowrap!important;}
.walletPeriodDetailTable{width:100%!important;border-collapse:collapse!important;min-width:560px!important;color:#e5e7eb!important;}
.walletPeriodDetailTable th,.walletPeriodDetailTable td{padding:9px 8px!important;border-bottom:1px solid rgba(38,50,69,.75)!important;text-align:left!important;font-size:11px!important;font-weight:900!important;vertical-align:top!important;}
.walletPeriodDetailTable th{color:#93c5fd!important;background:#0b1020!important;position:sticky!important;top:0!important;}
.walletPeriodDetailTable td:nth-child(1),.walletPeriodDetailTable td:nth-child(5),.walletPeriodDetailTable th:nth-child(1),.walletPeriodDetailTable th:nth-child(5){text-align:right!important;white-space:nowrap!important;}
.walletPeriodDetailTable td b{display:block!important;color:#fff!important;font-size:12px!important;line-height:1.15!important;}
.walletPeriodDetailTable td small{display:block!important;margin-top:3px!important;color:#facc15!important;font-size:10px!important;line-height:1.2!important;}
.walletPeriodEmptyRow{text-align:center!important;color:#94a3b8!important;padding:14px!important;}
@media(max-width:390px){.walletPeriodDetailTotals{grid-template-columns:1fr!important}.walletPeriodDetailTable{min-width:520px!important}}
