@import '_content/Microsoft.FluentUI.AspNetCore.Components/Microsoft.FluentUI.AspNetCore.Components.ewdlgswx1m.bundle.scp.css';
@import '_content/Toolbelt.Blazor.SplitContainer/Toolbelt.Blazor.SplitContainer.3tn86i4s1u.bundle.scp.css';

/* _content/RPS_BlazorApp/Components/DateWithBooleanParameter.razor.rz.scp.css */
/* DateWithBooleanParameter Component Styles */
.date-with-boolean-container[b-1kp1qogj4f] {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    padding: 8px 0;
}

.date-with-boolean-container .toggle-section[b-1kp1qogj4f] {
    display: flex;
    align-items: center;
    min-width: 120px;
}

.date-with-boolean-container .date-section[b-1kp1qogj4f] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.date-with-boolean-container .date-section fluent-label[b-1kp1qogj4f] {
    white-space: nowrap;
    font-weight: 500;
}

/* When date picker is disabled, reduce opacity */
.date-with-boolean-container fluent-date-picker[disabled][b-1kp1qogj4f] {
    opacity: 0.5;
}
/* _content/RPS_BlazorApp/Pages/PhysicalLayout.razor.rz.scp.css */
/* ==========================================================================
   Physical Layout � page-scoped stylesheet
   Uses ::deep to reach into the recursive PhysicalLayoutTreeNode component,
   since Blazor CSS isolation attributes are only emitted on the owning
   component's own elements.
   ========================================================================== */

/* ?? Page layout ????????????????????????????????????????????????????????? */

.physical-layout-container[b-vpyuba8yu0] {
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: relative;
}

/* ?? Top bar ????????????????????????????????????????????????????????????? */

[b-vpyuba8yu0] .pl-top-bar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #edebe9;
    flex-shrink: 0;
}

[b-vpyuba8yu0] .pl-chart-title {
    white-space: nowrap;
    padding: 5px 10px;
    margin: 0;
}

[b-vpyuba8yu0] .pl-top-bar-menu {
    display: flex;
    justify-content: flex-end;
    padding: 10px 25px;
}

[b-vpyuba8yu0] .pl-capacity-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

[b-vpyuba8yu0] .pl-capacity-label        { font-weight: 400; }
[b-vpyuba8yu0] .pl-capacity-label-bold   { font-weight: 600; }

/* ?? Chart area ?????????????????????????????????????????????????????????? */

[b-vpyuba8yu0] .pl-chart-area {
    flex: 1;
    overflow: auto;
    width: 100%;
}

[b-vpyuba8yu0] .pl-tree-container {
    padding: 24px;
    min-width: max-content;
}

[b-vpyuba8yu0] .pl-loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

[b-vpyuba8yu0] .pl-error-message {
    text-align: center;
    margin-top: 50px;
    color: #a4262c;
}

/* ?? Legend sidebar ?????????????????????????????????????????????????????? */

[b-vpyuba8yu0] .pl-legend-sidebar {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 150px;
    color: #1e1e1e;
    background-color: white;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    z-index: 100;
}

[b-vpyuba8yu0] .pl-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
}

[b-vpyuba8yu0] .pl-legend-color {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 2px;
    flex-shrink: 0;
}

[b-vpyuba8yu0] .pl-legend-label {
    font-size: 0.85em;
}

/* ?? Tree node ??????????????????????????????????????????????????????????? */

[b-vpyuba8yu0] .pl-tree-node {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
}

[b-vpyuba8yu0] .pl-node-box {
    position: relative;
    color: white;
    padding: 10px;
    border-radius: 5px;
    white-space: nowrap;
    min-width: 200px;
    min-height: 28px;
    cursor: pointer;
    box-sizing: border-box;
}

