/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-dyre8h77st] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-dyre8h77st] {
    flex: 1;
}

.sidebar[b-dyre8h77st] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-dyre8h77st] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-dyre8h77st]  a, .top-row[b-dyre8h77st]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-dyre8h77st]  a:hover, .top-row[b-dyre8h77st]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-dyre8h77st]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-dyre8h77st] {
        justify-content: space-between;
    }

    .top-row[b-dyre8h77st]  a, .top-row[b-dyre8h77st]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-dyre8h77st] {
        flex-direction: row;
    }

    .sidebar[b-dyre8h77st] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-dyre8h77st] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-dyre8h77st]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-dyre8h77st], article[b-dyre8h77st] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Pages/GenerateLicense.razor.rz.scp.css */
.form-group[b-8bp0lainz2] {
    position: relative;
}

.field-label-row[b-8bp0lainz2] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.25rem;
}

.field-help-button[b-8bp0lainz2] {
    width: 1.25rem;
    height: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #6c757d;
    border-radius: 50%;
    background: #fff;
    color: #495057;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1;
}

.field-help-button:hover[b-8bp0lainz2],
.field-help-button:focus[b-8bp0lainz2] {
    background: #f8f9fa;
    border-color: #0d6efd;
    color: #0d6efd;
}

.field-help-text[b-8bp0lainz2] {
    position: absolute;
    top: 1.75rem;
    left: 0;
    z-index: 1050;
    width: min(28rem, 100%);
    padding: 0.55rem 0.7rem;
    border: 1px solid #6ea8fe;
    border-radius: 0.35rem;
    background: #fff;
    color: #212529;
    box-shadow: 0 0.35rem 1rem rgba(33, 37, 41, 0.18);
    font-size: 0.875rem;
    line-height: 1.35;
}

.field-help-text[b-8bp0lainz2]::before {
    content: "";
    position: absolute;
    top: -0.45rem;
    left: 4.2rem;
    width: 0.8rem;
    height: 0.8rem;
    background: #fff;
    border-left: 1px solid #6ea8fe;
    border-top: 1px solid #6ea8fe;
    transform: rotate(45deg);
}
/* /Pages/Licenses.razor.rz.scp.css */
/* Page layout: header (details + controls) stays visible; table area scrolls */
.licenses-page[b-b5grljekec] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    height: calc(100vh - var(--app-top-bar-height, 56px));
    box-sizing: border-box;
    padding: 1rem;
}

/* Header area contains details card and the controls row; keep it fixed size */
.licenses-header[b-b5grljekec] {
    flex: 0 0 auto;
    background: white;
    z-index: 100;
}

.license-title-row[b-b5grljekec] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.license-refresh-button[b-b5grljekec] {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background: #fff;
    color: #495057;
}

.license-refresh-button:hover:not(:disabled)[b-b5grljekec] {
    background: #f8f9fa;
    border-color: #adb5bd;
    color: #212529;
}

.license-refresh-button:disabled[b-b5grljekec] {
    opacity: 0.6;
    cursor: default;
}

.license-refresh-button svg[b-b5grljekec] {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* make header visually separated and ensure it doesn't scroll away */
.controls-row[b-b5grljekec] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0;
}

/* The table area fills remaining space and scrolls internally */
.licenses-table-area[b-b5grljekec] {
    flex: 1 1 auto;
    min-height: 0; /* important for Firefox/Chrome to allow internal scrolling */
}

/* scrolling container that holds the table */
.licenses-table-container[b-b5grljekec] {
    height: 100%;
    overflow-y: auto;
}

/* table fixed layout and truncation */
.licenses-table[b-b5grljekec] {
    table-layout: fixed;
    width: 100%;
    margin-bottom: 0;
    min-width: 0;
}

.licenses-table th[b-b5grljekec],
.licenses-table td[b-b5grljekec] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* table header inside the scrollable container sticks to the top of that container */
.licenses-table thead th[b-b5grljekec] {
    position: sticky;
    top: 0;
    z-index: 1050;
    background-color: white;
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

/* search input sizing */
.license-search-input[b-b5grljekec] {
    width: 220px;
    min-width: 140px;
}

/* License details: border around each parameter name + value */
/* Make detail-pair internals use consistent box sizing, padding and a fixed label column
   so all red offsets (left edge of label text) line up across columns. */
.detail-pair[b-b5grljekec] {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 0.0rem; /* space between label and value */
    padding: 0.5rem; /* UNIFORM padding around the whole element */
    margin: 0.3rem;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 4px;
    background: #fff;
}

/* Fixed label width (match "Active Users") but NO extra padding on label itself */
.detail-name[b-b5grljekec] {
    font-weight: 600;
    color: #222;
    flex: 0 0 12ch;     /* fixed width */
    width: 12ch;
    min-width: 12ch;
    box-sizing: border-box;
    white-space: nowrap;
    text-align: left;
    padding: 0;         /* ensure no per-label padding */
}

/* Values take remaining space and also have no per-value padding */
.detail-value[b-b5grljekec] {
    color: #333;
    flex: 1 1 auto;
    word-break: break-word;
    overflow-wrap: anywhere;
    padding: 0;         /* uniform box padding already applied on .detail-pair */
}

/* Add horizontal gap between the three detail columns inside the details card.
   Use column padding so each .detail-pair box keeps its full-width appearance
   but there's visible space between columns (the red marks in your screenshot). */
.licenses-header .card-body .col-md-4[b-b5grljekec] {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    box-sizing: border-box;
}

/* Prevent inner bootstrap paddings from collapsing layout */
.detail-pair .col-sm-5[b-b5grljekec],
.detail-pair .col-sm-7[b-b5grljekec] {
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}
