﻿@charset "utf-8";

html, body {
    /*font-family: 'Microsoft YaHei UI',SimHei,'Helvetica Neue', Helvetica, Arial, sans-serif !important;*/
    margin: 0;
    padding: 0;
    font-size: 14px !important;
    user-select: none;
    -webkit-overflow-scrolling: touch;
    /*color: var( --neutral-foreground-hint);*/
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    /*background-color: var(--neutral-fill-layer-rest);*/
    white-space: nowrap;
    background-color: var(--neutral-fill-layer-rest);
    color: var(--neutral-foreground-rest);
    backdrop-filter: blur(10px);
}

.hidden-body {
    visibility: hidden;
    background-color: #272727;
}

/*@media screen and (orientation:landscape) {
    body {
    }
}*/

.app {

    height: 100vh;
    width: 100vw;
    overflow: hidden;
    max-height: 100vh;
    max-width: 100vw;
}

/*    .app.亮 {
        background-color: var(--fill-color);
        color: var(--neutral-foreground-hint);
    }*/

.loading-progress-text {
    font-size: 14px;
    font-weight: 700;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "加载中");
    }



.sb-loading {
    width: 56px;
    height: 56px;
    position: absolute;
    top: calc(50% - 28px);
    left: calc(50% - 28px);
    z-index: 10000;
    border-radius: 50%;
    padding: 3px;
    box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    display: grid;
    grid-template-rows: 1fr;
    background: none;
    justify-content: center;
    align-items: center;
}

.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    border: .25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: spinner-border .75s linear infinite;
    animation: spinner-border .75s linear infinite;
}

.circular {
    animation: rotate 2s linear infinite;
    height: 50px;
    width: 50px;
    border-radius: 50%;
}


@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -35;
    }

    100% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -124;
    }
}

.text-primary {
    color: var( --accent-foreground-rest );
}

.text-danger {
    color: var( --error )!important;
}

.text-success {
    color: var( --success );
}

.bg-success {
    background-color: var( --success );
}

.bg-primary {
    background-color: var(--accent-foreground-rest );

}

.bg-warning {
    /*background-color: rgb(255, 127, 36);*/
    background-color: var( --warning );
    /*color: var( --info );*/
}

.bg-danger {
    /*background-color: #d13438;*/
    background-color: rgb(255, 127, 36);
}

.text-warning {
    color: var( --warning );
}


.主题色 {
    /*color: #742774;*/
    /*color: #272727;*/
    color: var(--accent-fill-hover);
}

.无效地址 {
    font-size: 14px;
    font-weight: 700;
    width: 240px;
    left: calc(50% - 120px);
    border-radius: 5px;
    top: calc(50% - 40px);
}

.错误信息 {
    width: 600px;
    height: 300px;
    left: calc(50% - 300px);
    border-radius: 5px;
    top: calc(50% - 150px);
    overflow: auto;
}



.errorUI {
    padding: 20px;
    border: 1px solid orange;
    margin: 20px;
    border-radius: 5px;
}

    .errorUI fluent-button {
        margin: 20px;
        border: 1px solid #777;
    }
