.tool-form {
  width: 100%;
  box-shadow: none;
  border: none;
  padding: 0;
}

.tool-form .row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.tool-form .col-2 {
  flex: 1;
  min-width: 300px;
}

.tool-form .form-field {
  margin-bottom: 15px;
}

.tool-form .form-input,
.tool-form .form-textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.5;
  box-sizing: border-box;
  background-color: #fff;
  transition: border-color 0.15s ease-in-out;
}

.tool-form .form-textarea {
  min-height: 120px;
  resize: vertical;
  font-family: monospace;
}

.tool-form .form-input:focus,
.tool-form .form-textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.1);
}

.tool-form .form-block {
  display: block;
}

.tool-form .form-btn {
  margin-top: 20px;
  margin-bottom: 15px;
}

.tool-form .btn {
  display: inline-block;
  padding: 8px 20px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out;
}

.tool-form .btn-success {
  background-color: #10b981;
  color: white;
}

.tool-form .btn-success:hover {
  background-color: #059669;
}

.tool-form .btn-warning {
  background-color: #f59e0b;
  color: white;
}

.tool-form .btn-warning:hover {
  background-color: #d97706;
}

.tool-form .btn-warning:disabled {
  background-color: #9ca3af;
  cursor: not-allowed;
}

.tool-form .barcode-setting {
  margin-top: 20px;
  padding: 15px;
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
}

.tool-form .barcode-setting .form-field {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.tool-form .barcode-setting label:first-child {
  width: 100px;
  font-size: 13px;
  color: #4b5563;
  flex-shrink: 0;
}

.tool-form .barcode-setting .form-input:not([type="number"]) {
  flex: 1;
  max-width: 200px;
}

.tool-form .barcode-setting input[type="number"] {
  width: 80px;
  padding: 6px 8px;
}

.tool-form .radio {
  display: inline-flex;
  align-items: center;
  margin-right: 15px;
  font-size: 13px;
  cursor: pointer;
}

.tool-form .radio input[type="radio"] {
  margin-right: 5px;
}

.tool-form #font-options {
  border-top: 1px solid #e5e7eb;
  padding-top: 15px;
  margin-top: 15px;
}

.tool-form .barcode-output {
  min-height: 200px;
  padding: 20px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #6b7280;
}

.tool-form .barcode-output .barcode {
  max-width: 100%;
  margin: 10px 0;
}

.tool-form .tips {
  margin-top: 15px;
  padding: 10px;
  font-size: 12px;
  color: #6b7280;
  background-color: #fef3c7;
  border-radius: 4px;
  border-left: 3px solid #f59e0b;
}

.tool-info {
  margin-top: 30px;
  padding: 20px;
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
}

.tool-info h5 {
  margin: 15px 0 8px 0;
  color: #111827;
  font-size: 16px;
  font-weight: 600;
}

.tool-info h5:first-child {
  margin-top: 0;
}

.tool-info p {
  margin: 0 0 10px 0;
  font-size: 14px;
  line-height: 1.6;
  color: #4b5563;
}

.wwads-cn {
  margin: 20px 0;
}
.alert-error{
    background: #ffd5d5;
    padding: 10px;
    border-radius: 3px;
}