.customer-page input[readonly] {
  background: #f4f6f9;
  color: #444;
  font-weight: 700;
}

.customer-form-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.customer-filter-panel {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 12px;
  align-items: end;
  padding: 12px;
  margin-bottom: 14px;
  border: 1px solid #e1e6ee;
  border-radius: 12px;
  background: #fbfcfe;
}

.customer-filter-panel label {
  display: block;
  font-weight: 800;
  margin-bottom: 6px;
}

.customer-filter-panel input,
.customer-filter-panel select {
  width: 100%;
  border: 1px solid #ccd3dd;
  border-radius: 8px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 14px;
  background: #fff;
}

body[data-current-page="customers"] .card {
  overflow: hidden;
}

.customer-table {
  min-width: 1280px;
}

.customer-table th,
.customer-table td {
  white-space: nowrap;
}

.customer-pill {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.type-pill {
  background: #e8f3ff;
  color: #0b5f99;
}

.status-pill.active {
  background: #eaf8f0;
  color: #17804a;
}

.status-pill.inactive {
  background: #fff1f1;
  color: #bd2b2b;
}

.action-group {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.hidden {
  display: none !important;
}

.empty-box {
  border: 1px dashed #ccd3dd;
  padding: 14px;
  border-radius: 10px;
  color: #666;
  background: #fff;
}

@media (max-width: 900px) {
  .customer-form-grid,
  .customer-filter-panel {
    grid-template-columns: 1fr;
  }
}
