@import '_content/Blazored.Modal/Blazored.Modal.bundle.scp.css';

/* /Features/Dashboard/Panels/QuickLinks.razor.rz.scp.css */
.ql-root[b-2zvgsvf149] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    text-align: left;
}

.ql-scroll[b-2zvgsvf149] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 4px 8px 0;
}

.ql-section[b-2zvgsvf149] {
    margin-bottom: 10px;
}

.ql-section-title[b-2zvgsvf149] {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8a98a0;
    padding: 4px 8px;
}

.ql-link[b-2zvgsvf149] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 8px;
    border-radius: 8px;
    color: var(--primary-dark);
    text-decoration: none;
    font-size: 13.5px;
    line-height: 1.2;
    transition: background-color 0.15s ease, transform 0.15s ease, color 0.15s ease;
}

.ql-link:hover[b-2zvgsvf149] {
    background: rgba(0, 145, 176, 0.10); /* tint of --primary-mid */
    color: var(--primary-mid);
    transform: translateX(2px);
    text-decoration: none;
}

/* Rounded icon chip */
.ql-icon[b-2zvgsvf149] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: rgba(0, 78, 94, 0.08); /* tint of --primary-dark */
    color: var(--primary-dark);
}

.ql-link:hover .ql-icon[b-2zvgsvf149] {
    background: var(--primary-mid);
    color: #fff;
}

.ql-label[b-2zvgsvf149] {
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* External-link hint */
.ql-link[b-2zvgsvf149]  .ql-ext {
    flex: 0 0 auto;
    opacity: 0.5;
}

.ql-link:hover[b-2zvgsvf149]  .ql-ext {
    opacity: 0.9;
}

/* Subtle Customise control pinned at the bottom */
.ql-customise[b-2zvgsvf149] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 6px 8px 8px;
    padding: 7px;
    background: none;
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 0 0 8px 8px;
    color: #8a98a0;
    font-size: 12.5px;
    font-family: inherit;
    cursor: pointer;
    opacity: 0.75;
    transition: opacity 0.15s ease, color 0.15s ease;
}

.ql-customise:hover[b-2zvgsvf149] {
    opacity: 1;
    color: var(--primary-mid);
}
/* /Features/Dashboard/Panels/QuickLinksCustomiseDialog.razor.rz.scp.css */
.qlc[b-bc2ney1hz5] {
    font-size: 13.5px;
    color: var(--primary-dark);
}

.qlc-intro[b-bc2ney1hz5] {
    margin: 0 0 12px;
    color: #6c7a82;
    font-size: 12.5px;
}

.qlc-intro code[b-bc2ney1hz5] {
    background: rgba(0, 78, 94, 0.08);
    color: var(--primary-dark);
    border-radius: 4px;
    padding: 1px 5px;
    font-size: 11.5px;
}

.qlc-error[b-bc2ney1hz5] {
    background: #fdecea;
    color: #b3261e;
    border-radius: 6px;
    padding: 8px 10px;
    margin-bottom: 10px;
    font-size: 12.5px;
}

.qlc-section[b-bc2ney1hz5] {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 12px;
    background: #fafcfd;
}

.qlc-section-head[b-bc2ney1hz5] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.qlc-title[b-bc2ney1hz5] {
    flex: 1 1 auto;
    font-weight: 600;
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 6px 8px;
    background: #fff;
    font-size: 13.5px;
}

.qlc-title:focus[b-bc2ney1hz5] {
    outline: none;
    border-color: var(--primary-dark);
}

.qlc-items[b-bc2ney1hz5] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 8px;
}

.qlc-item[b-bc2ney1hz5] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 6px;
    border-radius: 7px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.qlc-item-icon[b-bc2ney1hz5] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(0, 78, 94, 0.08);
    color: var(--primary-dark);
}

.qlc-item-label[b-bc2ney1hz5] {
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.qlc-badge[b-bc2ney1hz5] {
    flex: 0 0 auto;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-dark);
    border: 1px solid var(--primary-dark);
    border-radius: 10px;
    padding: 1px 7px;
}

.qlc-empty[b-bc2ney1hz5] {
    color: #9aa7ad;
    font-size: 12px;
    font-style: italic;
    padding: 2px 4px 8px;
}

.qlc-add[b-bc2ney1hz5] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.qlc-select[b-bc2ney1hz5],
.qlc-input[b-bc2ney1hz5] {
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    padding: 6px 8px;
    font-size: 13px;
    background: #fff;
}

.qlc-select[b-bc2ney1hz5] {
    flex: 1 1 auto;
    min-width: 160px;
}

.qlc-input[b-bc2ney1hz5] {
    flex: 1 1 auto;
    min-width: 140px;
}

.qlc-ext-form[b-bc2ney1hz5] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.qlc-add-section[b-bc2ney1hz5] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

/* Buttons */
.qlc-btn[b-bc2ney1hz5] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: #fff;
    color: var(--primary-dark);
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 12.5px;
    font-family: inherit;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.qlc-btn:hover:not(:disabled)[b-bc2ney1hz5] {
    border-color: var(--primary-dark);
    color: var(--primary-dark);
}

.qlc-btn:disabled[b-bc2ney1hz5] {
    opacity: 0.5;
    cursor: default;
}

.qlc-btn.qlc-primary[b-bc2ney1hz5] {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
}

/* Hover matches the app's primary save button (.e-primary-custom): primary-dark → accent-dark. */
.qlc-btn.qlc-primary:hover:not(:disabled)[b-bc2ney1hz5] {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: #fff;
}

.qlc-btn.qlc-link[b-bc2ney1hz5] {
    border-color: transparent;
    color: #8a98a0;
}

