body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  background-color: #f7f9fc;
  margin: 0;
  padding: 0;
}

.header-bar {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background-color: #fff;
  border-bottom: 1px solid #eee;
  font-size: 16px;
  font-weight: bold;
  color: #333;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-bar .back-btn {
  margin-right: 8px;
  color: #007bff;
  font-size: 18px;
}

.container {
  padding: 12px 16px 100px;
  box-sizing: border-box;
  max-width: 100%;
}

h2 {
  font-size: 18px;
  margin-bottom: 16px;
}

form input[type="text"],
form input[type="number"],
form input[type="datetime-local"],
form select,
form textarea {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  margin-bottom: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
  background-color: #fff;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

.step-item {
  margin-bottom: 14px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 6px;
}

button[type="button"],
button[type="submit"] {
  display: block;
  width: 100%;
  padding: 12px;
  font-size: 15px;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 12px;
}

button[type="button"]:hover,
button[type="submit"]:hover {
  background-color: #218838;
}

.upload-box-wrapper {
  display: inline-block;
  margin: 8px 0;
}

.upload-box {
  width: 64px;
  height: 64px;
  border: 2px dashed #28a745;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  position: relative;
  cursor: pointer;
  background-color: #fff;
}

.upload-box:hover {
  border-color: #1e7e34;
}

.upload-box i {
  font-size: 20px;
  color: #666;
}

.upload-box input[type="file"] {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.preview-image img {
  display: block;
  max-width: 100px;
  max-height: 100px;
  margin-top: 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

#balanceInfo {
  font-size: 13px;
  color: #28a745;
  font-weight: bold;
  margin-left: 6px;
}

#totalPrice {
  font-size: 14px;
  font-weight: bold;
  color: #d63384;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 16px;
  background-color: #fff;
  border-top: 1px solid #eee;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.04);
  z-index: 100;
}
