/* ===========================================================
   ISTDC v2 內頁共用樣式
   做法：沿用 v2 首頁視覺框架（navbar / footer / 品牌風格），
        把 v1 各頁的畫面內容整合進來。
   品牌色 #083766 / #b75123 / #bfaa7d
   =========================================================== */

:root {
	--istdc-navy: #083766;
	--istdc-navy-dark: #06294c;
	--istdc-orange: #b75123;
	--istdc-gold: #bfaa7d;
	--istdc-ink: #1e1e1e;
	--istdc-muted: #6c757d;
	--istdc-line: #e6e9ef;
	--istdc-soft: #f5f7fa;
}

/* auth 表單卡 logo 隱藏（login / apply / activate / two-factor 共用） */
.form-card-logo { display: none; }

/* 內頁 header 比照首頁：頂部透明，讓 breadcrumb／表單背景穿透 top menu；
   scroll 後由 istdc-custom-v2.js 加 .menu-sticky → sofbox `header.menu-sticky` 顯示白底+陰影。
   故不強制白底、不墊 body padding-top；改由各首區段（.iq-breadcrumb／.form-section）
   自帶足夠頂部留白避開 fixed header（約 100px）。 */

/* ---------- 內頁標題橫幅 ---------- */
.iq-breadcrumb {
	position: relative;
	padding: 150px 0 70px; /* 頂部留白避開透明 fixed header（約 100px）+ 標題呼吸空間 */
	background: #f7f4ec;
	overflow: hidden;
}
/* 運動主題背景（C2 刷淡）— 獨立超出版位的視差層，由 istdc-custom-v2.js 捲動位移 */
.iq-breadcrumb-bg {
	position: absolute;
	left: 0; top: -35%;
	width: 100%; height: 170%;
	background: url("../images/istdc-header-bg.png?v=4") center / cover no-repeat;
	z-index: 0;
	pointer-events: none;
	will-change: transform;
}
.iq-breadcrumb > .container { position: relative; z-index: 1; }
.iq-breadcrumb .title {
	position: relative;
	font-family: "Noto Sans TC", sans-serif;
	font-weight: 700;
	color: var(--istdc-navy);
	margin-bottom: 14px;
	font-size: clamp(26px, 3vw, 38px);
}
.iq-breadcrumb .breadcrumb { background: transparent; padding: 0; margin: 0; font-size: 14px; }
.iq-breadcrumb .breadcrumb-item a { color: var(--istdc-muted); }
.iq-breadcrumb .breadcrumb-item a:hover { color: var(--istdc-orange); }
.iq-breadcrumb .breadcrumb-item.active { color: var(--istdc-navy); font-weight: 500; }
.iq-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: #b9c0cc; }

/* ---------- 表單區 / 表單卡片 ---------- */
.form-section { padding: 140px 0 90px; } /* 頂部留白避開透明 fixed header（約 100px） */
.form-card {
	background: #fff;
	border: 1px solid var(--istdc-line);
	border-radius: 14px;
	box-shadow: 0 18px 45px rgba(8, 55, 102, 0.08);
	padding: 44px 44px 38px;
}
.form-card-logo { text-align: center; margin-bottom: 18px; }
.form-card-logo img { width: 100%; height: auto; }

.form-card .card-title {
	text-align: center;
	font-family: "Noto Sans TC", sans-serif;
	font-weight: 700;
	color: var(--istdc-navy);
	font-size: 24px;
	margin-bottom: 30px;
}
/* 標題下方說明文字（apply / two-factor / activate 共用）；有副標時標題改窄間距 */
.form-card .card-title.tight { margin-bottom: 8px; }
.form-card .card-subtitle {
	text-align: center;
	font-size: 14px;
	line-height: 1.7;
	color: var(--istdc-muted);
	margin-bottom: 28px;
}

