.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;
  min-height: 200px;
  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"] {
  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;
}

.secondary-button {
  background: #95a5a6;
  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;
}

.secondary-button:hover {
  background: #7f8c8d;
}

.secondary-button i {
  margin-right: 8px;
}

.results-container {
  margin-top: 30px;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.stat-card {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 4px;
  text-align: center;
  border: 1px solid #ddd;
}

.stat-value {
  font-size: 32px;
  font-weight: bold;
  color: #3498db;
  margin-bottom: 5px;
}

.stat-label {
  color: #666;
  font-size: 14px;
}

.detailed-stats {
  margin-top: 30px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 4px;
  border: 1px solid #ddd;
}

.detailed-stats h3 {
  margin-top: 0;
  margin-bottom: 15px;
  color: #333;
  font-size: 18px;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.stat-row:last-child {
  border-bottom: none;
}

.stat-name {
  color: #666;
}

.stat-number {
  font-weight: bold;
  color: #333;
}

.notification {
  position: fixed;
  top: 20px;
  right: 0;
  background: #2ecc71;
  color: white;
  padding: 15px 20px;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.notification.show {
  transform: translateX(0);
}

@media (max-width: 768px) {
  .tool-content {
    padding: 20px 15px;
  }

  .options-container {
    flex-direction: column;
  }

  .option-group {
    margin-right: 0;
  }

  .action-button,
  .secondary-button {
    width: 100%;
    margin: 10px 0;
    justify-content: center;
  }

  .results-grid {
    grid-template-columns: 1fr;
  }
}
