/* ============================================================
   DATASSL — Belge sayfaları (Kurulum Rehberi + API Dokümantasyonu)
   Sayfa içi stillerden SONRA yüklenir; düz renkler, net hiyerarşi,
   okunur kod blokları. Sayfaların HTML'ine dokunmadan görünümü yeniler.
   ============================================================ */

/* ---------- Ortak ---------- */
html body .install-hero,
html body .docs-hero {
  background: #fff !important;
  background-image: none !important;
  color: #0f172a !important;
  text-align: start !important;
  padding: 44px 0 34px !important;
  border-bottom: 1px solid #e5e7ee;
  position: relative;
}
html body .install-hero::before, html body .install-hero::after,
html body .docs-hero::before, html body .docs-hero::after { display: none !important; }
html body .install-hero .container,
html body .docs-hero .container { max-width: 1200px; }
html body .install-hero h1,
html body .docs-hero h1 {
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 2.2rem !important; line-height: 1.15 !important; font-weight: 800 !important;
  letter-spacing: -.025em !important; color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important; background: none !important;
  margin: 0 0 12px !important; text-shadow: none !important;
}
html body .install-hero h1 i,
html body .docs-hero h1 i { display: none !important; }
html body .install-hero p,
html body .docs-hero p {
  color: #475569 !important; font-size: 1.05rem !important; line-height: 1.65 !important;
  max-width: 720px; margin: 0 0 20px !important; opacity: 1 !important;
}

