/* Seller Ecom - Mercado Livre — Alteracoes de frete (migracao 029). Mesmo padrao visual das telas Desempenho, Ads e Promocoes
   (azul #10243e, bordas #365573, destaque dourado #d6a52b). Tela sob #ml-frete; alerta do topo (#mlfAlert) e numero no menu (.mlf-badge). */
/* alerta no topo de todas as telas */
.mlf-alert{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:rgba(239,68,68,.12);border:1px solid rgba(239,68,68,.45);color:#ffd2d2;border-radius:12px;padding:10px 14px;margin:0 0 16px;font-size:14px;font-weight:700}
.mlf-alert[hidden]{display:none}
.mlf-alert-icon{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:#ef4444;color:#fff;font-weight:900;flex:none}
.mlf-alert span#mlfAlertText{flex:1;min-width:0}
.mlf-alert button{height:34px;border-radius:9px;border:1px solid #c9972b;background:linear-gradient(135deg,#e8c66a,#c9972b);color:#101827;padding:0 14px;font-weight:800;cursor:pointer}
.nav .mlf-badge{display:inline-block;min-width:18px;height:18px;line-height:18px;border-radius:9px;background:#ef4444;color:#fff;font-size:10px;font-weight:900;text-align:center;padding:0 5px;margin-left:6px;vertical-align:middle}
/* tela */
#ml-frete h1{margin:0 0 18px}
#ml-frete,#ml-frete .mlf-section{max-width:100%;min-width:0}
#ml-frete .mlf-toolbar{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;align-items:end;margin-bottom:14px}
#ml-frete .mlf-toolbar label{display:block;color:#a9b8cc;font-size:11px;font-weight:800;text-transform:uppercase;margin:0 0 7px 2px}
#ml-frete .mlf-toolbar select{width:100%;height:46px;box-sizing:border-box;border-radius:12px;background:#10243e;border:1px solid #365573;color:#fff;padding:0 12px;font-size:14px;font-weight:600;outline:none}
#ml-frete .mlf-toolbar select:hover,#ml-frete .mlf-toolbar select:focus{border-color:#d6a52b}
#ml-frete .mlf-product-toggle{width:100%;height:46px;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:10px;border-radius:12px;background:#10243e;border:1px solid #365573;color:#fff;padding:0 14px;font-size:14px;font-weight:600;cursor:pointer;text-align:left}
#ml-frete .mlf-product-toggle span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#ml-frete .mlf-product-toggle:hover,#ml-frete .mlf-product-toggle:focus-visible{border-color:#d6a52b;outline:none}
#ml-frete .mlf-product-toggle.mlf-has-selection{border-color:#d6a52b;color:#f0cc69}
#mlfProductPicker .mlf-product-picker-info{display:flex;justify-content:space-between;gap:10px;color:#aebdd1;font-size:12px;font-weight:700}
#ml-frete .mlf-kpis{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:0 0 14px}
#ml-frete .mlf-kpi{background:#10243e;border:1px solid #2e435b;border-radius:14px;padding:14px 16px;min-width:0}
#ml-frete .mlf-kpi span{display:block;color:#aebed1;font-size:11px;font-weight:700;text-transform:uppercase}
#ml-frete .mlf-kpi strong{display:block;color:#fff;font-size:21px;margin-top:6px}
#ml-frete .mlf-kpi small{display:block;color:#8f9db0;font-size:11px;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#ml-frete .mlf-kpi.mlf-c-up strong,#ml-frete .mlf-up{color:#ff8a8a!important}
#ml-frete .mlf-kpi.mlf-c-down strong,#ml-frete .mlf-down{color:#5fd49b!important}
#ml-frete .mlf-kpi.mlf-c-pending strong{color:#f5c16c}
#ml-frete .mlf-section .section-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 14px}
#ml-frete .mlf-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
#ml-frete .mlf-hint{color:#9eacbd;font-size:11px}
#ml-frete .mlf-ack-btn{height:34px;border-radius:9px;border:1px solid #c9972b;background:linear-gradient(135deg,#e8c66a,#c9972b);color:#101827;padding:0 12px;font-weight:800;font-size:12px;cursor:pointer}
#ml-frete .mlf-ack-btn:disabled{opacity:.45;cursor:default}
#ml-frete .mlf-ack-btn[hidden]{display:none}
#ml-frete .mlf-msg{color:#f0cc69;font-size:12px;min-height:16px;margin:4px 2px}
#ml-frete .mlf-table-wrap{overflow-x:auto;max-width:100%}
#ml-frete .mlf-table{width:100%;table-layout:fixed;min-width:0}
#ml-frete .mlf-table th{font-size:11px;white-space:normal;line-height:1.25;padding-left:6px;padding-right:6px}
#ml-frete .mlf-table td{padding-left:6px;padding-right:6px;font-size:12px;vertical-align:top;overflow:hidden;overflow-wrap:anywhere}
#ml-frete .mlf-table th:nth-child(1){width:3%}#ml-frete .mlf-table th:nth-child(2){width:9%}#ml-frete .mlf-table th:nth-child(3){width:15%}
#ml-frete .mlf-table th:nth-child(4){width:23%}#ml-frete .mlf-table th:nth-child(5){width:17%}#ml-frete .mlf-table th:nth-child(6){width:9%}
#ml-frete .mlf-table th:nth-child(7){width:11%}#ml-frete .mlf-table th:nth-child(8){width:13%}
@media(max-width:1100px){#ml-frete .mlf-table{min-width:980px}}
#ml-frete .mlf-table td small{display:block;font-size:10px;color:#94a2b4;margin-top:3px;white-space:normal;line-height:1.3}
#ml-frete .mlf-order-link{background:none;border:0;padding:0;color:#f0cc69;font-weight:800;font-size:12px;cursor:pointer;text-align:left;text-decoration:underline}
#ml-frete .mlf-product{display:flex;align-items:center;gap:9px;min-width:0}
#ml-frete .mlf-product img{width:40px;height:40px;border-radius:7px;object-fit:contain;background:#fff;flex:none}
#ml-frete .mlf-noimg{width:40px;height:40px;flex:none;display:inline-flex;align-items:center;justify-content:center;color:#5d6f86}
#ml-frete .mlf-product-info{min-width:0}
#ml-frete .mlf-product-name{font-weight:800;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#ml-frete .mlf-product-meta{font-size:10px;color:#94a2b4;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#ml-frete .mlf-prev{color:#aebed1;text-decoration:line-through}
#ml-frete .mlf-muted{color:#8291a5}
#ml-frete .mlf-badge-pending,#ml-frete .mlf-badge-ok{display:inline-block;border-radius:999px;padding:3px 10px;font-size:11px;font-weight:900;white-space:nowrap;border:1px solid transparent}
#ml-frete .mlf-badge-pending{color:#f5c16c;background:rgba(245,158,11,.10);border-color:rgba(245,158,11,.30)}
#ml-frete .mlf-badge-ok{color:#5fd49b;background:rgba(34,197,94,.10);border-color:rgba(34,197,94,.30)}
#ml-frete .mlf-ack-one{display:block;margin-top:5px;font-size:11px;font-weight:800;color:#f0cc69;background:none;border:1px solid rgba(214,165,43,.5);border-radius:8px;padding:4px 8px;cursor:pointer}
#ml-frete .mlf-ack-one:hover{background:rgba(214,165,43,.12)}
#ml-frete .mlf-empty{text-align:center!important;color:#93a1b3!important;padding:34px!important}
#ml-frete .mlf-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 4px 2px;color:#9eacbd;font-size:12px}
#ml-frete .mlf-pagination{display:flex;align-items:center;gap:9px}
#ml-frete .mlf-pagination button{height:34px;border:1px solid #3b5068;background:#10243e;color:#d8e2ee;border-radius:8px;padding:0 12px;cursor:pointer}
#ml-frete .mlf-pagination button:disabled{opacity:.4;cursor:default}
@media(max-width:1200px){#ml-frete .mlf-toolbar{grid-template-columns:repeat(3,1fr)}#ml-frete .mlf-kpis{grid-template-columns:repeat(3,1fr)}}
@media(max-width:640px){#ml-frete .mlf-toolbar{grid-template-columns:1fr 1fr}#ml-frete .mlf-toolbar .mlf-products-field{grid-column:1/-1}#ml-frete .mlf-kpis{grid-template-columns:1fr 1fr}#ml-frete .mlf-kpi strong{font-size:18px}#ml-frete .mlf-footer{flex-direction:column;align-items:flex-start}}
/* 19/10: tipo da linha (Todos = padrao) e confirmacao do "dar ciencia em todas" na propria tela (sem confirm() nativo) */
#ml-frete .mlf-kind{display:inline-block;border-radius:6px;padding:1px 7px;margin:0 0 4px;font-size:10px;font-weight:900;letter-spacing:.02em;text-transform:uppercase;border:1px solid transparent}
#ml-frete .mlf-kind-order{color:#9cc8ff;background:rgba(59,130,246,.12);border-color:rgba(59,130,246,.38)}
#ml-frete .mlf-kind-listing{color:#f0cc69;background:rgba(214,165,43,.12);border-color:rgba(214,165,43,.42)}
#ml-frete .mlf-kind + .mlf-muted,#ml-frete .mlf-kind + .mlf-order-link,#ml-frete .mlf-kind + span{display:block}
#ml-frete .mlf-confirm{display:inline-flex;flex-wrap:wrap;align-items:center;gap:8px;color:#f5c16c;font-size:12px;font-weight:700}
#ml-frete .mlf-confirm[hidden]{display:none}
#ml-frete .mlf-ack-cancel{height:34px;border-radius:9px;border:1px solid #3b5068;background:#10243e;color:#d8e2ee;padding:0 12px;font-weight:700;font-size:12px;cursor:pointer}
#ml-frete #mlfKpiDiffSub,#ml-frete #mlfKpiCountSub{white-space:normal}
