@import '_content/RTR.WebApp/RTR.WebApp.m1lqk2d25n.bundle.scp.css';

/* /Components/Pages/Admin/RolePermissionsTab.razor.rz.scp.css */
/* Fill the height handed down by RtrWebPage (a fixed-height flex column): lay out
   as a column so the toolbar keeps its natural height and the grid grows to take
   the rest, scrolling internally instead of the whole box floating above empty
   page. Ported from IowaDnr.Web's RolePermissionsTab. */
.rpm[b-mqtw75lpm3] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.rpm__empty[b-mqtw75lpm3] {
    padding: 40px;
    text-align: center;
    color: var(--rtr-web-text-subtle);
}

.rpm__dirty[b-mqtw75lpm3] {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--rtr-web-warn);
    white-space: nowrap;
}

.rpm__scroll[b-mqtw75lpm3] {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    border: 1px solid var(--rtr-web-border);
    border-radius: var(--rtr-web-radius);
}

.rpm__table[b-mqtw75lpm3] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.rpm__table thead th[b-mqtw75lpm3] {
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--rtr-web-surface);
    border-bottom: 1px solid var(--rtr-web-border);
    padding: 10px 12px;
    text-align: left;
    font-weight: 600;
    color: var(--rtr-web-text-subtle);
    white-space: nowrap;
}

.rpm__table .rpm__perm-col[b-mqtw75lpm3] {
    position: sticky;
    left: 0;
    z-index: 1;
    background: var(--rtr-web-surface);
    min-width: 260px;
}

.rpm__table thead .rpm__perm-col[b-mqtw75lpm3] {
    z-index: 2;
}

.rpm__table .rpm__role-col[b-mqtw75lpm3] {
    text-align: center;
    min-width: 96px;
}

/* Each role column header is a button: the name plus a pencil that fades in on
   hover, opening the add/edit-role drawer for that column. */
.rpm__role-head[b-mqtw75lpm3] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: none;
    border: 0;
    margin: -3px -6px;
    padding: 3px 6px;
    border-radius: var(--rtr-web-radius);
    font: inherit;
    font-weight: 600;
    color: inherit;
    white-space: nowrap;
    cursor: pointer;
}

.rpm__role-head:hover[b-mqtw75lpm3] {
    background: var(--rtr-web-neutral-tint);
    color: var(--rtr-web-text);
}

.rpm__role-pencil[b-mqtw75lpm3] {
    display: inline-flex;
    color: var(--rtr-web-text-subtle);
    opacity: 0;
    transition: opacity .12s ease;
}

.rpm__role-head:hover .rpm__role-pencil[b-mqtw75lpm3],
.rpm__role-head:focus-visible .rpm__role-pencil[b-mqtw75lpm3] {
    opacity: 1;
}

.rpm__role-tag[b-mqtw75lpm3] {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--rtr-web-text-faint);
    border: 1px solid var(--rtr-web-border);
    border-radius: 4px;
    padding: 0 4px;
    line-height: 1.6;
}

.rpm__role-col--inactive .rpm__role-name[b-mqtw75lpm3] {
    color: var(--rtr-web-text-faint);
}

.rpm__module-row td[b-mqtw75lpm3] {
    padding: 8px 12px 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--rtr-web-text-faint);
    background: var(--rtr-web-neutral-tint);
}

.rpm__table tbody tr:not(.rpm__module-row)[b-mqtw75lpm3] {
    border-bottom: 1px solid var(--rtr-web-border);
}

.rpm__table td[b-mqtw75lpm3] {
    padding: 6px 12px;
    vertical-align: middle;
}

.rpm__perm-name[b-mqtw75lpm3] {
    font-weight: 500;
    color: var(--rtr-web-text);
}

.rpm__perm-desc[b-mqtw75lpm3] {
    font-size: 11.5px;
    color: var(--rtr-web-text-subtle);
}
/* /Components/Shared/AzureMap.razor.rz.scp.css */
/* The map fills its container; the host sizes the container. A neutral backdrop
   shows while tiles load so the area never flashes transparent. */
.azure-map[b-81butknpv4] {
    width: 100%;
    height: 100%;
    min-height: 200px;
    border-radius: 8px;
    overflow: hidden;
    background: #e8eaed;
}
