/* Documentation styles based on learn-more aesthetic */
:root {
  --main-nav-height: 80px;
  --sub-nav-height: 60px;
}

main.docs-content {
  position: static;      /* or `relative` if you need it positioned for children */
  top: auto;             /* cancel the `top: 50%` */
  left: auto;            /* cancel the `left: 50%` */
  transform: none;       /* cancel the centering transform */
}
/* Layout */
.docs-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: calc(var(--main-nav-height) + var(--sub-nav-height));
  padding-bottom: 3rem;           /* floor space for your bottom padding */
}

/* 3) Your content now flows naturally underneath */
.docs-content {
  flex: 1 0 auto;  /* fill remaining space, but grow if content is taller */
  margin: 0 auto;  /* center horizontally */
  max-width: 1000px;
  padding: 3rem;   /* your inner padding */
}

.docs-content h1 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, #fff, #4f6fe0, #fff);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: text-shine 5s linear infinite;
}

.docs-content h2 {
  font-size: 2rem;
  margin: 2.5rem 0 1.5rem;
  position: relative;
}

.docs-content h2::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 50px;
  height: 3px;
  background: #4f6fe0;
}

.docs-content h3 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  color: #6c80c7;
}

.docs-content h4 {
  font-size: 1.2rem;
  margin: 1.5rem 0 1rem;
}

.docs-content p {
  margin: 1rem 0;
  color: #8892b0;
  line-height: 1.7;
  font-size: 1.1rem;
}

.docs-content .lead {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
}

.docs-content ul, .docs-content ol {
  margin: 1rem 0;
  padding-left: 2rem;
  color: #8892b0;
}

.docs-content li {
  margin-bottom: 0.7rem;
  line-height: 1.6;
}

.docs-content a {
  color: #4f6fe0;
  text-decoration: none;
  border-bottom: 1px dashed rgba(79, 111, 224, 0.4);
  transition: all 0.2s ease;
}

.docs-content a:hover {
  border-bottom: 1px solid #4f6fe0;
}

.docs-content a.external-link::after {
  content: '\f35d';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  margin-left: 0.3rem;
  font-size: 0.8rem;
  vertical-align: super;
}

/* Horizontal Rule */
hr {
  margin: 2.5rem 0;
  border: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(79, 111, 224, 0.5), transparent);
}

/* Code blocks */
code {
  font-family: 'Consolas', 'Monaco', monospace;
  background: rgba(79, 111, 224, 0.1);
  color: #4f6fe0;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9rem;
}

pre {
  background: rgba(18, 20, 28, 0.6);
  border-radius: 8px;
  padding: 1.2rem;
  overflow-x: auto;
  border: 1px solid rgba(79, 111, 224, 0.2);
  margin: 1.5rem 0;
}

pre code {
  background: none;
  color: #e3e3e3;
  padding: 0;
}

/* Status indicators */
.status-indicator {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 0.5rem;
}

.status-indicator.green {
  background: #4CAF50;
  box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
}

.status-indicator.blue {
  background: #2196F3;
  box-shadow: 0 0 5px rgba(33, 150, 243, 0.5);
}

.status-indicator.yellow {
  background: #FFC107;
  box-shadow: 0 0 5px rgba(255, 193, 7, 0.5);
}

.status-indicator.red {
  background: #F44336;
  box-shadow: 0 0 5px rgba(244, 67, 54, 0.5);
}

/* Feature lists */
.docs-content .feature-list {
  list-style-type: none;
  padding-left: 0.5rem;
}

.docs-content .feature-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: #8892b0;
}

.docs-content .feature-list li::before {
  content: "•";
  color: #4f6fe0;
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: -0.2rem;
}

/* Callouts/Notes */
.callout {
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
  position: relative;
  border-left: 4px solid transparent;
}

.callout h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.callout h4 i {
  margin-right: 0.5rem;
}

.callout.info {
  background: rgba(33, 150, 243, 0.1);
  border-color: #2196F3;
}

.callout.info h4 {
  color: #2196F3;
}

.callout.warning {
  background: rgba(255, 193, 7, 0.1);
  border-color: #FFC107;
}

.callout.warning h4 {
  color: #FFC107;
}

.callout.danger {
  background: rgba(244, 67, 54, 0.1);
  border-color: #F44336;
}

.callout.danger h4 {
  color: #F44336;
}

/* Related pages cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.doc-card {
  background: rgba(26, 31, 41, 0.5);
  border: 1px solid rgba(79, 111, 224, 0.2);
  border-radius: 8px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
}

.doc-card:hover {
  transform: translateY(-5px);
  background: rgba(36, 41, 51, 0.8);
  border-color: rgba(79, 111, 224, 0.5);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.doc-card h3 {
  margin: 0 0 0.8rem;
  color: #fff;
}

.doc-card p {
  margin: 0;
  color: #8892b0;
}


/* Footer */
footer {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 3rem;
  color: #8892b0;
}



/* Responsive */
@media (max-width: 992px) {
  .docs-content {
    padding: 1.5rem 2rem;
  }
  .docs-content h1 {
    font-size: 2.4rem;
  }
}

@media (max-width: 768px) {
  .docs-content {
    padding: 1.5rem;
    margin-top: 50px; /* Adjust for smaller navbars on mobile */
  }
  .docs-content h1 {
    font-size: 2rem;
  }
  .docs-content h2 {
    font-size: 1.7rem;
  }
}