/* Scoped Tool CSS */
.clamp-wrapper {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  margin-bottom: 40px;
}

.clamp-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 25px;
  font-weight: bold;
}

.clamp-explanation {
  background: #e0f2fe;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 25px;
  border-left: 4px solid #0284c7;
  font-size: 14px;
  color: #0369a1;
}

.clamp-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 30px;
  margin-bottom: 25px;
}

@media (max-width: 900px) {
  .clamp-grid {
    grid-template-columns: 1fr;
  }
}

/* Controls Section */
.clamp-controls-panel {
  background: #f8fafc;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.clamp-controls-panel label {
  font-size: 13px;
  font-weight: bold;
  color: #334155;
  margin-bottom: -5px;
  display: flex;
  justify-content: space-between;
}

.clamp-controls-panel input[type="number"],
.clamp-controls-panel select {
  width: 100%;
  padding: 10px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 14px;
  outline: none;
}

.clamp-controls-panel input[type="number"]:focus {
  border-color: #4f46e5;
}

.clamp-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.clamp-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 10px 0;
}

/* Preview Section */
.clamp-preview-wrap {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.clamp-preview-box {
  background: #f1f5f9;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  padding: 40px 20px;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  font-weight: bold;
  color: #1e293b;
  line-height: 1.2;
}

.clamp-preview-note {
  font-size: 12px;
  color: #64748b;
  text-align: center;
  margin-top: -10px;
}

/* Presets */
.clamp-presets {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.clamp-presets button {
  padding: 6px 12px;
  background: white;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: 0.2s;
}

.clamp-presets button:hover {
  background: #e2e8f0;
}

/* Output Section */
.clamp-output-controls {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.clamp-output-controls select {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  font-weight: bold;
}

.clamp-textarea {
  width: 100%;
  height: 200px;
  padding: 15px;
  font-family: monospace;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #1e293b;
  color: #10b981;
  resize: none;
}

.clamp-btn-copy {
  width: 100%;
  padding: 14px;
  margin-top: 12px;
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
}

.clamp-btn-copy:hover {
  background: #1d4ed8;
}

/* SEO Content Styles */
.seo-content {
  margin-top: 40px;
  padding: 25px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
}

.seo-content h2 {
  font-size: 24px;
  color: #1f2937;
  margin-bottom: 15px;
  border-bottom: 2px solid #f3f4f6;
  padding-bottom: 10px;
}

.seo-content p {
  color: #4b5563;
  line-height: 1.6;
}

.faq-item {
  margin-bottom: 20px;
}

.faq-question {
  font-weight: bold;
  color: #111827;
  margin-bottom: 5px;
}
