/* _content/TheOfficeR/Components/Layout/MainLayout.razor.rz.scp.css */
html[b-fltwwmdncm], body[b-fltwwmdncm] {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
}

.page[b-fltwwmdncm] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main[b-fltwwmdncm] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

article.content[b-fltwwmdncm] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-width: 100vw;
    box-sizing: border-box;
    min-height: 0;
    background: white !important;
}

.scroll-zone[b-fltwwmdncm] {
    flex: 1;
    overflow-y: visible;
    overflow-x: auto;
    min-height: 0;
}

.sidebar[b-fltwwmdncm] {
    background-color: rgb(5, 39, 103);
    display: flex;
    flex-direction: column;
}

.nav-wrapper[b-fltwwmdncm] {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.nav-scrollable[b-fltwwmdncm] {
    flex: 1;
    height: 100%;
    overflow-y: auto;
}

.nav-link[b-fltwwmdncm] {
    color: white;
    padding: 0.75rem 1rem;
    text-decoration: none;
}

    .nav-link:hover[b-fltwwmdncm] {
        background-color: rgba(255,255,255,0.1);
    }

.top-row[b-fltwwmdncm] {
    background-color: rgb(4, 22, 61);
    color: white;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-fltwwmdncm]  a,
    .top-row[b-fltwwmdncm]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

        .top-row[b-fltwwmdncm]  a:hover,
        .top-row[b-fltwwmdncm]  .btn-link:hover {
            text-decoration: underline;
        }

        .top-row[b-fltwwmdncm]  a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

.role-tag[b-fltwwmdncm] {
    background-color: rgba(255,255,255,0.1);
    color: white;
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    margin-top: 0.25rem;
    border-radius: 4px;
    display: inline-block;
}

.site-footer[b-fltwwmdncm] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    background-color: rgb(4, 22, 61);
    color: white
}

    .site-footer a[b-fltwwmdncm] {
        color: #fff;
        text-decoration: none;
    }

.footer-left[b-fltwwmdncm] {
    text-align: left;
    white-space: nowrap;
}

.footer-right[b-fltwwmdncm] {
    text-align: right;
    white-space: nowrap;
}

.lang-selector[b-fltwwmdncm] {
    position: relative;
    display: inline-block;
}

.lang-menu[b-fltwwmdncm] {
    position: absolute;
    right: 0;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0.25rem;
    z-index: 1000;
}

.lang-item[b-fltwwmdncm] {
    display: flex;
    align-items: center;
    width: 100%;
    border: none;
    background: transparent;
    padding: 0.25rem 0.5rem;
    font-size: 0.85rem;
    cursor: pointer;
}

    .lang-item:hover[b-fltwwmdncm] {
        background: #f0f0f0;
    }

@media (max-width: 640.98px) {
    .top-row[b-fltwwmdncm] {
        justify-content: space-between;
    }

        .top-row[b-fltwwmdncm]  a,
        .top-row[b-fltwwmdncm]  .btn-link {
            margin-left: 0;
        }
}

