/* ================================================================
   CTECH SERVICE PLATFORM — ADMIN.CSS
   Admin Panel görünüşü (adm-*) — yalnız masaüstü (≥901px)
   Dark mode: yalnız bu faylın elementlərinə aid hissələr
   ================================================================ */

/* ═══════════════════════════════════════════════════════════════
   ADMIN PANEL — YALNIZ VEB (MASAÜSTÜ) VERSİYA
   Tamamilə yeni, müstəqil "adm-" prefiksli class-lar — heç bir
   mövcud görünüşə (dashboard, service, report və s.) toxunmur.
   ═══════════════════════════════════════════════════════════════ */
#adminPanelView{
  display:none;
  position:fixed; top:0; left:0; width:100%; height:100%;
  background:#F4F8FD;
  background-image:radial-gradient(circle at 12% 8%,rgba(59,130,246,.10),transparent 45%),radial-gradient(circle at 90% 90%,rgba(78,147,250,.10),transparent 45%);
  z-index:70;
  flex-direction:column;
  overflow:hidden;
}
@media (max-width:900px){
  #adminPanelView{ display:none !important; }
}
/* v5.29 FİKS: svcImportGuideModal .dinv-modal-overlay class-ından (z-index:55) istifadə
   edir — #adminPanelView (z-index:70) onun ÜSTÜNDƏ qalıb gizlədirdi (Admin Panel
   ekranlarından açılanda görünmürdü). Bu popup ən yüksək təbəqədə olmalıdır. */
#svcImportGuideModal{ z-index:96 !important; }

