/* -----Main Container----- */

.main-container {
  max-width: 1000px;
  margin: auto;
  padding: 2rem;
}

h1 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1.5rem;
  color: #555;
}

textarea {
  width: 100%;
  min-height: 160px;
  resize: vertical;
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: monospace;
}

.button {
  padding: 0.75rem 1.5rem;
  background-color: #1e1e2f;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-bottom: 2rem;
}

.button:hover {
  background-color: #1e1e2f;
}

.file-section {
  border: 1px dashed #ccc;
  padding: 1rem;
  border-radius: 6px;
  background: #f9f9f9;
  margin-bottom: 2rem;
}

.file-section input {
  margin-right: 1rem;
}

@media screen and (max-width: 600px) {
  .main-container {
    padding: 1rem;
  }

  .button {
    width: 100%;
  }
}

.tool-seo {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.tool-seo h2 {
  margin-bottom: 10px;
}
.tool-seo p {
  margin-bottom: 30px;
  font-size: 1rem;
}
.tool-seo ol {
  /* list-style: none; */
  padding: 0;
  margin-left: 20px;
  margin-bottom: 30px;
}
.tool-seo .pre-output {
  margin-bottom: 30px;
}
.tool-seo .related {
  list-style: none;
}

@media screen and (max-width: 600px) {
  .tool-seo {
    margin: 1rem;
    padding: 1rem;
  }
}

/* WHy Lowercase Tool */
.whyLowercase ol li {
  padding: 10px;
}

/* Related Tools */
.related-tools {
  margin: 2rem auto;
  max-width: 1000px;
  padding: 0 1rem;
}

.related-tools h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.tool-category {
  margin-bottom: 2rem;
}

.tool-category h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.tool-card {
  display: block;
  padding: 1rem;
  text-align: center;
  background: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.2s;
}

.tool-card:hover {
  background: #e9ecef;
  transform: translateY(-2px);
}
