﻿@charset "utf-8";

/* =========================================
   極簡文件下載列表 (精準還原圖片樣式)
========================================= */

.clean-report-list {
    list-style: none; /* 移除無意義的 list style dots */
    padding: 0;
    margin: 1rem 0; /* 您可依實際排版微調 margin */
    display: flex;
    flex-direction: column; /* 垂直排列 */
    gap: 8px; /* 列表項目間距 */
}

.clean-report-list li {
    margin: 0;
    padding: 0;
}

.clean-report-list a {
    display: flex; /* 讓整個卡片都可以點擊 */
    align-items: center; /* 垂直置中圖示與文字 */
    padding: 16px 20px;
    background-color: #ffffff;
    border: 1px solid #E2E8F0; /* 柔和邊框 */
    border-radius: 33px; /* 您可選用 */
    text-decoration: none; /* 移除超連結下底線 */
    color:#601986; /* 專業深灰文字色 */
    font-size: 1.5rem;
    font-weight: bold;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); /* 平滑特效 */
    position: relative;
    overflow: hidden;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* 淡淡的懸浮陰影 */
}

/* ⭐ 關鍵修復：HTML不能包div，我們改用 CSS 偽元素 ::before 來插入圖示 */
.clean-report-list a::before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    margin-right: 12px;
    flex-shrink: 0; /* 防止縮小 */
    
    /* 這裡使用 Base64 編碼的 SVG PDF 文件圖示 */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23601986' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: opacity 0.2s;
}
.clean-report-list a::after {
    display: block;
    content: '';
    float: right;
    width: 40px;
    height: 40px;
    font-size: 38px;
    color: #fff;
    background-color: #601986;
    /* ⭐ 替換為純白色的右箭頭 SVG */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px; /* 箭頭的大小，可依喜好微調 */
    
    /* 加入平滑過渡特效 */
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: absolute;
    /* 讓圈圈絕對垂直置中 */
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
    border-radius: 50px;
    line-height: 1.2;
}
/* ⭐ 滑鼠懸浮與聚焦時的特效：專業且滑順 */
.clean-report-list a:hover,
.clean-report-list a:focus {
    background-color:#fcf5ff; /* 淡灰色底色 */
    border-color: #601986; /* CGUST藍 */
    color: #601986; /* 文字變色 */
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1); /* 淡淡的懸浮陰影 */
	transform: translateY(-4px);
}