.qlc-btn.qlc-link:hover[b-bc2ney1hz5] {
    color: var(--primary-dark);
}

/* Small icon buttons (move / delete) */
.qlc-iconbtn[b-bc2ney1hz5] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    border: none;
    background: none;
    color: #8a98a0;
    border-radius: 6px;
    cursor: pointer;
    font-size: 11px;
    line-height: 1;
}

.qlc-iconbtn:hover:not(:disabled)[b-bc2ney1hz5] {
    background: rgba(0, 0, 0, 0.06);
    color: var(--primary-dark);
}

.qlc-iconbtn:disabled[b-bc2ney1hz5] {
    opacity: 0.3;
    cursor: default;
}

.qlc-iconbtn.qlc-danger:hover:not(:disabled)[b-bc2ney1hz5] {
    color: #b3261e;
}

.qlc-footer[b-bc2ney1hz5] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.qlc-spacer[b-bc2ney1hz5] {
    flex: 1 1 auto;
}
/* /Features/Shared/Actionbar/RowAction/RowActions.razor.rz.scp.css */
/* .row-action-icons and .icon-btn moved to wwwroot/css/app.css.

   They were defined here as component-scoped CSS, so Blazor's isolation applied
   them only to markup rendered by this component. Every other grid that used the
   same class names — the asset and asset type task grids, the measurement point
   grids, the task history grid — got the class names and none of the rules.
   They are global now, so this file holds only what is genuinely local. */
/* /Features/Shared/Components/GridPager/GridPager.razor.rz.scp.css */
/* GridPager.razor.css – scoped to this component */

/* Main pager bar */
.PagerTemplate[b-m5mn2rfqd7] {
    width: 100%;
    height: 100%;
    border-radius: 0;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
}

/* Left side (navigation + page number) */
.pager-left[b-m5mn2rfqd7] {
    display: flex;
    align-items: center;
    flex-shrink: 1;
    min-width: 0;
    /* Normal spacing between ALL direct children */
    column-gap: 16px;
}

    /* Make FIRST -> PREVIOUS double gap */
    .pager-left .e-firstpage[b-m5mn2rfqd7] {
        margin-right: 16px; /* 16 + column-gap (16) = 32px */
    }

/* Numeric + "of X pages" */
.page-number-group[b-m5mn2rfqd7] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: 0;
}

/* Right side (page size dropdown) */
.pager-page-size[b-m5mn2rfqd7] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    white-space: nowrap;
}

    /* Make the pager's DropDownList only as wide as it needs */
    .pager-page-size .e-input-group.e-control-wrapper[b-m5mn2rfqd7],
    .pager-page-size .e-dropdownlist[b-m5mn2rfqd7] {
        width: auto !important;
    }

/* Compact numeric textbox */
.grid-pager-numeric .e-input[b-m5mn2rfqd7] {
    padding-left: 2px !important;
    padding-right: 2px !important;
}

.grid-pager-numeric .e-control.e-numerictextbox.e-lib.e-input[b-m5mn2rfqd7] {
    padding: 0 !important;
}

/* Text beside pager */
.textbox[b-m5mn2rfqd7] {
    margin-top: 9px;
    margin-bottom: 9px;
    margin-right: 2px;
    text-align: center;
}

/* ========================= */
/* Open Iconic pager buttons */
/* (your wrapper is .pager-icon) */
/* ========================= */

.pager-left .pager-icon[b-m5mn2rfqd7] {
    margin-top: 9px;
    margin-bottom: 9px;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    /* Drive icon colour from wrapper */
    color: var(--primary-dark);
}

    /* Make glyph inherit wrapper colour */
    .pager-left .pager-icon .oi[b-m5mn2rfqd7] {
        color: currentColor;
        font-size: 1.1rem;
        line-height: 1;
        /* Ensure hover hits the wrapper */
        pointer-events: none;
    }

    /* Hover (enabled only) */
    .pager-left .pager-icon:hover[b-m5mn2rfqd7] {
        color: var(--primary-mid);
    }

    /* Disabled icons (your existing class names) */
    .pager-left .pager-icon.disableFirst[b-m5mn2rfqd7],
    .pager-left .pager-icon.disableBack[b-m5mn2rfqd7],
    .pager-left .pager-icon.disableFront[b-m5mn2rfqd7],
    .pager-left .pager-icon.disableLast[b-m5mn2rfqd7] {
        pointer-events: none;
        opacity: 0.3;
        cursor: default;
        color: var(--primary-dark);
    }

/* ================= */
/* Page size dropdown */
/* ================= */

/* Center the text in the INPUT box for THIS dropdown */
.page-size-ddl.e-input-group input.e-dropdownlist[b-m5mn2rfqd7] {
    text-align: center !important;
}

/* Right-align the text in the POPUP items for THIS dropdown */
.page-size-ddl.e-popup-open .e-list-item[b-m5mn2rfqd7] {
    text-align: right !important;
}
/* /Features/Shared/Layout/MainLayout.razor.rz.scp.css */
.page[b-vmr4zs72xl] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-vmr4zs72xl] {
    flex: 1;
}

.sidebar[b-vmr4zs72xl] {
    background-color: #eeeeee;
}

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

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

    .top-row[b-vmr4zs72xl]  a:hover, .top-row[b-vmr4zs72xl]  .btn-link:hover {
        text-decoration: underline;
    }

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

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

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

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

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

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

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

    .top-row.auth[b-vmr4zs72xl]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-vmr4zs72xl], article[b-vmr4zs72xl] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Features/Shared/Sidebar/Components/NavMenu.razor.rz.scp.css */
/* NavMenu scoped styles removed — sidebar styles live in NavMenu.razor <style> block */
