﻿/* ==========================================================================
   懶人包專屬樣式 (lazybag.css)
   ========================================================================== */

/* === ⭐ 新增：下載說明會簡報按鈕樣式 (防止點擊範圍橫跨全螢幕) === */
.modal-download-link {
    text-decoration: none;
    display: inline-block; /* 讓點擊範圍剛好包住文字 */
    align-self: flex-start; /* 防止被外層 Flex 容器拉伸成 100% 寬度 */
    margin-left: 20px; /* 確保與內文邊界對齊 */
    margin-top: 15px;
    margin-bottom: 5px;
    padding: 5px 10px;
    border-radius: 4px;
    transition: opacity 0.2s ease;
}

    .modal-download-link:hover {
        opacity: 0.7;
    }

.download-title {
    color: #0056b3;
    margin: 0; /* 清除 h3 預設的上下外距 */
    font-size: 1.1rem;
    font-weight: bold;
}
/* ========================================================================== */


/* 懶人包圖片專屬容器 */
.lazybag-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 60vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
}

    /* 確保圖片隨容器縮放，不破版 */
    .lazybag-gallery img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        border: 1px solid #eee;
        display: block;
        object-fit: contain;
    }

/* 針對懶人包 modal 的寬度微調 (覆蓋共用設定) */
#modal-lazybag .info-modal-content {
    max-width: 800px;
    width: 90%;
}

/* 美化懶人包區域的捲軸 */
.lazybag-gallery::-webkit-scrollbar {
    width: 8px;
}

.lazybag-gallery::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.lazybag-gallery::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

    .lazybag-gallery::-webkit-scrollbar-thumb:hover {
        background: #a8a8a8;
    }
