/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-pk3vpvkonk] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-pk3vpvkonk] {
    flex: 1;
}

.sidebar[b-pk3vpvkonk] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-pk3vpvkonk] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-pk3vpvkonk]  a, .top-row[b-pk3vpvkonk]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-pk3vpvkonk]  a:hover, .top-row[b-pk3vpvkonk]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-pk3vpvkonk]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-pk3vpvkonk] {
        justify-content: space-between;
    }

    .top-row[b-pk3vpvkonk]  a, .top-row[b-pk3vpvkonk]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-pk3vpvkonk] {
        flex-direction: row;
    }

    .sidebar[b-pk3vpvkonk] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-pk3vpvkonk] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-pk3vpvkonk]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-pk3vpvkonk], article[b-pk3vpvkonk] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-pk3vpvkonk] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    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 .dismiss[b-pk3vpvkonk] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-xuono1d6er] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-xuono1d6er] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-xuono1d6er] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-xuono1d6er] {
    font-size: 1.1rem;
}

.bi[b-xuono1d6er] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-xuono1d6er] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-xuono1d6er] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-xuono1d6er] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-xuono1d6er] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-xuono1d6er] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-xuono1d6er] {
        padding-bottom: 1rem;
    }

    .nav-item[b-xuono1d6er]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-xuono1d6er]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-xuono1d6er]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-xuono1d6er] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-xuono1d6er] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-xuono1d6er] {
        display: none;
    }

    .nav-scrollable[b-xuono1d6er] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Pages/AdminUpdate.razor.rz.scp.css */
