/* API docs page (cyan theme) — themes/cyan/views/api.php. Cards Add Funds wale card jaise (border / radius) */
.api-docs{ max-width:760px; margin:0 auto; padding:28px 0 48px; }
.api-card{ background:#fff; border:1px solid #cbd5e1; border-radius:12px; box-shadow:0 1px 2px rgba(0,0,0,.04); margin-bottom:16px; overflow:hidden; }
.api-card-head{ display:flex; align-items:center; gap:8px; padding:14px 20px; font-weight:700; font-size:15px; color:#0f1e24; background:#f7fafb; border-bottom:1px solid #e7edef; }
.api-card-head i{ color:var(--c-primary); }

.api-table{ width:100%; border-collapse:collapse; font-size:14px; }
.api-table th{ text-align:left; padding:10px 20px; font-size:12px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; color:#8b9a9f; border-bottom:1px solid #eef2f4; }
.api-table td{ padding:11px 20px; color:#334047; border-bottom:1px solid #eef2f4; vertical-align:top; }
.api-table tr:last-child td{ border-bottom:0; }
.api-table td:first-child{ width:34%; font-weight:600; color:#0f1e24; }
.api-table a{ color:var(--c-primary-dark); font-weight:700; text-decoration:none; }
.api-table a:hover{ text-decoration:none; color:var(--c-primary); }
.api-docs code{ font-size:13px; font-weight:700; color:var(--c-primary-dark); background:rgba(var(--c-primary-rgb),.08); border-radius:5px; padding:1px 6px; }

.api-note{ margin:0; padding:12px 20px; font-size:13px; color:#5a6b72; line-height:1.5; border-top:1px solid #eef2f4; }
.api-note i{ color:var(--c-primary); margin-right:3px; }
.api-response-title{ padding:12px 20px 6px; font-size:12px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; color:#8b9a9f; border-top:1px solid #eef2f4; }
.api-response{ margin:0 20px 18px; padding:14px 16px; background:#0f1e24; color:#d8f3f7; border-radius:10px; font-size:13px; line-height:1.55; overflow-x:auto; white-space:pre; }
.api-card > .api-note + .api-response{ margin-top:4px; }

@media (max-width:600px){
  .api-docs{ padding-top:18px; }
  .api-card-head{ padding:12px 16px; }
  .api-table th, .api-table td{ padding:10px 14px; }
  .api-table td:first-child{ width:38%; }
  .api-note, .api-response-title{ padding-left:16px; padding-right:16px; }
  .api-response{ margin:0 14px 14px; }
}

/* Rate limit — basics card ke neeche warning box */
.api-alert{ display:flex; align-items:flex-start; gap:10px; margin:0 20px 18px; padding:12px 14px; border-radius:10px; background:#fff8e6; border:1px solid #f3d48a; color:#7a5200; font-size:13.5px; line-height:1.5; }
.api-alert i{ color:#e0a100; margin-top:3px; }
.api-alert b{ color:#5c3d00; }
