/* Product Documentation Shared Styles */
.content-main {
  max-width: 1000px;
  margin: 0 auto;
}

.content-main h2 {
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.content-main h3 {
  color: #333;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
}

.content-main h4 {
  color: #1a1a1a;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.content-main h5 {
  color: #333;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.content-main p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.content-main code {
  background: #f4f4f4;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  color: #0078d4;
}

.content-main pre {
  background: #1a1a1a;
  color: #f0f0f0;
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.content-main pre code {
  background: none;
  padding: 0;
  color: #f0f0f0;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.features-list li {
  background: #f0f7ff;
  padding: 1rem 1.5rem;
  margin-bottom: 0.75rem;
  border-radius: 6px;
  border-left: 4px solid #0078d4;
  color: #333;
}

.simple-list {
  list-style: decimal;
  padding-left: 1.5rem;
  margin: 1.5rem 0;
}

.simple-list li {
  color: #333;
  margin-bottom: 1rem;
  line-height: 1.7;
  background: none;
  padding: 0;
  border-radius: 0;
  border-left: none;
}

.simple-list li strong {
  color: #0078d4;
  display: block;
  margin-bottom: 0.25rem;
}

.ui-screenshot {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.5rem 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.inline-icon {
  display: inline-block;
  vertical-align: middle;
  width: 1.2em;
  height: 1.2em;
  margin-top: -2px;
}

.back-to-top {
  display: inline-block;
  margin-top: 1.5rem;
  color: #0078d4;
  font-weight: 500;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s;
}
.back-to-top:hover {
  color: #005a9e;
  text-decoration: underline;
}

/* --- CTABox and Button Styles (copied from global.css for product pages) --- */
.cta-box {
  background: linear-gradient(135deg, #0078d4 0%, #005a9e 100%);
  color: white;
  padding: 2.5rem;
  border-radius: 12px;
  text-align: center;
  margin-top: 2rem;
}

.cta-box h3 {
  color: white;
  margin-top: 0;
}

.cta-box p {
  color: white;
  opacity: 0.95;
}

.btn-primary {
  background: linear-gradient(135deg, #0078d4 0%, #005a9e 100%);
  color: white !important;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 120, 212, 0.4);
}