.au-root[b-hasqa11e94] {
    --au-primary: #1565E6;
    --au-primary-d: #0E4DB8;
    --au-bg: #eef2f7;
    --au-surface: #ffffff;
    --au-text: #0E1B2C;
    --au-sub: #6B7689;
    --au-line: #E6EBF2;
    --au-ok: #15A05A;
    --au-ok-bg: #E7F6EE;
    --au-err: #D6453D;
    --au-err-bg: #FCEDEC;
    --au-radius: 14px;
    --au-shadow: 0 8px 24px rgba(11, 42, 74, 0.07);

    width: 100%;
    min-height: 100vh;
    box-sizing: border-box;
    padding: 1.75rem 2rem 2.5rem;
    background: var(--au-bg);
    color: var(--au-text);
    font-family: "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

/* ---- 页头 ---- */
.au-header[b-hasqa11e94] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.au-header-main[b-hasqa11e94] {
    display: flex;
    align-items: center;
    gap: .9rem;
}

.au-logo[b-hasqa11e94] {
    width: 44px;
    height: 44px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, var(--au-primary), #3C8DFF);
    box-shadow: 0 6px 14px rgba(21, 101, 230, .35);
}

.au-h1[b-hasqa11e94] {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: .2px;
}

.au-desc[b-hasqa11e94] {
    margin: 2px 0 0;
    font-size: .88rem;
    color: var(--au-sub);
}

.au-meta[b-hasqa11e94] {
    display: flex;
    gap: .75rem;
}

.au-meta-item[b-hasqa11e94] {
    min-width: 104px;
    padding: .55rem .9rem;
    background: var(--au-surface);
    border: 1px solid var(--au-line);
    border-radius: 12px;
    box-shadow: var(--au-shadow);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.au-meta-label[b-hasqa11e94] {
    font-size: .72rem;
    color: var(--au-sub);
}

.au-meta-value[b-hasqa11e94] {
    font-size: 1.05rem;
    font-weight: 700;
}

/* ---- 卡片 ---- */
.au-card[b-hasqa11e94] {
    background: var(--au-surface);
    border: 1px solid var(--au-line);
    border-radius: var(--au-radius);
    box-shadow: var(--au-shadow);
    padding: 1.1rem 1.35rem 1.35rem;
    margin-bottom: 1.25rem;
}

.au-card-title[b-hasqa11e94] {
    display: flex;
    align-items: center;
    gap: .55rem;
    font-size: 1.02rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.au-card-bar[b-hasqa11e94] {
    width: 4px;
    height: 16px;
    border-radius: 4px;
    background: var(--au-primary);
}

/* ---- 上传拖拽区 ---- */
.au-drop[b-hasqa11e94] {
    position: relative;
    display: block;
    border: 1.5px dashed #B9C6DA;
    border-radius: 12px;
    background: #F7FAFF;
    transition: border-color .18s ease, background .18s ease;
    cursor: pointer;
    overflow: hidden;
}

.au-drop:hover[b-hasqa11e94],
.au-drop.has-file[b-hasqa11e94] {
    border-color: var(--au-primary);
    background: #EFF5FF;
}

.au-drop[b-hasqa11e94]  input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.au-drop-inner[b-hasqa11e94] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .35rem;
    padding: 2.1rem 1rem;
    text-align: center;
    pointer-events: none;
}

.au-drop-icon[b-hasqa11e94] {
    color: var(--au-primary);
    margin-bottom: .2rem;
}

.au-drop-text[b-hasqa11e94] {
    font-size: .95rem;
    font-weight: 600;
    color: var(--au-text);
}

.au-drop-hint[b-hasqa11e94] {
    font-size: .78rem;
    color: var(--au-sub);
}

.au-file[b-hasqa11e94] {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-top: .8rem;
    padding: .55rem .7rem;
    background: #F4F8FF;
    border: 1px solid #DCE8FF;
    border-radius: 10px;
    font-size: .86rem;
}

.au-file-ic[b-hasqa11e94] {
    color: var(--au-primary);
    display: inline-flex;
}

.au-file-name[b-hasqa11e94] {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
}

.au-file-x[b-hasqa11e94] {
    border: none;
    background: none;
    color: var(--au-sub);
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 .2rem;
}

.au-file-x:hover[b-hasqa11e94] {
    color: var(--au-err);
}

/* ---- 操作区 ---- */
.au-actions[b-hasqa11e94] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.au-btn[b-hasqa11e94] {
    padding: .6rem 1.5rem;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--au-primary), #3C8DFF);
    color: #fff;
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    transition: filter .15s ease, transform .05s ease;
    box-shadow: 0 6px 14px rgba(21, 101, 230, .3);
}

.au-btn:hover:not(:disabled)[b-hasqa11e94] {
    filter: brightness(1.05);
}

.au-btn:active:not(:disabled)[b-hasqa11e94] {
    transform: translateY(1px);
}

.au-btn:disabled[b-hasqa11e94] {
    background: #B7C4D6;
    box-shadow: none;
    cursor: not-allowed;
}

.au-msg[b-hasqa11e94] {
    font-size: .88rem;
    font-weight: 600;
}

.au-msg.ok[b-hasqa11e94] {
    color: var(--au-ok);
}

.au-msg.err[b-hasqa11e94] {
    color: var(--au-err);
}

/* ---- 数据表格 ---- */
.au-table-card[b-hasqa11e94] {
    padding-bottom: 1rem;
}

.au-count[b-hasqa11e94] {
    font-size: .8rem;
    font-weight: 600;
    color: var(--au-sub);
    background: #EEF2F8;
    padding: 2px 10px;
    border-radius: 999px;
}

.au-refresh[b-hasqa11e94] {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid var(--au-line);
    background: #fff;
    color: var(--au-primary);
    border-radius: 9px;
    padding: .35rem .7rem;
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s ease;
}

.au-refresh:hover[b-hasqa11e94] {
    background: #F1F6FF;
}

.au-table-scroll[b-hasqa11e94] {
    overflow-x: auto;
    border: 1px solid var(--au-line);
    border-radius: 12px;
    max-height: 62vh;
}

.au-table[b-hasqa11e94] {
    width: 100%;
    border-collapse: collapse;
    font-size: .85rem;
    white-space: nowrap;
}

.au-table th[b-hasqa11e94],
.au-table td[b-hasqa11e94] {
    padding: .6rem .8rem;
    text-align: left;
    border-bottom: 1px solid var(--au-line);
}

.au-table thead th[b-hasqa11e94] {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #F2F6FC;
    color: #46566E;
    font-weight: 700;
    font-size: .8rem;
}

.au-table tbody tr:nth-child(even)[b-hasqa11e94] {
    background: #FAFCFE;
}

.au-table tbody tr:hover[b-hasqa11e94] {
    background: #EEF5FF;
}

.au-table td[b-hasqa11e94] {
    color: #28384C;
}

.au-strong[b-hasqa11e94] {
    font-weight: 600;
    color: var(--au-text);
}

.au-sub-cell[b-hasqa11e94] {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 运输方式徽章 */
.au-badge[b-hasqa11e94] {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 600;
    line-height: 1.6;
}

.au-badge.sea[b-hasqa11e94] {
    color: #0E6FB8;
    background: #E4F1FB;
}

.au-badge.land[b-hasqa11e94] {
    color: #9A6A00;
    background: #FBF1DD;
}

.au-badge.air[b-hasqa11e94] {
    color: #6B3FB8;
    background: #F0E9FB;
}

/* 空状态 */
.au-empty[b-hasqa11e94] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6rem;
    padding: 2.5rem 1rem;
    color: #9AA6B8;
    background: #F7F9FC;
    border-radius: 12px;
    text-align: center;
}

.au-empty-ic[b-hasqa11e94] {
    color: #C3CCDA;
}

.au-empty p[b-hasqa11e94] {
    margin: 0;
    font-size: .9rem;
}

@media (max-width: 640px) {
    .au-root[b-hasqa11e94] {
        padding: 1rem;
    }

    .au-meta[b-hasqa11e94] {
        width: 100%;
    }

    .au-meta-item[b-hasqa11e94] {
        flex: 1;
    }
}
