.tool-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.tool-header {
  text-align: center;
  margin-bottom: 40px;
}

.tool-icon-large {
  font-size: 48px;
  color: #3498db;
  margin-bottom: 20px;
}

.tool-description {
  color: #666;
  font-size: 18px;
  margin-top: 10px;
}

.tool-body {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.input-group {
  margin-bottom: 20px;
}

.input-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
  color: #333;
}

.input-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  font-family: 'Courier New', Courier, monospace;
  min-height: 300px;
  resize: vertical;
}

.options-container {
  margin: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.option-group {
  display: flex;
  align-items: center;
  margin-right: 20px;
}

.option-group input[type="checkbox"],
.option-group input[type="radio"] {
  margin-right: 8px;
  width: auto;
}

.option-group label {
  margin: 0;
  font-weight: normal;
}

.action-button {
  background: #3498db;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  margin: 10px 10px 10px 0;
}

.action-button:hover {
  background: #2980b9;
}

.action-button i {
  margin-right: 8px;
}

.action-buttons-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.result-container {
  margin-top: 20px;
}

.result-stats {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  color: #666;
}

.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 12px 20px;
  border-radius: 4px;
  background: #28a745;
  color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: none;
}

.tabs-container {
  display: flex;
  border-bottom: 1px solid #ddd;
  margin-bottom: 20px;
}

.tab {
  padding: 10px 20px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
}

.tab.active {
  border-bottom-color: #3498db;
  font-weight: bold;
  color: #3498db;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

@media (max-width: 768px) {
  .tool-content {
    padding: 20px 15px;
  }

  .options-container {
    flex-direction: column;
  }

  .option-group {
    margin-right: 0;
  }

  .action-button {
    width: 100%;
    margin: 10px 0;
    justify-content: center;
  }

  .result-stats {
    flex-direction: column;
    gap: 5px;
  }
}
