/* ============================================
   HubSpot CTI Connector Docs — Octavebytes Brand Theme
   Primary: Teal #00A99D | Dark Navy #1A2233
   ============================================ */

:root {
  --md-primary-fg-color:        #00A99D;
  --md-primary-fg-color--light: #33BDB8;
  --md-primary-fg-color--dark:  #007A75;
  --md-accent-fg-color:         #00A99D;
  --md-primary-bg-color:        #ffffff;
}

[data-md-color-scheme="slate"] {
  --md-primary-fg-color:        #00A99D;
  --md-primary-fg-color--light: #33BDB8;
  --md-primary-fg-color--dark:  #007A75;
  --md-accent-fg-color:         #33BDB8;
  --md-default-bg-color:        #0f1923;
  --md-default-bg-color--light: #1a2535;
}

/* Header */
.md-header {
  background-color: #1A2233;
  box-shadow: 0 2px 12px rgba(0,169,157,0.15);
}

.md-header__title {
  font-weight: 700;
  letter-spacing: -0.3px;
}

/* Navigation tabs */
.md-tabs {
  background-color: #1A2233;
  border-bottom: 2px solid #00A99D;
}

.md-tabs__link--active,
.md-tabs__link:hover {
  color: #00A99D !important;
}

/* Sidebar */
.md-nav__title {
  color: #00A99D;
  font-weight: 700;
}

.md-nav__link--active {
  color: #00A99D !important;
  font-weight: 600;
}

/* Hero banner on homepage */
.ob-hero {
  background: linear-gradient(135deg, #1A2233 0%, #0d3d3a 100%);
  border-radius: 12px;
  padding: 48px 40px;
  margin-bottom: 32px;
  color: white;
  text-align: center;
}

.ob-hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: white !important;
  border: none !important;
}

.ob-hero p {
  font-size: 1.15rem;
  opacity: 0.85;
  margin-bottom: 28px;
}

.ob-hero .hero-badge {
  display: inline-block;
  background: #00A99D;
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 4px;
}

/* Card grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.card {
  background: var(--md-default-bg-color);
  border: 1px solid rgba(0,169,157,0.2);
  border-radius: 10px;
  padding: 24px;
  transition: all 0.2s ease;
  text-decoration: none !important;
  color: inherit !important;
  display: block;
}

.card:hover {
  border-color: #00A99D;
  box-shadow: 0 4px 20px rgba(0,169,157,0.15);
  transform: translateY(-2px);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: #00A99D;
}

.card p {
  font-size: 0.875rem;
  opacity: 0.75;
  margin: 0;
  line-height: 1.5;
}

/* Footer */
.md-footer {
  background-color: #1A2233;
}

.md-footer-meta {
  background-color: #111a27;
}

/* Tables */
.md-typeset table:not([class]) th {
  background-color: #00A99D;
  color: white;
}

/* Code blocks */
.md-typeset pre > code {
  border-left: 3px solid #00A99D;
}

/* Admonitions */
.md-typeset .admonition {
  border-left-color: #00A99D;
}

.md-typeset .admonition-title {
  background-color: rgba(0,169,157,0.1);
}

/* Logo sizing */
.md-header__button.md-logo img {
  height: 32px;
  width: auto;
}

/* Documentation figures (screenshots with captions) */
.md-typeset figure.doc-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 24px auto;
  text-align: center;
}

.md-typeset figure.doc-figure img {
  display: block;
  margin: 0 auto;
  border: 1px solid rgba(0,169,157,0.25);
  border-radius: 6px;
}

.md-typeset figure.doc-figure figcaption {
  margin-top: 10px;
  font-size: 0.8rem;
  font-style: italic;
  color: var(--md-default-fg-color--light);
}
