/* Scoped Tool CSS */
.bs-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;
}

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

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

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

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

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

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

.bs-slider-group input[type="range"] {
  width: 100%;
  height: 6px;
  background: #cbd5e1;
  border-radius: 5px;
  outline: none;
  -webkit-appearance: none;
}

.bs-slider-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #4f46e5;
  cursor: pointer;
}

.bs-color-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding-top: 10px;
  border-top: 1px solid #e2e8f0;
}

.bs-color-row input[type="color"] {
  height: 40px;
  width: 80px;
  padding: 2px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  cursor: pointer;
}

.bs-checkbox-label {
  font-weight: bold;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

/* Preview Section */
.bs-preview-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #f1f5f9;
  /* Base background, changed for glassmorphism */
  background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
  background-size: 20px 20px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  padding: 20px;
  min-height: 350px;
  position: relative;
}

.bs-preview-box {
  width: 220px;
  height: 220px;
  background: white;
  border-radius: 12px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #475569;
  margin-bottom: 25px;
}

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

.bs-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;
}

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

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

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

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

.bs-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;
}

.bs-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;
}
