/* FILE: app/ui/static/tc-picker.css */
/* TC-Picker (Technocable) — styled to match legacy "TechnoPicker" look via shared .btn/.input/.card */

.tcpk-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

/* card sizing فقط */
.tcpk-card{
  width: min(720px, 95vw);
  max-height: 80vh;
  overflow: auto;
  padding: 12px;
  position: relative;
}

/* head sticky شبیه همون */
.tcpk-head{
  display: flex;
  gap: 8px;
  align-items: center;
  position: sticky;
  top: 0;
  background: #0f172a; /* مثل card های صفحه materials */
  padding-bottom: 8px;
  z-index: 1;
}

.tcpk-list{
  margin-top: 8px;
  display: grid;
  gap: 6px;
}

/* آیتم‌ها الان خودشان .btn هستند؛ فقط این‌ها را enforce می‌کنیم */
.tcpk-item{
  width: 100%;
  text-align: left;
}

/* close button اندازه‌اش مثل legacy */
.tcpk-close{
  padding: 8px 10px;
}

/* (اختیاری) متن راستِ آیتم‌ها کمی جمع‌تر */
.tcpk-item .tcpk-item-inner > div:last-child{
  opacity: .9;
  white-space: nowrap;
}