/* _content/StWebChartViewer/Components/Settings/HistorianServersEditor.razor.rz.scp.css */
.historian-servers-editor[b-a81t67s7ek] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.settings-field-impact-note[b-a81t67s7ek] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--bs-secondary-color, #6c757d);
}

.settings-impact-badge--restart[b-a81t67s7ek] {
    background: #fff3cd;
    color: #8a6d00;
    border-radius: 0.5rem;
    padding: 0.05rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.historian-server-card[b-a81t67s7ek] {
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 0.5rem;
    overflow: hidden;
    background: var(--bs-body-bg, #fff);
}

.historian-server-card.expanded[b-a81t67s7ek] {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.historian-server-card-header[b-a81t67s7ek] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.85rem;
    cursor: pointer;
    user-select: none;
    background: var(--bs-tertiary-bg, #f8f9fa);
}

.historian-server-card-title[b-a81t67s7ek] {
    font-weight: 600;
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.historian-server-badge[b-a81t67s7ek] {
    background: #d1e7dd;
    color: #0f5132;
    border-radius: 0.4rem;
    padding: 0.05rem 0.4rem;
    font-size: 0.68rem;
    font-weight: 700;
}

.historian-server-remove[b-a81t67s7ek] {
    padding: 0.1rem 0.4rem;
    line-height: 1;
}

.historian-server-card-body[b-a81t67s7ek] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.85rem;
}

.settings-field-row[b-a81t67s7ek] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.settings-field-label[b-a81t67s7ek] {
    font-weight: 600;
    font-size: 0.85rem;
}

.settings-field-help[b-a81t67s7ek] {
    font-size: 0.78rem;
    color: var(--bs-secondary-color, #6c757d);
}

.historian-servers-actions[b-a81t67s7ek] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.historian-servers-save-ok[b-a81t67s7ek] {
    color: #0f5132;
    font-size: 0.85rem;
}

.historian-servers-save-err[b-a81t67s7ek] {
    color: #b02a37;
    font-size: 0.85rem;
}
/* _content/StWebChartViewer/Shared/MainLayout.razor.rz.scp.css */
.page[b-cvkg9au3zt] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-cvkg9au3zt] {
    flex: 1;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

article.content[b-cvkg9au3zt] {
    min-width: 0;
    max-width: 100%;
}

.app-version-badge[b-cvkg9au3zt] {
    position: fixed;
    right: 0.75rem;
    bottom: 0.75rem;
    z-index: 1100;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    line-height: 1;
    color: #f8f9fa;
    background: rgba(33, 37, 41, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    pointer-events: none;
}

.sidebar[b-cvkg9au3zt] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-cvkg9au3zt] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-cvkg9au3zt]  a, .top-row .btn-link[b-cvkg9au3zt] {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child[b-cvkg9au3zt] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-cvkg9au3zt] {
        display: none;
    }

    .top-row.auth[b-cvkg9au3zt] {
        justify-content: space-between;
    }

    .top-row a[b-cvkg9au3zt], .top-row .btn-link[b-cvkg9au3zt] {
        margin-left: 0;
    }

    .app-version-badge[b-cvkg9au3zt] {
        right: 0.5rem;
        bottom: 0.5rem;
        font-size: 0.7rem;
    }
}

@media (min-width: 641px) {
    .page[b-cvkg9au3zt] {
        flex-direction: row;
    }

    .sidebar[b-cvkg9au3zt] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-cvkg9au3zt] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row[b-cvkg9au3zt], article[b-cvkg9au3zt] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* _content/StWebChartViewer/Shared/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-zwt8w6glrs] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-zwt8w6glrs] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-zwt8w6glrs] {
    font-size: 1.1rem;
}

.oi[b-zwt8w6glrs] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item[b-zwt8w6glrs] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    /* The round navigation toggle is fixed at the top-left corner (top 20px, 50px tall), on top of
       the menu: start the list below it (20 + 50 + a gap) so it never covers the first entry. */
    .nav-item:first-of-type[b-zwt8w6glrs] {
        padding-top: 5.25rem;
    }

    .nav-item:last-of-type[b-zwt8w6glrs] {
        padding-bottom: 1rem;
    }

    .nav-item[b-zwt8w6glrs]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-zwt8w6glrs]  a.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

