/* DTC PAGE */
.dtc-page{padding-top: 10px;}
.dtc-top{display:flex; gap:14px; justify-content:flex-end; margin: 10px 0 14px;}
.dtc-pill{display:flex; align-items:center; gap:12px; padding:12px 14px; border-radius:16px;
  background: linear-gradient(180deg, rgba(20,22,26,.72), rgba(6,8,12,.92));
  border:1px solid rgba(255,255,255,.08); box-shadow: 0 12px 28px rgba(0,0,0,.55);}
.dtc-pill-ico{width:34px;height:34px;border-radius:12px; display:flex;align-items:center;justify-content:center;
  background: rgba(0,255,140,.10); border:1px solid rgba(0,255,140,.25);}
.dtc-pill-title{font-weight:800; letter-spacing:1px; font-size:12px; opacity:.85}
.dtc-pill-sub{font-weight:900; font-size:13px}
.dtc-flag{display:inline-flex; align-items:center; justify-content:center; width:22px; height:18px; border-radius:6px;
  background: rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.08); margin-right:8px; font-size:11px}

.dtc-header{display:grid; grid-template-columns: 1.1fr 1.2fr 1fr; gap:18px; margin-bottom:22px;}
.dtc-headcard{padding:18px 18px; border-radius:18px;
  background: linear-gradient(145deg, rgba(18,20,24,.96), rgba(8,10,14,.98));
  border:1px solid rgba(255,255,255,.08); box-shadow: 0 14px 34px rgba(0,0,0,.60);}
.dtc-headcard.center{display:flex; align-items:center; justify-content:center; gap:16px;}
.dtc-headcard.right{display:flex; align-items:center; justify-content:space-between; gap:16px;}
.dtc-headicon{width:44px;height:44px;border-radius:16px; display:flex;align-items:center;justify-content:center;
  background: rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08); font-size:18px;}
.dtc-headlabel{opacity:.75; font-weight:800; font-size:12px; letter-spacing:1px}
.dtc-headvalue{font-weight:900; font-size:15px}
.dtc-ecu{display:flex; align-items:center; gap:10px;}
.dtc-ecu-badge{padding:10px 12px; border-radius:14px; border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04); font-weight:900; letter-spacing:1px;}
.dtc-select{min-width:170px; height:40px; border-radius:14px; border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.35); color:#fff; padding:0 12px}
.dtc-ecu-img{width:76px; height:48px; border-radius:16px; background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);}
.dtc-status{display:flex; align-items:center; gap:10px; padding:12px 14px; border-radius:16px;
  background: rgba(0,255,140,.10); border:1px solid rgba(0,255,140,.25); font-weight:900;}
.dtc-status .dot{width:10px; height:10px; border-radius:50%; background: rgba(0,255,140,.95); box-shadow: 0 0 0 4px rgba(0,255,140,.12);}
.dtc-counts{display:flex; gap:10px;}
.count-pill{padding:10px 12px; border-radius:16px; border:1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.04); font-weight:900;}
.count-pill.oem{border-color: rgba(255,200,0,.22); background: rgba(255,200,0,.06);}
.count-pill.obd{border-color: rgba(0,140,255,.22); background: rgba(0,140,255,.06);}

.dtc-main{display:grid; grid-template-columns: 1fr 1.2fr; gap:18px; margin-bottom:22px;}
.card-h{display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:16px;}
.card-t{font-weight:950; letter-spacing:.5px; font-size:18px}
.drop{border:2px dashed rgba(255,255,255,.14); border-radius:18px; padding:34px 18px; text-align:center;
  background: rgba(255,255,255,.02); cursor:pointer}
.drop.drag{border-color: rgba(255,20,20,.35); background: rgba(255,20,20,.04);}
.drop.done{border-color: rgba(0,255,140,.30); background: rgba(0,255,140,.04);}
.drop-ico{font-size:28px; margin-bottom:10px}
.drop-title{font-weight:950; font-size:18px}
.drop-sub{opacity:.7; margin-top:6px}
.hint{opacity:.65; margin-top:14px}
.selected-empty{opacity:.75; margin: 18px 0}
.selected-list{display:flex; flex-direction:column; gap:10px; margin-top:8px}
.sel-item{display:flex; justify-content:space-between; align-items:center; padding:10px 12px; border-radius:14px;
  background: rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.08)}
