/* ============================================================
   shared.css — SPEDMIX 全域共用樣式
   適用於所有子頁面（非 index.html）
   ============================================================ */

/* ── 字體 ───────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Chiron+GoRound+TC:wght@200..900&family=Noto+Sans+TC:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');

/* ── 基本重設 ───────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Chiron GoRound TC', 'Noto Sans TC', sans-serif;
    overflow-x: hidden;
}

/* ── 卡片陰影 ───────────────────────────────────────────────── */
.card-shadow {
    box-shadow: 0 10px 25px rgba(56, 163, 165, 0.1);
}

/* ── 懸停上浮效果 ───────────────────────────────────────────── */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(56, 163, 165, 0.15);
}

/* ── 淡入上移動畫 ───────────────────────────────────────────── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Toast 提示 (複製成功等通知) ───────────────────────────── */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 0.75rem 1.5rem;
    background: #38A3A5;
    color: white;
    border-radius: 9999px;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(56, 163, 165, 0.4);
    z-index: 9999;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* ── 共用頁面頁尾 ───────────────────────────────────────────── */
.page-footer {
    font-size: 12px;
    color: gray;
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid #e5e7eb;
    margin-top: 3rem;
}

.page-footer a {
    text-decoration: underline;
}

.page-footer a:hover {
    color: #38A3A5;
}