#sgdt-tool {
  max-width: 1200px;
  margin: 0 auto;
  font-family: Arial, sans-serif;
}

.input-area {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.input-side {
  flex: 1;
  min-width: 300px;
}

#domain-input {
  width: 100%;
  height: 200px;
  padding: 10px;
  font-size: 14px;
  resize: vertical;
  box-sizing: border-box;
}

#gen-options {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

#process-btn {
  padding: 6px 12px;
  font-weight: bold;
  color: #fff;
  background-color: #28a745;
  border: none;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  font-size: 14px;
}

#controls-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  min-width: 240px;
}

.sgdt-btn {
  background-color: #28a745;
  color: white;
  font-weight: bold;
  padding: 10px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  width: 100%;
  box-sizing: border-box;
}

.sgdt-btn:hover {
  background-color: #218838;
}

.sgdt-small-btn {
  font-size: 13px;
  padding: 6px 10px;
}

#output {
  background: #f4f4f4;
  border: 1px solid #ccc;
  padding: 10px;
  white-space: pre-wrap;
  min-height: 150px;
  margin-top: 20px;
  overflow: auto;
}
