﻿/* --bioo-* 变量已迁移至 BiooThemeProvider 的 --bio-* 体系，此处不再声明 */

.bioo-btn {
    height: 40px;
    font-size: 16px;
    border-radius: 4px;
    border: 0px solid transparent;
}



    .bioo-btn[type="normal"] {
        background-color: var(--bio-primary);
        color: #fff;
    }

        .bioo-btn[type="normal"]:hover {
            opacity: 0.8;
        }


    .bioo-btn[type="outLine"] {
        border: 1px solid var(--bio-primary);
        background-color: white;
        color: var(--bio-primary);
    }

        .bioo-btn[type="outLine"]:hover {
            background-color: var(--bio-primary);
            color: white;
        }


.bioo-input {
    height: 40px;
    border: 1px solid var(--bio-border);
    border-radius: 4px;
    font-size: 14px;
}

    .bioo-input:focus {
        border-color: var(--bio-primary);
    }

/*日期类型input 扩大点击范围*/
input[type='date'] {
    position: relative;
}

    input[type='date']::-webkit-calendar-picker-indicator {
        position: absolute;
        right: 0;
        padding-left: calc(100% - 40px);
        padding-right: 10px;
    }

input[type='datetime-local'] {
    position: relative;
}

    input[type='datetime-local']::-webkit-calendar-picker-indicator {
        position: absolute;
        right: 0;
        padding-left: calc(100% - 40px);
        padding-right: 10px;
    }



p, h6, h5, h4, h3, h2, h1 {
    padding-bottom: 0;
    margin-bottom: 0;
}


/* 管理页面容器内边距 */
.page-container {
    padding: 16px 20px;
}

/* MudDataGrid 表格样式（!important 覆盖 MudBlazor 内置样式） */
.mud-table-head .mud-table-cell {
    font-weight: 700 !important;
    background-color: #f8f9fa !important;
    border-bottom: 2px solid #dee2e6 !important;
    font-size: 14px !important;
    padding: 8px !important;
    color: #374151 !important;
    white-space: nowrap;
}

.mud-table-body .mud-table-cell {
    font-size: 14px !important;
    padding: 8px !important;
    border-bottom: 1px solid #dee2e6;
    color: #000;
}

.mud-table-body .mud-table-row:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.05);
}

/* 标题字号恢复（Bootstrap 移除后原生 h1-h6 丢失标准字号） */
h1 { font-size: 2.5rem; font-weight: 500; line-height: 1.2; }
h2 { font-size: 2rem; font-weight: 500; line-height: 1.2; }
h3 { font-size: 1.75rem; font-weight: 500; line-height: 1.2; }
h4 { font-size: 1.5rem; font-weight: 500; line-height: 1.2; }
h5 { font-size: 1.25rem; font-weight: 500; line-height: 1.2; }
h6 { font-size: 1rem; font-weight: 500; line-height: 1.2; }

/* 自定义滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background-color: rgba(245,245,245,0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(193,193,193,0.8);
    border-radius: 4px;
    border: 2px solid transparent;
    background-clip: content-box;
}

    ::-webkit-scrollbar-thumb:hover {
        background-color: #24bb9d;
    }

::-webkit-scrollbar-track {
    background-color: rgba(245,245,245,0.2);
    border-radius: 4px;
}

.empty-container {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popover {
    z-index: 1403 !important;
}

.bio-question-tooltip {
    background-color: white;
    color: #333;
    box-shadow: 0 0 5px #18B797;
    display: flex;
    align-items: center;
    justify-content: left;
    margin-bottom: 10px;
}

.mud-tooltip {
    text-align: left;
}

/* 操作列文字链接 */
.op-link {
    font-size: 14px;
    cursor: pointer;
}

.op-link:hover {
    text-decoration: underline;
}

/* 复制按钮样式 */
.copy-btn {
    background: #ffc107;
    color: #000;
    border: none;
    border-radius: 3px;
    padding: 2px 6px;
    font-size: 12px;
    cursor: pointer;
    margin-right: 5px;
    font-weight: bold;
}

    .copy-btn:hover {
        background: #e0a800;
    }

