/* MD-EXAFS custom documentation styling */

:root {
  --md-exafs-accent: #c05621;
  --md-exafs-accent-hover: #9c4221;
  --md-exafs-primary: #1a365d;
}

/* Featured interactive launcher cards */
.app-launcher-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  background-color: var(--pst-color-surface, #ffffff);
  border: 1px solid var(--pst-color-border, #e2e8f0);
  border-left: 4px solid var(--md-exafs-accent);
  border-radius: 8px;
  margin: 1.5rem 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.app-launcher-card .app-meta h4 {
  margin: 0 0 0.35rem 0;
  font-size: 1.1rem;
}

.app-launcher-card .app-meta p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--pst-color-text-muted, #718096);
}

.app-launch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background-color: var(--md-exafs-accent);
  color: #ffffff !important;
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: 6px;
  text-decoration: none !important;
  transition: background-color 0.15s ease-in-out;
  white-space: nowrap;
}

.app-launch-btn:hover {
  background-color: var(--md-exafs-accent-hover);
  color: #ffffff !important;
}

/* Responsive iframe for embedded WASM notebooks */
.marimo-app-container {
  position: relative;
  width: 100%;
  height: 820px;
  border: 1px solid var(--pst-color-border, #e2e8f0);
  border-radius: 8px;
  overflow: hidden;
  margin: 1.5rem 0;
  background-color: #fafbfc;
}

.marimo-app-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* WASM badges */
.badge-wasm {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background-color: #ebf8ff;
  color: #2b6cb0;
  border-radius: 4px;
  border: 1px solid #bee3f8;
}

[data-theme="dark"] .badge-wasm {
  background-color: #2a4365;
  color: #90cdf4;
  border-color: #2c5282;
}
