/* ================================
   TRAKERI ADMIN – CARD UI
   Same visual language as tracker detail
================================ */

/* Page background spacing */
.controlroom-container{
  max-width: 1200px;
}

/* CARD */
.admin-card{
  background: #0f1623;
  border: 1px solid #1f2937;
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}

/* CARD HEADER */
.admin-card-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:14px;
}

.admin-card-header h2{
  margin:0;
  font-size:18px;
  font-weight:600;
}

/* TABLE */
.dark-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
  border-radius:10px;
}

.dark-table thead{
  background:#111827;
}

.dark-table th{
  padding:10px 12px;
  text-align:left;
  font-weight:600;
  font-size:13px;
  border-bottom:1px solid #1f2937;
}

.dark-table td{
  padding:10px 12px;
  border-bottom:1px solid #1f2937;
}

.dark-table tr:hover{
  background:#111827;
}

/* FORM */
.form-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(240px,1fr));
  gap:14px;
}

.form-grid label{
  font-size:12px;
  opacity:0.85;
}

.form-grid input,
.form-grid select{
  width:100%;
  padding:8px 10px;
  border-radius:8px;
  background:#020617;
  border:1px solid #1f2937;
  color:#fff;
}

/* ACTIONS */
.admin-actions{
  display:flex;
  gap:10px;
  margin-top:16px;
}

.admin-actions button{
  padding:8px 14px;
  border-radius:8px;
  background:#111827;
  border:1px solid #1f2937;
  color:#fff;
}

.admin-actions button:hover{
  background:#1f2937;
}

/* =========================
   CUSTOMER DETAIL - VEHICLES SCROLL
   ========================= */




/* =========================
   CUSTOMER DETAIL PANEL FIX
   ========================= */

#customer-detail-panel,
.customer-detail-panel {
    padding: 24px !important;
    box-sizing: border-box !important;
}

#customer-detail-panel .panel,
.customer-detail-panel .panel {
    padding: 24px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

#customer-detail-panel table,
.customer-detail-panel table {
    width: 100% !important;
    border-collapse: collapse !important;
}

#customer-detail-panel .table-wrap,
.customer-detail-panel .table-wrap {
    overflow-x: auto !important;
    overflow-y: visible !important;
}


