/* AuthServer 全域樣式 */

html, body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
}

/* 主要內容區域樣式 */
.mud-main-content {
    min-height: calc(100vh - 64px); /* 64px 為預設 AppBar 高度 */
}

/* 如果使用 drawer 同時存在，確保整體高度 100vh，避免卷軸異常 */
.mud-layout-root, .mud-layout {
    min-height: 100vh;
}

/* 審計日誌時間線樣式優化 */
.audit-timeline-item {
    transition: background-color 0.2s;
}

.audit-timeline-item:hover {
    background-color: var(--mud-palette-action-hover, rgba(0, 0, 0, 0.04));
}

/* 錯誤處理樣式 */
#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
