/* JAGRO Frota V13 - revisao cirurgica; sem alterar funcionalidade de registro */
/* Formulários e seletores: cores consistentes e foco elegante */
#managerFuelModule :is(.modal-card,.fuel-panel,.vehicles-panel),
#fuelReportModal .modal-card{font-family:Inter,'Segoe UI',Arial,sans-serif}
#managerFuelModule :is(button,input,select,textarea):focus-visible,
#fuelReportModal :is(button,input,select,textarea):focus-visible,
.jagro-fleet-v10-dialog :is(button,input):focus-visible {outline:2px solid #0b8b60!important;outline-offset:2px!important;box-shadow:0 0 0 4px rgba(11,139,96,.12)!important}
/* Modal Relatório Geral: remover cabeçalho azul herdado, compacto, 1 marcação por veículo */
.jagro-fleet-v10-overlay .jagro-fleet-v10-dialog{width:min(790px,calc(100vw - 28px))!important;border-radius:20px!important;border:1px solid #cfe7da!important}
.jagro-fleet-v10-overlay .jagro-fleet-v10-dialog>header{background:linear-gradient(112deg,#06523b,#087e58)!important;color:#fff!important;border-color:#0c7555!important;padding:16px 20px!important}
.jagro-fleet-v10-overlay .jagro-fleet-v10-dialog>header :is(h2,small,p){color:#fff!important}
.jagro-fleet-v10-overlay .jagro-fleet-v10-dialog>header small{opacity:.85!important}
.jagro-fleet-v10-overlay .jagro-fleet-v10-dialog>header p{opacity:.82!important}
.jagro-fleet-v10-overlay .jagro-fleet-v10-dialog>header button{background:rgba(255,255,255,.15)!important;border-color:rgba(255,255,255,.25)!important;color:#fff!important}
.jagro-fleet-v10-overlay .jagro-fleet-v10-item{min-height:60px!important;padding:7px 12px!important;margin:5px 0!important;gap:11px!important;transition:background .13s,border-color .13s}
.jagro-fleet-v10-overlay .jagro-fleet-v10-item:hover{border-color:#76bd9a!important;background:#f5fbf7!important}
.jagro-fleet-v10-overlay .jagro-fleet-v10-item.is-selected{background:#e8f8ed!important;border-color:#0b8559!important}
.jagro-fleet-v10-overlay .jagro-fleet-v10-item input[type=checkbox]{width:17px!important;height:17px!important;min-width:17px!important;max-width:17px!important;min-height:17px!important;max-height:17px!important;appearance:auto!important;accent-color:#087c54!important;flex:0 0 17px!important;margin:0!important}
.jagro-fleet-v10-overlay .jagro-fleet-v10-check{display:none!important}
.jagro-fleet-v10-overlay .jagro-fleet-v10-thumb{width:53px!important;height:43px!important;background:#f1f8f4!important}
.jagro-fleet-v10-overlay .jagro-fleet-v10-tools{background:#fcfefc!important}
.jagro-fleet-v10-overlay .jagro-fleet-v10-tools :is(button,input){border-color:#cce5d8!important}
.jagro-fleet-v10-overlay .jagro-fleet-v10-print:not(:disabled){background:linear-gradient(100deg,#075d42,#089765)!important;color:white!important}
/* Modal histórico: ícones menores, subtipo verde e ações sem azul */
#fuelReportModal .type-pill,
#fuelReportModal [class*='fuel-type-pill'],
#fuelReportModal .movement-type,
#fuelReportModal .fuel-move-kind{background:#e7f6ed!important;color:#08744e!important;border-color:#cfebd9!important}
#fuelReportModal :is(.movement-actions,.fuel-movement-actions,.fuel-report-actions) button{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;max-width:32px!important;padding:5px!important;border-radius:10px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
#fuelReportModal :is(.movement-actions,.fuel-movement-actions,.fuel-report-actions) button svg{width:16px!important;height:16px!important}
/* Espaçamento e rolagem aprimorados em modal de abastecimento */
#vehicleActionModal>.modal-card{scrollbar-gutter:stable!important}
#vehicleActionModal .j12-section-body{min-width:0!important}
#vehicleActionModal .j12-section{margin-bottom:12px!important}
#vehicleActionModal .j12-section--identity{padding-bottom:12px!important}
#vehicleActionModal :is(#actionVehicle,#jagroV6ActionPhoto){min-height:56px!important}
/* Botão de mais opções e controles não devem encostar nas bordas */
#managerFuelModule .fuel-module-head :is(.menu-trigger,[aria-label*='configura'],[aria-label*='opções']){margin-right:10px!important;flex:0 0 auto!important}
@media(max-width:620px){
 .jagro-fleet-v10-overlay .jagro-fleet-v10-dialog{max-height:95dvh!important}
 .jagro-fleet-v10-overlay .jagro-fleet-v10-tools{gap:6px!important;padding:10px!important}
 .jagro-fleet-v10-overlay .jagro-fleet-v10-dialog footer{padding:10px!important}
 #fuelReportModal .modal-card{max-height:96dvh!important}
}