[b-vpyuba8yu0] .pl-node-box h3 {
    margin: 0;
    font-size: 1em;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

[b-vpyuba8yu0] .pl-node-header {
    display: flex;
    justify-content: space-between;
    padding: 0 0 5px;
}

/* ?? Collapse button ????????????????????????????????????????????????????? */

[b-vpyuba8yu0] .pl-collapse-btn {
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    height: 22px;
    width: 22px;
    font-size: 1.3em;
    border-radius: 3px;
    color: white;
    background: black;
    opacity: 0.6;
    margin-left: 5px;
}

[b-vpyuba8yu0] .pl-collapse-btn-collapsed {
    background: white;
    color: black;
    opacity: 1;
    font-size: 1.1em;
}

/* ?? Root node overrides � tall narrow bar with vertical text ?????????? */
/* The original React app rotated the entire SVG <g> element (-90deg) and
   the tooltip was a separate sibling element, so it was never affected.
   Here the tooltip lives inside the node-box, so we rotate only the text
   content elements (header / capacity) and leave the tooltip alone.       */

[b-vpyuba8yu0] .pl-root-node {
    align-items: stretch;
}

[b-vpyuba8yu0] .pl-root-node > .pl-node-box {
    background: #e0dfdd;
    color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: auto;
}

[b-vpyuba8yu0] .pl-root-node > .pl-node-box > .pl-node-header {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    padding: 0;
}

[b-vpyuba8yu0] .pl-root-node > .pl-node-box > .pl-capacity {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

[b-vpyuba8yu0] .pl-root-node > .pl-node-box > .pl-node-tooltip {
    left: 100%;
    top: 0;
}

[b-vpyuba8yu0] .pl-root-node > .pl-node-box h3 {
    max-width: none;
}

[b-vpyuba8yu0] .pl-root-node > .pl-node-box .pl-collapse-btn {
    display: none;
}

[b-vpyuba8yu0] .pl-root-node > .pl-node-children {
    align-self: center;
}

/* ?? Node type / build-type colours ?????????????????????????????????????? */

[b-vpyuba8yu0] .pl-region                { background-color: #cccbca; color: #000; }
[b-vpyuba8yu0] .pl-availabilityzone      { background-color: #e7e5e3; color: #000; }
[b-vpyuba8yu0] .pl-campus--Land          { background-color: #005a9e; color: #fff; }
[b-vpyuba8yu0] .pl-campus--Lease         { background-color: #6264a7; color: #fff; }
[b-vpyuba8yu0] .pl-dc--Land              { background-color: #106ebe; color: #fff; }
[b-vpyuba8yu0] .pl-dc--Lease             { background-color: #888cc7; color: #000; }
[b-vpyuba8yu0] .pl-colo--Land            { background-color: #0078d4; color: #fff; }
[b-vpyuba8yu0] .pl-colo--Lease           { background-color: #a6a7dc; color: #000; }

[b-vpyuba8yu0] .pl-idf--Land,
[b-vpyuba8yu0] .pl-azng--Land,
[b-vpyuba8yu0] .pl-rng--Land,
[b-vpyuba8yu0] .pl-strandedcapacity--Land,
[b-vpyuba8yu0] .pl-availablecapacity--Land,
[b-vpyuba8yu0] .pl-default--Land         { background-color: #c7e0f4; color: #000; }

[b-vpyuba8yu0] .pl-idf--Lease,
[b-vpyuba8yu0] .pl-azng--Lease,
[b-vpyuba8yu0] .pl-rng--Lease,
[b-vpyuba8yu0] .pl-strandedcapacity--Lease,
[b-vpyuba8yu0] .pl-availablecapacity--Lease,
[b-vpyuba8yu0] .pl-default--Lease        { background-color: #e2e2f6; color: #000; }

/* ?? Capacity text ??????????????????????????????????????????????????????? */

[b-vpyuba8yu0] .pl-capacity {
    font-size: 1em;
    line-height: 1em;
    text-align: center;
}

/* ?? Children / connectors ??????????????????????????????????????????????? */

[b-vpyuba8yu0] .pl-node-children {
    display: flex;
    flex-direction: column;
    padding-left: 10px;
}

[b-vpyuba8yu0] .pl-child-branch {
    display: flex;
    align-items: center;
    padding: 4px 0;
}

/* ?? Tooltip (CSS-only hover) ???????????????????????????????????????????? */

[b-vpyuba8yu0] .pl-node-tooltip {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 1000;
    min-width: 280px;
    max-width: 360px;
    background: #fff;
    color: #323130;
    border-radius: 4px;
    padding: 12px;
    box-shadow: 0 6.4px 14.4px rgba(0,0,0,.132), 0 1.2px 3.6px rgba(0,0,0,.108);
    white-space: normal;
    cursor: default;
}

[b-vpyuba8yu0] .pl-node-box:hover > .pl-node-tooltip {
    display: block;
}

[b-vpyuba8yu0] .pl-node-tooltip h3 {
    margin: 0 0 8px;
    font-size: 0.95em;
    color: #323130;
}

[b-vpyuba8yu0] .pl-node-tooltip dl {
    margin: 0;
    padding: 0;
}

[b-vpyuba8yu0] .pl-node-tooltip dt {
    padding: 2px 0;
    font-size: 0.85em;
}

[b-vpyuba8yu0] .pl-field-key {
    font-weight: 600;
}
