/* Wrapper to center card */
.card-wrapper {
  display: flex;
  justify-content: center;
  padding-top: 1.5rem;
}

/* Main card */
.doc-card {
  background: var(--md-default-bg-color);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 14px;
  max-width: 900px;
  width: 100%;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Make primary buttons full-width */
.fullbtn {
  display: block !important;
  width: 100%;
  margin-bottom: 0.7rem;
  text-align: center;
}

/* Mini-cards grid */
.mini-feature-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

/* Mini-card */
.mini-feature {
  background: var(--md-default-bg-color);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mini-icon {
  font-size: 1.8rem;
  margin-bottom: 0.3rem;
}

.mini-btn {
  display: block;
  background: var(--brand-primary);
  color: white !important;
  padding: 0.45rem;
  border-radius: 8px;
  text-align: center;
  margin-top: 0.5rem;
  font-weight: 600;
}

/* ── Screenshot placeholder admonition ────────────────────────────────────── */
.md-typeset .admonition.screenshot,
.md-typeset details.screenshot {
  border-color: #888;
  border-left-width: 4px;
}

.md-typeset .screenshot > .admonition-title,
.md-typeset .screenshot > summary {
  background-color: rgba(120, 120, 120, 0.1);
}

.md-typeset .screenshot > .admonition-title::before,
.md-typeset .screenshot > summary::before {
  background-color: #888;
  -webkit-mask-image: var(--md-admonition-icon--note);
          mask-image: var(--md-admonition-icon--note);
}

.screenshot-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  background: repeating-linear-gradient(
    -45deg,
    rgba(120, 120, 120, 0.06),
    rgba(120, 120, 120, 0.06) 10px,
    rgba(120, 120, 120, 0.02) 10px,
    rgba(120, 120, 120, 0.02) 20px
  );
  border: 2px dashed rgba(120, 120, 120, 0.35);
  border-radius: 8px;
  padding: 1.5rem;
}

.screenshot-label {
  color: var(--md-default-fg-color--light);
  font-size: 0.85rem;
  font-style: italic;
  text-align: center;
}