.adm-header{
  flex:0 0 auto;
  display:grid; grid-template-columns:1fr auto 1fr;
  align-items:center;
  padding:14px 28px;
  background:#FFFFFF;
  border-bottom:1px solid #E7ECF6;
}
.adm-home-btn{
  width:38px; height:38px; border-radius:11px;
  background:#EEF3FC; border:none; color:#12233B;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; justify-self:start;
}
.adm-home-btn:hover{ background:#E1EAF6; }
.adm-logo{
  justify-self:center;
  font-family:'Inter',sans-serif; font-weight:800; font-size:19px; letter-spacing:.3px;
  color:#12233B;
}
.adm-logo span{ color:#2F6FED; }
.adm-profile-chip{
  justify-self:end;
  display:flex; align-items:center; gap:10px;
  background:#F7F9FE; border:1px solid #E7ECF6;
  border-radius:14px; padding:6px 14px 6px 6px;
  cursor:pointer;
}
.adm-profile-avatar{
  width:34px; height:34px; border-radius:10px;
  background:#2F6FED; color:#fff;
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.adm-profile-text{ line-height:1.25; }
.adm-profile-name{ font-size:13.5px; font-weight:700; color:#12233B; }
.adm-profile-role{ font-size:11.5px; color:#8CA0BC; font-weight:600; }
.adm-profile-caret{ color:#8CA0BC; margin-left:2px; }

.adm-body{ flex:1 1 auto; display:flex; min-height:0; }

/* v4.91: Admin panel bölmə MENYUSU — yan menyu ləğv edildi, əvəzinə yumru
     qutucuqlar. Hər qutucuq real keçiddir (#admin#bölmə) — sağ kliklə yeni tabda
     açılır. Bütün qutucuqlar bir ekranda, scroll OLMADAN. */
.adm-menu{
  flex:1 1 auto; min-width:0;
  display:flex; align-items:center; justify-content:center;
  overflow:hidden;
  padding:26px 34px;
  background:transparent;
}
.adm-menu-grid{
  width:100%; max-width:1240px;
  display:grid; grid-template-columns:repeat(auto-fill, minmax(158px, 1fr));
  gap:18px; align-content:center; justify-content:center;
}
.adm-menu-item{
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:11px; padding:22px 12px 20px;
  background:#FFFFFF; border:1px solid #DDE6F5; border-radius:16px;
  text-decoration:none; color:#12233B;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  box-shadow:0 4px 14px rgba(30,68,130,.08);
}
.adm-menu-item:hover{
  transform:translateY(-4px);
  border-color:#2F6FED;
  box-shadow:0 14px 30px rgba(47,111,237,.16);
}
.adm-menu-item:active{ transform:translateY(-1px) scale(.98); }
.adm-menu-ico{
  width:50px; height:50px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:#EAF2FE; color:#2F6FED;
  transition:background .18s ease, color .18s ease, transform .18s ease;
}
.adm-menu-item:hover .adm-menu-ico{
  background:#2F6FED; color:#FFFFFF; transform:scale(1.06);
}
.adm-menu-name{
  font-family:'Inter',sans-serif; font-size:13px; font-weight:700;
  color:#12233B; text-align:center; line-height:1.3; letter-spacing:.1px;
}
@media(max-width:1100px){
  .adm-menu-grid{ grid-template-columns:repeat(auto-fill, minmax(140px, 1fr)); gap:14px; }
}
/* Qısa ekranlarda (laptop 768p) bütün qutucuqlar bir ekrana sığsın — yığcam ölçülər */
@media(max-height:780px){
  .adm-menu{ padding:14px 30px; }
  .adm-menu-grid{ gap:12px; }
  .adm-menu-item{ padding:14px 10px 12px; gap:8px; border-radius:18px; }
  .adm-menu-ico{ width:40px; height:40px; }
  .adm-menu-name{ font-size:12.5px; }
}

.adm-content{
  flex:1 1 auto; min-width:0;
  overflow-y:auto; -webkit-overflow-scrolling:touch;
  padding:28px 32px 40px;
}
.adm-section-head{
  display:flex; align-items:flex-start; justify-content:space-between;
  gap:16px; flex-wrap:wrap;
  margin-bottom:22px;
}
.adm-breadcrumb{ font-size:12.5px; color:#8CA0BC; font-weight:600; margin-bottom:6px; }
.adm-breadcrumb span{ margin:0 4px; }
/* v4.91: bölmə daxilində breadcrumb kliklə menyuya qayıdış pilli */
#admSectionView .adm-breadcrumb{
  cursor:pointer; user-select:none;
  display:inline-flex; align-items:center; gap:6px;
  padding:6px 13px 6px 9px; margin-bottom:10px;
  border:1px solid #E7ECF6; border-radius:999px; background:#FFFFFF;
  color:#5C7089;
  transition:all .16s ease;
}
#admSectionView .adm-breadcrumb::before{
  content:'';
  width:7px; height:7px; border-left:2px solid #2F6FED; border-bottom:2px solid #2F6FED;
  transform:rotate(45deg); display:inline-block; margin-right:2px;
}
#admSectionView .adm-breadcrumb span{ margin:0; }
#admSectionView .adm-breadcrumb:hover{
  color:#2F6FED; border-color:#2F6FED; background:#F4F8FF;
}
.adm-title{ font-size:26px; font-weight:800; color:#12233B; letter-spacing:.2px; }
.adm-add-btn{
  display:flex; align-items:center; gap:8px;
  background:#2F6FED; color:#fff; border:none;
  padding:11px 20px; border-radius:11px;
  font-family:'Inter',sans-serif; font-weight:700; font-size:13.5px;
  cursor:pointer; box-shadow:0 8px 18px rgba(47,111,237,.25);
  white-space:nowrap;
}
.adm-add-btn:hover{ background:#2660D6; }

.adm-stats-row{
  display:grid; grid-template-columns:repeat(5,1fr); gap:16px;
  margin-bottom:22px;
}
.adm-stat-card{
  background:#FFFFFF; border-radius:16px; padding:18px 18px;
  display:flex; align-items:center; gap:14px;
  box-shadow:0 6px 18px rgba(30,68,130,.05);
  border:1px solid #EEF2FA;
}
.adm-stat-icon{
  width:50px; height:50px; border-radius:14px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
}
.adm-c-blue  { background:#E6F1FB; color:#2F6FED; }
.adm-c-green { background:#E5F6ED; color:#188A4B; }
.adm-c-orange{ background:#FDF1E3; color:#D97706; }
.adm-c-purple{ background:#EFE7FB; color:#6E3FD1; }
.adm-c-teal  { background:#E0F7FA; color:#0891B2; }
.adm-c-red   { background:#FEE2E2; color:#DC2626; }
.adm-stat-label{ font-size:12px; color:#8CA0BC; font-weight:700; }
.adm-stat-value{ font-size:24px; font-weight:800; color:#12233B; line-height:1.25; }
.adm-stat-sub{ font-size:11.5px; color:#9AACC4; font-weight:600; }

.adm-toolbar{
  display:flex; align-items:center; gap:12px; margin-bottom:18px;
}
.adm-search-wrap{
  flex:1 1 auto; min-width:200px; position:relative;
  display:flex; align-items:center;
  background:#FFFFFF; border:1.5px solid #E7ECF6; border-radius:11px;
  padding:0 14px; height:42px;
}
.adm-search-wrap svg{ color:#9AACC4; flex-shrink:0; }
.adm-search-wrap input{
  border:none; outline:none; background:none; width:100%;
  padding:0 0 0 10px; font-size:13.5px; font-family:'Inter',sans-serif; color:#12233B;
}
.adm-search-wrap input::placeholder{ color:#B0C0D6; }
/* v4.68: TVM SAM/SİM modal select */
.adm-select{
  width:100%; height:42px; padding:0 12px; border-radius:11px;
  border:1.5px solid #E7ECF6; background:#FFFFFF;
  font-family:'Inter',sans-serif; font-size:13.5px; font-weight:600; color:#12233B;
  outline:none;
}
.adm-select:focus{ border-color:#2F6FED; }
.adm-filter-select{
  height:42px; padding:0 34px 0 14px; border-radius:11px;
  border:1.5px solid #E7ECF6; background:#FFFFFF;
  font-family:'Inter',sans-serif; font-size:13.5px; font-weight:600; color:#12233B;
  cursor:pointer;
  appearance:none; -webkit-appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235C7089' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 13px center;
}
.adm-export-btn{
  height:42px; display:flex; align-items:center; gap:8px;
  padding:0 18px; border-radius:11px;
  background:#FFFFFF; border:1.5px solid #E7ECF6; color:#12233B;
  font-family:'Inter',sans-serif; font-weight:700; font-size:13.5px;
  cursor:pointer; white-space:nowrap;
}
.adm-export-btn:hover{ background:#F7F9FE; }

.adm-table-wrap{
  background:#FFFFFF; border-radius:16px; border:1px solid #EEF2FA;
  overflow-x:auto;
  box-shadow:0 6px 18px rgba(30,68,130,.04);
}
.adm-table{ width:100%; border-collapse:collapse; min-width:720px; }
.adm-table thead th{
  text-align:left; font-size:11.5px; font-weight:700; color:#8CA0BC;
  letter-spacing:.3px; text-transform:uppercase;
  padding:14px 18px; border-bottom:1px solid #EEF2FA; white-space:nowrap;
}
.adm-table tbody td{
  padding:13px 18px; font-size:13.5px; color:#33445E; font-weight:500;
  border-bottom:1px solid #F3F6FB; white-space:nowrap;
}
.adm-table tbody tr:last-child td{ border-bottom:none; }
.adm-table tbody tr:hover{ background:#FAFBFE; }
.adm-mono{ font-family:'IBM Plex Mono',monospace; font-size:12.5px; }
.adm-name-cell{ display:flex; align-items:center; gap:10px; font-weight:700; color:#12233B; }
.adm-avatar{
  width:34px; height:34px; border-radius:50%; flex-shrink:0;
  background:#EAF2FE; color:#2F6FED;
  display:flex; align-items:center; justify-content:center;
  font-size:12px; font-weight:800;
}
.adm-pill{
  display:inline-flex; align-items:center; padding:4px 12px;
  border-radius:20px; font-size:11.5px; font-weight:700;
}
.adm-pill-blue  { background:#E6F1FB; color:#2F6FED; }
.adm-pill-purple{ background:#EFE7FB; color:#6E3FD1; }
.adm-pill-green { background:#E5F6ED; color:#188A4B; }
.adm-pill-amber { background:#FFF5E6; color:#B8730A; }
.adm-pill-teal  { background:#E3F5F2; color:#0E8C7A; }
.adm-status{ display:inline-flex; align-items:center; gap:6px; font-size:13px; font-weight:700; }
.adm-status::before{ content:""; width:7px; height:7px; border-radius:50%; }
.adm-status-active{ color:#188A4B; }
.adm-status-active::before{ background:#3FCB78; }
.adm-status-inactive{ color:#D97706; }
.adm-status-inactive::before{ background:#F0A63B; }
.adm-th-act{ text-align:right; }
td.adm-th-act{ display:flex; justify-content:flex-end; gap:8px; }
.adm-icon-btn{
  width:32px; height:32px; border-radius:9px;
  border:1.5px solid #E7ECF6; background:#FFFFFF; color:#5C7089;
  display:inline-flex; align-items:center; justify-content:center;
  cursor:pointer;
}
.adm-icon-btn svg{ width:14px; height:14px; }
.adm-icon-btn:hover{ background:#F7F9FE; color:#2F6FED; border-color:#C9D8F2; }
.adm-icon-btn-danger:hover{ color:#DC2626; border-color:#F6C9C9; background:#FEF2F2; }
.adm-icon-btn-unlock{ color:#D97706; border-color:#FBE3B8; }
.adm-icon-btn-unlock:hover{ color:#D97706; background:#FFFBEB; border-color:#F5C978; }

.adm-status-cell{ display:flex; flex-direction:column; align-items:flex-start; gap:4px; }
.adm-locked-badge{
  font-size:11px; font-weight:700; color:#DC2626;
  background:#FEF2F2; border:1px solid #F6C9C9; border-radius:8px;
  padding:2px 8px; white-space:nowrap;
}
.adm-failed-badge{
  font-size:11px; font-weight:700; color:#D97706;
  background:#FFFBEB; border:1px solid #FBE3B8; border-radius:8px;
  padding:2px 8px; white-space:nowrap;
}

.adm-pagination{
  display:flex; align-items:center; justify-content:space-between;
  margin-top:18px;
}
.adm-page-info{ font-size:12.5px; color:#8CA0BC; font-weight:600; }
.adm-page-btns{ display:flex; align-items:center; gap:6px; }
.adm-page-btn{
  min-width:34px; height:34px; padding:0 6px;
  border-radius:9px; border:1.5px solid #E7ECF6; background:#FFFFFF; color:#5C7089;
  display:flex; align-items:center; justify-content:center;
  font-family:'Inter',sans-serif; font-size:13px; font-weight:700;
  cursor:pointer;
}
.adm-page-btn:hover{ background:#F7F9FE; }
.adm-page-btn-active{ background:#2F6FED; border-color:#2F6FED; color:#fff; }

@media (max-width:1300px){
  .adm-stats-row{ grid-template-columns:repeat(3,1fr); }
}

/* ── Admin Panel: Add/Edit modal + Delete confirm ── */
.adm-empty{ padding:40px 0; text-align:center; color:#9AACC4; font-size:13.5px; font-weight:600; }
.adm-modal-overlay{
  display:none; position:fixed; inset:0; z-index:80;
  background:rgba(18,35,59,.5);
  align-items:center; justify-content:center; padding:20px;
}
.adm-modal-overlay.open{ display:flex; }
.adm-modal{
  background:#FFFFFF; border-radius:18px; width:100%; max-width:440px;
  box-shadow:0 30px 70px rgba(0,0,0,.25);
  max-height:88vh; display:flex; flex-direction:column;
}
.adm-modal-sm{ max-width:380px; }
.adm-modal-head{
  display:flex; align-items:center; justify-content:space-between;
  padding:20px 22px 0;
}
.adm-modal-title{ font-size:17px; font-weight:800; color:#12233B; }
.adm-modal-close{
  width:30px; height:30px; border-radius:9px; border:none; background:#F0F4FB; color:#5C7089;
  display:flex; align-items:center; justify-content:center; cursor:pointer;
}
.adm-modal-close:hover{ background:#E1EAF6; }
.adm-modal-body{ padding:18px 22px; overflow-y:auto; }
.adm-form-field{ margin-bottom:14px; }
.adm-form-field label{ display:block; font-size:12.5px; font-weight:700; color:#5C7089; margin-bottom:6px; }
.adm-form-field input, .adm-form-field select, .adm-form-field textarea{
  width:100%; padding:11px 13px; border:1.5px solid #DCE6F5; border-radius:10px;
  font-size:14px; font-family:'Inter',sans-serif; color:#12233B; outline:none; box-sizing:border-box;
  background:#F8FAFD;
}
.adm-form-field textarea{ resize:vertical; min-height:90px; font-family:'IBM Plex Mono',monospace; line-height:1.6; }
.adm-form-field input:focus, .adm-form-field select:focus, .adm-form-field textarea:focus{ border-color:#2F6FED; background:#fff; }

/* v4.19: Şifrə gücü göstəricisi (admin panel password sahələri) */
.pw-meter{ display:flex; align-items:center; gap:9px; margin-top:8px; }
.pw-meter-bar{ flex:1; height:6px; background:#E6F1FB; border-radius:3px; overflow:hidden; }
.pw-meter-fill{ height:100%; width:0; border-radius:3px; background:#E24B4A; transition:width .25s ease, background .25s ease; }
.pw-meter-label{ font-size:11.5px; font-weight:700; color:#8CA0BC; min-width:42px; text-align:right; letter-spacing:.3px; }
body.dark-mode .pw-meter-bar{ background:#1C2A3D; }

.adm-msg-compose{
  background:#FFFFFF; border:1px solid #E1EAF6; border-radius:16px;
  padding:20px 22px; margin-bottom:28px; max-width:640px;
}
body.dark-mode .adm-msg-compose{ background:#16212E; border-color:#3E5578; }
.adm-msg-compose-title{ font-size:15px; font-weight:800; color:#12233B; margin-bottom:16px; }
body.dark-mode .adm-msg-compose-title{ color:#E8EEF5; }

/* ═══ v4.32 ANA SƏHİFƏ KONFİQ QUTUCUQLARI (Home Dashboards redaktoru) ═══
   Hər qutucuq: sürüşdürmə (drag) tutacağı + ▲▼ düymələri ilə yer dəyişmə.
   4+4 quruluşu (4 qutucuq × 2 slayd) qorunur. */
.adm-hd-box{
  margin-bottom:0; position:relative;
  transition:border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.adm-hd-box.dragging{ opacity:.55; border-style:dashed; }
.adm-hd-box.hd-drag-over{
  border-color:#2F6FED; border-style:dashed; box-shadow:0 0 0 3px rgba(47,111,237,.18);
}
.adm-hd-box-head{
  display:flex; align-items:center; gap:8px;
  padding:10px 12px; margin:-6px -8px 12px;
  border-radius:12px; background:#F0F6FE;
  cursor:grab; user-select:none;
}
.adm-hd-box-head:active{ cursor:grabbing; }
.adm-hd-grip{ display:flex; align-items:center; color:#8CA0BC; flex-shrink:0; }
.adm-hd-box-title{ font-size:14px; font-weight:800; color:#12233B; }
.adm-hd-sub{ font-size:11px; font-weight:700; color:#9AACC4; letter-spacing:.4px; text-transform:uppercase; }
.adm-hd-move{ margin-left:auto; display:flex; gap:6px; }
.adm-hd-mv-btn{
  width:26px; height:26px; border-radius:8px; border:1px solid #DCE6F5; background:#FFFFFF;
  color:#5C7089; display:flex; align-items:center; justify-content:center; cursor:pointer;
  transition:background .12s ease, color .12s ease;
}
.adm-hd-mv-btn:hover:not(:disabled){ background:#2F6FED; border-color:#2F6FED; color:#FFFFFF; }
.adm-hd-mv-btn:disabled{ opacity:.35; cursor:not-allowed; }
.adm-hd-slide{
  border-top:1px dashed #D8E3F2; padding-top:10px; margin-top:10px;
}
.adm-hd-box-head + .adm-hd-slide{ border-top:none; padding-top:0; margin-top:0; }
.adm-hd-slide-tag{
  display:inline-flex; align-items:center; gap:6px; font-size:11px; font-weight:800;
  color:#2F6FED; background:#EAF1FE; border-radius:999px; padding:3px 10px; margin-bottom:10px;
  letter-spacing:.3px; text-transform:uppercase;
}
body.dark-mode .adm-hd-box-head{ background:#1C2A3D; }
body.dark-mode .adm-hd-box-title{ color:#E8EEF5; }
body.dark-mode .adm-hd-grip{ color:#8CA0BC; }
body.dark-mode .adm-hd-mv-btn{ background:#1C2A3D; border-color:#3E5578; color:#8CA0BC; }
body.dark-mode .adm-hd-mv-btn:hover:not(:disabled){ background:#2F6FED; border-color:#2F6FED; color:#FFFFFF; }
body.dark-mode .adm-hd-slide-tag{ background:#1E3A5F; color:#8FB4EA; }
body.dark-mode .adm-hd-box.hd-drag-over{ box-shadow:0 0 0 3px rgba(78,147,250,.25); }
.adm-msg-row{ display:flex; gap:14px; }
.adm-msg-hint{ font-size:12px; color:#9AACC4; font-weight:600; margin-bottom:14px; }
.adm-msg-history-title{ font-size:14px; font-weight:800; color:#12233B; margin-bottom:12px; }
body.dark-mode .adm-msg-history-title{ color:#E8EEF5; }
.adm-form-row{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.adm-form-error{
  background:#FEF2F2; color:#DC2626; border:1px solid #F6C9C9;
  border-radius:10px; padding:10px 13px; font-size:12.5px; font-weight:600;
}
.adm-modal-foot{
  display:flex; gap:10px; padding:16px 22px 22px;
}
.adm-modal-cancel, .adm-modal-save{
  flex:1; padding:11px 0; border-radius:11px; font-family:'Inter',sans-serif;
  font-weight:700; font-size:13.5px; cursor:pointer; border:none;
}
.adm-modal-cancel{ background:#F0F4FB; color:#33445E; }
.adm-modal-cancel:hover{ background:#E1EAF6; }
.adm-modal-save{ background:#2F6FED; color:#fff; }  .adm-modal-save:hover{ background:#2660D6; }
  .adm-modal-save-danger{ background:#DC2626; }
  .adm-modal-save-danger:hover{ background:#C31414; }
  .adm-modal-save-unlock{ background:#D97706; }
  .adm-modal-save-unlock:hover{ background:#B8630A; }

/* ═══ v4.59 SIFIRLAMA — checkbox siyahıları ═══ */
.adm-reset-items{ display:flex; flex-direction:column; gap:8px; }
.adm-reset-item{
  display:flex; align-items:flex-start; gap:10px; padding:9px 11px;
  background:#F4F8FD; border:1px solid #E4ECF7; border-radius:9px;
  font-size:12.5px; color:#33425C; line-height:1.35; cursor:pointer;
  transition:border-color .12s ease, background .12s ease;
}
.adm-reset-item:hover{ border-color:#B7CCEB; background:#EEF5FD; }
.adm-reset-item input{ margin-top:2px; width:15px; height:15px; accent-color:#E11D2E; cursor:pointer; flex-shrink:0; }
.adm-reset-item b{ color:#12233B; font-size:12.5px; }
.adm-reset-item .adm-reset-sub{ font-size:11px; color:#8B95AF; }
.adm-reset-checkall{
  display:inline-flex; align-items:center; gap:6px;
  font-size:12px; font-weight:700; color:#12233B; cursor:pointer; white-space:nowrap;
}
.adm-reset-checkall input{ width:14px; height:14px; accent-color:#2F6FED; cursor:pointer; }

/* ═══ v4.20 TƏHLÜKƏSİZLİK BÖLMƏSİ ═══ */
.adm-sec-filters{ display:flex; gap:10px; margin-bottom:14px; flex-wrap:wrap; }
.adm-sec-filters select, .adm-sec-filters input[type="text"]{
  padding:10px 13px; border:1.5px solid #DCE6F5; border-radius:10px; font-size:13px;
  font-family:'Inter',sans-serif; color:#12233B; outline:none; background:#F8FAFD; box-sizing:border-box;
}
.adm-sec-filters select{ min-width:190px; }
.adm-sec-filters input[type="text"]{ min-width:260px; flex:1 1 auto; }
.adm-sec-filters select:focus, .adm-sec-filters input[type="text"]:focus{ border-color:#2F6FED; background:#fff; }
.adm-sec-title{ font-size:13.5px; font-weight:800; color:#12233B; margin-bottom:12px; }
body.dark-mode .adm-sec-title{ color:#E8EEF5; }
.adm-sec-cards{ display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:12px; margin-bottom:6px; }
.adm-sec-card{
  background:#fff; border:1px solid #E1EAF6; border-radius:14px; padding:14px 16px;
  box-shadow:0 2px 10px rgba(18,35,59,.04); transition:transform .15s ease, box-shadow .15s ease;
}
.adm-sec-card:hover{ transform:translateY(-2px); box-shadow:0 6px 18px rgba(18,35,59,.08); }
body.dark-mode .adm-sec-card{ background:#16212E; border-color:#3E5578; }
.adm-sec-card-value{ font-size:24px; font-weight:800; line-height:1.1; margin-bottom:4px; }
.adm-sec-card-label{ font-size:11.5px; font-weight:600; color:#7A8CA3; line-height:1.35; }
.adm-sec-stat-total{ color:#2F6FED; } .adm-sec-stat-ok{ color:#0E8C7A; } .adm-sec-stat-warn{ color:#D97706; }
.adm-sec-stat-danger{ color:#DC2626; } .adm-sec-stat-amber{ color:#B45309; } .adm-sec-stat-purple{ color:#7C5CD6; }
.adm-sec-week{ display:flex; gap:10px; align-items:flex-end; min-height:150px; padding:16px; background:#fff; border:1px solid #E1EAF6; border-radius:14px; }
body.dark-mode .adm-sec-week{ background:#16212E; border-color:#3E5578; }
.adm-sec-week-day{ flex:1 1 0; display:flex; flex-direction:column; align-items:center; gap:6px; min-width:0; }
.adm-sec-week-bar{ position:relative; width:100%; max-width:42px; height:110px; background:#EEF3FA; border-radius:8px; overflow:hidden; display:flex; align-items:flex-end; justify-content:center; }
body.dark-mode .adm-sec-week-bar{ background:#1C2A3C; }
.adm-sec-week-fill{ position:absolute; bottom:0; width:100%; border-radius:8px 8px 0 0; transition:height .4s ease; }
.adm-sec-week-fill-total{ background:linear-gradient(180deg,#4E93FA,#2F6FED); opacity:.35; }
.adm-sec-week-fill-ok{ background:linear-gradient(180deg,#4ED9A8,#0E8C7A); }
.adm-sec-week-label{ font-size:11px; font-weight:800; color:#5C7089; }
.adm-sec-week-sub{ font-size:10px; font-weight:600; color:#9AACC4; }
.adm-sec-foot{ margin-top:12px; font-size:12px; color:#9AACC4; font-weight:600; }
.adm-sec-pagefoot{ display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.adm-sec-ts{ font-family:'IBM Plex Mono',monospace; font-size:12.5px; color:#5C7089; white-space:nowrap; }
.adm-sec-detail{ color:#7A8CA3; font-size:12.5px; word-break:break-word; }
.adm-sec-badge{ display:inline-block; padding:3px 10px; border-radius:999px; font-size:11px; font-weight:800; white-space:nowrap; }
.adm-sec-badge-ok{ background:#E4F5F2; color:#0E8C7A; }
.adm-sec-badge-warn{ background:#FDF3E3; color:#C9821B; }
.adm-sec-badge-danger{ background:#FDE8E8; color:#DC2626; }
.adm-sec-badge-amber{ background:#FDF3E3; color:#B45309; }
.adm-sec-badge-purple{ background:#F1EBFD; color:#7C5CD6; }
.adm-sec-badge-gray{ background:#EEF3FA; color:#5C7089; }
.adm-sec-badge-cyan{ background:#E4F5FA; color:#0E7490; }
body.dark-mode .adm-sec-badge-ok{ background:#14352E; color:#7FDBC9; }
body.dark-mode .adm-sec-badge-cyan{ background:#123B44; color:#5EEAD4; }
body.dark-mode .adm-sec-badge-warn{ background:#3A2E17; color:#F0C36D; }

/* ═══ v4.93 PIN TƏHLÜKƏSİZLİK (Admin) ═══ */
.adm-pin-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:6px;
  border-radius:10px;border:1.5px solid transparent;
  padding:8px 14px;font-size:12.5px;font-weight:700;cursor:pointer;
  transition:background .15s,box-shadow .15s,transform .08s;white-space:nowrap;
}
.adm-pin-btn:active{ transform:scale(.96); }
.adm-pin-btn:disabled{ opacity:.4; cursor:not-allowed; }
.adm-pin-btn-unlock{ background:#EAF2FE; color:#1B5FD9; border-color:#C4DCFB; }
.adm-pin-btn-unlock:not(:disabled):hover{ background:#DBEAFE; box-shadow:0 4px 12px rgba(27,95,217,.18); }
.adm-pin-btn-reset{ background:#FFF3E4; color:#C2650F; border-color:#F6D9B2; }
.adm-pin-btn-reset:hover{ background:#FFE9CC; box-shadow:0 4px 12px rgba(194,101,15,.18); }
.adm-pin-row-locked{ background:#FEF3F3 !important; }
.adm-pin-row-locked td{ border-color:#F6D0D0 !important; }
body.dark-mode .adm-pin-row-locked{ background:#2A1518 !important; }
body.dark-mode .adm-pin-btn-unlock{ background:#15273F; color:#7FA8F0; border-color:#2B4A78; }
body.dark-mode .adm-pin-btn-reset{ background:#33230F; color:#F0B06B; border-color:#5C3E1A; }
body.dark-mode .adm-sec-badge-danger{ background:#3A1D1D; color:#F28B82; }
body.dark-mode .adm-sec-badge-amber{ background:#3A2E17; color:#F0C36D; }
body.dark-mode .adm-sec-badge-purple{ background:#2A2340; color:#C4A8F0; }
body.dark-mode .adm-sec-badge-gray{ background:#1C2A3C; color:#9CB2CE; }

/* ═══ v4.20 İCAZƏLƏR BÖLMƏSİ ═══ */
.adm-perm-matrix{ background:#fff; border:1px solid #E1EAF6; border-radius:16px; padding:18px 20px; margin-bottom:26px; }
body.dark-mode .adm-perm-matrix{ background:#16212E; border-color:#3E5578; }
.adm-perm-matrix-title{ font-size:15px; font-weight:800; color:#12233B; margin-bottom:14px; }
body.dark-mode .adm-perm-matrix-title{ color:#E8EEF5; }
.adm-perm-matrix-scroll{ overflow-x:auto; }
.adm-perm-table{ border-collapse:collapse; width:100%; }
.adm-perm-table th, .adm-perm-table td{ border:1px solid #E6EEF8; padding:7px 10px; text-align:center; font-size:12.5px; }
.adm-perm-table thead th{ background:#F4F8FD; color:#33445E; font-size:12px; font-weight:800; white-space:nowrap; }
body.dark-mode .adm-perm-table th, body.dark-mode .adm-perm-table td{ border-color:#33496B; }
body.dark-mode .adm-perm-table thead th{ background:#1C2A3C; color:#C7D5E8; }
.adm-perm-table .adm-perm-first{ text-align:left; font-weight:600; color:#33445E; min-width:200px; }
body.dark-mode .adm-perm-table .adm-perm-first{ color:#C7D5E8; }
.adm-perm-role{ min-width:96px; }
.adm-perm-group-row td{ background:#EFF5FC; font-size:12px; font-weight:800; letter-spacing:.03em; color:#2F6FED; text-align:left; text-transform:uppercase; }
body.dark-mode .adm-perm-group-row td{ background:#1C2A3C; color:#7FB0F0; }
.adm-perm-cell{ }
.adm-perm-table input[type="checkbox"]{ width:16px; height:16px; accent-color:#2F6FED; cursor:pointer; }
.adm-perm-table input[type="checkbox"]:disabled{ cursor:not-allowed; opacity:.7; }
.adm-perm-matrix-note{ margin-top:12px; font-size:11.5px; color:#9AACC4; font-weight:600; }

/* v4.23: İcazələr bölməsi — "Dəyişiklikləri yadda saxla" düyməsi (yeri + həcmi)
   Köhnə .adm-modal-save modal ayağı üçün nəzərdə tutulmuşdu (flex:1, padding:11px 0) —
   bölmə başlığında sıxılıb qırışırdı. Ayrıca, düzgün ölçülü və ikonalı düymə: */
.adm-perm-save-btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:11px 20px; border-radius:11px; border:none;
  background:linear-gradient(135deg,#4E93FA,#2F6FED); color:#fff;
  font-family:'Inter',sans-serif; font-size:13.5px; font-weight:700;
  cursor:pointer; white-space:nowrap;
  box-shadow:0 6px 18px rgba(47,111,237,.28);
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.adm-perm-save-btn:hover{ transform:translateY(-1px); box-shadow:0 8px 22px rgba(47,111,237,.36); background:linear-gradient(135deg,#3D86FA,#2660D6); }
.adm-perm-save-btn:active{ transform:translateY(0); }
.adm-perm-save-btn:disabled{ opacity:.65; cursor:not-allowed; transform:none; box-shadow:none; }
body.dark-mode .adm-perm-save-btn{ background:linear-gradient(135deg,#3D86FA,#2F6FED); }

/* v4.23: saxla/xəta bildirişi (alert əvəzinə) */
.adm-perm-toast{
  position:fixed; right:22px; bottom:22px; z-index:9999;
  max-width:380px; padding:13px 18px; border-radius:12px;
  font-family:'Inter',sans-serif; font-size:13.5px; font-weight:600; line-height:1.45;
  color:#fff; box-shadow:0 12px 32px rgba(18,35,59,.22);
  opacity:0; transform:translateY(14px); pointer-events:none;
  transition:opacity .25s ease, transform .25s ease;
}
.adm-perm-toast.show{ opacity:1; transform:translateY(0); }
.adm-perm-toast-ok{ background:#0E8C7A; }
.adm-perm-toast-err{ background:#DC2626; }
body.dark-mode .adm-perm-toast{ box-shadow:0 12px 32px rgba(0,0,0,.5); }
.adm-perm-users-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }
.adm-perm-user-row{
  display:flex; align-items:center; gap:12px; background:#fff; border:1px solid #E1EAF6;
  border-radius:12px; padding:10px 14px; margin-bottom:8px; transition:border-color .15s ease, box-shadow .15s ease;
}
.adm-perm-user-row:hover{ border-color:#C9D8F2; box-shadow:0 3px 12px rgba(18,35,59,.06); }
body.dark-mode .adm-perm-user-row{ background:#16212E; border-color:#3E5578; }
.adm-perm-user-info{ flex:1 1 auto; min-width:0; }
.adm-perm-user-name{ font-size:13.5px; font-weight:700; color:#12233B; }
body.dark-mode .adm-perm-user-name{ color:#E8EEF5; }
.adm-perm-user-mail{ font-size:12px; color:#7A8CA3; margin-top:1px; word-break:break-all; }
.adm-perm-custom-badge{ flex:0 0 auto; padding:4px 11px; border-radius:999px; font-size:11px; font-weight:800; background:#F1EBFD; color:#7C5CD6; }
body.dark-mode .adm-perm-custom-badge{ background:#2A2340; color:#C4A8F0; }
.adm-perm-custom-off{ flex:0 0 auto; padding:4px 11px; border-radius:999px; font-size:11px; font-weight:700; background:#EEF3FA; color:#7A8CA3; }
body.dark-mode .adm-perm-custom-off{ background:#1C2A3C; color:#9CB2CE; }
.adm-perm-editor{ background:#fff; border:1px solid #2F6FED; border-radius:16px; padding:18px 20px; box-shadow:0 8px 30px rgba(18,35,59,.12); }
body.dark-mode .adm-perm-editor{ background:#16212E; border-color:#4E93FA; }
.adm-perm-editor-head{ display:flex; align-items:flex-start; justify-content:space-between; margin-bottom:14px; }
.adm-perm-override-toggle{
  display:flex; gap:10px; align-items:flex-start; background:#F4F8FD; border:1px solid #E1EAF6;
  border-radius:12px; padding:12px 14px; margin-bottom:14px; cursor:pointer; font-size:12.5px; color:#33445E; line-height:1.5;
}
body.dark-mode .adm-perm-override-toggle{ background:#1C2A3C; border-color:#33496B; color:#C7D5E8; }
.adm-perm-override-toggle input[type="checkbox"]{ width:17px; height:17px; accent-color:#2F6FED; margin-top:2px; }
.adm-perm-editor-scroll{ max-height:380px; overflow-y:auto; border:1px solid #E6EEF8; border-radius:12px; margin-bottom:14px; }
body.dark-mode .adm-perm-editor-scroll{ border-color:#33496B; }
.adm-perm-table-user td{ text-align:left; }
.adm-perm-table-user .adm-perm-cell{ text-align:center; }
.adm-perm-editor-actions{ display:flex; gap:10px; justify-content:flex-end; }
.adm-perm-editor-actions .adm-modal-save, .adm-perm-editor-actions .adm-modal-cancel{ padding:9px 20px; font-size:13px; }
.adm-sec-filters select, .adm-sec-filters input[type="text"]{ border-radius:10px; }
body.dark-mode .adm-sec-filters select, body.dark-mode .adm-sec-filters input[type="text"]{ background:#16212E; color:#E8EEF5; border-color:#3E5578; }
body.dark-mode .adm-sec-filters select:focus, body.dark-mode .adm-sec-filters input[type="text"]:focus{ border-color:#4E93FA; }
.adm-delete-icon{
  width:52px; height:52px; border-radius:50%; background:#FEF2F2; color:#DC2626;
  display:flex; align-items:center; justify-content:center; margin:0 auto;
}
.adm-delete-icon.adm-unlock-icon{ background:#FFFBEB; color:#D97706; }
.adm-delete-text{ font-size:13px; color:#8CA0BC; margin-top:6px; font-weight:600; }

.adm-guest-check-row{ display:flex; gap:16px; margin-top:6px; }
.adm-guest-check{ display:flex; align-items:center; gap:8px; font-size:13.5px; font-weight:600; color:#33445E; cursor:pointer; }
.adm-guest-check input[type="checkbox"]{ width:17px; height:17px; accent-color:#2F6FED; cursor:pointer; }
.adm-guest-check input[type="checkbox"]:disabled{ cursor:default; opacity:.7; }
.adm-guest-check-hint{ font-size:11.5px; color:#8CA0BC; margin-top:6px; line-height:1.4; }

.adm-tg-hint{
  font-size:12.5px; color:#5C7089; background:#F0F5FC; border:1px solid #DCE6F5;
  border-radius:10px; padding:10px 14px; margin-bottom:16px; line-height:1.6;
}
.adm-tg-hint code{ background:#E6F1FB; color:#1B4A8A; padding:1px 6px; border-radius:5px; font-size:12px; }
.adm-tg-card{
  background:#FFFFFF; border:1px solid #E7ECF6; border-radius:14px; padding:18px;
  margin-bottom:16px;
}
.adm-tg-card-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; }
.adm-tg-card-title{ font-size:14.5px; font-weight:700; color:#12233B; }
.adm-tg-daily-badge{ display:inline-block; margin-left:8px; padding:3px 9px; border-radius:999px; font-size:10.5px; font-weight:800; letter-spacing:.02em; color:#0E8C7A; background:#E4F5F2; border:1px solid #BEE5DE; vertical-align:middle; }
body.dark-mode .adm-tg-daily-badge{ color:#7FDBC9; background:#14352E; border-color:#2A5C50; }
.adm-tg-textarea{
  width:100%; border:1.5px solid #DCE6F5; border-radius:10px; padding:12px;
  font-family:'IBM Plex Mono',monospace; font-size:12.5px; color:#12233B; resize:vertical;
  line-height:1.6;
}
.adm-tg-textarea:focus{ outline:none; border-color:#4E93FA; }

/* ── Admin Panel: TVM Management alt-bölmələri ── */
.adm-subtabs{
  display:flex; flex-wrap:wrap; gap:6px; margin-bottom:20px;
  border-bottom:1.5px solid #E7ECF6;
}
.adm-subtab{
  padding:10px 18px; border:none; background:none;
  font-family:'Inter',sans-serif; font-size:13.5px; font-weight:700; color:#8CA0BC;
  cursor:pointer; border-bottom:2.5px solid transparent; margin-bottom:-1.5px;
}
.adm-subtab:hover{ color:#33445E; }
.adm-subtab.active{ color:#2F6FED; border-bottom-color:#2F6FED; }

.adm-stats-row-3{ grid-template-columns:repeat(3,1fr); }
.adm-stats-row-4{ grid-template-columns:repeat(4,1fr); }
.adm-list-add-group{ display:flex; gap:8px; align-items:center; }
.adm-inline-input{ padding:8px 12px; border:1.5px solid #CFE0F7; border-radius:10px; font-size:13px; font-family:'Inter',sans-serif; width:230px; color:#12233B; background:#fff; }

/* ── v4.65: Metro Turniket Management ── */
.adm-metro-sub{ display:block; }
.adm-tag{ display:inline-block; padding:2px 8px; margin-left:6px; border-radius:999px; background:#EFE7FB; color:#6E3FD1; font-size:10.5px; font-weight:600; vertical-align:middle; }
.adm-reorder-item{ display:flex; align-items:center; gap:10px; padding:10px 14px; background:#fff; border:1px solid #E1EAF6; border-radius:12px; margin-bottom:8px; }
.adm-reorder-grip{ color:#B0C0D6; cursor:grab; font-size:15px; }
.adm-reorder-text{ flex:1; font-size:13.5px; font-weight:600; color:#33445E; }
.adm-reorder-actions{ display:flex; gap:6px; align-items:center; }
.adm-act-btn{ width:30px; height:30px; border:1px solid #DCE6F5; background:#fff; border-radius:8px; cursor:pointer; display:inline-flex; align-items:center; justify-content:center; font-size:13px; color:#33445E; transition:all .15s ease; }
.adm-act-btn:hover{ border-color:#2F6FED; background:#EAF1FE; }
.adm-act-del:hover{ border-color:#F5B5BC; background:#FEE9EB; }
.adm-td-act{ text-align:right; white-space:nowrap; }

.adm-list-head{
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom:16px;
}
.adm-list-count{ font-size:13px; font-weight:700; color:#8CA0BC; }

.adm-valsn-bulkbar{
  display:flex; align-items:center; gap:12px;
  background:#EAF2FE; border:1px solid #C9D8F2; border-radius:12px;
  padding:10px 16px; margin-bottom:14px;
}
.adm-valsn-bulkbar span{ font-size:13px; font-weight:700; color:#2F6FED; flex:1 1 auto; }
.adm-valsn-bulkbar .adm-modal-save, .adm-valsn-bulkbar .adm-modal-cancel{ flex:0 0 auto; padding:8px 16px; font-size:12.5px; }
body.dark-mode .adm-valsn-bulkbar{ background:#16212E; border-color:#4A6182; }

.adm-valsn-checkbox{
  width:18px; height:18px; border-radius:5px; flex-shrink:0; cursor:pointer;
  appearance:none; -webkit-appearance:none;
  background:#FFFFFF; border:1.5px solid #C9D8F2; position:relative;
}
.adm-valsn-checkbox:checked{ background:#2F6FED; border-color:#2F6FED; }
.adm-valsn-checkbox:checked::after{
  content:""; position:absolute; left:5px; top:1px; width:5px; height:9px;
  border:solid #fff; border-width:0 2px 2px 0; transform:rotate(45deg);
}
.adm-valsn-sn{ font-family:'IBM Plex Mono',monospace; font-size:13.5px; font-weight:600; color:#33445E; flex:1 1 auto; }
body.dark-mode .adm-valsn-sn{ color:#C7D5E8; }

.adm-reorder-list{
  background:#FFFFFF; border:1px solid #EEF2FA; border-radius:16px;
  box-shadow:0 6px 18px rgba(30,68,130,.04);
  overflow:hidden;
}
.adm-reorder-row{
  display:flex; align-items:center; gap:12px;
  padding:13px 18px; border-bottom:1px solid #F3F6FB;
}
.adm-reorder-row:last-child{ border-bottom:none; }
.adm-reorder-row:hover{ background:#FAFBFE; }

/* ═══ v4.83: MESSAGES — göndərmə animasiya vidjeti (spin → ✓ / ✕) ═══ */
.adm-msg-widget{
  position:fixed; inset:0; z-index:95;
  background:rgba(18,35,59,.45);
  align-items:center; justify-content:center; padding:20px;
  opacity:0; transition:opacity .25s ease;
}
.adm-msg-widget.open{ opacity:1; }
.adm-msg-widget-box{
  background:#FFFFFF; border-radius:20px; padding:34px 38px;
  max-width:380px; width:100%; text-align:center;
  box-shadow:0 30px 70px rgba(0,0,0,.28);
  transform:translateY(14px) scale(.96); transition:transform .3s cubic-bezier(.2,.9,.3,1.2);
}
.adm-msg-widget.open .adm-msg-widget-box{ transform:translateY(0) scale(1); }
.adm-msg-widget-icon{
  width:64px; height:64px; margin:0 auto 16px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:#EEF4FF; color:#2F6FED;
}
.adm-msg-widget-spinner{
  width:34px; height:34px; border:4px solid #D6E4FB; border-top-color:#2F6FED;
  border-radius:50%; animation:admMsgSpin .7s linear infinite;
}
@keyframes admMsgSpin{ to{ transform:rotate(360deg); } }
.adm-msg-widget-check{
  width:34px; height:34px; color:#0E9F6E;
  stroke-dasharray:30; stroke-dashoffset:30;
  animation:admMsgCheck .5s .1s ease forwards;
}
@keyframes admMsgCheck{ to{ stroke-dashoffset:0; } }
.adm-msg-widget-x{
  width:30px; height:30px; color:#DC2626;
  stroke-dasharray:24; stroke-dashoffset:24;
  animation:admMsgCheck .4s .1s ease forwards;
}
.adm-msg-widget-title{ font-size:17px; font-weight:800; color:#12233B; margin-bottom:6px; }
.adm-msg-widget-sub{ font-size:13px; font-weight:600; color:#8CA0BC; line-height:1.45; }
body.dark-mode .adm-msg-widget-box{ background:#16212E; }
body.dark-mode .adm-msg-widget-title{ color:#E8EEF5; }
body.dark-mode .adm-msg-widget-sub{ color:#9FB2C9; }

/* ═══ v4.83: DEVICE INVENTORY MANAGEMENT bölməsi ═══ */
.adm-dinv-meta-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; align-items:start; }
@media(max-width:1180px){ .adm-dinv-meta-grid{ grid-template-columns:1fr; } }
.adm-dinv-meta-hint{ font-size:12px; font-weight:600; color:#8CA0BC; line-height:1.5; margin-bottom:12px; }
.adm-dinv-meta-add{
  display:inline-flex; align-items:center; gap:7px; width:100%; justify-content:center;
  padding:10px 0; margin-bottom:10px;
  background:#EEF4FF; color:#2F6FED; border:1.5px dashed #B9CCEC; border-radius:11px;
  font-family:'Inter',sans-serif; font-size:13px; font-weight:700; cursor:pointer;
  transition:background .12s ease, border-color .12s ease;
}
.adm-dinv-meta-add:hover{ background:#E0EBFD; border-color:#2F6FED; }
.adm-reorder-text{ flex:1; min-width:0; }
.adm-reorder-text strong{ font-size:13.5px; color:#12233B; display:block; }
body.dark-mode .adm-reorder-text strong{ color:#E8EEF5; }
.adm-dinv-meta-sub{ display:block; font-size:11.5px; font-weight:600; color:#9AACC4; margin-top:2px; }
.adm-dinv-meta-dot{
  width:12px; height:12px; border-radius:50%; flex-shrink:0;
  background:#B9C4D4;
}
.adm-dinv-meta-dot.installed{ background:#0E9F6E; }
.adm-dinv-meta-dot.warehouse{ background:#B45309; }
.adm-dinv-meta-dot.repair{ background:#C2410C; }
.adm-dinv-meta-dot.retired{ background:#7C8494; }
.adm-dinv-meta-dot.lost{ background:#B91C1C; }
.adm-dinv-meta-dot.total{ background:#8CA0BC; }
.adm-reorder-num{
  width:24px; height:24px; border-radius:7px; background:#EEF3FC; color:#8CA0BC;
  display:flex; align-items:center; justify-content:center;
  font-size:11px; font-weight:800; flex-shrink:0;
}
.adm-reorder-text{ flex:1 1 auto; font-size:13.5px; font-weight:600; color:#33445E; }
.adm-owner-badge{
  font-size:11px; font-weight:700; border-radius:8px;
  padding:2px 8px; white-space:nowrap; flex-shrink:0;
}
body.dark-mode .adm-owner-badge{ filter:brightness(1.3); }
.adm-reorder-arrows{ display:flex; flex-direction:column; gap:2px; }
.adm-reorder-arrow{
  width:22px; height:16px; border:1px solid #E7ECF6; border-radius:5px; background:#FFFFFF;
  display:flex; align-items:center; justify-content:center; color:#8CA0BC; cursor:pointer; padding:0;
}
.adm-reorder-arrow:hover{ background:#F7F9FE; color:#2F6FED; }
.adm-reorder-arrow:disabled{ opacity:.35; cursor:default; }
.adm-reorder-arrow:disabled:hover{ background:#FFFFFF; color:#8CA0BC; }