.istdc-form .form-group { margin-bottom: 22px; }
.istdc-form label {
	display: block;
	font-size: 14px;
	font-weight: 500;
	color: var(--istdc-ink);
	margin-bottom: 8px;
}
.istdc-form label .req { color: var(--istdc-orange); }
.istdc-form .form-control {
	float: none;
	width: 100%;
	display: block;
	height: auto;
	line-height: 1.5;
	padding: 12px 16px;
	border: 1px solid var(--istdc-line);
	border-radius: 8px;
	font-size: 15px;
	color: var(--istdc-ink);
	box-sizing: border-box;
	transition: border-color .2s, box-shadow .2s;
}
/* hover 與 focus 統一：皆 1px navy border（focus 多一層光暈），固定寬度防跳動 */
.istdc-form .form-control:hover {
	border: 1px solid var(--istdc-navy);
}
.istdc-form .form-control:focus,
.istdc-form .form-control:hover:focus {
	border: 1px solid var(--istdc-navy);
	box-shadow: 0 0 0 3px rgba(8, 55, 102, 0.12);
	outline: none;
}
.istdc-form .field-hint { font-size: 12px; color: #9aa4b2; margin-top: 6px; }

/* 主要按鈕（沿用 v2 gradient-btn，全寬） */
.istdc-form .button.gradient-btn.btn-block {
	width: 100%;
	margin-top: 6px;
	padding: 13px;
	font-size: 16px;
	font-weight: 700;
	border: none;
	cursor: pointer;
}

/* 表單下方連結 */
.form-foot {
	margin-top: 22px;
	padding-top: 22px;
	border-top: 1px solid var(--istdc-line);
	font-size: 14px;
	color: var(--istdc-muted);
}
.form-foot a { color: var(--istdc-orange); font-weight: 600; }
.form-foot a:hover { text-decoration: underline; }

/* ---------- auth 補充元件（activate / two-factor 共用） ---------- */
/* 使用者資訊框（activate：您好，名字 / email） */
.info-box {
	background: var(--istdc-soft);
	border: 1px solid var(--istdc-line);
	border-radius: 10px;
	padding: 16px 18px;
	margin-bottom: 24px;
}
.info-box .info-name { font-size: 14px; color: var(--istdc-ink); margin: 0; }
.info-box .info-name strong { color: var(--istdc-navy); font-weight: 600; }
.info-box .info-email { font-size: 14px; color: var(--istdc-muted); margin: 4px 0 0; }

/* 提示通知框（two-factor：驗證碼已寄出） */
.notice-box {
	display: flex;
	gap: 10px;
	background: #eef4fb;
	border: 1px solid #d4e3f4;
	border-radius: 10px;
	padding: 14px 16px;
	margin-bottom: 24px;
	font-size: 14px;
	line-height: 1.7;
	color: var(--istdc-ink);
}
.notice-box i { color: var(--istdc-navy); font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.notice-box strong { color: var(--istdc-navy); font-weight: 600; }

/* OTP 一次性驗證碼輸入框 */
.istdc-form .otp-input {
	text-align: center;
	font-size: 24px;
	letter-spacing: 0.6em;
	text-indent: 0.6em;
	font-family: "Noto Sans TC", monospace;
	font-weight: 700;
}

/* 次要連結式按鈕（重新寄送驗證碼） */
.istdc-form .link-btn,
.link-btn {
	display: block;
	width: 100%;
	margin-top: 12px;
	padding: 10px;
	background: transparent;
	border: 1px solid var(--istdc-line);
	border-radius: 8px;
	color: var(--istdc-navy);
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: border-color .2s, color .2s;
}
.link-btn:hover { border-color: var(--istdc-navy); color: var(--istdc-orange); }
.link-btn i { margin-right: 6px; }

/* 返回連結（返回首頁 / 返回重新登入） */
.back-link { text-align: center; margin-top: 16px; font-size: 14px; }
.back-link a { color: var(--istdc-muted); }
.back-link a:hover { color: var(--istdc-orange); }
.back-link i { margin-right: 4px; }

/* ---------- 內容區段（列表 / 詳情共用） ---------- */
.page-section { padding: 60px 0 80px; }

/* 空狀態 */
.empty-state { text-align: center; padding: 80px 20px; }
.empty-state i { font-size: 64px; color: #cdd4de; display: block; margin-bottom: 18px; }
.empty-state p { font-size: 17px; color: var(--istdc-muted); margin-bottom: 18px; }
.empty-state a { color: var(--istdc-orange); font-weight: 600; }

/* ---------- 計畫卡片（projects 列表） ---------- */
.project-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border: 1px solid var(--istdc-line);
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(8, 55, 102, 0.05);
	transition: transform .25s, box-shadow .25s, border-color .25s;
	margin-bottom: 30px;
}
.project-card:hover {
	transform: translateY(-4px);
	border-color: var(--istdc-navy);
	box-shadow: 0 18px 40px rgba(8, 55, 102, 0.12);
}
.project-card .pc-cover {
	height: 160px;
	background: linear-gradient(135deg, rgba(8,55,102,0.12), rgba(8,55,102,0.03));
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.project-card .pc-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.project-card:hover .pc-cover img { transform: scale(1.05); }
.project-card .pc-cover .pc-placeholder { font-size: 40px; color: rgba(8,55,102,0.25); }
.project-card .pc-badge-row { padding: 16px 22px 0; }
.proj-badge {
	display: inline-block;
	padding: 5px 14px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	background: #eef0f4;
	color: var(--istdc-muted);
}
.proj-badge.is-open { background: var(--istdc-orange); color: #fff; }
.proj-badge.is-running { background: #e7eef7; color: var(--istdc-navy); }
.project-card .pc-body { padding: 14px 22px 8px; flex: 1; }
.project-card .pc-title {
	font-size: 17px;
	font-weight: 700;
	line-height: 1.5;
	margin-bottom: 12px;
}
.project-card .pc-title a { color: var(--istdc-navy); }
.project-card:hover .pc-title a { color: var(--istdc-orange); }
.project-card .pc-desc {
	font-size: 14px;
	line-height: 1.7;
	color: var(--istdc-muted);
	margin-bottom: 16px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.project-card .pc-meta { font-size: 13.5px; color: #7a828d; }
.project-card .pc-meta div { display: flex; align-items: center; margin-bottom: 7px; }
.project-card .pc-meta i { width: 20px; color: var(--istdc-gold); margin-right: 6px; font-size: 16px; }
.project-card .pc-foot {
	margin-top: auto;
	padding: 14px 22px;
	border-top: 1px solid var(--istdc-line);
	background: var(--istdc-soft);
}
.project-card .pc-foot a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: var(--istdc-navy);
	font-weight: 600;
	font-size: 14px;
}
.project-card .pc-foot a i { transition: transform .2s; }
.project-card:hover .pc-foot a { color: var(--istdc-orange); }
.project-card:hover .pc-foot a i { transform: translateX(4px); }

/* ---------- breadcrumb 標題列補充（詳情頁徽章 / 返回連結） ---------- */
.iq-breadcrumb .crumb-back {
	display: inline-flex;
	align-items: center;
	color: var(--istdc-muted);
	font-size: 14px;
	margin-bottom: 16px;
}
.iq-breadcrumb .crumb-back:hover { color: var(--istdc-orange); }
.iq-breadcrumb .crumb-back i { margin-right: 6px; }
.iq-breadcrumb .badge-row { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

/* 詳情頁封面圖 */
.detail-cover {
	border: 1px solid var(--istdc-line);
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(8, 55, 102, 0.05);
	margin-bottom: 28px;
}
.detail-cover img { width: 100%; height: 240px; object-fit: cover; display: block; }

/* ---------- 內容卡片（詳情頁左右欄共用） ---------- */
.content-card {
	background: #fff;
	border: 1px solid var(--istdc-line);
	border-radius: 14px;
	box-shadow: 0 10px 30px rgba(8, 55, 102, 0.05);
	padding: 28px 30px;
	margin-bottom: 28px;
}
.content-card .card-heading {
	display: flex;
	align-items: center;
	font-size: 18px;
	font-weight: 700;
	color: var(--istdc-navy);
	margin-bottom: 20px;
}
.content-card .card-heading i { color: var(--istdc-orange); font-size: 22px; margin-right: 10px; }
.content-card .card-text { font-size: 15px; line-height: 1.9; color: var(--istdc-ink); margin: 0; }

/* 可申請對象清單 */
.applicant-list { list-style: none; padding: 0; margin: 0; }
.applicant-list li { display: flex; align-items: center; font-size: 15px; color: var(--istdc-ink); margin-bottom: 14px; }
.applicant-list li:last-child { margin-bottom: 0; }
.applicant-list .chk {
	flex-shrink: 0;
	width: 26px; height: 26px;
	border-radius: 50%;
	background: rgba(8, 55, 102, 0.10);
	color: var(--istdc-navy);
	display: flex; align-items: center; justify-content: center;
	margin-right: 12px; font-size: 14px;
}

/* 時程軸 */
.timeline { position: relative; padding-left: 4px; }
.timeline:before {
	content: ""; position: absolute;
	left: 6px; top: 6px; bottom: 6px;
	width: 2px; background: var(--istdc-line);
}
.timeline .tl-item { position: relative; padding-left: 30px; margin-bottom: 24px; }
.timeline .tl-item:last-child { margin-bottom: 0; }
.timeline .tl-item:before {
	content: ""; position: absolute;
	left: 0; top: 4px;
	width: 14px; height: 14px;
	border-radius: 50%;
	background: #cdd4de;
	border: 2px solid #fff;
	box-shadow: 0 0 0 1px var(--istdc-line);
}
.timeline .tl-item.active:before { background: var(--istdc-orange); box-shadow: 0 0 0 1px var(--istdc-orange); }
.timeline .tl-item.done:before { background: #2e9e6b; box-shadow: 0 0 0 1px #2e9e6b; }
.timeline .tl-title { font-weight: 600; color: var(--istdc-navy); font-size: 15px; margin: 0 0 3px; }
.timeline .tl-date { font-size: 13px; color: var(--istdc-muted); margin: 0; }

/* 申請報名鈕（詳情頁；沿用 v2 燒橘 gradient-btn，全寬，提高 specificity 覆蓋預設 inline-block） */
.content-card .apply-btn.button.gradient-btn {
	display: block; width: 100%; text-align: center;
	padding: 13px; border-radius: 8px; font-weight: 700; font-size: 16px;
	color: #fff;
}
.apply-btn i { margin-right: 8px; }
.apply-foot { text-align: center; font-size: 14px; color: var(--istdc-muted); margin: 14px 0 0; }
.apply-foot a { color: var(--istdc-orange); font-weight: 600; }
/* 未開放申請：停用鈕 */
.content-card .apply-btn.is-disabled {
	display: block; width: 100%; text-align: center;
	padding: 13px; border-radius: 8px; font-weight: 700; font-size: 16px;
	background: #e6e9ef; color: var(--istdc-muted); cursor: not-allowed; border: 0;
}

/* 聯絡資訊清單 */
.contact-list { margin: 0; padding: 0; list-style: none; }
.contact-list li { display: flex; align-items: center; font-size: 14px; color: var(--istdc-ink); margin-bottom: 10px; }
.contact-list li:last-child { margin-bottom: 0; }
.contact-list i { color: var(--istdc-navy); width: 22px; margin-right: 8px; font-size: 17px; }

/* ---------- 操作指南（guide） ---------- */
/* 快速錨點導覽（黏在 fixed header 下方） */
/* guide 快速導覽：樣式與 news 篩選列（.filter-bar/.filter-pills）統一為膠囊。
   固定吸附由 istdc-custom-v2.js 切 .is-fixed 處理（取代 position:sticky，見該檔說明）。 */
.guide-nav {
	background: #fff;
	border-bottom: 1px solid var(--istdc-line);
}
/* 子導覽列固定吸附（guide 次選單 / news 篩選列共用；由 istdc-custom-v2.js 切 .is-fixed） */
.guide-nav.is-fixed,
.filter-bar.is-fixed {
	position: fixed;
	left: 0; right: 0;
	z-index: 9990; /* 高於內容區段（如 .guide-section z-index:999）以免被蓋住；低於 #main-header(9999) 固定於其正下方 */
	box-shadow: 0 4px 14px rgba(8, 55, 102, 0.06);
}
.guide-nav .gn-inner { display: flex; gap: 12px; padding: 16px 0; overflow-x: auto; }
.guide-nav a {
	padding: 7px 18px; border-radius: 999px; font-size: 14px; font-weight: 500;
	color: var(--istdc-muted); white-space: nowrap; transition: background .2s, color .2s;
}
.guide-nav a:hover { background: var(--istdc-soft); color: var(--istdc-navy); }
.guide-nav a.active { background: var(--istdc-navy); color: #fff; }

/* 區段標題 */
.guide-section { padding: 64px 0; }
.guide-section.alt { background: var(--istdc-soft); }
.guide-h2 {
	display: flex; align-items: center;
	font-size: 26px; font-weight: 700; color: var(--istdc-navy);
	margin-bottom: 36px;
}
.guide-h2 i { color: var(--istdc-orange); font-size: 28px; margin-right: 12px; }
.guide-wrap { max-width: 880px; margin: 0 auto; }

/* 申請流程步驟 */
.step-item {
	display: flex; align-items: flex-start; gap: 18px;
	background: #fff;
	border: 1px solid var(--istdc-line);
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(8, 55, 102, 0.05);
	padding: 24px 26px;
	margin-bottom: 18px;
}
.step-item .step-no {
	flex-shrink: 0;
	width: 42px; height: 42px; border-radius: 50%;
	background: var(--istdc-navy); color: #fff;
	display: flex; align-items: center; justify-content: center;
	font-weight: 700; font-size: 18px;
}
.step-item .step-title { font-size: 17px; font-weight: 600; color: var(--istdc-ink); margin: 2px 0 6px; }
.step-item .step-desc { font-size: 14.5px; line-height: 1.8; color: var(--istdc-muted); margin: 0; }
.step-item .step-desc a { color: var(--istdc-orange); font-weight: 500; }

/* 計畫資格卡 */
.elig-card {
	background: #fff;
	border: 1px solid var(--istdc-line);
	border-radius: 12px;
	padding: 28px 26px;
	height: 100%;
	margin-bottom: 24px;
}
.elig-card .elig-icon {
	width: 52px; height: 52px; border-radius: 12px;
	background: rgba(8, 55, 102, 0.08);
	display: flex; align-items: center; justify-content: center;
	margin-bottom: 18px;
}
.elig-card .elig-icon i { color: var(--istdc-navy); font-size: 26px; }
.elig-card .elig-title { font-size: 18px; font-weight: 700; color: var(--istdc-ink); margin-bottom: 10px; }
.elig-card .elig-desc { font-size: 14px; color: var(--istdc-muted); line-height: 1.7; margin-bottom: 16px; }
.elig-list { list-style: none; padding: 0; margin: 0; }
.elig-list li { display: flex; align-items: flex-start; font-size: 14px; color: var(--istdc-ink); margin-bottom: 10px; }
.elig-list li i { margin-right: 8px; margin-top: 3px; font-size: 16px; }
.elig-list li i.yes { color: #2e9e6b; }
.elig-list li i.no { color: #d9534f; }

/* FAQ 手風琴 */
.faq-item {
	background: #fff;
	border: 1px solid var(--istdc-line);
	border-radius: 12px;
	margin-bottom: 14px;
	overflow: hidden;
}
.faq-item summary {
	list-style: none;
	cursor: pointer;
	padding: 20px 24px;
	display: flex; align-items: center; justify-content: space-between;
	font-weight: 600; font-size: 16px; color: var(--istdc-ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--istdc-orange); }
.faq-item summary .faq-caret { color: #aab2bd; font-size: 18px; transition: transform .25s; flex-shrink: 0; }
.faq-item[open] summary .faq-caret { transform: rotate(180deg); }
.faq-item[open] summary { color: var(--istdc-navy); }
.faq-body { padding: 0 24px 22px; font-size: 14.5px; line-height: 1.85; color: var(--istdc-muted); }

/* ---------- 最新消息（news 列表 / 詳情） ---------- */
/* 類別篩選膠囊 */
.filter-bar { background: #fff; border-bottom: 1px solid var(--istdc-line); }
.filter-pills { display: flex; gap: 12px; padding: 16px 0; overflow-x: auto; }
.filter-pills a {
	padding: 7px 18px; border-radius: 999px; font-size: 14px; font-weight: 500;
	color: var(--istdc-muted); white-space: nowrap; transition: background .2s, color .2s;
}
.filter-pills a:hover { background: var(--istdc-soft); color: var(--istdc-navy); }
.filter-pills a.active { background: var(--istdc-navy); color: #fff; }

/* 消息列表項目 */
.news-list { max-width: 880px; margin: 0 auto; }
.news-item {
	display: flex; align-items: flex-start; gap: 16px;
	background: #fff;
	border: 1px solid var(--istdc-line);
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(8, 55, 102, 0.05);
	padding: 22px 26px;
	margin-bottom: 16px;
	transition: transform .2s, box-shadow .2s, border-color .2s;
}
.news-item:hover { transform: translateY(-3px); border-color: var(--istdc-navy); box-shadow: 0 16px 36px rgba(8, 55, 102, 0.12); }
.news-item .ni-main { flex: 1; min-width: 0; }
.news-item .ni-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.news-item .ni-title { font-size: 17px; font-weight: 600; color: var(--istdc-navy); margin: 0 0 8px; }
.news-item:hover .ni-title { color: var(--istdc-orange); }
.news-item .ni-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13.5px; color: var(--istdc-muted); }
.news-item .ni-meta span { display: inline-flex; align-items: center; }
.news-item .ni-meta i { margin-right: 5px; font-size: 15px; }
.news-item .ni-arrow { color: #aab2bd; font-size: 18px; margin-top: 4px; flex-shrink: 0; }

/* 消息徽章 */
.news-badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 6px; font-size: 12.5px; font-weight: 600; }
.news-badge i { margin-right: 4px; }
.news-badge.pinned { background: #fdeaea; color: #d9534f; }
.news-badge.t-project { background: #e7eef7; color: var(--istdc-navy); }
.news-badge.t-system { background: #e6f4ec; color: #2e7d52; }
.news-badge.on-dark { background: rgba(255,255,255,0.2); color: #fff; }
.news-badge.on-dark.pinned { background: #d9534f; color: #fff; }

/* 詳情內文 prose */
.news-content { font-size: 15.5px; line-height: 2; color: var(--istdc-ink); }
.news-content p { margin-bottom: 16px; }
.news-content h3 { font-size: 18px; font-weight: 700; color: var(--istdc-navy); margin: 24px 0 12px; }
.news-content ul { padding-left: 22px; margin-bottom: 16px; }
.news-content li { margin-bottom: 8px; }

/* 附件下載清單 */
.attach-list { list-style: none; padding: 0; margin: 0; }
.attach-list li { margin-bottom: 12px; }
.attach-list li:last-child { margin-bottom: 0; }
.attach-list a { display: inline-flex; align-items: center; color: var(--istdc-navy); font-size: 15px; }
.attach-list a:hover { color: var(--istdc-orange); }
.attach-list a i { margin-right: 8px; font-size: 18px; }
.attach-list .att-size { color: #9aa4b2; font-size: 13px; margin-left: 8px; }

/* 計畫列表分頁 */
.v2-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.v2-pagination .pg-link {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 42px; height: 42px; padding: 0 12px;
	border: 1px solid var(--istdc-line); border-radius: 10px;
	color: var(--istdc-navy); font-weight: 600; font-size: 15px;
	background: #fff; transition: all .2s;
}
.v2-pagination a.pg-link:hover { border-color: var(--istdc-navy); background: var(--istdc-soft); }
.v2-pagination .pg-link.is-current { background: var(--istdc-navy); border-color: var(--istdc-navy); color: #fff; }
.v2-pagination .pg-link i { font-size: 18px; }

/* ── 表單頁動態狀態（auth：login/apply/activate/two-factor）── */
.istdc-form .field-error { color: #d9534f; font-size: 13px; margin-top: 6px; }
.istdc-form .form-control.is-invalid,
.istdc-form .form-control.is-invalid:hover,
.istdc-form .form-control.is-invalid:focus { border-color: #d9534f; }
.form-alert {
	padding: 12px 16px; border-radius: 8px; font-size: 14px;
	margin-bottom: 18px; display: flex; align-items: flex-start; gap: 8px;
}
.form-alert i { margin-top: 2px; font-size: 16px; }
.form-alert.success { background: #e6f4ec; color: #2e7d52; }
.form-alert.error { background: #fdecea; color: #d9534f; }
/* 結果狀態：申請送出成功 / 連結失效，置中 */
.form-result { text-align: center; padding: 12px 0; }
.form-result .fr-icon {
	width: 64px; height: 64px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 30px; margin-bottom: 16px;
}
.form-result .fr-icon.ok { background: #e6f4ec; color: #2e7d52; }
.form-result .fr-icon.bad { background: #fdecea; color: #d9534f; }
.form-result .fr-title { font-size: 20px; font-weight: 700; color: var(--istdc-navy); margin-bottom: 8px; }
.form-result .fr-text { color: var(--istdc-muted); font-size: 14px; margin-bottom: 22px; }
.form-result a.fr-link { color: var(--istdc-orange); font-weight: 600; }
