﻿@charset "utf-8";

  /* --- 編輯器相容的展開功能 CSS (純 span) --- */
  .faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    color: #444;
	cursor:pointer;
  }
  .faq-header span[lang="en"] { display:inline-block; font-size:0.8em;}
  .toggle-icon {
    font-size: 18px;
	padding:0 5px;
    color: #5185c5;
    transition: transform 0.3s ease;
  }
  .expand-wrapper {
    display: block; /* 使 span 具備區塊特性 */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease-out, opacity 0.3s ease-out;
  }
  .description-text {
    display: block; /* 使 span 具備區塊特性 */
    margin: 0;
    padding: 12px 0;
    color: #555;
    font-size: 0.8em;
    line-height: 1.7;
    border-top: 1px dashed #abc4e3;
    margin-top: 10px;
    white-space: pre-wrap; /* 保留所有原始換行 */
  }

  /* 展開啟動狀態 */
  tr.active .expand-wrapper {
    max-height: 2000px; /* 給予充足高度以容納長文本 */
    opacity: 1;
  }
  tr.active .toggle-icon {
    transform: rotate(45deg);
  }
  tr.active .faq-header {
    color: #5185c5;
  }

  /* --- 按鈕區塊 --- */
  .list-controls {
    max-width: 900px;
	padding:0 10px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
  }
  .list-controls button {
    padding: 8px 18px;
    background-color: #5185c5;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
  }