/* ---------- Kurulum Rehberi ---------- */
html body .hero-badges { display: flex !important; flex-wrap: wrap; gap: 8px !important; justify-content: flex-start !important; margin: 0 !important; }
html body .hero-badge {
  background: #f1f3f8 !important; color: #334155 !important; border: 0 !important;
  border-radius: 7px !important; padding: 6px 11px !important; font-size: .82rem !important; font-weight: 600 !important;
  backdrop-filter: none !important;
}
html body .hero-badge i { color: #04868B !important; margin-inline-end: 5px; }

html body .install-section { background: #f7f8fb !important; padding: 36px 0 64px !important; }
html body .install-section .container { max-width: 1040px; }
html body .install-section h2 {
  text-align: start !important; font-size: 1.35rem !important; font-weight: 750 !important;
  letter-spacing: -.02em; color: #0f172a !important; margin: 40px 0 16px !important;
}
html body .install-section h2 i { display: none !important; }

html body .download-buttons { display: flex !important; flex-wrap: wrap; gap: 10px !important; justify-content: flex-start !important; margin: 0 0 20px !important; }
html body .download-btn,
html body .download-btn.whmcs {
  background: #fff !important; background-image: none !important; color: #0f172a !important;
  border: 1px solid #d5dbe5 !important; border-radius: 8px !important; box-shadow: none !important;
  padding: 11px 16px !important; font-size: .92rem !important; font-weight: 700 !important;
  transform: none !important; text-decoration: none !important;
  display: inline-flex !important; align-items: center; gap: 8px;
}
html body .download-btn i { color: #04868B !important; }
html body .download-btn:hover { border-color: #04868B !important; color: #04868B !important; }
html body .download-buttons .download-btn:first-child,
html body .step-content .download-btn { background: #04868B !important; border-color: #04868B !important; color: #fff !important; }
html body .download-buttons .download-btn:first-child i,
html body .step-content .download-btn i { color: #fff !important; }
html body .download-buttons .download-btn:first-child:hover,
html body .step-content .download-btn:hover { background: #037278 !important; border-color: #037278 !important; color: #fff !important; }

html body .info-box {
  border-radius: 10px !important; border: 1px solid #e3e8ef !important; border-inline-start: 3px solid #04868B !important;
  background: #fff !important; color: #334155 !important; box-shadow: none !important;
  padding: 14px 16px !important; font-size: .93rem !important; line-height: 1.6 !important;
}
html body .info-box.info { background: #f5f6ff !important; border-color: #dfe3fb !important; border-inline-start-color: #04868B !important; }
html body .info-box.success { background: #f0fdf4 !important; border-color: #cfeeda !important; border-inline-start-color: #059669 !important; }
html body .info-box.warning { background: #fffbeb !important; border-color: #f6e3b3 !important; border-inline-start-color: #d97706 !important; }
html body .info-box.info > i { color: #04868B !important; }
html body .info-box.success > i { color: #059669 !important; }
html body .info-box.warning > i { color: #d97706 !important; }

html body .req-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 14px !important; }
html body .req-card {
  background: #fff !important; border: 1px solid #e5e7ee !important; border-radius: 12px !important;
  box-shadow: none !important; padding: 18px !important; transform: none !important;
}
html body .req-card h4 { font-size: 1rem !important; font-weight: 700 !important; color: #0f172a !important; margin: 0 0 10px !important; }
html body .req-card h4 i { color: #04868B !important; }
html body .req-card ul { margin: 0 !important; padding: 0 !important; list-style: none !important; }
html body .req-card li { font-size: .9rem !important; color: #475569 !important; padding: 5px 0 !important; border: 0 !important; }

html body .module-tabs {
  display: inline-flex !important; gap: 2px !important; background: #eceff5 !important; border: 0 !important;
  border-radius: 10px !important; padding: 4px !important; margin: 8px 0 20px !important; box-shadow: none !important;
  justify-content: flex-start !important; flex-wrap: wrap;
}
html body .module-tab {
  background: transparent !important; color: #5b6678 !important; border: 0 !important; border-radius: 7px !important;
  padding: 8px 16px !important; font-size: .9rem !important; font-weight: 700 !important; box-shadow: none !important;
  display: inline-flex !important; align-items: center; gap: 7px; flex-direction: row !important; transform: none !important;
}
html body .module-tab i { font-size: .95rem !important; color: inherit !important; }
html body .module-tab.active { background: #fff !important; color: #0f172a !important; box-shadow: 0 1px 2px rgba(15, 23, 42, .12) !important; }

html body .install-step {
  background: #fff !important; border: 1px solid #e5e7ee !important; border-radius: 12px !important;
  box-shadow: none !important; padding: 20px !important; margin-bottom: 14px !important; transform: none !important;
}
html body .step-number {
  background: #eef0fb !important; background-image: none !important; color: #04868B !important;
  border-radius: 8px !important; box-shadow: none !important; font-weight: 800 !important;
}
html body .step-content h3, html body .step-content h4 { font-size: 1.05rem !important; font-weight: 700 !important; color: #0f172a !important; }
html body .step-content p, html body .step-content li { color: #475569 !important; font-size: .94rem !important; line-height: 1.65 !important; }
html body .step-content code {
  background: #f1f3f8 !important; color: #037278 !important; border-radius: 5px !important;
  padding: 1px 6px !important; font-size: .86em !important; border: 0 !important;
}
html body .step-code, html body .file-tree {
  background: #0f172a !important; color: #e2e8f0 !important; border-radius: 10px !important; border: 0 !important;
  box-shadow: none !important; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
  font-size: .84rem !important; line-height: 1.7 !important;
}
html body .step-code code { background: transparent !important; color: inherit !important; padding: 0 !important; }
html body .code-label { color: #94a3b8 !important; font-size: .74rem !important; letter-spacing: .04em; }
html body .file-tree .folder { color: #fbbf24 !important; }
html body .file-tree .file { color: #93c5fd !important; }
html body .file-tree .desc { color: #94a3b8 !important; }

html body .screenshot-grid { gap: 14px !important; }
html body .screenshot-card {
  background: #fff !important; border: 1px solid #e5e7ee !important; border-radius: 12px !important;
  box-shadow: none !important; transform: none !important;
}
html body .sc-icon { background: #eef0fb !important; background-image: none !important; color: #04868B !important; border-radius: 10px !important; box-shadow: none !important; }
html body .sc-icon i { color: #04868B !important; }

html body .feature-table { border: 1px solid #e5e7ee !important; border-radius: 12px !important; overflow: hidden; box-shadow: none !important; background: #fff !important; }
html body .feature-table th { background: #f8fafc !important; background-image: none !important; color: #5b6678 !important; font-size: .78rem !important; text-transform: uppercase; letter-spacing: .04em; font-weight: 700 !important; border-bottom: 1px solid #e5e7ee !important; }
html body .feature-table td { border-color: #eef1f5 !important; font-size: .92rem !important; color: #334155 !important; }
html body .feature-table .check, html body .req-card .check { color: #059669 !important; }

html body .faq-item { background: #fff !important; border: 1px solid #e5e7ee !important; border-radius: 10px !important; box-shadow: none !important; margin-bottom: 10px !important; }
html body .faq-question { font-weight: 600 !important; color: #0f172a !important; font-size: .98rem !important; background: transparent !important; }
html body .faq-question i { color: #8a94a6 !important; }
html body .faq-answer { color: #475569 !important; font-size: .94rem !important; line-height: 1.65 !important; }

/* ---------- API Dokümantasyonu ---------- */
html body .docs-version-badge {
  background: #eef0fb !important; background-image: none !important; color: #04868B !important;
  border-radius: 6px !important; padding: 3px 9px !important; font-size: .78rem !important; letter-spacing: 0 !important;
  margin-bottom: 12px !important;
}
html body .docs-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-start !important; }
html body .docs-hero-actions .btn {
  border-radius: 8px !important; font-size: .94rem !important; font-weight: 700 !important; padding: 10px 18px !important;
  box-shadow: none !important; transform: none !important;
}
html body .docs-hero-actions .btn i { display: none; }
html body .docs-hero-actions .btn-light { background: #04868B !important; border-color: #04868B !important; color: #fff !important; }
html body .docs-hero-actions .btn-light:hover { background: #037278 !important; border-color: #037278 !important; }
html body .docs-hero-actions .btn-outline-light { background: #fff !important; border: 1px solid #d5dbe5 !important; color: #0f172a !important; }
html body .docs-hero-actions .btn-outline-light:hover { border-color: #04868B !important; color: #04868B !important; }

html body .docs-section { background: #f7f8fb !important; padding: 32px 0 64px !important; margin: 0 !important; }
html body .docs-section > .container { max-width: 1240px; }
html body .docs-sidebar {
  background: #fff !important; border: 1px solid #e5e7ee !important; border-radius: 12px !important;
  box-shadow: none !important; padding: 16px !important; position: sticky; top: 84px;
  max-height: calc(100vh - 104px); overflow-y: auto;
}
html body .docs-sidebar .sidebar-sticky { position: static !important; }
html body .docs-sidebar h5, html body .sidebar-download h5, html body .sidebar-download h6 {
  font-size: .74rem !important; font-weight: 700 !important; text-transform: uppercase; letter-spacing: .06em;
  color: #8a94a6 !important; margin: 0 0 8px !important;
}
html body .docs-nav a {
  display: block !important; padding: 7px 10px !important; border-radius: 7px !important; border: 0 !important;
  font-size: .9rem !important; font-weight: 500 !important; color: #475569 !important; background: transparent !important;
  text-decoration: none !important; margin: 0 0 1px !important;
}
html body .docs-nav a:hover { background: #f1f3f8 !important; color: #0f172a !important; }
html body .docs-nav a.active { background: #eef0fb !important; background-image: none !important; color: #04868B !important; font-weight: 700 !important; }
html body .sidebar-download .btn, html body .sidebar-download a.btn {
  border-radius: 8px !important; font-size: .86rem !important; font-weight: 700 !important; box-shadow: none !important;
  background: #fff !important; background-image: none !important; border: 1px solid #d5dbe5 !important; color: #0f172a !important;
}
html body .sidebar-download .btn:hover { border-color: #04868B !important; color: #04868B !important; }

html body .docs-section-content {
  background: #fff !important; border: 1px solid #e5e7ee !important; border-radius: 12px !important;
  box-shadow: none !important; padding: 28px 30px !important; margin-bottom: 16px !important;
}
html body .docs-section-content h2 {
  font-size: 1.45rem !important; font-weight: 750 !important; letter-spacing: -.02em; color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important; background: none !important;
  margin: 0 0 14px !important; padding: 0 0 14px !important; border-bottom: 1px solid #eef1f5 !important;
}
html body .docs-section-content h2 i { display: none !important; }
html body .docs-section-content h3 { font-size: 1.1rem !important; font-weight: 700 !important; color: #0f172a !important; margin: 26px 0 10px !important; }
html body .docs-section-content h4 { font-size: .98rem !important; font-weight: 700 !important; color: #0f172a !important; margin: 20px 0 8px !important; }
html body .docs-section-content p, html body .docs-section-content li { color: #475569 !important; font-size: .95rem !important; line-height: 1.7 !important; }
html body .docs-section-content :not(pre) > code {
  background: #f1f3f8 !important; color: #037278 !important; border-radius: 5px !important; padding: 1px 6px !important; font-size: .86em !important;
}
html body .code-block {
  background: #0f172a !important; border-radius: 10px !important; border: 0 !important; box-shadow: none !important;
  margin: 10px 0 18px !important; overflow: auto;
}
html body .code-block pre, html body .code-block code {
  background: transparent !important; color: #e2e8f0 !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important; font-size: .84rem !important; line-height: 1.7 !important;
}
html body .docs-section-content .table {
  font-size: .9rem !important; border: 1px solid #e5e7ee !important; border-radius: 10px; overflow: hidden;
  border-collapse: separate !important; border-spacing: 0; margin-bottom: 18px !important;
}
html body .docs-section-content .table th {
  background: #f8fafc !important; color: #5b6678 !important; font-size: .76rem !important; font-weight: 700 !important;
  text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid #e5e7ee !important; border-top: 0 !important; padding: 9px 12px !important;
}
html body .docs-section-content .table td { border-color: #eef1f5 !important; padding: 9px 12px !important; color: #334155 !important; vertical-align: middle; }
html body .docs-section-content .table tr:last-child td { border-bottom: 0 !important; }
html body .table-section-header td, html body tr.table-section-header > * {
  background: #f1f3f8 !important; color: #0f172a !important; font-weight: 700 !important; font-size: .82rem !important;
}
html body .docs-section-content .badge { border-radius: 5px !important; font-weight: 700 !important; font-size: .72rem !important; padding: 4px 7px !important; letter-spacing: .02em; }
html body .docs-section-content .badge.bg-primary { background: #D9F3F1 !important; color: #037278 !important; }
html body .docs-section-content .badge.bg-success { background: #dcfce7 !important; color: #166534 !important; }
html body .docs-section-content .badge.bg-warning { background: #fef3c7 !important; color: #92400e !important; }
html body .docs-section-content .badge.bg-danger { background: #fee2e2 !important; color: #991b1b !important; }
html body .docs-section-content .alert { border-radius: 10px !important; box-shadow: none !important; font-size: .93rem !important; }
html body .docs-section-content .alert-info { background: #f5f6ff !important; border: 1px solid #dfe3fb !important; color: #334155 !important; }
html body .docs-section-content .nav-tabs { border-bottom: 1px solid #e5e7ee !important; gap: 2px; }
html body .docs-section-content .nav-tabs .nav-link {
  border: 0 !important; border-bottom: 2px solid transparent !important; border-radius: 0 !important;
  color: #5b6678 !important; font-weight: 600 !important; font-size: .9rem !important; background: transparent !important; padding: 9px 14px !important;
}
html body .docs-section-content .nav-tabs .nav-link.active { color: #04868B !important; border-bottom-color: #04868B !important; }
html body .download-card {
  background: #fff !important; background-image: none !important; border: 1px solid #e5e7ee !important;
  border-radius: 12px !important; box-shadow: none !important; color: #0f172a !important;
}

/* ---------- Dar ekran ---------- */
@media (max-width: 991px) {
  html body .docs-sidebar { position: static; max-height: none; margin-bottom: 16px; }
  html body .req-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 640px) {
  html body .install-hero h1, html body .docs-hero h1 { font-size: 1.7rem !important; }
  html body .install-hero, html body .docs-hero { padding: 30px 0 24px !important; }
  html body .docs-section-content { padding: 20px 16px !important; }
  html body .install-step { padding: 16px !important; }
  html body .module-tabs { width: 100%; }
  html body .module-tab { flex: 1; justify-content: center; padding: 8px 6px !important; }
  html body .download-btn { width: 100%; justify-content: center; }
}

/* Dar ekranda içindekiler: yatay kaydırılan satır */
@media (max-width: 991px) {
  html body .docs-nav { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; gap: 4px; overflow-x: auto; white-space: nowrap; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  html body .docs-nav a { flex: 0 0 auto; background: #f1f3f8 !important; }
  html body .sidebar-download { display: none !important; }
}
