/* Make the page layout stretch to viewport and let the table area grow */
html, body, #app {
  height: 100%;
}

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* The body area grows to fill available space and becomes scrollable */
.page-body {
  flex: 1 1 auto;
  min-height: 0; /* important for flex children so overflow works correctly */
  display: flex;
  flex-direction: column;
}

.page-body .table-responsive {
  flex: 1 1 auto;
  min-height: 0; /* important to allow proper scrolling in flexbox */
  overflow: auto;
}

.exec-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 24px;
    align-items: start;
    margin-bottom: 12px;
}

.kpi-card {
    padding: 12px 14px;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    background: #fff;
}

.kpi-label {
    font-size: 12px;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.kpi-value {
    font-size: 34px;
    line-height: 1.1;
    font-weight: 700;
    margin-top: 4px;
}

.kpi-sub {
    font-size: 12px;
    color: #6c757d;
    margin-top: 2px;
}

.output-record-header {
    display: grid;
    grid-template-columns: repeat(5, minmax(220px, 1fr));
    gap: 24px;
    align-items: start;
    margin-bottom: 12px;
}

.output-record-header-card {
    padding: 12px 14px;
    border-radius: 10px;
}

.output-record-header-label {
    font-size: 0.70rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6c757d;
}

.output-record-header-value {
    font-size: 17px;
    line-height: 1.1;
    font-weight: 700;
    margin-top: 4px;
}

.output-record-version-card {
    padding: 12px 14px;
    border: 1px solid #6c757d;
    border-radius: 10px;
}

.output-record-changes-header {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 24px;
    align-items: start;
    margin-bottom: 12px;
}

.output-record-changes-header-card {
    padding: 12px 14px;
    border-radius: 10px;
}

.output-record-changes-card {
    padding: 12px 14px;
    border: 1px solid #6c757d;
    border-radius: 10px;
}

.fv-history-card {
    background: rgba(60,36,182,0.08);
    border-radius: 14px;
    border: 1px solid rgba(88, 63, 154, 0.12);
}

.fv-history-header {
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.fv-badge {
    border-radius: 999px;
    padding: .45rem .65rem;
}

.fv-badge-metric {
    border: 1px solid rgba(0,0,0,0.10);
}

.fv-lastmodified {
    white-space: nowrap;
}

.fv-change-card {
    width: 90%;
    padding-left: 1.5rem;
    background: rgba(88,63,154,0.09);
    border-radius: 14px;
    width: 85%;
    align-self: center;
}

.fv-change-body {
}

.fv-diff-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .15rem 0;
}

.fv-diff-key {
    color: rgba(0,0,0,0.70);
}

.fv-diff-val {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    text-align: right;
}

.fv-diff-reliability {
    color: darkblue;
    text-align: left;
}

.fv-arrow {
    display: flex;
    justify-content: center;
    margin: 1.2rem 0;
    opacity: 0.35;
    font-size: 1.2rem;
}


.details-table td {
    padding: 2px 10px;
    font-size: 12px;
    color: #495057;
}

    .details-table td:first-child {
        color: #6c757d;
        white-space: nowrap;
    }





.report-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 18px;
    align-items: start;
    margin: 10px 0 18px;
}

    .report-row .chart {
        display: flex;
        justify-content: center;
        padding-top: 4px;
    }


.details-metadata {
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 14px;
    background: #fff;
}

.details-title {
    font-size: 13px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.details-grid {
    display: grid;
    grid-template-columns: max-content 1fr;
    column-gap: 16px;
    row-gap: 4px;
}

.details-label {
    font-size: 16px;
    color: #6c757d;
    white-space: nowrap;
}

.details-value {
    font-size: 16px;
    color: #212529;
}

.details-actions {
    margin-top: 8px;
}

.report-container {
    max-width: 1200px;
}




.nav-enterprise {
    padding: 0 1rem 0;
    margin-top: 164px;
}

.nav-enterprise-label {
    font-size: 0.6rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #e9ecef;
    margin-bottom: .5rem;
}

.nav-enterprise-link {
    display: inline-flex;
    padding: .5rem .6rem;
    border-radius: .3rem;
    background: rgba(255,255,255,.08);
    text-decoration: none;
    transition: background .15s ease-in-out, transform .05s ease-in-out;
}

    .nav-enterprise-link:hover {
        background: rgba(255,255,255,.12);
    }

    .nav-enterprise-link:active {
        transform: translateY(1px);
    }

.nav-enterprise-logo {
    max-width: 170px;
    height: auto;
    display: block;
}

.fv-quote-rotator {
    min-height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.fv-quote {
    white-space: pre-line;
    transition: opacity 180ms ease-in-out;
}

.fade-in {
    opacity: 1;
}

.fade-out {
    opacity: 0;
}



/* Fixed onder topbar (55px), smal en gecentreerd */
.fvqm-shell {
    position: fixed;
    top: 55px; /* jouw topbar hoogte */
    left: 50%;
    transform: translateX(-50%) translateY(-110%);
    z-index: 1050; /* boven content */
    width: min(720px, calc(100vw - 32px)); /* smaller, responsive */
    pointer-events: none; /* voelt als “statusbar”, geen layout-clicks */
    opacity: 0;
    transition: transform 220ms ease, opacity 180ms ease;
}

    /* Zichtbaar: schuift naar beneden */
    .fvqm-shell.fvqm-visible {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    /* Verborgen: schuift omhoog (terug de topbar in) */
    .fvqm-shell.fvqm-hidden {
        transform: translateX(-50%) translateY(-110%);
        opacity: 0;
    }

/* “Pill” look */
.fvqm-pill {
    pointer-events: auto; /* alleen de pill zelf mag interactief zijn */
    margin: 8px auto 0 auto;
    border-radius: 8px;
    background: rgba(120, 120, 120, 0.35); /* subtiel, past bij jouw screenshot */
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 8px 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/* Horizontaal gecentreerd, netjes wrappen */
.fvqm-items {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 12px;
    line-height: 1;
    color: #fff;
    user-select: none;
    white-space: nowrap;
}

.fvqm-item {
    opacity: 0.95;
}

.fvqm-name {
    font-weight: 600;
}

.fvqm-sep {
    margin: 0 4px;
    opacity: 0.8;
}

.fvqm-count {
    font-weight: 700;
}


.expander-header {
    display: inline;
}




.page .sidebar {
    flex: 0 0 260px; /* pas aan naar jouw sidebar breedte */
    max-width: 260px;
    transition: max-width 160ms ease, flex-basis 160ms ease, transform 160ms ease, opacity 160ms ease;
}

/* Topbar (jij zei: 55px) */
.page .top-row {
    min-height: 55px;
    display: flex;
    align-items: center;
    gap: .5rem;
}

/* De toggle knop in de topbar */
.fv-chrome-toggle {
    margin-right: .5rem;
}

/* Collapsed state */
.page.fv-collapsed .sidebar {
    flex-basis: 0;
    max-width: 0;
    overflow: hidden;
    transform: translateX(-100%);
    opacity: 0;
}

.page.fv-collapsed .top-row {
    min-height: 0 !important;
    height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    overflow: hidden;
    border: 0;
}

/* Floating hamburger (altijd boven Body) */
.fv-chrome-fab {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 5000;
    box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
