:root{--fv-navy:#0a3a63;--fv-orange:#f47a00;--fv-purple:#3b0074;--fv-bg:#f3f6fb;--fv-card:#fff;--fv-text:#071b33;--fv-muted:#65758b;--fv-line:#dce5ef;--fv-soft:#edf4fb}
*{box-sizing:border-box} body.fv-client{margin:0;background:var(--fv-bg);color:var(--fv-text);font-family:Inter,Arial,Helvetica,sans-serif;padding-bottom:92px}.fv-client-header{background:linear-gradient(135deg,var(--fv-navy),#0c4774 52%,var(--fv-orange));color:#fff;padding:24px 18px 76px;border-radius:0 0 32px 32px}.fv-client-bar{max-width:1180px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:16px}.fv-logo-mini{height:46px;max-width:190px;object-fit:contain;background:#fff;border-radius:14px;padding:7px}.fv-top-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.fv-hero{max-width:1180px;margin:28px auto 0;display:flex;justify-content:space-between;align-items:flex-end;gap:20px}.fv-hero h1{margin:12px 0 8px;font-size:clamp(28px,5vw,48px);line-height:1}.fv-hero p{margin:0;color:rgba(255,255,255,.84);font-size:17px}.fv-main{max-width:1180px;margin:-48px auto 48px;padding:0 18px}.fv-card{background:var(--fv-card);border:1px solid var(--fv-line);border-radius:24px;box-shadow:0 18px 45px rgba(7,27,51,.08);padding:22px;margin-bottom:20px}.fv-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:18px}.fv-stat{grid-column:span 3;background:#fff;border:1px solid var(--fv-line);border-radius:22px;padding:20px;box-shadow:0 12px 34px rgba(7,27,51,.07)}.fv-stat i{font-size:26px;color:var(--fv-orange)}.fv-stat span{display:block;color:var(--fv-muted);font-weight:800;margin:10px 0 6px}.fv-stat strong{font-size:34px;color:var(--fv-purple);line-height:1}.fv-actions{display:flex;flex-wrap:wrap;gap:12px}.fv-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:16px;background:var(--fv-purple);color:#fff!important;text-decoration:none;font-weight:900;padding:12px 18px;min-height:46px;cursor:pointer}.fv-btn:hover{filter:brightness(.96);color:#fff!important}.fv-btn.secondary{background:#e9ddff;color:var(--fv-purple)!important}.fv-btn.orange{background:var(--fv-orange)}.fv-btn.ghost{background:#fff;color:var(--fv-navy)!important;border:1px solid var(--fv-line)}.fv-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.fv-section-title h2,.fv-section-title h3{margin:0;font-weight:900}.fv-table-wrap{overflow-x:auto}.fv-table{width:100%;border-collapse:separate;border-spacing:0 10px}.fv-table th{text-align:left;color:#33465f;font-size:13px;text-transform:uppercase;letter-spacing:.05em;padding:0 14px}.fv-table td{background:#fff;border-top:1px solid var(--fv-line);border-bottom:1px solid var(--fv-line);padding:16px 14px;vertical-align:middle}.fv-table td:first-child{border-left:1px solid var(--fv-line);border-radius:16px 0 0 16px}.fv-table td:last-child{border-right:1px solid var(--fv-line);border-radius:0 16px 16px 0}.fv-route{font-weight:900}.fv-muted{color:var(--fv-muted)}.fv-tag{display:inline-flex;border-radius:999px;background:var(--fv-soft);color:var(--fv-navy);padding:6px 10px;font-weight:800;font-size:12px}.fv-status{display:inline-flex;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:900;background:#eef3f8;color:#0a3a63}.fv-status.success,.status-concluido{background:#e8fff1;color:#0b7a35}.fv-status.warning,.status-aberto,.status-com_propostas{background:#fff4df;color:#ad6200}.fv-status.info,.status-aceito,.status-em_coleta,.status-em_transito{background:#eaf3ff;color:#064e8f}.fv-status.danger,.status-cancelado{background:#ffecec;color:#a60000}.fv-empty{text-align:center;padding:42px 20px}.fv-empty-icon{font-size:42px;width:78px;height:78px;border-radius:24px;background:#f2eaff;display:inline-flex;align-items:center;justify-content:center;margin-bottom:12px}.fv-freight-card{display:grid;grid-template-columns:1.4fr 1fr auto;gap:16px;align-items:center;border:1px solid var(--fv-line);border-radius:22px;padding:18px;background:#fff;margin-bottom:14px}.fv-freight-card h3{margin:0 0 6px;font-weight:900}.fv-freight-card p{margin:0;color:var(--fv-muted)}.fv-bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:1000;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-top:1px solid var(--fv-line);box-shadow:0 -12px 30px rgba(7,27,51,.08);padding:8px 10px calc(8px + env(safe-area-inset-bottom));display:flex;justify-content:center;gap:8px}.fv-bottom-nav a{flex:1;max-width:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:58px;border-radius:18px;text-decoration:none;color:#52657b;font-weight:800;font-size:12px}.fv-bottom-nav a i{font-size:22px}.fv-bottom-nav a.active{background:#f2eaff;color:var(--fv-purple)}.fv-bottom-nav a.primary{background:var(--fv-orange);color:#fff}.fv-bottom-nav a:hover{background:#edf4fb;color:var(--fv-navy)}.fv-bottom-nav a.primary:hover{background:var(--fv-orange);color:#fff}
@media(max-width:860px){.fv-client-header{padding-bottom:62px}.fv-hero{display:block}.fv-main{margin-top:-36px}.fv-grid{grid-template-columns:1fr}.fv-stat{grid-column:auto}.fv-section-title{align-items:flex-start;flex-direction:column}.fv-actions .fv-btn{width:100%}.fv-freight-card{display:block}.fv-freight-card .fv-actions{margin-top:14px}.fv-table th{display:none}.fv-table,.fv-table tbody,.fv-table tr,.fv-table td{display:block;width:100%}.fv-table tr{margin-bottom:14px}.fv-table td{border:1px solid var(--fv-line);border-bottom:0;border-radius:0!important}.fv-table td:first-child{border-radius:16px 16px 0 0!important}.fv-table td:last-child{border-bottom:1px solid var(--fv-line);border-radius:0 0 16px 16px!important}.fv-table td:before{content:attr(data-label);display:block;font-size:12px;font-weight:900;color:var(--fv-muted);text-transform:uppercase;margin-bottom:4px}.fv-logo-mini{height:42px}.fv-top-actions .fv-btn{padding:10px 12px;min-height:auto}.fv-bottom-nav{gap:4px}.fv-bottom-nav a{font-size:11px;border-radius:14px}.fv-bottom-nav a i{font-size:20px}}

/* v45 - links dos cards e alertas de propostas */
.fv-stat-link{display:block;text-decoration:none;color:inherit;position:relative;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}.fv-stat-link:hover{transform:translateY(-2px);box-shadow:0 18px 42px rgba(7,27,51,.12);border-color:#cbd9e8;color:inherit}.fv-stat-link small{display:block;margin-top:8px;color:var(--fv-muted);font-weight:800}.has-badge{position:relative}.fv-badge-count,.fv-nav-badge,.fv-inline-badge{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;border-radius:999px;background:var(--fv-orange);color:#fff;font-size:12px;font-weight:950;padding:0 7px}.fv-badge-count{position:absolute;right:14px;top:14px;box-shadow:0 8px 22px rgba(244,122,0,.35)}.fv-inline-badge{height:22px;min-width:22px;margin-left:6px}.fv-nav-badge{position:absolute;top:4px;right:22%;min-width:20px;height:20px;font-size:11px}.fv-row-alert td{background:#fffaf4!important;border-color:#ffd9ad!important}.fv-new-proposal{display:inline-flex;align-items:center;gap:6px;border-radius:999px;background:#fff0df;color:#b85900;font-weight:950;padding:6px 10px;font-size:12px;margin-top:8px}.fv-filter-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 20px}.fv-filter-tabs a{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#eef4fb;color:var(--fv-navy);font-weight:900;text-decoration:none;padding:9px 14px}.fv-filter-tabs a.active,.fv-filter-tabs a:hover{background:var(--fv-purple);color:#fff}.fv-freight-card-new{border-color:#ffd19c;background:linear-gradient(90deg,#fffaf4,#fff)}.fv-proposal-card{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:center;border:1px solid var(--fv-line);border-radius:22px;background:#fff;padding:18px;box-shadow:0 14px 38px rgba(12,34,58,.06);margin-bottom:14px}.fv-proposal-new{border-color:#ffd19c;background:linear-gradient(90deg,#fffaf4,#fff)}.fv-card-headline{display:flex;align-items:center;gap:10px;justify-content:space-between;flex-wrap:wrap}.fv-card-headline h3{margin:0;font-weight:950}.fv-mini-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px;margin:12px 0;color:var(--fv-text)}.fv-rating-line{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:10px 0}.fv-rating-line span{display:inline-flex;border-radius:999px;background:#eef4fb;color:var(--fv-navy);font-weight:900;padding:6px 10px;font-size:12px}.fv-note{border:1px solid var(--fv-line);border-radius:16px;background:#f8fbff;color:var(--fv-muted);padding:12px;margin:10px 0 0}
@media(max-width:860px){.fv-proposal-card{display:block}.fv-proposal-card .fv-actions{margin-top:14px}.fv-mini-grid{grid-template-columns:1fr}.fv-nav-badge{right:12%}}

/* === FreteVago V34 - menu flutuante somente no celular ===
   O menu inferior estilo app deve aparecer apenas em telas mobile.
   No desktop/plataforma ele fica oculto para não sobrepor conteúdo. */
@media (min-width:821px){
  .fv-driver-bottom,
  .fv-account-bottom-nav,
  .fv-mobile-bottom-exact,
  .fv-bottom-nav{
    display:none!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
}

@media (max-width:820px){
  body{
    padding-bottom:max(108px, env(safe-area-inset-bottom))!important;
  }

  .fv-driver-bottom,
  .fv-account-bottom-nav.fv-mobile-bottom-exact,
  .fv-bottom-nav.fv-mobile-bottom-exact{
    position:fixed!important;
    left:50%!important;
    right:auto!important;
    bottom:max(12px, env(safe-area-inset-bottom))!important;
    transform:translateX(-50%)!important;
    width:calc(100vw - 26px)!important;
    max-width:540px!important;
    height:60px!important;
    margin:0!important;
    padding:6px 10px!important;
    display:grid!important;
    grid-template-columns:1fr 1fr 72px 1fr 1fr!important;
    align-items:center!important;
    justify-items:stretch!important;
    gap:0!important;
    border-radius:18px!important;
    border:1px solid rgba(239,232,255,.98)!important;
    background:rgba(255,255,255,.98)!important;
    box-shadow:0 12px 30px rgba(23,15,71,.14),0 2px 10px rgba(91,44,255,.10)!important;
    z-index:99999!important;
    overflow:visible!important;
    backdrop-filter:blur(16px)!important;
    -webkit-backdrop-filter:blur(16px)!important;
  }

  .fv-driver-bottom a,
  .fv-account-bottom-nav.fv-mobile-bottom-exact a,
  .fv-bottom-nav.fv-mobile-bottom-exact a{
    min-width:0!important;
    width:100%!important;
    height:48px!important;
    margin:0!important;
    padding:5px 3px!important;
    border-radius:15px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:3px!important;
    color:#526174!important;
    background:transparent!important;
    box-shadow:none!important;
    border:0!important;
    text-decoration:none!important;
    font-size:9px!important;
    line-height:1!important;
    font-weight:850!important;
    letter-spacing:-.02em!important;
    white-space:nowrap!important;
  }

  .fv-driver-bottom a i,
  .fv-account-bottom-nav.fv-mobile-bottom-exact a i,
  .fv-bottom-nav.fv-mobile-bottom-exact a i{
    font-size:15px!important;
    line-height:1!important;
    color:currentColor!important;
    margin:0!important;
  }

  .fv-driver-bottom a span,
  .fv-account-bottom-nav.fv-mobile-bottom-exact a span,
  .fv-bottom-nav.fv-mobile-bottom-exact a span{
    display:block!important;
    margin:0!important;
    color:currentColor!important;
    font-size:9px!important;
    line-height:1!important;
    font-weight:900!important;
  }

  .fv-driver-bottom a.active:not(.fv-nav-main),
  .fv-account-bottom-nav.fv-mobile-bottom-exact a.active:not(.fv-center-menu),
  .fv-bottom-nav.fv-mobile-bottom-exact a.active:not(.fv-center-menu){
    color:#5b2cff!important;
    background:#f1e9ff!important;
  }

  .fv-driver-bottom a.fv-nav-main,
  .fv-driver-bottom a:nth-child(3),
  .fv-account-bottom-nav.fv-mobile-bottom-exact a.fv-center-menu,
  .fv-bottom-nav.fv-mobile-bottom-exact a.fv-center-menu{
    position:relative!important;
    top:-18px!important;
    width:72px!important;
    height:68px!important;
    justify-self:center!important;
    align-self:center!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
    background:transparent!important;
    color:#5b2cff!important;
  }

  .fv-driver-bottom a.fv-nav-main i,
  .fv-driver-bottom a:nth-child(3) i,
  .fv-account-bottom-nav.fv-mobile-bottom-exact a.fv-center-menu i,
  .fv-bottom-nav.fv-mobile-bottom-exact a.fv-center-menu i{
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    border-radius:999px!important;
    background:linear-gradient(180deg,#783cff 0%,#4d18f6 100%)!important;
    color:#fff!important;
    font-size:24px!important;
    font-weight:950!important;
    line-height:1!important;
    border:4px solid #fff!important;
    box-shadow:0 11px 22px rgba(91,44,255,.36),0 0 0 1px rgba(91,44,255,.08)!important;
  }

  .fv-driver-bottom a.fv-nav-main span,
  .fv-driver-bottom a:nth-child(3) span,
  .fv-account-bottom-nav.fv-mobile-bottom-exact a.fv-center-menu span,
  .fv-bottom-nav.fv-mobile-bottom-exact a.fv-center-menu span{
    color:#5b2cff!important;
    font-size:9px!important;
    font-weight:950!important;
    margin-top:-1px!important;
  }
}

@media (max-width:380px){
  .fv-driver-bottom,
  .fv-account-bottom-nav.fv-mobile-bottom-exact,
  .fv-bottom-nav.fv-mobile-bottom-exact{
    width:calc(100vw - 18px)!important;
    padding-left:7px!important;
    padding-right:7px!important;
    grid-template-columns:1fr 1fr 64px 1fr 1fr!important;
  }
  .fv-driver-bottom a.fv-nav-main,
  .fv-driver-bottom a:nth-child(3),
  .fv-account-bottom-nav.fv-mobile-bottom-exact a.fv-center-menu,
  .fv-bottom-nav.fv-mobile-bottom-exact a.fv-center-menu{
    width:64px!important;
  }
}
