body {
  font-family: 'Noto Sans KR', sans-serif;
  padding: 40px;
  max-width: 800px;
  margin: auto;
  color: #333;
  background: #fff;
  box-sizing: border-box;
}

* {
  box-sizing: border-box;
}

h1 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 40px;
  color: #ff6e41;
}

.form-section {
  margin-bottom: 24px;
  background: #ffffff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  width: 100%;
}

.form-title {
  font-weight: bold;
  margin-bottom: 20px;
  font-size: 18px;
  border-left: 4px solid #ff6e41;
  padding-left: 12px;
  color: #333;
}

.form-group {
  margin-bottom: 20px;
  width: 100%;
  box-sizing: border-box;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #555;
  font-size: 14px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="address"],
textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.2s ease;
  background: #fafafa;
  color: #333;
  box-sizing: border-box;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
textarea:focus {
  outline: none;
  border-color: #ff6e41;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 110, 65, 0.1);
}

input[readonly] {
  background: #f5f5f5;
  color: #666;
  cursor: not-allowed;
}

.items-list {
  margin-top: 16px;
  width: 100%;
  box-sizing: border-box;
}

.item-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  align-items: center;
  background: #fafafa;
  padding: 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.item-row:hover {
  background: #f5f5f5;
}

.item-group {
  flex: 1;
  min-width: 0;
}

.item-group input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 14px;
  background: #fff;
  box-sizing: border-box;
}

.item-group input:focus {
  border-color: #ff6e41;
  box-shadow: 0 0 0 3px rgba(255, 110, 65, 0.1);
}

.remove-btn {
  padding: 8px 16px;
  background: #ff6e41;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.remove-btn:hover {
  background: #ff5a2b;
  transform: translateY(-1px);
}

button[type="button"] {
  padding: 10px 20px;
  background: #f0f0f0;
  color: #666;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

button[type="button"]:hover {
  background: #e0e0e0;
  color: #333;
}

.note-item {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  background: #fafafa;
  padding: 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.note-item:hover {
  background: #f5f5f5;
}

.note-item input {
  flex: 1;
  background: #fff;
  min-width: 0;
}

.note-item button {
  padding: 8px 16px;
  background: #ff6e41;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.note-item button:hover {
  background: #ff5a2b;
  transform: translateY(-1px);
}

.items-total {
  font-size: 18px;
  color: #333;
  font-weight: bold;
  text-align: right;
  margin-top: 20px;
  padding: 16px;
  background: #fafafa;
  border-radius: 8px;
}

.submit-btn {
  display: block;
  width: 100%;
  padding: 14px;
  background: #ff6e41;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 24px;
  transition: all 0.2s ease;
}

.submit-btn:hover {
  background: #ff5a2b;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 110, 65, 0.2);
}

.preview-btn {
  display: block;
  width: 100%;
  padding: 14px;
  background: #ff6e41;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 24px;
  transition: all 0.2s ease;
}

.preview-btn:hover {
  background: #ff5a2b;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 110, 65, 0.2);
}

@media (max-width: 768px) {
  .form-section {
    width: 100%;
  }
  
  div[style*="display: flex"] {
    flex-direction: column;
  }
  
  div[style*="display: flex"] .form-section {
    margin-bottom: 24px;
  }
} 