/*
 * 隱藏所有可能的錯誤和警告框
 * 確保不干擾正常頁面顯示
 */

/* Blazor錯誤UI - 完全隱藏 */
#blazor-error-ui {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    z-index: -1 !important;
}

/* 開發者工具警告 */
.blazor-error-boundary,
.blazor-error-ui,
.development-warning,
.dev-warning {
    display: none !important;
    visibility: hidden !important;
}

/* 瀏覽器控制台警告相關的可視元素 */
div[data-error],
div[class*="error-"],
div[class*="warning-"],
.alert-danger.position-fixed,
.alert-warning.position-fixed {
    display: none !important;
}

/* 確保頁面頂部沒有遮擋元素 */
body::before,
html::before {
    display: none !important;
}

/* 隱藏任何可能的開發模式標識 */
.development-mode,
.dev-mode,
.debug-mode {
    display: none !important;
}
