/**
 * ITPlatform Tools - Grep Generator
 * Tool-specific CSS overrides (minimal)
 * Base framework: /_framework/base.css
 */

/* Required field indicator */
.required {
  color: var(--color-danger);
  font-weight: 600;
}

/* Button group spacing */
.button-group {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

/* Explanation text list styling */
.explanation-text ul {
  margin: 0;
  padding-left: var(--space-xl);
  list-style-type: disc;
}

.explanation-text li {
  margin-bottom: var(--space-sm);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
}

/* Result sections already handled by base.css */
/* Just ensure proper spacing for this tool */

.result-section {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-border-light);
}

.result-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

/* Code blocks within explanations */
.tool-explanation code,
.tool-best-practices code {
  background: var(--color-bg-muted);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.9em;
  color: var(--color-text);
  border: 1px solid var(--color-border-light);
}

/* Checkbox labels - enhance readability */
.checkbox-label span {
  display: inline;
}

.checkbox-label code {
  margin-left: 4px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .button-group {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .button-group .tool-button {
    width: 100%;
  }
}
