/* api_docs.css */
.maz_api_wrapper { font-family: 'Inter', sans-serif; color: #1e293b; width: 100%; box-sizing: border-box; overflow-x: hidden; }
.maz_api_header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 25px; flex-wrap: wrap; gap: 15px; }
.maz_api_title { font-size: 24px; font-weight: 900; color: #0f172a; margin: 0 0 5px 0; }
.maz_api_desc { font-size: 13.5px; color: #64748b; margin: 0; }

.maz_api_grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-bottom: 30px; width: 100%; box-sizing: border-box; }
.maz_api_card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 22px; box-shadow: 0 4px 15px rgba(0,0,0,0.02); display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.maz_api_card h3 { margin: 0 0 15px 0; font-size: 15.5px; font-weight: 800; color: #0f172a; display: flex; align-items: center; gap: 8px; }
.maz_api_card h3 svg { color: #3b82f6; }

.maz_api_token_box { display: flex; align-items: center; background: #f8fafc; border: 1px solid #cbd5e1; border-radius: 8px; overflow: hidden; margin-bottom: 12px; width: 100%; box-sizing: border-box; }
.maz_api_token_box input { flex: 1; min-width: 0; border: none; background: transparent; padding: 10px 14px; font-family: monospace; font-size: 13px; color: #334155; outline: none; }
.maz_api_token_box button { background: none; border: none; border-left: 1px solid #cbd5e1; padding: 10px 12px; cursor: pointer; color: #64748b; transition: 0.2s; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.maz_api_token_box button:hover { background: #e2e8f0; color: #0f172a; }

.maz_api_btn_primary { background: #3b82f6; color: #fff; border: none; padding: 10px 16px; border-radius: 8px; font-weight: 700; font-size: 13px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; transition: 0.2s; text-decoration: none; }
.maz_api_btn_primary:hover { background: #2563eb; }

.maz_api_note { font-size: 11.5px; color: #94a3b8; margin: 10px 0 0 0; }

.maz_api_stats { display: flex; flex-direction: column; gap: 10px; margin-bottom: 15px; }
.maz_stat_item { display: flex; justify-content: space-between; align-items: center; background: #f8fafc; padding: 9px 14px; border-radius: 8px; font-size: 12.5px; border: 1px solid #e2e8f0; }
.maz_stat_item span { color: #475569; font-weight: 600; }
.maz_stat_item strong { color: #0f172a; font-weight: 800; }

.maz_jeton_info { font-size: 13px; color: #334155; background: #fffbeb; border: 1px solid #fde68a; padding: 10px 14px; border-radius: 8px; display: flex; justify-content: space-between; align-items: center; }
.maz_jeton_info strong { color: #d97706; font-weight: 900; font-size: 15px; }

.maz_section_title { font-size: 17px; font-weight: 800; color: #0f172a; margin-bottom: 15px; display: flex; align-items: center; gap: 8px; }
.maz_section_title svg { color: #3b82f6; }

.maz_pricing_grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-bottom: 35px; width: 100%; box-sizing: border-box; }
.maz_price_card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 22px 18px; text-align: center; position: relative; transition: 0.2s; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.maz_price_card:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0,0,0,0.05); border-color: #3b82f6; }
.maz_price_card.popular { border-color: #3b82f6; background: #eff6ff; }
.maz_price_card .badge { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: #3b82f6; color: #fff; font-size: 9.5px; font-weight: 800; padding: 3px 10px; border-radius: 20px; text-transform: uppercase; }
.maz_price_card h4 { font-size: 14px; font-weight: 700; color: #475569; margin: 0 0 8px 0; }
.maz_price_card .price { font-size: 24px; font-weight: 900; color: #0f172a; margin-bottom: 8px; }
.maz_price_card .price span { font-size: 12px; font-weight: 500; color: #64748b; }
.maz_price_card p { font-size: 11.5px; color: #64748b; margin-bottom: 18px; line-height: 1.4; }
.maz_api_btn_buy { width: 100%; background: #0f172a; color: #fff; border: none; padding: 9px; border-radius: 8px; font-weight: 700; font-size: 12.5px; cursor: pointer; transition: 0.2s; }
.maz_api_btn_buy:hover { background: #1e293b; }
.popular .maz_api_btn_buy { background: #3b82f6; }
.popular .maz_api_btn_buy:hover { background: #2563eb; }

/* Docs & Playground */
.maz_docs_container { display: flex; gap: 20px; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; overflow: hidden; width: 100%; box-sizing: border-box; }
.maz_docs_sidebar { width: 240px; background: #f8fafc; border-right: 1px solid #e2e8f0; padding: 15px 0; flex-shrink: 0; }
.maz_sidebar_title { font-size: 10.5px; font-weight: 800; color: #94a3b8; text-transform: uppercase; padding: 0 15px 8px 15px; letter-spacing: 0.5px; }
.maz_docs_sidebar ul { list-style: none; padding: 0; margin: 0; }
.maz_docs_sidebar li { padding: 10px 15px; font-size: 13px; font-weight: 600; color: #475569; cursor: pointer; display: flex; align-items: center; gap: 8px; border-left: 3px solid transparent; transition: 0.2s; }
.maz_docs_sidebar li svg { color: #64748b; }
.maz_docs_sidebar li:hover, .maz_docs_sidebar li.active { background: #eff6ff; color: #2563eb; border-left-color: #3b82f6; }
.maz_docs_sidebar li.active svg { color: #3b82f6; }

.maz_docs_content { flex: 1; min-width: 0; padding: 22px; display: flex; flex-direction: column; overflow: hidden; box-sizing: border-box; }
.maz_endpoint_header { display: flex; align-items: center; gap: 10px; background: #f1f5f9; padding: 10px 14px; border-radius: 8px; font-family: monospace; font-size: 13.5px; margin-bottom: 12px; overflow-x: auto; }
.maz_endpoint_header .method { background: #10b981; color: #fff; font-weight: 800; padding: 2px 8px; border-radius: 4px; font-size: 11.5px; flex-shrink: 0; }
.maz_endpoint_header .url { color: #0f172a; word-break: break-all; }
.maz_endpoint_desc { font-size: 12.5px; color: #64748b; margin: 0 0 18px 0; line-height: 1.5; }

.maz_playground_form { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin-bottom: 15px; width: 100%; box-sizing: border-box; }
.input-group { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.input-group label { font-size: 11px; font-weight: 700; color: #475569; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.input-group input, .input-group select { width: 100%; border: 1px solid #cbd5e1; border-radius: 8px; padding: 8px 10px; font-size: 12.5px; outline: none; background: #f8fafc; color: #0f172a; box-sizing: border-box; }

.maz_test_trigger { width: 100%; margin-bottom: 20px; box-sizing: border-box; }

.maz_code_tabs_header { display: flex; gap: 4px; border-bottom: 1px solid #e2e8f0; margin-bottom: 8px; }
.maz_code_tabs_header .tab-btn { background: none; border: none; padding: 6px 12px; font-size: 12px; font-weight: 700; color: #64748b; cursor: pointer; border-bottom: 2px solid transparent; transition: 0.2s; }
.maz_code_tabs_header .tab-btn.active { color: #2563eb; border-bottom-color: #3b82f6; }

.maz_code_snippet_box { background: #1e293b; border-radius: 10px; padding: 12px; margin-bottom: 20px; overflow-x: auto; width: 100%; box-sizing: border-box; }
.maz_code_snippet_box pre { margin: 0; white-space: pre-wrap; word-break: break-all; }
.maz_code_snippet_box code { font-family: monospace; font-size: 12px; color: #38bdf8; line-height: 1.4; }

.maz_resp_title { font-size: 13px; font-weight: 800; color: #0f172a; margin: 0 0 8px 0; }
.maz_response_box { background: #0f172a; border-radius: 10px; padding: 14px; overflow: auto; max-height: 320px; width: 100%; box-sizing: border-box; }
.maz_response_box pre { margin: 0; white-space: pre-wrap; word-break: break-all; }
.maz_response_box code { font-family: monospace; font-size: 12px; color: #e2e8f0; line-height: 1.5; }

/* Modal Stilleri */
.maz_modal_overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.75); backdrop-filter: blur(5px); z-index: 999999; display: none; align-items: center; justify-content: center; padding: 20px; box-sizing: border-box; }
.maz_modal_overlay.open { display: flex; }
.maz_modal_box { background: #fff; width: 100%; max-width: 420px; border-radius: 16px; padding: 25px; box-shadow: 0 15px 35px rgba(0,0,0,0.2); box-sizing: border-box; }
.maz_modal_box h3 { margin: 0 0 10px 0; font-size: 18px; font-weight: 900; color: #0f172a; }
.maz_modal_box p { font-size: 13.5px; color: #64748b; margin-bottom: 25px; line-height: 1.5; }
.maz_modal_actions { display: flex; gap: 10px; justify-content: flex-end; }
.maz_btn_cancel { background: #f1f5f9; color: #475569; border: none; padding: 9px 16px; border-radius: 8px; font-weight: 700; cursor: pointer; }
.maz_btn_confirm { background: #3b82f6; color: #fff; border: none; padding: 9px 16px; border-radius: 8px; font-weight: 700; cursor: pointer; }

.maz_api_toast { position: fixed; bottom: 20px; right: 20px; padding: 12px 20px; border-radius: 8px; font-size: 13px; font-weight: 700; color: #fff; z-index: 999999; display: none; opacity: 0; transition: opacity 0.3s; box-shadow: 0 10px 25px rgba(0,0,0,0.15); }
.maz_api_toast.show { display: block; opacity: 1; }

@media (max-width: 900px) {
    .maz_docs_container { flex-direction: column; }
    .maz_docs_sidebar { width: 100%; border-right: none; border-bottom: 1px solid #e2e8f0; padding: 10px; }
    .maz_docs_sidebar ul { display: flex; gap: 8px; overflow-x: auto; }
}