
/* =========================================================
   MeR Seminovos V11 — interface intuitiva e vendas objetivas
   ========================================================= */
:root{
  --v11-yellow:#ffd400;
  --v11-yellow-soft:rgba(255,212,0,.10);
  --v11-panel:#101010;
  --v11-panel-2:#161616;
  --v11-line:rgba(255,255,255,.075);
  --v11-muted:#969696;
  --v11-danger:#ff6262;
  --v11-warning:#ffad32;
  --v11-success:#55d98b;
}
.workspace{max-width:none!important}
.page-content{padding:24px 28px 38px!important}
.topbar{
  min-height:76px!important;
  padding:16px 28px!important;
  border-bottom:1px solid rgba(255,212,0,.10)!important;
}
.topbar h2{font-size:1.2rem!important}
.sidebar{width:244px!important}
.main-nav{gap:4px!important}
.main-nav button,.main-nav a{
  min-height:43px!important;
  border-radius:12px!important;
  font-size:.76rem!important;
}
.card{
  border-radius:18px!important;
  border:1px solid var(--v11-line)!important;
}
.v11-sales{
  display:grid;
  gap:16px;
}
.v11-sales-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
}
.v11-sales-head h1{
  margin:0;
  font-size:1.35rem;
  letter-spacing:-.035em;
}
.v11-sales-head p{margin:5px 0 0}
.v11-month-control{
  display:flex;
  align-items:center;
  gap:9px;
}
.v11-month-control input{
  min-width:165px;
  height:42px;
  border-radius:12px;
}
.v11-summary{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;
}
.v11-summary-card{
  padding:14px 15px;
  border-radius:15px;
  border:1px solid var(--v11-line);
  background:linear-gradient(145deg,rgba(24,24,24,.90),rgba(10,10,10,.95));
}
.v11-summary-card span{
  display:block;
  color:var(--v11-muted);
  font-size:.61rem;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.v11-summary-card strong{
  display:block;
  margin-top:7px;
  font-size:1.06rem;
}
.v11-summary-card.attention{
  border-color:rgba(255,173,50,.22);
  background:linear-gradient(145deg,rgba(49,35,11,.68),rgba(12,12,12,.95));
}
.v11-summary-card.attention strong{color:#ffc25b!important}
.v11-controlbar{
  display:grid;
  grid-template-columns:minmax(240px,1fr) auto;
  gap:12px;
  align-items:center;
  padding:12px;
  border-radius:16px;
  border:1px solid var(--v11-line);
  background:rgba(13,13,13,.76);
}
.v11-search{
  position:relative;
}
.v11-search input{
  width:100%;
  height:42px;
  padding-left:39px!important;
  border-radius:12px!important;
}
.v11-search svg{
  position:absolute;
  left:13px;
  top:50%;
  width:17px;
  transform:translateY(-50%);
  opacity:.55;
}
.v11-filters{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
}
.v11-filter{
  height:36px;
  padding:0 12px;
  border-radius:10px;
  border:1px solid var(--v11-line);
  background:#151515;
  color:#bbb;
  font-size:.66rem;
  cursor:pointer;
}
.v11-filter.active{
  color:#080808;
  border-color:var(--v11-yellow);
  background:var(--v11-yellow);
  font-weight:800;
}
.v11-actions-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.v11-actions-row>div{display:flex;gap:7px}
.v11-results-label{
  color:var(--v11-muted);
  font-size:.67rem;
}
.v11-sale-list{
  display:grid;
  gap:8px;
}
.v11-sale-row{
  display:grid;
  grid-template-columns:minmax(215px,1.25fr) minmax(190px,1fr) minmax(180px,.9fr) 140px 105px;
  align-items:center;
  gap:14px;
  padding:14px 15px;
  border-radius:16px;
  border:1px solid var(--v11-line);
  background:
    linear-gradient(110deg,rgba(25,25,25,.94),rgba(11,11,11,.96));
  transition:.18s ease;
}
.v11-sale-row:hover{
  transform:translateY(-1px);
  border-color:rgba(255,212,0,.20);
  box-shadow:0 14px 30px rgba(0,0,0,.24);
}
.v11-sale-row.priority-high{
  border-left:3px solid var(--v11-danger);
}
.v11-sale-row.priority-medium{
  border-left:3px solid var(--v11-warning);
}
.v11-sale-row.priority-done{
  border-left:3px solid var(--v11-success);
  opacity:.83;
}
.v11-vehicle-main{
  min-width:0;
}
.v11-vehicle-title{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}
.v11-vehicle-title h3{
  margin:0!important;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:.86rem!important;
}
.v11-plate{
  display:inline-flex;
  align-items:center;
  flex:0 0 auto;
  height:22px;
  padding:0 7px;
  border-radius:7px;
  color:#f5f5f5;
  background:#252525;
  border:1px solid rgba(255,255,255,.08);
  font:700 .57rem "JetBrains Mono",monospace;
  letter-spacing:.05em;
}
.v11-buyer{
  margin:5px 0 0;
  color:var(--v11-muted);
  font-size:.65rem;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.v11-stage span,.v11-next span,.v11-progress-info span{
  display:block;
  color:var(--v11-muted);
  font-size:.57rem;
  text-transform:uppercase;
  letter-spacing:.07em;
}
.v11-stage strong,.v11-next strong{
  display:block;
  margin-top:4px;
  font-size:.68rem;
  line-height:1.35;
}
.v11-stage strong{color:#fff!important}
.v11-next strong{color:#d7d7d7!important}
.v11-progress-wrap{
  display:grid;
  grid-template-columns:1fr auto;
  align-items:center;
  gap:8px;
  margin-top:6px;
}
.v11-progress{
  height:6px;
  overflow:hidden;
  border-radius:10px;
  background:#272727;
}
.v11-progress i{
  display:block;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#b69700,var(--v11-yellow));
}
.v11-progress-value{
  color:var(--v11-yellow);
  font:800 .66rem "JetBrains Mono",monospace;
}
.v11-age{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-top:6px;
  color:#aaa;
  font-size:.61rem;
}
.v11-age::before{
  content:"";
  width:6px;height:6px;border-radius:50%;
  background:var(--v11-success);
}
.v11-age.warning::before{background:var(--v11-warning)}
.v11-age.danger::before{background:var(--v11-danger)}
.v11-row-actions{
  display:flex;
  justify-content:flex-end;
  gap:6px;
}
.v11-icon-btn{
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border-radius:10px;
  color:#ddd;
  border:1px solid var(--v11-line);
  background:#191919;
  cursor:pointer;
}
.v11-icon-btn:hover{
  color:#080808;
  border-color:var(--v11-yellow);
  background:var(--v11-yellow);
}
.v11-icon-btn svg{width:16px;height:16px}
.v11-advance{
  min-width:74px;
  height:36px;
  padding:0 10px;
  border:0;
  border-radius:10px;
  color:#080808;
  background:var(--v11-yellow);
  font-weight:850;
  font-size:.62rem;
  cursor:pointer;
}
.v11-advance:disabled{
  color:#777;
  background:#252525;
  cursor:default;
}
.v11-empty{
  padding:48px 24px;
  text-align:center;
  border-radius:18px;
  border:1px dashed rgba(255,212,0,.15);
  color:var(--v11-muted);
}
.v11-stagebar{
  display:flex;
  align-items:center;
  gap:4px;
  overflow-x:auto;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--v11-line);
  background:#0e0e0e;
}
.v11-stagebar button{
  flex:1 0 auto;
  padding:8px 10px;
  border:0;
  border-radius:9px;
  color:#888;
  background:transparent;
  font-size:.59rem;
  cursor:pointer;
}
.v11-stagebar button.active{
  color:#090909;
  background:var(--v11-yellow);
  font-weight:800;
}
.v11-stagebar button.has-items:not(.active){color:#ddd;background:#1a1a1a}
.v11-legend{
  display:flex;
  gap:14px;
  color:#898989;
  font-size:.59rem;
}
.v11-legend span{display:flex;align-items:center;gap:5px}
.v11-legend i{width:7px;height:7px;border-radius:50%;background:var(--v11-success)}
.v11-legend .warn i{background:var(--v11-warning)}
.v11-legend .late i{background:var(--v11-danger)}
@media(max-width:1350px){
  .v11-sale-row{grid-template-columns:minmax(190px,1.2fr) minmax(160px,.8fr) minmax(160px,.8fr) 130px 100px}
  .v11-summary{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:1100px){
  .v11-sale-row{grid-template-columns:1fr 1fr 125px 100px}
  .v11-next{display:none}
  .v11-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
}