.nav-item[b-zwt8w6glrs]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-zwt8w6glrs] {
        display: none;
    }

    .collapse[b-zwt8w6glrs] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}

.nav-settings-item[b-zwt8w6glrs] {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* ===== License status (nav bar) ===== */
.nav-link--locked[b-zwt8w6glrs] {
    display: flex;
    align-items: center;
    height: 3rem;
    line-height: 3rem;
    color: rgba(215, 215, 215, 0.4);
    cursor: not-allowed;
}

.nav-link-lock-icon[b-zwt8w6glrs] {
    width: auto;
    margin-left: auto;
    font-size: 0.85rem;
    opacity: 0.8;
}

.nav-license-item[b-zwt8w6glrs] {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.nav-license-link[b-zwt8w6glrs] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-license-caption[b-zwt8w6glrs] {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.65);
    padding-left: 2.5rem;
    margin-top: -0.15rem;
    padding-bottom: 0.5rem;
}

.license-status-dot[b-zwt8w6glrs] {
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    margin-left: 0.35rem;
    flex-shrink: 0;
}

.license-status-dot--active[b-zwt8w6glrs] {
    background-color: #4caf50;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.3);
}

.license-status-dot--demo[b-zwt8w6glrs] {
    background-color: #f59e0b;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.3);
}

.license-status-dot--blocked[b-zwt8w6glrs] {
    background-color: #dc2626;
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.3);
}

/* ===== Profiles: entries that need a sign-in, and the signed-in profile ===== */
.nav-link--auth[b-zwt8w6glrs] {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.nav-link--auth:not(.nav-license-link)[b-zwt8w6glrs] {
    height: 3rem;
    line-height: 3rem;
}

/* Dimmed like the license-locked entries, but clickable (it opens the sign-in dialog). */
.nav-link--auth .oi:not(.nav-link-lock-icon)[b-zwt8w6glrs] {
    opacity: 0.7;
}

.nav-session-item[b-zwt8w6glrs] {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.nav-session-caption[b-zwt8w6glrs] {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
    padding-left: 1rem;
}
/* _content/StWebChartViewer/Shared/NavProfileSwitcher.razor.rz.scp.css */
/* Profile combobox of the Home menu: same look as the chart toolbar's profile button, on the dark sidebar. */
.nav-profile-combo[b-jyuq71x33o] {
    padding: 0 0.25rem;
}

.nav-profile-toggle[b-jyuq71x33o] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    height: 2.6rem;
    padding: 0 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 4px solid #1e88e5;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s ease;
}

.nav-profile-toggle:hover[b-jyuq71x33o],
.nav-profile-combo.open .nav-profile-toggle[b-jyuq71x33o] {
    background: rgba(255, 255, 255, 0.16);
}

.nav-profile-current[b-jyuq71x33o] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-profile-caret[b-jyuq71x33o] {
    flex: 0 0 auto;
    font-size: 0.7rem;
    opacity: 0.7;
    transition: transform 0.2s ease;
}

.nav-profile-combo.open .nav-profile-caret[b-jyuq71x33o] {
    transform: rotate(180deg);
}

.nav-profile-list[b-jyuq71x33o] {
    list-style: none;
    margin: 0.35rem 0 0;
    padding: 0.25rem;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
}

.nav-profile-item[b-jyuq71x33o] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    height: 2.4rem;
    padding: 0 0.6rem;
    font-size: 0.9rem;
    color: #d7d7d7;
    background: transparent;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    text-align: left;
}

.nav-profile-item:hover[b-jyuq71x33o] {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.nav-profile-item.current[b-jyuq71x33o] {
    background: rgba(30, 136, 229, 0.3);
    color: #fff;
    font-weight: 600;
}

.nav-profile-item-name[b-jyuq71x33o] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-profile-lock[b-jyuq71x33o] {
    flex: 0 0 auto;
    opacity: 0.6;
    font-size: 0.8rem;
}
