/* Page styles for /index.html
 * Migrated from inline <style> block (Faz 5A — CSP style-src hardening).
 */

/* ── #docs bölümü ── */
#docs { background: #f4f7f9; }

.docs-section-header { text-align: center; margin-bottom: 2rem; }
.docs-section-header .badge { margin-bottom: 0.75rem; }
.docs-section-header h2 { margin-bottom: 0.5rem; }
.docs-section-header p  { color: #5f7578; font-size: 1rem; max-width: 520px; margin: 0 auto; }

.docs-tab-bar {
  display: flex; justify-content: center; gap: 0.5rem;
  margin: 0 auto 2rem; background: #e2eaf0;
  border-radius: 999px; padding: 0.3rem; width: fit-content;
}
.docs-tab-btn {
  padding: 0.55rem 1.5rem; border-radius: 999px; border: none; cursor: pointer;
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 600;
  background: transparent; color: #5f7578; transition: all 0.2s ease;
}
.docs-tab-btn.active { background: #fff; color: #0f2744; box-shadow: 0 2px 10px rgba(15,39,68,0.12); }
.docs-tab-btn:hover:not(.active) { background: rgba(255,255,255,0.6); color: #0f2744; }

.docs-panel { display: none; }
.docs-panel.active { display: block; }

.docs-step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0.85rem; margin-bottom: 1.5rem; }

.docs-step-card {
  background: #fff; border-radius: 12px; border: 1px solid #e2eaf0;
  padding: 1rem 1.2rem; display: flex; gap: 1rem; align-items: flex-start;
  box-shadow: 0 1px 4px rgba(15,39,68,0.05);
}
.docs-step-number {
  min-width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark,#0a6b6d) 100%);
  color: #fff; font-weight: 700; font-size: 0.82rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px;
}
.docs-step-content h3 { font-size: 0.92rem; font-weight: 700; color: #0f2744; margin-bottom: 0.2rem; }
.docs-step-content p  { font-size: 0.84rem; color: #5f7578; margin: 0; line-height: 1.5; }
.docs-step-content a  { color: var(--primary); font-weight: 600; }

.docs-section-title {
  font-family: var(--font-heading); font-size: 1.15rem; color: #0f2744;
  margin: 1.5rem 0 0.85rem; padding-bottom: 0.5rem; border-bottom: 2px solid #e2eaf0;
  display: flex; align-items: center; gap: 0.5rem;
}
.docs-section-title i { color: var(--primary); font-size: 0.95rem; }

.docs-code-block {
  background: #0f1f2e; border-radius: 10px; padding: 1rem 1.2rem;
  margin: 0.6rem 0 1rem; overflow-x: auto;
}
.docs-code-block pre {
  margin: 0; color: #c9d8e8;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.8rem; line-height: 1.6; white-space: pre;
}
.docs-code-block .comment { color: #6b8a9e; }
.docs-code-block .key     { color: #7ec8e3; }
.docs-code-block .val     { color: #b5e48c; }
.docs-code-block .str     { color: #ffd6a5; }
.docs-code-block .kw      { color: #c3a4ff; }
.docs-code-label { font-size: 0.73rem; font-weight: 700; color: #8899aa; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.4rem; }

/* Collapsible cURL */
.docs-collapsible-btn {
  display: flex; align-items: center; gap: 0.5rem; width: 100%;
  background: #e8f0f4; border: 1px solid #cdd9e2; border-radius: 8px;
  padding: 0.55rem 0.9rem; cursor: pointer; font-size: 0.85rem;
  font-weight: 600; color: #0f2744; margin: 0.5rem 0;
  font-family: var(--font-body); text-align: left;
}
.docs-collapsible-btn:hover { background: #d9e6ef; }
.docs-collapsible-btn .chevron { margin-left: auto; transition: transform 0.2s; }
.docs-collapsible-btn.open .chevron { transform: rotate(180deg); }
.docs-collapsible-content { display: none; }
.docs-collapsible-content.open { display: block; }

.docs-highlight-card {
  background: linear-gradient(135deg, #f0fdf4 0%, #e8f5e9 100%);
  border: 2px solid #22c55e; border-radius: 14px;
  padding: 1.2rem 1.4rem 1.4rem; margin-bottom: 1.5rem;
}
.docs-highlight-badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: #22c55e; color: #fff; font-size: 0.7rem; font-weight: 700;
  padding: 0.25rem 0.65rem; border-radius: 999px; margin-bottom: 0.7rem;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.docs-highlight-card h3 { font-size: 1.05rem; color: #0f2744; margin-bottom: 0.4rem; font-family: var(--font-heading); }
.docs-highlight-card p  { font-size: 0.875rem; color: #374151; margin-bottom: 0.6rem; line-height: 1.55; }

.docs-method-badge {
  display: inline-block; background: #10b981; color: #fff;
  font-size: 0.7rem; font-weight: 700; padding: 0.18rem 0.5rem;
  border-radius: 4px; font-family: monospace; margin-right: 0.35rem; vertical-align: middle;
}
.docs-endpoint { font-family: monospace; font-size: 0.88rem; color: #0f2744; font-weight: 600; background: #f0f4f8; padding: 0.35rem 0.7rem; border-radius: 6px; display: inline-block; margin-bottom: 0.5rem; }

.docs-sut-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid #e2eaf0; margin: 0.6rem 0 1rem; }
.docs-sut-table th { background: #0f2744; color: #fff; padding: 0.55rem 0.85rem; text-align: left; font-weight: 600; font-size: 0.77rem; }
.docs-sut-table td { padding: 0.5rem 0.85rem; border-bottom: 1px solid #e8f0f4; color: #374151; }
.docs-sut-table tr:last-child td { border-bottom: none; }
.sut-code { font-family: monospace; font-weight: 700; color: var(--primary); }

.docs-info-box {
  background: #eff8ff; border: 1px solid #bfdbfe; border-radius: 8px;
  padding: 0.8rem 1rem; margin: 0.75rem 0; font-size: 0.85rem; color: #1e40af;
  display: flex; gap: 0.5rem; align-items: flex-start; line-height: 1.5;
}
.docs-warn-box {
  background: #fffbeb; border: 1px solid #fde68a; border-radius: 8px;
  padding: 0.8rem 1rem; margin: 0.75rem 0; font-size: 0.85rem; color: #92400e;
  display: flex; gap: 0.5rem; align-items: flex-start; line-height: 1.5;
}
.docs-info-box i, .docs-warn-box i { margin-top: 2px; flex-shrink: 0; }

.docs-rate-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.75rem; margin-bottom: 1rem; }
.docs-rate-card { background: #fff; border: 1px solid #e2eaf0; border-radius: 10px; padding: 0.9rem 1rem; text-align: center; }
.docs-rate-val  { font-size: 1.5rem; font-weight: 800; color: var(--primary); font-family: var(--font-heading); line-height: 1; margin-bottom: 0.25rem; }
.docs-rate-label { font-size: 0.77rem; color: #5f7578; font-weight: 600; }

.docs-meta-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid #e2eaf0; margin: 0.6rem 0 1rem; }
.docs-meta-table th { background: #0f2744; color: #fff; padding: 0.55rem 0.85rem; text-align: left; font-weight: 600; font-size: 0.77rem; }
.docs-meta-table td { padding: 0.5rem 0.85rem; border-bottom: 1px solid #e8f0f4; color: #374151; }
.docs-meta-table tr:last-child td { border-bottom: none; }
.docs-meta-table code { font-family: monospace; font-weight: 600; color: var(--primary); font-size: 0.8rem; background: #f0f4f8; padding: 0.1rem 0.3rem; border-radius: 3px; }
.docs-meta-table .required-yes { color: #059669; font-weight: 700; }
.docs-meta-table .required-no { color: #9ca3af; }

.docs-pacs-subtitle { font-size: 0.92rem; font-weight: 700; color: #0f2744; margin: 1rem 0 0.5rem; display: flex; align-items: center; gap: 0.4rem; }
.docs-pacs-subtitle i { color: var(--primary); font-size: 0.85rem; }

.docs-placeholder-list { list-style: none; padding: 0; margin: 0.4rem 0 1rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0.3rem; }
.docs-placeholder-list li { font-size: 0.82rem; color: #374151; padding: 0.3rem 0.5rem; background: #f8fafc; border-radius: 6px; border: 1px solid #e2eaf0; }
.docs-placeholder-list code { font-family: monospace; font-weight: 600; color: var(--primary); font-size: 0.8rem; }

.docs-inner { max-width: 860px; margin: 0 auto; }

@media (max-width: 640px) {
  .docs-step-grid { grid-template-columns: 1fr; }
  .docs-rate-grid { grid-template-columns: 1fr 1fr; }
  .docs-tab-bar { width: calc(100% - 2rem); border-radius: 12px; padding: 0.3rem; flex-direction: column; }
  .docs-tab-btn { border-radius: 8px; }
}
    
