/* CSS Beautifier - Clean Light Theme */
* {
  box-sizing: border-box;
}

.css-beautifier {
  /* max-width: 1200px; */
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  color: #333;
}

.beautifier-header {
  margin-bottom: 24px;
}

.beautifier-header h1 {
  font-size: 24px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 8px 0;
}

.beautifier-header p {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.beautifier-toolbar {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.btn {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.btn:focus {
  box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.2);
}

.btn-primary {
  background-color: #4299e1;
  color: white;
}

.btn-primary:hover {
  background-color: #3182ce;
}

.btn-primary:active {
  background-color: #2c5282;
}

.btn-secondary {
  background-color: #e2e8f0;
  color: #4a5568;
}

.btn-secondary:hover {
  background-color: #cbd5e0;
}

.btn-secondary:active {
  background-color: #a0aec0;
}

.btn-copy {
  background-color: #48bb78;
  color: white;
}

.btn-copy:hover {
  background-color: #38a169;
}

.btn-copy:active {
  background-color: #2f855a;
}

.beautifier-panels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .beautifier-panels {
    grid-template-columns: 1fr 1fr;
  }
}

.panel {
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.panel-header {
  padding: 12px 16px;
  background: #f7fafc;
  border-bottom: 1px solid #e2e8f0;
}

.panel-header label {
  font-size: 14px;
  font-weight: 600;
  color: #2d3748;
  margin: 0;
}

.panel-body {
  flex: 1;
  display: flex;
}

.code-textarea {
  flex: 1;
  padding: 16px;
  border: none;
  font-family: "Consolas", "Monaco", "Courier New", monospace;
  font-size: 13px;
  line-height: 1.6;
  resize: none;
  outline: none;
  background: #fafafa;
  color: #1a202c;
  min-height: 400px;
}

.code-textarea:focus {
  background: white;
}

.code-textarea::placeholder {
  color: #a0aec0;
}

/* Status message */
.status-message {
  padding: 12px 16px;
  margin-bottom: 20px;
  border-radius: 6px;
  font-size: 14px;
  display: none;
}

.status-message.show {
  display: block;
}

.status-message.success {
  background-color: #c6f6d5;
  color: #22543d;
  border: 1px solid #9ae6b4;
}

.status-message.error {
  background-color: #fed7d7;
  color: #742a2a;
  border: 1px solid #fc8181;
}

.status-message.info {
  background-color: #bee3f8;
  color: #2c5282;
  border: 1px solid #90cdf4;
}

/* Page Header Section */
.page-header-section {
  text-align: center;
  padding: 40px 20px;
  background: #ffffff;
  margin-bottom: 0;
}

.page-header-section h1 {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.page-header-section p {
  font-size: 16px;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* SEO Content Section */
.seo-content-section {
  background: #ffffff;
  padding: 50px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.seo-content-section h2 {
  font-size: 28px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
}

.seo-content-section h3 {
  font-size: 22px;
  font-weight: 600;
  color: #444;
  margin-top: 30px;
  margin-bottom: 15px;
}

.seo-content-section p {
  font-size: 16px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 15px;
}

.seo-content-section ul,
.seo-content-section ol {
  margin-left: 20px;
  margin-bottom: 20px;
}

.seo-content-section li {
  font-size: 16px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 8px;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .css-beautifier {
    padding: 16px;
  }

  .beautifier-header h1 {
    font-size: 20px;
  }

  .beautifier-toolbar {
    gap: 8px;
  }

  .btn {
    padding: 8px 16px;
    font-size: 13px;
  }

  .code-textarea {
    min-height: 300px;
    font-size: 12px;
  }

  .page-header-section {
    padding: 30px 15px;
  }

  .page-header-section h1 {
    font-size: 24px;
  }

  .page-header-section p {
    font-size: 14px;
  }

  .seo-content-section {
    padding: 30px 15px;
  }

  .seo-content-section h2 {
    font-size: 24px;
  }

  .seo-content-section h3 {
    font-size: 20px;
  }
}
