.customers-page {
  max-width: 1500px;
  margin: 0 auto;
}
.customers-heading,
.customers-dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.customers-heading {
  margin-bottom: 16px;
}
.customers-heading h1,
.customers-dialog-heading h2 {
  margin: 0;
}
.customers-toolbar {
  display: flex;
  align-items: end;
  gap: 8px;
}
.customers-toolbar label {
  width: min(380px, 100%);
}
.customers-toolbar input {
  max-width: none;
}
.customers-toolbar button {
  margin-bottom: 0;
}
.customers-table-wrap {
  overflow-x: auto;
  border-top: 1px solid #000;
}
.customers-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.customers-table th,
.customers-table td {
  padding: 12px;
  border-bottom: 1px solid #ddd;
  vertical-align: middle;
  overflow-wrap: anywhere;
}
.customers-table th {
  font-size: 12px;
}
.customers-table td:first-child {
  min-width: 190px;
}
.customers-table td:nth-child(2) {
  min-width: 200px;
}
.customers-table td:nth-child(3),
.customers-table td:nth-child(4) {
  min-width: 150px;
}
.customers-pagination {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 12px;
  margin: 16px 0 0;
}
.customers-page dialog {
  width: min(580px, calc(100vw - 32px));
  max-width: 580px;
}
#customer-profile-form select {
  display: block;
  width: 100%;
  margin-top: 4px;
}
.customer-type-note {
  color: #555;
  font-size: 12px;
}
.customer-profile-actions {
  display: flex;
  gap: 8px;
}
.player-type-form {
  display: flex;
  align-items: end;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid #ddd;
}
.player-type-form label {
  flex: 1;
}
.player-type-form input {
  max-width: none;
}
.player-type-form button {
  margin-bottom: 0;
}
#player-types-status:empty,
#customer-profile-status:empty {
  display: none;
}
@media (max-width: 600px) {
  .customers-heading {
    align-items: start;
  }
  .customers-toolbar {
    flex-wrap: wrap;
  }
  .customers-toolbar label {
    width: 100%;
  }
  .customers-table th,
  .customers-table td {
    padding: 8px;
  }
}
