/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-jehbr5iob1] {
    position: relative;
    display: flex;
    flex-direction: column;
}

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

.sidebar[b-jehbr5iob1] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

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

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

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

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

@media (max-width: 640.98px) {
    .top-row[b-jehbr5iob1] {
        justify-content: space-between;
    }

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

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

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

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

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

    .top-row[b-jehbr5iob1], article[b-jehbr5iob1] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-jehbr5iob1] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    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-jehbr5iob1] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.greeting[b-eg81pmkuwo] {
    color: #ffee00;
    font-weight: 600;
    margin-top: 10px;
    margin-left: 5px;
    font-size: 1.0rem;
    border-radius: 8px;
    padding: 3px;
}

.nav-menu[b-eg81pmkuwo] {
    width: 250px;
    min-width: 250px;
    max-width: 250px;
    flex-shrink: 0;
}

.navbar-toggler[b-eg81pmkuwo] {
    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-eg81pmkuwo] {
        background-color: rgba(255, 255, 255, 0.5);
    }

.top-row[b-eg81pmkuwo] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-eg81pmkuwo] {
    font-size: 1.1rem;
}

.bi[b-eg81pmkuwo] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-eg81pmkuwo] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-eg81pmkuwo] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-eg81pmkuwo] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-eg81pmkuwo] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-eg81pmkuwo] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-eg81pmkuwo] {
        padding-bottom: 1rem;
    }

    .nav-item[b-eg81pmkuwo]  .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-eg81pmkuwo]  a.active {
        background-color: rgba(255,255,255,0.37);
        color: white;
    }

    .nav-item[b-eg81pmkuwo]  .nav-link:hover {
        background-color: rgba(255,255,255,0.1);
        color: white;
    }

.nav-scrollable[b-eg81pmkuwo] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-eg81pmkuwo] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-eg81pmkuwo] {
        display: none;
    }

    .nav-scrollable[b-eg81pmkuwo] {
        /* Never collapse the sidebar for wide screens */
        display: block;
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
html[b-1ezcyg20xg], body[b-1ezcyg20xg] {
    overflow-y: hidden;
}

.page-container[b-1ezcyg20xg] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    padding: 1px;
}

