/**
 * feedback.css — 轻提示、加载态、空状态、启动错误提示
 */

/* 通知样式 */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 3000;
    animation: slideIn 0.3s ease-out;
}


.notification.is-leaving {
    animation: slideIn 0.3s ease-out reverse;
}

.loading {
    display: flex;
    justify-content: center;
    padding: 60px 0;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(106, 90, 205, 0.3);
    border-top: 4px solid var(--main-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* 启动失败提示（ESM 无法从 file:// 加载时显示） */
.boot-error {
    max-width: 640px;
    margin: 32px auto;
    padding: 20px 24px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.94);
    color: #333;
    line-height: 1.8;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.boot-error code {
    background: rgba(0, 0, 0, 0.06);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: Consolas, monospace;
}
