/* ==========================================================================
   AnyBike — admin-checklists.css
   Documentation & Motorcycle Preparation v8.2.1
   ========================================================================== */

.deal-checklists-wrap{
  display:grid;
  gap:14px;
}

.checklist-overview{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}

.checklist-overview-card{
  padding:13px 14px;
  background:#111;
  border:1px solid rgba(255,255,255,.09);
  border-radius:12px;
}

.checklist-overview-card span{
  display:block;
  color:#888;
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.06em;
  margin-bottom:7px;
}

.checklist-overview-card strong{
  display:block;
  color:#fff;
  font-size:18px;
}

.checklist-overview-card small{
  display:block;
  color:#999;
  margin-top:5px;
  font-size:12px;
}

.checklist-progress{
  height:6px;
  margin-top:10px;
  background:#242424;
  border-radius:999px;
  overflow:hidden;
}

.checklist-progress div{
  height:100%;
  width:0;
  background:#33cc66;
  border-radius:999px;
  transition:width .2s ease;
}

.checklist-section{
  background:#0f0f0f;
  border:1px solid rgba(255,255,255,.09);
  border-radius:13px;
  overflow:hidden;
}

.checklist-section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 14px;
  background:#151515;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.checklist-section-head strong{
  color:#fff;
  font-size:15px;
}

.checklist-section-head span{
  color:#999;
  font-size:12px;
  font-weight:900;
}

.checklist-list{
  display:grid;
}

.checklist-row{
  display:grid;
  grid-template-columns:minmax(220px,1fr) auto;
  gap:12px;
  align-items:center;
  min-height:58px;
  padding:10px 13px;
  border-bottom:1px solid rgba(255,255,255,.07);
}

.checklist-row:last-child{
  border-bottom:0;
}

.checklist-row:hover{
  background:#131313;
}

.checklist-item-copy{
  min-width:0;
}

.checklist-item-copy strong{
  display:block;
  color:#fff;
  font-size:13px;
  line-height:1.35;
}

.checklist-item-copy small{
  display:block;
  color:#777;
  margin-top:3px;
  font-size:11px;
  line-height:1.35;
}

.checklist-state-buttons{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.checklist-state-button{
  min-height:32px;
  margin:0 !important;
  padding:6px 9px !important;
  background:#202020 !important;
  border:1px solid rgba(255,255,255,.11) !important;
  border-radius:8px !important;
  color:#bbb !important;
  font-size:11px !important;
  font-weight:900 !important;
  box-shadow:none !important;
}

.checklist-state-button:hover{
  background:#292929 !important;
  color:#fff !important;
}

.checklist-state-button.active-waiting{
  background:rgba(255,170,0,.15) !important;
  border-color:rgba(255,170,0,.45) !important;
  color:#ffd27a !important;
}

.checklist-state-button.active-complete{
  background:rgba(51,204,102,.15) !important;
  border-color:rgba(51,204,102,.45) !important;
  color:#8cffb1 !important;
}

.checklist-state-button.active-not-required{
  background:rgba(120,120,120,.18) !important;
  border-color:rgba(180,180,180,.30) !important;
  color:#ddd !important;
}

.checklist-row.status-complete{
  background:rgba(51,204,102,.045);
}

.checklist-row.status-not_required{
  opacity:.68;
}

.checklist-status{
  display:none;
  padding:10px 12px;
  border-radius:10px;
  background:#151515;
  border:1px solid rgba(255,255,255,.10);
  color:#ddd;
  font-size:13px;
  font-weight:800;
}

.checklist-status.show{
  display:block;
}

.checklist-status.success{
  color:#8cffb1;
  border-color:rgba(51,204,102,.40);
  background:rgba(51,204,102,.08);
}

.checklist-status.error{
  color:#ff9b9b;
  border-color:rgba(237,28,36,.45);
  background:rgba(237,28,36,.08);
}

.checklist-loading,
.checklist-empty{
  padding:18px;
  text-align:center;
  color:#999;
  background:#111;
  border:1px dashed rgba(255,255,255,.17);
  border-radius:12px;
}

@media(max-width:760px){
  .checklist-overview{
    grid-template-columns:1fr;
  }

  .checklist-row{
    grid-template-columns:1fr;
    align-items:start;
  }

  .checklist-state-buttons{
    justify-content:flex-start;
  }

  .checklist-state-button{
    flex:1 1 auto;
  }
}