@media (min-width: 768px) {
    .page[b-fltwwmdncm] {
        flex-direction: row;
        overflow-x: hidden;
        align-items: stretch;
        min-height: 100vh;
    }

    main[b-fltwwmdncm],
    article.content[b-fltwwmdncm],
    .scroll-zone[b-fltwwmdncm] {
        min-width: 0;
    }

    main[b-fltwwmdncm] {
        flex: 1;
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .sidebar[b-fltwwmdncm] {
        width: 250px;
        background-color: rgb(5, 39, 103);
        display: flex;
        flex-direction: column;
    }

    .nav-wrapper[b-fltwwmdncm] {
        flex: 1;
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .nav-scrollable[b-fltwwmdncm] {
        flex: 1;
        height: 100%;
        overflow-y: auto;
    }

    .top-row[b-fltwwmdncm] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

        .top-row.auth[b-fltwwmdncm]  a:first-child {
            flex: 1;
            text-align: right;
            width: 0;
        }

    article.content[b-fltwwmdncm] {
        flex: 1;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        max-width: 100vw;
        box-sizing: border-box;
        min-height: 0;
    }

    .scroll-zone[b-fltwwmdncm] {
        flex: 1;
        overflow-y: visible;
        overflow-x: auto;
        min-height: 0;
        max-width: 100%;
    }
}

#blazor-error-ui[b-fltwwmdncm] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-fltwwmdncm] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/TheOfficeR/Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-ym4u7xcxmf] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

    .navbar-toggler:checked[b-ym4u7xcxmf] {
        background-color: rgba(255, 255, 255, 0.5);
    }

.top-row[b-ym4u7xcxmf] {
    min-height: 3.5rem;
    background-color: rgb(4, 22, 61);
    color: white;
}

.navbar-brand[b-ym4u7xcxmf] {
    font-size: 1.1rem;
}

.bi[b-ym4u7xcxmf] {
    font-size: 1.2rem;
    line-height: 1;
    vertical-align: middle;
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-icon-active[b-ym4u7xcxmf] {
    color: white;
}

.nav-link.dropdown-toggle[b-ym4u7xcxmf] {
    cursor: pointer;
}

.submenu .nav-link[b-ym4u7xcxmf] {
    font-size: 0.85rem;
    padding-left: 1.5rem;
}

.auth-button[b-ym4u7xcxmf] {
    min-height: 2.25rem;
    width: 100%;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    margin-bottom: 0.75rem;
}

.nav-item[b-ym4u7xcxmf] {
    font-size: 0.85rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-ym4u7xcxmf] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-ym4u7xcxmf] {
        padding-bottom: 1rem;
    }

    /*.nav-item ::deep .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }*/
    .nav-item[b-ym4u7xcxmf]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 2.2rem;
        line-height: 2.2rem;
        padding: 0 0.75rem;
        font-size: 0.90rem;
        display: flex;
        align-items: center;
        width: 100%;
    }

    .nav-item[b-ym4u7xcxmf]  a.active {
        background-color: rgba(255,255,255,0.37);
        color: white;
    }

    .nav-item[b-ym4u7xcxmf]  .nav-link:hover {
        background-color: rgba(255,255,255,0.1);
        color: white;
    }

.nav-link.disabled[b-ym4u7xcxmf] {
    opacity: 0.5;
    pointer-events: none;
    cursor: default;
}

.nav-container[b-ym4u7xcxmf] {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.flex-spacer[b-ym4u7xcxmf] {
    flex-grow: 1;
}

.session-block[b-ym4u7xcxmf] {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1rem;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
}

    .session-block .nav-link[b-ym4u7xcxmf] {
        color: rgba(255, 255, 255, 0.85);
        display: flex;
        align-items: center;
        height: 2.5rem;
        line-height: 2.5rem;
    }

    .session-block .nav-link:hover[b-ym4u7xcxmf] {
        background-color: rgba(255,255,255,0.15);
        color: white;
    }

.user-label[b-ym4u7xcxmf] {
    color: white;
    font-weight: 500;
}

.nav-disabled[b-ym4u7xcxmf] {
    pointer-events: none;
    cursor: default;
    color: #cccccc !important;
    background-color: transparent;
    opacity: 1;
}

    .nav-disabled.active[b-ym4u7xcxmf] {
        background-color: transparent !important;
        color: #cccccc !important;
    }

    .nav-disabled .bi[b-ym4u7xcxmf] {
        filter: grayscale(100%);
        opacity: 0.6;
    }

.role-tag[b-ym4u7xcxmf] {
    background-color: rgba(255,255,255,0.1);
    color: white;
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    margin-top: 0.25rem;
    border-radius: 4px;
    display: inline-block;
}

.nav-disabled[b-ym4u7xcxmf] {
    pointer-events: none;
    cursor: default;
    color: #cccccc;
    background-color: transparent;
    opacity: 1;
}

.nav-link.dropdown-toggle[b-ym4u7xcxmf] {
    cursor: pointer;
}

/* Sidebar hidden by default */
.nav-scrollable[b-ym4u7xcxmf] {
    display: none;
    flex-direction: column;
    width: 100vw;
    box-sizing: border-box;
    overflow-y: auto;
    overflow-x: hidden;
}

@media (max-width: 767.98px) {
    .navbar-toggler:checked ~ .nav-scrollable[b-ym4u7xcxmf] {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        position: absolute;
        top: 3.5rem;
        left: 0;
        width: 100vw;
        max-height: calc(100vh - 3.5rem);
        overflow-y: auto;
        overflow-x: auto;
        background-color: rgb(4, 22, 61);
        z-index: 1000;
        box-sizing: border-box;
    }

    .nav-container[b-ym4u7xcxmf] {
        display: block;
        width: 100%;
    }

    .nav-item[b-ym4u7xcxmf] {
        width: 100%;
    }
}


@media (min-width: 768px) {
    .nav-scrollable[b-ym4u7xcxmf] {
        display: block !important;
        position: relative;
        width: 260px;
        height: auto; /* ← L’ÚNIC CANVI REAL */
        flex: 1; /* ← AFEGIT PERQUÈ CREIXI */
        overflow-y: auto;
        overflow-x: hidden;
        background-color: rgb(4, 22, 61);
        box-sizing: border-box;
        top: unset;
        left: unset;
        z-index: unset;
        max-height: unset;
    }
}



.error-placeholder[b-ym4u7xcxmf] {
    min-height: 1.25rem;
}






/* _content/TheOfficeR/Components/Pages/Authentication/Login.razor.rz.scp.css */
.login-form-container[b-raldxn7zqf] {
    max-width: 300px;
    margin: 0 auto;
    padding-top: 1rem;
    text-align: center;
}

.login-input[b-raldxn7zqf] {
    width: 100%;
}

.login-button[b-raldxn7zqf] {
    width: 100%;
    margin-bottom: 1rem;
}

.error-placeholder[b-raldxn7zqf] {
    min-height: 1.25rem;
}

/* _content/TheOfficeR/Components/Pages/Charts/ActivityChart.razor.rz.scp.css */
.activity-chart-container[b-13smzpoqr1] {
    position: relative;
    width: 100%;
    height: 100%;
}

    .activity-chart-container canvas[b-13smzpoqr1] {
        width: 100% !important;
        height: 100% !important;
    }

.chart-loading-overlay[b-13smzpoqr1] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    backdrop-filter: blur(2px);
    border-radius: 6px;
}

.spinner[b-13smzpoqr1] {
    width: 36px;
    height: 36px;
    border: 4px solid #ccc;
    border-top-color: #0078d4;
    border-radius: 50%;
    animation: spin-b-13smzpoqr1 0.8s linear infinite;
}

@keyframes spin-b-13smzpoqr1 {
    to {
        transform: rotate(360deg);
    }
}
/* _content/TheOfficeR/Components/Pages/Charts/ActivityDashboard.razor.rz.scp.css */
.dashboard-grid[b-94syn6t7nk] {
    display: grid;
    max-width: 100%;
    overflow: hidden;
    grid-template-columns: 60% 40%;
    grid-template-rows: 60vh 40vh;
    gap: 20px;
}

.item[b-94syn6t7nk] {
    background: white;
    padding: 10px;
    border-radius: 6px;
    overflow: hidden;
}

    .item canvas[b-94syn6t7nk] {
        width: 100% !important;
        height: 100% !important;
        max-width: 100%;
        max-height: 100%;
        display: block;
    }

.item-1-1[b-94syn6t7nk] {
    grid-row: 1;
    grid-column: 1;
}

.item-1-2[b-94syn6t7nk] {
    grid-row: 1;
    grid-column: 2;
}

.item-2-1[b-94syn6t7nk] {
    grid-row: 2;
    grid-column: 1;
}

.item-2-2[b-94syn6t7nk] {
    grid-row: 2;
    grid-column: 2;
}
/* _content/TheOfficeR/Components/Pages/Charts/ActivityDoughnutChart.razor.rz.scp.css */
.activity-doughnutchart-container[b-c1ypmj03oz] {
    position: relative;
    width: 100%;
    height: 100%;
}

    .activity-doughnutchart-container canvas[b-c1ypmj03oz] {
        width: 100% !important;
        height: 100% !important;
    }

.chart-loading-overlay[b-c1ypmj03oz] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    backdrop-filter: blur(2px);
    border-radius: 6px;
}

