/* ============================================================
  Swagger UI カスタムスタイル
  読みやすさ向上のため目的別にセクション分割。
  - Base overrides
  - Download link suppression
  - Hide schemas/models (optional)
  - Quick re-enable instructions
============================================================ */

/* === Base Overrides ======================================= */
/* スキーム/サーバ選択ブロック非表示 (必要ならコメントアウトして復活) */
.swagger-ui .scheme-container { display: none !important; }

/* 余白調整例 (未使用)
.swagger-ui .information-container { margin-top: 0; }
*/

/* === Download Link Suppression ============================ */
/* information-container 内で YAML ダウンロードリンク (.yml/.yaml) を非表示 */
#swagger-ui .information-container.wrapper hgroup a[href$=".yml"],
#swagger-ui .information-container.wrapper hgroup a[href$=".yaml"] {
  display: none !important;
}

/* === Hide Schemas / Models (Optional) ===================== */
/* ページ下部の Schemas セクションのみを非表示にする
  各 API エンドポイント内の Schema タブの内容は表示する */
#swagger-ui section.models,
#swagger-ui div[aria-label="Schemas"],
#swagger-ui .models__title { display: none !important; }

/* === Hide Links Column ===================================== */
/* Responses テーブルの Links 列と「No links」を非表示にする */
#swagger-ui .response-col_links { display: none !important; }

/* === Hide Authorization / Padlock Icons =================== */
/* 全エンドポイントの南京錠（認証）アイコンを非表示 */
.swagger-ui .authorization__btn,
.swagger-ui .auth-wrapper,
.swagger-ui svg.locked,
.swagger-ui .opblock-summary-control svg[aria-label="locked"],
.swagger-ui .opblock-summary-control svg[aria-label="unlocked"] {
  display: none !important;
}

/* === Quick Toggle Guide =================================== */
/* 再表示手順:
  1. 上記 Hide Schemas ブロックをコメントアウト
  2. scheme-container を表示したい場合 `.scheme-container` の行を削除 or コメントアウト
  3. 南京錠アイコンを表示したい場合 Hide Authorization ブロックをコメントアウト
*/

