/* Custom styling for FlaUI Python Wrapper docs */

/* Stylized, minimalistic font for the site title (top-left header) */
@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@500;600;700&display=swap");

.md-header__title {
  font-family: "Quicksand", var(--md-text-font-family, sans-serif);
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Home page hero logo — keep it tasteful, not oversized */
.md-content img[alt="FlaUI Logo"] {
  display: block;
  margin: 1rem auto;
  width: 220px;
  max-width: 60%;
  height: auto;
}

/* Home page hero badge row — centered, with comfortable spacing */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin: 0.5rem 0 1.5rem;
}

.hero-badges img {
  height: 1.3rem;
}

/* Grid cards styling for feature boxes */
.grid.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.grid.cards > div {
  background: var(--md-code-bg-color);
  border-radius: 0.2rem;
  padding: 1.5rem;
  border: 1px solid var(--md-default-fg-color--lightest);
}

.grid.cards > div:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.3s ease;
}

/* Better code block styling */
.highlight {
  margin: 1rem 0;
}

/* Tabbed content improvements */
.tabbed-set {
  margin: 1.5rem 0;
}

/* Remove permalink hover symbols */
.headerlink {
  display: none !important;
}

/* Better admonition styling */
.admonition {
  margin: 1.5rem 0;
  border-left: 4px solid var(--md-accent-fg-color);
}

/* Table improvements */
table {
  border-collapse: collapse;
  width: 100%;
  margin: 1rem 0;
}

table th {
  background: var(--md-code-bg-color);
  font-weight: 600;
}

table td,
table th {
  padding: 0.75rem;
  border: 1px solid var(--md-default-fg-color--lightest);
}

/* Navigation tabs: let the theme palette drive colors (clean white / black).
   Add a subtle divider so the tab strip reads as part of the header without a
   heavy colored band. */
.md-tabs {
  border-bottom: 1px solid var(--md-default-fg-color--lightest);
}

/* Footer: copyright + CTA on the left, social links on the right */
.md-footer-meta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