.spinner[b-c1ypmj03oz] {
    width: 36px;
    height: 36px;
    border: 4px solid #ccc;
    border-top-color: #0078d4;
    border-radius: 50%;
    animation: spin-b-c1ypmj03oz 0.8s linear infinite;
}

@keyframes spin-b-c1ypmj03oz {
    to {
        transform: rotate(360deg);
    }
}
/* _content/TheOfficeR/Components/Pages/Charts/ActivityPieChart.razor.rz.scp.css */
.activity-piechart-container[b-7ktkdsutvy] {
    position: relative;
    width: 100%;
    height: 100%;
}

    .activity-piechart-container canvas[b-7ktkdsutvy] {
        width: 100% !important;
        height: 100% !important;
    }

.chart-loading-overlay[b-7ktkdsutvy] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    backdrop-filter: blur(2px);
    border-radius: 6px;
}

.spinner[b-7ktkdsutvy] {
    width: 36px;
    height: 36px;
    border: 4px solid #ccc;
    border-top-color: #0078d4;
    border-radius: 50%;
    animation: spin-b-7ktkdsutvy 0.8s linear infinite;
}

@keyframes spin-b-7ktkdsutvy {
    to {
        transform: rotate(360deg);
    }
}
/* _content/TheOfficeR/Components/Pages/Charts/SelectionPanel.razor.rz.scp.css */
.selection-grid[b-yv16kn602p] {
    display: grid;
    grid-template-columns: 140px 1fr;
    grid-template-rows: auto auto auto;
    gap: 4px 12px;
    background: #235A9F;
    padding: 8px;
    border-radius: 6px;
    color: white;
}

