/* style.css - Minimal Shared Configurations for DocDock Documentation Site */

/* Custom base font resets */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ensure the custom classes from the Termly Privacy Policy template style match our clean Slate/Zinc theme */
[data-custom-class='body'] {
  background: transparent !important;
  color: inherit !important;
}

[data-custom-class='title'], 
[data-custom-class='title'] * {
  font-family: 'Inter', sans-serif !important;
  font-size: 1.875rem !important; /* text-3xl */
  font-weight: 700 !important;
  line-height: 2.25rem !important;
  color: #0f172a !important; /* slate-900 */
}

@media (prefers-color-scheme: dark) {
  [data-custom-class='title'], 
  [data-custom-class='title'] * {
    color: #f8fafc !important; /* slate-50 */
  }
}

[data-custom-class='subtitle'], 
[data-custom-class='subtitle'] * {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.875rem !important; /* text-sm */
  color: #64748b !important; /* slate-500 */
  font-weight: 400 !important;
}

[data-custom-class='heading_1'], 
[data-custom-class='heading_1'] * {
  font-family: 'Inter', sans-serif !important;
  font-size: 1.25rem !important; /* text-xl */
  font-weight: 600 !important;
  color: #0f172a !important; /* slate-900 */
  margin-top: 1.5rem !important;
  margin-bottom: 0.5rem !important;
}

@media (prefers-color-scheme: dark) {
  [data-custom-class='heading_1'], 
  [data-custom-class='heading_1'] * {
    color: #f1f5f9 !important; /* slate-100 */
  }
}

[data-custom-class='heading_2'], 
[data-custom-class='heading_2'] * {
  font-family: 'Inter', sans-serif !important;
  font-size: 1.125rem !important; /* text-lg */
  font-weight: 600 !important;
  color: #1e293b !important; /* slate-800 */
  margin-top: 1.25rem !important;
  margin-bottom: 0.5rem !important;
}

@media (prefers-color-scheme: dark) {
  [data-custom-class='heading_2'], 
  [data-custom-class='heading_2'] * {
    color: #e2e8f0 !important; /* slate-200 */
  }
}

[data-custom-class='body_text'], 
[data-custom-class='body_text'] * {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.95rem !important; /* text-base-ish */
  color: #334155 !important; /* slate-700 */
  line-height: 1.625 !important;
}

@media (prefers-color-scheme: dark) {
  [data-custom-class='body_text'], 
  [data-custom-class='body_text'] * {
    color: #cbd5e1 !important; /* slate-300 */
  }
}

[data-custom-class='link'], 
[data-custom-class='link'] * {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.95rem !important;
  color: #2563eb !important; /* blue-600 */
  text-decoration: underline !important;
  text-underline-offset: 4px !important;
  font-weight: 500 !important;
}

[data-custom-class='link']:hover, 
[data-custom-class='link'] *:hover {
  color: #1d4ed8 !important; /* blue-700 */
}

@media (prefers-color-scheme: dark) {
  [data-custom-class='link'], 
  [data-custom-class='link'] * {
    color: #60a5fa !important; /* blue-400 */
  }
  [data-custom-class='link']:hover, 
  [data-custom-class='link'] *:hover {
    color: #93c5fd !important; /* blue-300 */
  }
}

/* Scrollbar customization - Flat Zinc style */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
@media (prefers-color-scheme: dark) {
  ::-webkit-scrollbar-thumb {
    background: #3f3f46;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #52525b;
  }
}
