/* /Components/Layout/MainLayout.razor.rz.scp.css */
.app-shell[b-i19ldhw8hr] {
    height: 100vh;
    height: 100dvh;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: var(--bg-main);
}

.app-header[b-i19ldhw8hr] {
    flex-shrink: 0;
    height: calc(56px + env(safe-area-inset-top));
    padding: env(safe-area-inset-top) 16px 0;
    background-color: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 50;
}

.标题区[b-i19ldhw8hr] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.标题右侧区域[b-i19ldhw8hr] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.主标题[b-i19ldhw8hr] {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.用户区[b-i19ldhw8hr] {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.85rem;
}

.返回导航按钮[b-i19ldhw8hr] {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 16px;
    padding: 4px 12px;
    font-size: 0.85rem;
}

.app-main[b-i19ldhw8hr] {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0; /* 移除默认内边距，改由具体页面根据需要处理，确保顶部固定元素能贴合容器 */
}

.content-zone[b-i19ldhw8hr] {
    padding: 0 12px 20px 12px;
}

/* 独立工具页与小助手导航页、值班表首页自行处理布局，主容器禁用滚动防止冲突 */
.独立工具页 .app-main[b-i19ldhw8hr],
.小助手导航页 .app-main[b-i19ldhw8hr],
.首页 .app-main[b-i19ldhw8hr] {
    overflow: hidden;
    padding: 0;
}

.独立工具页 .content-zone[b-i19ldhw8hr],
.小助手导航页 .content-zone[b-i19ldhw8hr],
.首页 .content-zone[b-i19ldhw8hr] {
    height: 100%;
    padding: 0;
}

.content-zone[b-i19ldhw8hr] {
    padding: 0 12px 20px 12px;
}

.登录页 .app-main[b-i19ldhw8hr] {
    overflow: hidden;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-main);
}

.登录页 .content-zone[b-i19ldhw8hr] {
    width: 92%;
    max-width: 400px;
    padding: 24px;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    min-height: auto;
}

.独立工具页 .content-zone[b-i19ldhw8hr] {
    height: 100%;
    padding: 0;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
}

.app-footer[b-i19ldhw8hr] {
    flex-shrink: 0;
    height: calc(58px + env(safe-area-inset-bottom));
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    z-index: 40;
}

.底部按钮[b-i19ldhw8hr] {
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    transition: all 0.2s;
    border-radius: 8px;
    padding: 2px 0;
}

.底部按钮:active[b-i19ldhw8hr] {
    background-color: #f1f5f9;
}

.底部按钮 span:first-child[b-i19ldhw8hr] {
    font-size: 1.25rem;
}

.底部按钮.active[b-i19ldhw8hr] {
    color: var(--primary);
    background-color: #eff6ff;
    font-weight: 700;
}

.底部按钮 span:first-child[b-i19ldhw8hr] {
    font-size: 1.2rem; /* 稍微放大图标 */
    margin-bottom: -5px;
}

.登录页 .app-main[b-i19ldhw8hr] {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-main);
}

