/* LsInsightLoading — 共用卡片 / 按鈕 Loading */
.ls-loading-relative {
    position: relative;
}

.ls-card-loading-overlay {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(2px);
    border-radius: inherit;
}

.ls-card-loading-overlay.is-visible {
    display: flex;
}

.ls-card-loading-panel {
    max-width: 360px;
    text-align: center;
    padding: 20px 22px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
}

.ls-card-loading-title {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 6px;
    color: #0f172a;
}

.ls-card-is-loading {
    pointer-events: none;
}

.ls-btn-is-loading {
    min-width: 7rem;
}

.ls-toast-fallback {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10100;
    max-width: 360px;
    padding: 12px 16px;
    border-radius: 10px;
    background: #0f172a;
    color: #fff;
    font-size: 0.875rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.ls-toast-fallback.is-error {
    background: #b91c1c;
}
