.customer-create-panel {
  margin: 0 0 20px;
  padding: 22px;
  border: 1px solid rgba(30, 58, 95, 0.16);
  border-radius: 14px;
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.customer-create-heading {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.customer-create-heading h4 {
  margin-bottom: 6px;
  font-size: 18px;
}

.customer-create-heading p,
.customer-create-heading span,
.customer-create-help {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.6;
}

.customer-create-heading span {
  flex: 0 0 auto;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(30, 58, 95, 0.08);
  color: var(--secondary);
  font-weight: 600;
}

.customer-create-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.customer-create-name,
.customer-create-tags {
  grid-column: 1 / -1;
}

.customer-create-help {
  margin-top: 7px;
}

.customer-create-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.customer-create-feedback {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 0 0 16px;
  padding: 13px 15px;
  border: 1px solid rgba(30, 58, 95, 0.15);
  border-radius: 10px;
  background: rgba(30, 58, 95, 0.05);
  color: var(--secondary);
  font-size: 14px;
}

.customer-create-feedback p {
  flex: 1 1 280px;
  margin: 0;
}

#customerCreateOwner:focus-visible,
#customerCreateDisplayName:focus-visible,
#customerCreateBirthday:focus-visible,
#customerCreatePreferredLocale:focus-visible,
#customerCreateTags:focus-visible {
  border-color: var(--primary);
  outline: 3px solid rgba(227, 25, 55, 0.18);
  outline-offset: 1px;
}

@media (max-width: 640px) {
  .customer-create-panel {
    padding: 18px 16px;
  }

  .customer-create-heading {
    display: block;
  }

  .customer-create-heading span {
    display: inline-flex;
    margin-top: 10px;
  }

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

  .customer-create-name,
  .customer-create-tags {
    grid-column: auto;
  }

  .customer-create-actions {
    flex-direction: column-reverse;
  }

  .customer-create-actions .btn {
    width: 100%;
  }
}