.page-content-left[b-1ezcyg20xg],
.page-content-right[b-1ezcyg20xg] {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.log-footer[b-1ezcyg20xg] {
    grid-column: 1 / span 2;
    position: sticky;
    bottom: 0;
    background-color: white;
    border-top: 1px solid #ccc;
    padding: 3px;
    z-index: 5;
}
/* /Components/Pages/MailingsRecipients.razor.rz.scp.css */
/* Hide the AND/OR selection of Querybuilder */
.sfquerybuilder .e-lib.e-btn-group[b-wd03xbmia2] {
    display: none !important;
}

.e-toast[b-wd03xbmia2] {
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 14px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 10px 16px;
    min-width: 280px;
    max-width: 400px;
}

/* Succes toast */
.e-toast-success[b-wd03xbmia2] {
    background-color: #28a745 !important;
    color: #fff !important;
    border-left: 6px solid #1e7e34;
}

/* Warning toast */
.e-toast-warning[b-wd03xbmia2] {
    background-color: #ffc107 !important;
    color: #212529 !important;
    border-left: 6px solid #d39e00;
}

/* Error toast */
.e-toast-danger[b-wd03xbmia2],
.e-toast-error[b-wd03xbmia2] {
    background-color: #dc3545 !important;
    color: #fff !important;
    border-left: 6px solid #a71d2a;
}

/* Icon een beetje groter maken */
.e-toast .e-toast-icon[b-wd03xbmia2] {
    font-size: 18px;
    margin-right: 10px;
}

/* Titel bold */
.e-toast .e-toast-title[b-wd03xbmia2] {
    font-weight: bold;
}
/* /Components/Pages/MailingsTemplates.razor.rz.scp.css */
/* Page container */
.page-container[b-xjliwl2ghh] {
    display: flex;
    flex-direction: column;
    height: 100vh; /* vul het scherm, geen outer scrollbar */
    overflow: hidden; /* outer page mag niet scrollen */
    background: #e9f0f6; /* achtergrond rondom groupboxes (pas aan) */
    padding: 0.75rem;
    box-sizing: border-box;
}

/* Algemene groupbox styling (voorbeeld) */
.groupbox[b-xjliwl2ghh] {
    position: relative;
    background: #e9f0f6;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
    padding: 0.75rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
    box-sizing: border-box;
}

/* header */
.groupbox-header[b-xjliwl2ghh] {
    position: absolute;
    top: -0.6rem;
    left: 0.75rem;
    font-size: 0.85rem;
    font-weight: bold;
    background: #e9f0f6;
    padding: 0 0.25rem;
}

/* Top info area: neemt alleen benodigde hoogte */
.top-info[b-xjliwl2ghh] {
    flex: 0 0 auto;
}

/* RTE section: neemt de overgebleven ruimte.
   min-height:0 is essentieel zodat child overflow werkt */
.rte-section[b-xjliwl2ghh] {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0; /* CRUCIAAL voor internal scrollbars */
}

/* Content binnen groupbox (fix voor layout) */
.groupbox-content[b-xjliwl2ghh] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.inline-row[b-xjliwl2ghh] {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* kleine ruimte tussen de velden */
}

.inline-row > *[b-xjliwl2ghh] {
        flex: 0 0 auto; /* neemt alleen de ruimte die nodig is */
    }

/* Het scrollbare gebied rond de RTE */
.rte-scroll[b-xjliwl2ghh] {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    position: relative;
}

/* Zorg dat de RTE zelf 100% hoogte inneemt van de container */
.rte-scroll .e-richtexteditor[b-xjliwl2ghh] {
    height: 100%;
    box-sizing: border-box;
    background: transparent; /* laat groupbox achtergrond zichtbaar zijn */
}

/* Maak toolbar sticky binnen de RTE-container */
.rte-scroll .e-rte-toolbar[b-xjliwl2ghh],
.rte-scroll .e-toolbar[b-xjliwl2ghh] {
    position: sticky;
    top: 0;
    z-index: 20;
    background: inherit; /* neemt groupbox achtergrond */
}

/* Zorg dat de content editable voldoende padding heeft (zodat toolbar niet over tekst ligt) */
.rte-scroll .e-richtexteditor .e-editable[b-xjliwl2ghh] {
    padding-top: 0.5rem;
    box-sizing: border-box;
}

/* Optioneel: style van subject textbox zodat die full width boven editor staat */
.subject-box[b-xjliwl2ghh] {
    width: 100%;
    max-width: 100%;
}

/* Styling form custom RTE Toolbar elements */
.custom-context-menu li[b-xjliwl2ghh],
.toolbar-insert-menu li[b-xjliwl2ghh] {
    padding: 4px 10px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.custom-context-menu li:hover[b-xjliwl2ghh],
.toolbar-insert-menu li:hover[b-xjliwl2ghh] {
    background: #e6f0ff;
}

.toast-message[b-xjliwl2ghh] {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #4caf50; /* groen voor succes */
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    z-index: 1000;
    animation: fadeinout-b-xjliwl2ghh 3s forwards;
}

@keyframes fadeinout-b-xjliwl2ghh {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    10% {
        opacity: 1;
        transform: translateY(0);
    }

    90% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}
/* /Components/Pages/MaintenanceSubscriptions.razor.rz.scp.css */
.btn[b-ebizsofkc4] {
    border: none;
    padding: 5px 10px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

.btn-blue[b-ebizsofkc4] {
    background-color: #007bff; /* Blauw */
    color: white;
}

.btn-red[b-ebizsofkc4] {
    background-color: #dc3545; /* Rood */
    color: yellow;
}
/* /Components/Pages/MaintenanceTasks.razor.rz.scp.css */
.tijdvak[b-43ctfnwdu7] {
    width:320px;
    flex: 1 1 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 0 12px 12px 12px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
    position: relative;
}

.tijdvak-header[b-43ctfnwdu7] {
    font-size: 0.75rem;
    font-weight: bold;
    position: absolute;
    top: -10px;
    left: 10px;
    color: #666;
    background-color: #e9f0f6;
    padding: 0 4px;
}

.tijdvak-content[b-43ctfnwdu7] {
    margin-top: 10px;
    display: flex;
    gap: 8px;
}
/* /Components/Pages/MaintenanceUsers.razor.rz.scp.css */
.form-grid[b-t73tl8zp1o] {
    display: grid;
    grid-template-columns: 1fr 1fr 3fr;
    gap: 15px;
    align-items: start;
}

.form-left[b-t73tl8zp1o] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-middle[b-t73tl8zp1o] {
    background-color: #fdffb6;
    border-bottom: 2px solid #d00000;
    border-left: 2px solid #d00000;
    border-top: 2px solid #d00000;
    border-right: 2px solid #d00000;
    border-radius: 8px;
    padding: 3px;
    margin: 10px 0px;
    font-size: 0.85rem;
    font-weight: bold;
    color: #d00000;
    gap: 0px;
}

.form-right[b-t73tl8zp1o] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    /* An empty list may never display an emtry row */
    .form-right ul:empty[b-t73tl8zp1o] {
        display: none;
    }
/* /Components/Pages/PlanningOverview.razor.rz.scp.css */
/* --- Pagina layout --- */
.overview-grid[b-yzg5hnmjpv] {
    display: grid;
    grid-template-rows: auto auto auto auto auto;
    row-gap: 20px;
    width: 100%;
    margin-top: 10px;
}

/* Rijen */
.row[b-yzg5hnmjpv] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
}

.row1[b-yzg5hnmjpv] {
    grid-template-columns: 1fr;
    text-align: center;
}

    .row1 h3[b-yzg5hnmjpv] {
        margin: 0;
    }

.row2[b-yzg5hnmjpv] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: space-between;
    align-items: center;
}

    .row2 .col.left[b-yzg5hnmjpv] {
        display: flex;
        align-items: center;
    }

    .row2 .col.right[b-yzg5hnmjpv] {
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

.row4[b-yzg5hnmjpv] {
    display: grid;
    grid-template-columns: 1fr !important;
}

/* Edition label */
.edition-label[b-yzg5hnmjpv] {
    font-weight: normal;
    font-size: 0.9em;
    color: #555;
}

/* Buttons */
.xml-btn[b-yzg5hnmjpv] {
    width: 48px;
    height: 48px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

    .xml-btn:hover[b-yzg5hnmjpv] {
        background-color: rgba(0,0,0,0.05);
    }

    .xml-btn .icon[b-yzg5hnmjpv] {
        width: 45px;
        height: 45px;
    }

/* Conditions wrapper/editor */
.conditions-wrapper[b-yzg5hnmjpv] {
    position: relative;
    border: 2px solid #ccc;
    border-radius: 10px;
    padding: 30px 20px 20px 20px;
    margin-top: 20px;
    background-color: #fafafa;
}

    .conditions-wrapper .btn-edit[b-yzg5hnmjpv] {
        position: absolute;
        top: -16px;
        left: 50%;
        transform: translateX(-50%);
        background-color: white;
        border: 1px solid #aaa;
        border-radius: 6px;
        padding: 4px 12px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .conditions-wrapper .btn-edit:hover[b-yzg5hnmjpv] {
            background-color: #f0f0f0;
        }

.conditions-editor[b-yzg5hnmjpv] {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

    .conditions-editor .row[b-yzg5hnmjpv] {
        display: grid;
        grid-template-columns: 350px 1fr;
        align-items: center;
        gap: 5px;
        padding: 2px 0;
    }

    .conditions-editor label[b-yzg5hnmjpv] {
        font-weight: 300;
    }

    .conditions-editor input[b-yzg5hnmjpv] {
        width: 100%;
        padding: 2px 4px;
    }

.title[b-yzg5hnmjpv] {
    text-align-last: center;
    font-weight: 500;
    font-size: 1.8rem;
    margin-bottom: 8px;
}