/* LABELS PETITES I NO BOLD */
.small-label[b-yv16kn602p] {
    font-size: 0.70rem;
    font-weight: normal;
}

/* DATE INPUTS */
.cell.dates[b-yv16kn602p] {
    display: flex;
    align-items: center;
}

    .cell.dates input[type="date"][b-yv16kn602p] {
        width: 100%;
        padding: 2px 6px;
        border-radius: 4px;
        border: none;
        font-size: 0.75rem;
        height: 1.6rem;
    }

/* PILLS */
.cell.pills[b-yv16kn602p] {
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
}

.pill-container[b-yv16kn602p] {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto !important;
    overflow-y: hidden;
    gap: 4px;
    padding-bottom: 2px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 28px;
}

.groups-container[b-yv16kn602p],
.users-container[b-yv16kn602p] {
    min-width: 0 !important;
}

/* SCROLLBAR */
.pill-container[b-yv16kn602p]::-webkit-scrollbar {
    height: 6px;
}

.pill-container[b-yv16kn602p]::-webkit-scrollbar-thumb {
    background: #3379D9;
    border-radius: 3px;
}

.pill-container[b-yv16kn602p]::-webkit-scrollbar-track {
    background: #1E3F6E;
}

/* PILLS */
.pill[b-yv16kn602p] {
    padding: 4px 10px;
    background: #1E3F6E;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    font-size: 0.75rem;
    transition: background 0.15s;
}

    .pill:hover[b-yv16kn602p] {
        background: #2A4F8A;
    }

    .pill.selected[b-yv16kn602p] {
        background: #3379D9;
        font-weight: bold;
    }
/* _content/TheOfficeR/Components/Pages/Cookies/CookieBanner.razor.rz.scp.css */
.cookie-modal-overlay[b-efxnl68l5u] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-modal[b-efxnl68l5u] {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    max-width: 720px;
    width: 98%;
    box-shadow: 0 10px 28px rgba(0,0,0,0.25);
    text-align: center;
    max-height: 80vh; /* límite de altura relativo a la ventana */
    overflow-y: auto; /* scroll vertical si se desborda */
}

.pref-row[b-efxnl68l5u] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

    .pref-row input[disabled] + label[b-efxnl68l5u] {
        opacity: 0.5; /* más claro */
        font-style: italic; /* cursiva opcional */
        cursor: not-allowed; /* icono de prohibido al pasar el ratón */
    }

.modal-actions[b-efxnl68l5u] {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1rem;
}

.cookie-policy-link[b-efxnl68l5u] {
    margin-top: 1rem; /* separa el botón del bloque anterior */
    text-align: center; /* opcional, lo centra */
}

.modal-content .policy-content[b-efxnl68l5u],
.modal-content .privacy-content[b-efxnl68l5u] {
    margin-top: 1.5rem; /* separa el texto de la política del bloque de links */
    text-align: left; /* opcional: alinear el texto para diferenciarlo de los botones */
}
