/* ================================================================
   空狀態統一視覺 EmptyState
   設計目的：解釋現狀 + 引導行動 + 維持情感
   ================================================================ */

.empty_state {
    text-align: center;
    padding: 60px 24px;
    max-width: 520px;
    margin: 0 auto;
}

.empty_state__img {
    display: block;
    width: 220px;
    max-width: 60vw;
    margin: 0 auto 20px;
    opacity: 0.92;
    /* 微浮動感 */
    animation: empty_state_float 4s ease-in-out infinite;
}

@keyframes empty_state_float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
    .empty_state__img { animation: none; }
}

/* 主訊息：解釋現狀 */
.empty_state__title {
    font-size: 20px;
    line-height: 1.4;
    color: #333;
    font-weight: 600;
    margin-bottom: 8px;
}

/* 副訊息：補充說明 */
.empty_state__sub {
    font-size: 14px;
    line-height: 1.7;
    color: #888;
    margin-bottom: 24px;
}

/* 引導 CTA 群組 */
.empty_state__cta_group {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 16px;
}

/* 主按鈕 — 強調色（橘）*/
.empty_state__cta {
    display: inline-block;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: transform .12s ease-out, box-shadow .15s ease-out, background-color .15s;
    min-width: 140px;
}
.empty_state__cta--primary {
    background-color: #ff8a00;
    color: #fff;
    box-shadow: 0 2px 8px rgba(255, 138, 0, 0.25);
}
.empty_state__cta--primary:hover {
    background-color: #e67900;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(255, 138, 0, 0.35);
    color: #fff;
}
.empty_state__cta--primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(255, 138, 0, 0.25);
}

/* 次按鈕 — 白底框線 */
.empty_state__cta--secondary {
    background-color: #fff;
    color: #555;
    border: 1px solid #ddd;
}
.empty_state__cta--secondary:hover {
    background-color: #f7f7f7;
    border-color: #c8c8c8;
    color: #333;
}

/* 細字提示（如：操作教學、補充說明） */
.empty_state__hint {
    font-size: 12px;
    color: #aaa;
    margin-top: 12px;
    line-height: 1.6;
}

/* 操作教學卡片：友善的灰底圓角區，可放 3 步驟 */
.empty_state__tips {
    margin: 20px auto 0;
    padding: 14px 18px;
    background-color: #f8f8f8;
    border-radius: 10px;
    font-size: 13px;
    color: #666;
    line-height: 1.7;
    text-align: left;
    max-width: 420px;
}
.empty_state__tips_title {
    font-weight: 600;
    color: #444;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.empty_state__tips_title i { color: #ff8a00; }
.empty_state__tips ol,
.empty_state__tips ul {
    margin: 0;
    padding-left: 22px;
}
.empty_state__tips li { margin-bottom: 4px; }

/* 行動版：垂直堆疊、按鈕滿版 */
@media (max-width: 576px) {
    .empty_state {
        padding: 40px 16px;
    }
    .empty_state__img {
        width: 180px;
        margin-bottom: 16px;
    }
    .empty_state__title { font-size: 18px; }
    .empty_state__sub   { font-size: 13px; margin-bottom: 20px; }
    .empty_state__cta_group {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }
    .empty_state__cta {
        width: 100%;
        padding: 14px;
        min-width: 0;
    }
}
