.css-minifier-page {
  max-width: 900px;
  margin: auto;
  padding: 40px 20px;
  font-family: system-ui, sans-serif;
  color: var(--text);
}

.css-minifier-page h1 {
  font-size: 30px;
  text-align: center;
  margin-bottom: 10px;
}

.css-minifier-page .description {
  text-align: center;
  font-size: 14px;
  color: #aaa;
  margin-bottom: 30px;
}

textarea {
  width: 100%;
  min-height: 180px;
  background: #181818;
  color: #f0f0f0;
  font-family: monospace;
  border: 1px solid #444;
  border-radius: 6px;
  padding: 12px;
  resize: vertical;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.5;
}

label {
  font-size: 15px;
  display: block;
  margin: 10px 0 6px;
}

button {
  padding: 10px 16px;
  font-size: 14px;
  background-color: #222;
  color: var(--text);
  border: 1px solid #444;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom:-12px;
}

button:hover {
  color: var(--link);
  border-color: var(--link);
  background-color: #1a1a1a;
}

.tool-buttons,
.live-toggle,
.option-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 14px;
  color: #ccc;
}

.css-info,
.css-structure-info,
.lint-checker-container {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 20px;
  margin-top: 30px;
  color: #ccc;
  font-size: 14px;
}

.css-info div,
.css-structure-info div {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px dashed #333;
}

.css-info strong,
.css-structure-info strong {
  color: var(--link);
  font-weight: 600;
}

.css-structure-info h2,
.lint-checker-container h2,
.how-to-use h2 {
  color: var(--link);
  font-size: 18px;
  margin-bottom: 12px;
}

.how-to-use {
  background: #1c1c1c;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 20px;
  margin-top: 40px;
  font-size: 14px;
  line-height: 1.6;
  color: #ccc;
}

.how-to-use ol {
  padding-left: 20px;
}

.how-to-use li {
  margin-bottom: 8px;
}

.lint-results {
  margin-top: 15px;
  background: #141414;
  border: 1px solid #2a2a2a;
  padding: 12px;
  border-radius: 6px;
  color: #ffb347;
  font-family: monospace;
  font-size: 13px;
  white-space: pre-wrap;
}

@media (max-width: 600px) {
  .tool-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  button {
    width: 100%;
  }

  .live-toggle,
  .option-toggle {
    justify-content: flex-start;
    padding-left: 4px;
  }

  .css-info,
  .css-structure-info,
  .lint-checker-container {
    font-size: 13px;
  }
}
