﻿@import url('open.iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/*html, body {
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}*/
body {
    overflow-y: auto; /* 内容溢出时显示垂直滚动条 */
    scrollbar-color: blue transparent; /* 滚动条颜色（Firefox 支持） */
    scroll-behavior: smooth; /* 平滑滚动 */
    /*height: 100vh;*/ /* Ensure body has height */
    /*margin: 0;*/
}

    body::-webkit-scrollbar {
        width: 12px;
    }

    body::-webkit-scrollbar-thumb {
        background-color: blue;
    }

    body::-webkit-scrollbar-track {
        background: transparent;
    }

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.button-link {
    text-decoration: unset;
}

#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;
    }

.title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 0.625rem;
}

    .title.title-secondary {
        padding-top: 0.313rem;
        padding-bottom: 0;
        color: var(--bs-secondary-color);
    }

.title-header-text {
    font-size: 2.5rem;
    line-height: 3rem;
    font-weight: 600;
    letter-spacing: 0rem;
    padding: 0.3125rem 0;
}

.title-content-text {
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 2.5rem;
    letter-spacing: 0rem;
}

.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.block-content {
    width: 31.25rem;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    max-width: 100%;
}
.toast-container {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999999999999999999;
    display: flex;
    justify-content: center;
    padding: 1rem;
    width: 100%;
    max-width: 100%; /* 允许容器最大宽度占据整个屏幕 */
}


.toast {
    width: 100% !important; /* 覆盖 Bootstrap 默认宽度 */
    max-width: 900px !important; /* 移除最大宽度限制 */
    min-width: 660px; /* 设置最小宽度 */
    width: 100%; /* 强制占据父容器的宽度 */
}


.toast-body {
    font-size: 1rem;
    line-height: 1.5;
}

.toast-header .close {
    color: white;
}

@media (min-width: 768px) {
    .toast {
        min-width: 660px;
    }
}

@media (max-width: 767px) {
    .toast {
        min-width: 300px;
    }
}


.no-wrap-menu .dxbs-menu-item-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

    .no-wrap-menu .dxbs-menu-item-text:hover {
        overflow: visible;
        white-space: normal;
        background: #fff;
        z-index: 9999;
        position: absolute;
    }
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.pulsating-icon {
    animation: pulse 1.5s infinite;
}