.登录页 .content-zone[b-i19ldhw8hr] {
    width: 92%;
    max-width: 400px;
    padding: 24px;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.底部配色-柔和蓝 .app-footer[b-i19ldhw8hr] {
    background: linear-gradient(180deg, #dfe9ff 0%, #c9daff 100%);
    border-top-color: #b4c8ff;
}

.底部配色-柔和蓝 .底部按钮[b-i19ldhw8hr] {
    color: #4f5f86;
    border-color: #bfd0ff;
    background: linear-gradient(180deg, #f7faff 0%, #edf3ff 100%);
}

.底部配色-柔和蓝 .底部按钮.active[b-i19ldhw8hr] {
    color: #1e40af;
    background: linear-gradient(180deg, #dfe9ff 0%, #c9daff 100%);
    border-color: #7ea0ff;
}

.底部配色-深蓝 .app-footer[b-i19ldhw8hr] {
    /*background: linear-gradient(180deg, #2e4f9f 0%, #23418a 100%);*/
    background: linear-gradient(120deg, #3366ff 0%, #624bff 100%);
    border-top-color: #1d3774;
    box-shadow: 0 -8px 18px rgba(15, 30, 72, 0.35);
}

.底部配色-深蓝 .底部按钮[b-i19ldhw8hr] {
    color: #f5f8ff;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.16);
}

.底部配色-深蓝 .底部按钮.active[b-i19ldhw8hr] {
    color: #173474;
    border-color: #edf3ff;
    background: linear-gradient(180deg, #ffffff 0%, #edf3ff 100%);
    box-shadow: 0 4px 12px rgba(10, 20, 46, 0.34);
}

.底部按钮:focus-visible[b-i19ldhw8hr] {
    outline: 2px solid #9fb5ff;
    outline-offset: 1px;
}

.登录页 .app-main[b-i19ldhw8hr] {
    padding: 12px;
}

.独立工具页 .app-main[b-i19ldhw8hr] {
    padding: 12px 10px 12px;
}

.独立工具页 .content-zone[b-i19ldhw8hr] {
    min-height: calc(100dvh - 24px);
}

.登录页 .content-zone[b-i19ldhw8hr] {
    min-height: auto;
}

#blazor-error-ui[b-i19ldhw8hr] {
    color-scheme: light only;
    background: lightyellow;
    bottom: calc(66px + env(safe-area-inset-bottom));
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui.登录页错误条[b-i19ldhw8hr] {
    bottom: 0;
}

    #blazor-error-ui .dismiss[b-i19ldhw8hr] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-dfv3nkh4yx],
.components-reconnect-repeated-attempt-visible[b-dfv3nkh4yx],
.components-reconnect-failed-visible[b-dfv3nkh4yx],
.components-pause-visible[b-dfv3nkh4yx],
.components-resume-failed-visible[b-dfv3nkh4yx],
.components-rejoining-animation[b-dfv3nkh4yx] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-dfv3nkh4yx],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-dfv3nkh4yx],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-dfv3nkh4yx],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-dfv3nkh4yx],
#components-reconnect-modal.components-reconnect-retrying[b-dfv3nkh4yx],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-dfv3nkh4yx],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-dfv3nkh4yx],
#components-reconnect-modal.components-reconnect-failed[b-dfv3nkh4yx],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-dfv3nkh4yx] {
    display: block;
}


#components-reconnect-modal[b-dfv3nkh4yx] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-dfv3nkh4yx 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-dfv3nkh4yx 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-dfv3nkh4yx 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-dfv3nkh4yx]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-dfv3nkh4yx 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-dfv3nkh4yx {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-dfv3nkh4yx {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-dfv3nkh4yx {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-dfv3nkh4yx] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-dfv3nkh4yx] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-dfv3nkh4yx] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-dfv3nkh4yx] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-dfv3nkh4yx] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-dfv3nkh4yx] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-dfv3nkh4yx] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-dfv3nkh4yx 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-dfv3nkh4yx] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-dfv3nkh4yx {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/值班表.razor.rz.scp.css */
.值班表顶层容器[b-3j4hodrwpv] {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: var(--bg-main);
}

.页面内容滚动区[b-3j4hodrwpv] {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 12px 80px 12px;
}

.页面标题栏[b-3j4hodrwpv] {
    padding-top: calc(env(safe-area-inset-top) + 12px);
    flex-shrink: 0;
}

.标题右侧区域[b-3j4hodrwpv] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.紧凑间距[b-3j4hodrwpv] {
    margin-bottom: 6px !important;
}

.table-active-row[b-3j4hodrwpv] {
    background-color: #f0f7ff !important;
    border-left: 3px solid var(--primary);
}

.简易通知气泡[b-3j4hodrwpv] {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(30, 41, 59, 0.95);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    animation: toast-fade-in-b-3j4hodrwpv 0.3s ease-out;
    max-width: 90%;
}

.smaller[b-3j4hodrwpv] {
    font-size: 0.75rem;
}

@keyframes toast-fade-in-b-3j4hodrwpv {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.班组切换栏[b-3j4hodrwpv]::-webkit-scrollbar {
    display: none;
}

.公告卡片[b-3j4hodrwpv] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: background-color 0.2s;
    position: relative;
    overflow: hidden;
}

.公告卡片:active[b-3j4hodrwpv] {
    background-color: #f1f5f9;
    transform: scale(0.99);
}

.公告卡片[b-3j4hodrwpv]::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.03), transparent);
    animation: shine-b-3j4hodrwpv 3s infinite;
}

@keyframes shine-b-3j4hodrwpv {
    0% {
        left: -100%;
    }
    100% {
        left: 200%;
    }
}

.公告图标[b-3j4hodrwpv] {
    font-size: 1.2rem;
}

.公告主体[b-3j4hodrwpv] {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.4;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.公告标题[b-3j4hodrwpv] {
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

.公告文字[b-3j4hodrwpv] {
    color: var(--text-main);
}

.日期操作区[b-3j4hodrwpv] {
    display: flex;
    background: #fff;
    border-radius: 30px;
    padding: 4px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    align-items: center;
}

.操作按钮[b-3j4hodrwpv] {
    border: none;
    background: transparent;
    padding: 8px 16px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.日期容器[b-3j4hodrwpv] {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
}

.日期选择器[b-3j4hodrwpv] {
    border: none;
    font-weight: 700;
    text-align: center;
    outline: none;
    background: transparent;
    width: 140px;
}

.header-title[b-3j4hodrwpv] {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-main);
}

.值班表表格 th[b-3j4hodrwpv] {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    border-bottom-width: 1px;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

.值班表表格 td[b-3j4hodrwpv] {
    padding: 12px 8px;
    font-size: 0.95rem;
    text-align: center;
    vertical-align: middle;
}

.值班表表格 td:first-child[b-3j4hodrwpv] {
    width: 3.2rem;
    min-width: 3.2rem;
    word-break: break-all;
    line-height: 1.1;
    padding: 8px 2px;
    font-weight: 700;
    background-color: #f8fafc;
    border-right: 1px solid var(--border-color);
}
