.customer-update-form * {
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

.customer-update-form {
  background: #ffffff;
  border: 1px solid #e3e6eb;
  border-radius: 10px;
  padding: 25px;
  max-width: 600px;
  /* move form to the left side */
  margin: 20px 0 20px 20px; /* top right bottom left */
  text-align: left;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.customer-update-form h2 {
  text-align: center;
  color: #333;
  margin-bottom: 20px;
  font-size: 22px;
}

.customer-update-form .form-group {
  margin-bottom: 15px;
}

.customer-update-form label {
  display: block;
  font-weight: 600;
  color: #444;
  margin-bottom: 6px;
}

/* Added input[type="tel"] and appearance normalization */
.customer-update-form input[type="text"],
.customer-update-form input[type="email"],
.customer-update-form input[type="tel"],
.customer-update-form textarea,
.customer-update-form select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  transition: 0.3s ease;
  font-family: inherit;
  font-size: 15px;
  color: #333;
  background-color: #fff;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
}

.customer-update-form textarea {
  resize: vertical;
  min-height: 80px;
}

.customer-update-form input:focus,
.customer-update-form textarea:focus,
.customer-update-form select:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 3px rgba(0, 123, 255, 0.3);
}

.customer-update-form .same-address {
  margin: 10px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.customer-update-form .submit-btn {
  background: #007bff;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 16px;
  width: 100%;
  cursor: pointer;
  transition: 0.3s;
}

.customer-update-form .submit-btn:hover {
  background: #0056b3;
}

.customer-update-form #responseMessage {
  text-align: center;
  margin-top: 15px;
  font-weight: 600;
}

.customer-update-form #responseMessage.success {
  color: green;
}

.customer-update-form #responseMessage.error {
  color: red;
}

@media (max-width: 600px) {
  .customer-update-form {
    padding: 15px;
    margin: 10px; /* small side margins on mobile */
  }
}