.sel-kod{font-weight:950; letter-spacing:.6px}
.sel-badge{padding:6px 10px; border-radius:999px; background: rgba(255,20,20,.10); border:1px solid rgba(255,20,20,.28); font-weight:950; font-size:12px}
.selected-note{opacity:.65; margin-top:14px}

.dtc-table .searchbox{display:flex; align-items:center; gap:10px}
.dtc-table .searchbox label{opacity:.7}
.dtc-table .searchbox input{height:40px; min-width:260px; border-radius:14px; border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.35); color:#fff; padding:0 12px}
.table-wrap{overflow:auto; border-radius:18px; border:1px solid rgba(255,255,255,.08);}
.dtcgrid{width:100%; border-collapse:collapse; min-width:980px}
.dtcgrid th, .dtcgrid td{padding:14px 14px; border-bottom:1px solid rgba(255,255,255,.06);}
.dtcgrid th{position:sticky; top:0; background: rgba(0,0,0,.62); text-align:left; font-weight:950; letter-spacing:.8px;}
.dtcgrid td code{opacity:.8}
.empty-row td{text-align:center; padding:26px; opacity:.75}
.st{display:inline-flex; align-items:center; justify-content:center; height:26px; padding:0 10px; border-radius:999px; font-weight:950; font-size:12px;}
.st.ok{background: rgba(0,255,140,.10); border:1px solid rgba(0,255,140,.25);}
.tag{display:inline-flex; padding:6px 10px; border-radius:999px; background: rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08); font-weight:900; font-size:12px}
.mini{height:30px; padding:0 12px; border-radius:12px; border:1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.03); color:#fff; font-weight:950; cursor:pointer}
.mini.off{border-color: rgba(255,20,20,.35); background: rgba(255,20,20,.10)}
@media(max-width: 1100px){
  .dtc-header{grid-template-columns:1fr; }
  .dtc-main{grid-template-columns:1fr;}
  .dtc-top{flex-wrap:wrap; justify-content:flex-start}
}


/* V22 – limitbar + active lang */
.dtc-pill.limit .limitbar{
  margin-top:10px;
  height:6px;
  border-radius:999px;
  background: rgba(255,255,255,.10);
  overflow:hidden;
}
.dtc-pill.limit .limitfill{
  display:block;
  height:100%;
  background: linear-gradient(90deg, rgba(0,255,140,.85), rgba(0,255,140,.35));
}
.langsel{
  height:38px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.35);
  color:#fff;
  padding:0 12px;
  font-weight:900;
}
.langsel:focus{outline:none; border-color: rgba(255,20,20,.35);}


/* ON/OFF buttons + Adet */
.adet-pill{display:inline-block;padding:6px 10px;border-radius:10px;border:1px solid rgba(0,200,255,0.25);background:rgba(0,200,255,0.12);font-weight:900;font-size:11px;color:#bfefff;}
.onoff{display:flex;gap:8px;justify-content:center;}
.onoff button{cursor:pointer;border-radius:10px;padding:7px 12px;font-weight:1000;font-size:11px;border:1px solid rgba(255,255,255,0.12);background:rgba(255,255,255,0.04);color:rgba(255,255,255,0.7);}
.onoff .btn-on{border-color:rgba(0,255,140,0.25);}
.onoff .btn-off{border-color:rgba(255,60,60,0.28);}
.onoff .btn-on.active{background:rgba(0,255,140,0.14);color:#00ff8c;box-shadow:0 0 18px rgba(0,255,140,0.10);}
.onoff .btn-off.active{background:rgba(255,60,60,0.16);color:#ff4b4b;box-shadow:0 0 18px rgba(255,60,60,0.10);}
