/* /Layout/MainLayout.razor.rz.scp.css */
/* ============================
   Algemeen (Base)
   ============================ */
.page[b-wvpzi7ue15] {
    display: flex;
    flex-direction: column;
    position: relative;
}

main[b-wvpzi7ue15] {
    flex: 1;
    height: 100vh;
    overflow-y: auto;
}

/* ============================
   Wrapper
   ============================ */
#wrapper[b-wvpzi7ue15] {
    max-width: 100vw;
    transition: all 0.3s ease;
}

/* ============================
   Sidebar (off-canvas)
   ============================ */
#sidebar-wrapper[b-wvpzi7ue15] {
    background-color: #2F404B;
    position: fixed;
    top: 5rem;
    bottom: 0;
    left: 0;
    width: 18rem;
    transform: translateX(-100%); 
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 90000;
    transition: transform 0.3s ease;

}

/* Als menu open is → schuif in beeld */
#wrapper.nav-open #sidebar-wrapper[b-wvpzi7ue15] {
    transform: translateX(0);
}

.sidebar-nav[b-wvpzi7ue15] {
    height: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 0;
    width: 18rem;
}

/* ============================
   Pagina-inhoud
   ============================ */
#page-content-wrapper[b-wvpzi7ue15] {
    margin-top: 5rem;
    width: 100vw;
    transition: margin-left 0.3s ease, width 0.3s ease;
}

/* ============================
   Top Row (Header)
   ============================ */
.top-row[b-wvpzi7ue15] {
    align-items: center;
    background-color: #0055a5;
    display: flex;
    height: 5rem;
    justify-content: space-between;
    position: fixed;
    top: 0;
    width: 100vw;
    z-index: 50;
    color: #fff;
}

    .top-row .logo[b-wvpzi7ue15] {
        height: 4rem;
    }

    .top-row .top-row-side[b-wvpzi7ue15],
    .top-row-right[b-wvpzi7ue15] {
        align-items: center;
        display: flex;
        justify-content: center;
        position: sticky;
        top: 0;
        z-index: 50;
    }

.top-row-right[b-wvpzi7ue15] {
    gap: 1rem;
}

.top-row[b-wvpzi7ue15]  a,
.top-row[b-wvpzi7ue15]  .btn-link {
    color: #1c2c58;
    margin-left: 1.5rem;
    text-decoration: none;
    white-space: nowrap;
}

    .top-row[b-wvpzi7ue15]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .top-row[b-wvpzi7ue15]  a:hover,
    .top-row[b-wvpzi7ue15]  .btn-link:hover {
        border-bottom: solid 0.1rem #0044f9;
    }

/* ============================
   Navbar Toggler (hamburger)
   ============================ */
.navbar-toggler[b-wvpzi7ue15] {
    appearance: none;
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem;
    color: white;
    border: none !important;
    cursor: pointer;
    height: 2.5rem;
    width: 3.5rem;
    box-shadow: none;
}


/* ============================
   Deep/Global Overrides
   ============================ */
[b-wvpzi7ue15] .logout-link {
    background-color: #1c2c58 !important;
    border: none;
    border-radius: 12px;
}

[b-wvpzi7ue15] .dxbl-btn:not(.dxbl-disabled):not(:disabled):hover {
    border: none;
}

/* ============================
   Foutmelding UI (Blazor)
   ============================ */
#blazor-error-ui[b-wvpzi7ue15] {
    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;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-wvpzi7ue15] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* ============================
   Mobiel (<768px)
   ============================ */
@media (max-width: 640.98px) {
    .top-row[b-wvpzi7ue15] {
        align-items: center;
        display: flex;
        flex-direction: row; 
        flex-wrap: nowrap; 
        justify-content: space-between;
        gap: 0.5rem;
        height: 4rem; 
        padding: 0 0.5rem;
    }

        .top-row .logo[b-wvpzi7ue15] {
            height: 2.5rem; 
        }

    .top-row-side[b-wvpzi7ue15],
    .top-row-right[b-wvpzi7ue15] {
        align-items: center;
        display: flex;
        justify-content: center;
        position: static; 
    }

    .top-row-right[b-wvpzi7ue15] {
        gap: 0.5rem;
        max-width: 55vw; 
    }

        .top-row-right p[b-wvpzi7ue15] {
            margin: 0;
            font-size: 0.85rem;
            white-space: nowrap; 
            overflow: hidden;
            text-overflow: ellipsis;
        }

    .top-row[b-wvpzi7ue15]  a,
    .top-row[b-wvpzi7ue15]  .btn-link {
        margin-left: 0;
    }

    #page-content-wrapper[b-wvpzi7ue15] {
        margin-top: 4rem; 
        width: 100vw;
    }

    #sidebar-wrapper[b-wvpzi7ue15] {
        top: 4rem;
    }

    #wrapper[b-wvpzi7ue15],
    #wrapper.nav-open[b-wvpzi7ue15] {
        padding-left: 0 !important;
    }

        #wrapper.nav-open #page-content-wrapper[b-wvpzi7ue15] {
            margin-left: 0;
            width: 100vw;
        }
}

/* ============================
   Tablet/Desktop (≥768px)
   ============================ */
@media only screen and (min-width: 768px) {
    /* Op desktop: als menu open → content naast menu */
    #wrapper.nav-open #page-content-wrapper[b-wvpzi7ue15] {
        margin-left: 18rem;
        width: calc(100vw - 18rem);
    }

    /* Menu mag standaard ook openstaan als je wilt */
    /* #sidebar-wrapper {
        transform: translateX(0);
    } */
}

/* ============================
   Groot (>1024px)
   ============================ */
@media (min-width: 1024px) {
    .page[b-wvpzi7ue15] {
        flex-direction: row;
    }

    .top-row[b-wvpzi7ue15],
    article[b-wvpzi7ue15] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .top-row[b-wvpzi7ue15] {
        position: fixed;
        z-index: 55;
    }

        .top-row.auth[b-wvpzi7ue15]  a:first-child {
            flex: 1;
            text-align: right;
            width: 0;
        }
}
/* /Layout/NavMenu.razor.rz.scp.css */
[b-yzo9hz3752] .bi {
    display: inline-block;
    position: relative;
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
    top: -1px;
    background-size: cover;
}

/*.nav-scrollable {
    padding-top: 1rem;
    height: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    padding-bottom: 1rem;
    padding-left: 0.5rem;
    z-index: 9999;
}*/

.nav-scrollable[b-yzo9hz3752] {
    height: 90vh; 
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.menu-scroll[b-yzo9hz3752] {
    flex: 1 1 auto; 
    overflow-y: auto;
    min-height: 0;
}

.flexContainerNav[b-yzo9hz3752] {
    flex: 0 0 auto;
    position: sticky; 
    bottom: 0;
    z-index: 2;
}



[b-yzo9hz3752] .dxbl-treeview .dxbl-treeview-item > .dxbl-treeview-item-content > .dxbl-treeview-item-container:not(.dxbl-disabled):not(:disabled).dxbl-active::before {
    background-color: transparent;
    padding: 0;
}

[b-yzo9hz3752] .dxbl-expandable-container .dxbl-treeview-item-content .dxbl-image {
    width: 0.2rem; /* Zorgt ervoor dat de insprong minder groot is bij de subitems*/
}

[b-yzo9hz3752] .dxbl-treeview-item.dxbl-active .dxbl-treeview-item-text {
    border-bottom: solid 0.15rem #fff;
    color: white;
    font-weight: bold;
    width: auto;
}

[b-yzo9hz3752] .dxbl-image:not(.dxbl-image-fill) {
    fill: White;
}

[b-yzo9hz3752] .dxbl-treeview-item-text {
    font-size: 1rem;
    color: #fff;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    width: 100%;
}

.flexContainerNav .logo[b-yzo9hz3752] {
    max-width: 7rem; 
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}


.hidden[b-yzo9hz3752] {
    display: none;
}

.versie[b-yzo9hz3752] {
    margin: 0;
    font-size: 0.6rem;
    color: white;
    padding: 0.2rem;
}

.flexContainerNav[b-yzo9hz3752] {
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: flex-end; 
    gap: 0.75rem;
    padding: 1.25rem 1rem 0.75rem; 
    border-top: 1px solid rgba(255, 255, 255, 0.15); 
}

[b-yzo9hz3752] .logout-link {
    width: 100%;
    max-width: 11rem;
    border-radius: 999px !important;
    background-color: #0078d4 !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 600;
    padding: 0.4rem 1rem !important;
}


    [b-yzo9hz3752] .logout-link:hover {
        box-shadow: 0 4px 10px rgba(0,0,0,0.22);
        transform: translateY(-1px);
    }
/* /Pages/LoginPage.razor.rz.scp.css */
.page-container[b-2w00qq3636] {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f0f0f0;
    padding: 1.5rem;
}

.content-container[b-2w00qq3636] {
    background-color: #1c2c58;
    padding: 20px;
    border-radius: 10px;
    max-width: 400px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.input-group[b-2w00qq3636] {
    margin-bottom: 15px;
    width: 100%;
    display: flex;
    justify-content: center;
}

[b-2w00qq3636] .dxbl-text-edit {
    width: 100%
}

[b-2w00qq3636] .dxbl-text {
    color: white;
}

.logo[b-2w00qq3636] {
    width: 15rem;
}

.logoJorosoft[b-2w00qq3636] {
    width: 10rem;
}


.logoKLant[b-2w00qq3636] {
    width: 100%; 
    height: auto; 
    display: block;
    margin-bottom: 1rem;
}


.button-container[b-2w00qq3636] {
    margin-top: 15px;
}

button[b-2w00qq3636] {
    padding: 10px;
    border: none;
    border-radius: 5px;
    color: #1c2c58;
    font-size: 16px;
    cursor: pointer;
    text-transform: uppercase;
}

.dropdown-container[b-2w00qq3636] {
    position: fixed;
    bottom: 0;
    left: 0;
    align-self: start;
}

    .dropdown-container img[b-2w00qq3636] {
        width: 50px;
        height: 50px;
        object-fit: contain;
    }
/* /Pages/Profiel/Usersettings.razor.rz.scp.css */
.toolbar[b-8yafxpu0e5] {
    margin-bottom: 1rem;
}

[b-8yafxpu0e5] .bi {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

/* /Pages/Ships/RegistrationDetail.razor.rz.scp.css */
/* Container voor alle knoppen */
.buttons[b-d2cn099gcr] {
    margin-top: 2rem;
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

/* Desktop: primary actions naast elkaar */
.primary-actions[b-d2cn099gcr] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: nowrap;
}

/* Danger action rechts uitlijnen op desktop */
.danger-actions[b-d2cn099gcr] {
    text-align: right;
}

/* Algemene delete-button-stijl */
.btnDeleteFull[b-d2cn099gcr] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    border-radius: 6px;
    border: 1px solid #ffb3b3;
    background-color: #ffe6e6;
    color: #c0392b;
    cursor: pointer;
    font-size: 0.9rem;
}

    .btnDeleteFull .delete-icon[b-d2cn099gcr] {
        width: 18px;
        height: 18px;
        opacity: 0.8;
        transition: opacity 0.2s, transform 0.2s;
    }

    .btnDeleteFull:hover .delete-icon[b-d2cn099gcr] {
        opacity: 1;
        transform: scale(1.05);
    }

/* =========================================
   MOBILE: alles onder elkaar, full-width
   ========================================= */
@media (max-width: 768px) {

    /* Buttons container moet children full-width laten worden */
    .buttons[b-d2cn099gcr] {
        align-items: stretch; /* <-- Belangrijk! */
    }

    .primary-actions[b-d2cn099gcr] {
        flex-direction: column;
        align-items: stretch;
    }

    .danger-actions[b-d2cn099gcr] {
        text-align: center;
        width: 100%;
    }

        /* Full width knoppen */
        .primary-actions .btnAccent[b-d2cn099gcr],
        .danger-actions .btnDeleteFull[b-d2cn099gcr] {
            width: 100%;
            justify-content: center;
            font-size: 1rem;
        }
}


/* === ACTION BAR LAYOUT === */
.form-actions[b-d2cn099gcr] {
    margin-top: .75rem;
    display: flex;
    align-items: center;
    justify-content: space-between; /* primary links, danger rechts */
    gap: .75rem;
    flex-wrap: wrap; /* als scherm kleiner wordt */
}

.form-actions__primary[b-d2cn099gcr] {
    display: flex;
    gap: .5rem;
    align-items: center;
    flex-wrap: wrap;
}

.form-actions__danger[b-d2cn099gcr] {
    display: flex;
    justify-content: flex-end;
}

/* === BUTTON BASE === */
.btn[b-d2cn099gcr] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    height: 40px; /* uniforme hoogte */
    padding: 0 .95rem;
    border: 1px solid transparent;
    cursor: pointer;
    user-select: none;
    font-size: .95rem;
    font-weight: 600;
    line-height: 1;
    transition: transform .05s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease;
}

    .btn:active[b-d2cn099gcr] {
        transform: translateY(1px);
    }

    /* duidelijke focus ring (keyboard users) */
    .btn:focus-visible[b-d2cn099gcr] {
        outline: 3px solid rgba(0,120,212,.35);
        outline-offset: 2px;
    }

    /* disabled */
    .btn:disabled[b-d2cn099gcr],
    .btn[disabled][b-d2cn099gcr] {
        opacity: .55;
        cursor: not-allowed;
        transform: none;
    }

/* === PRIMARY === */
.btn--primary[b-d2cn099gcr] {
    background: #0078d4;
    color: #fff;
    border-color: #0078d4;
}

    .btn--primary:hover[b-d2cn099gcr] {
        background: #056bb8;
        border-color: #056bb8;
        box-shadow: 0 6px 16px rgba(0,0,0,.12);
    }

/* === DANGER === */
.btn--danger[b-d2cn099gcr] {
    background: #ffe6e6;
    color: #b42318;
    border-color: #ffb3b3;
}

    .btn--danger:hover[b-d2cn099gcr] {
        background: #ffd6d6;
        border-color: #ff9a9a;
        box-shadow: 0 6px 16px rgba(0,0,0,.12);
    }

/* icon in button */
.btn__icon[b-d2cn099gcr] {
    width: 18px;
    height: 18px;
    opacity: .9;
}

/* === MOBILE: full width stack === */
@media (max-width: 768px) {
    .form-actions[b-d2cn099gcr] {
        flex-direction: column;
        align-items: stretch;
    }

    .form-actions__primary[b-d2cn099gcr],
    .form-actions__danger[b-d2cn099gcr] {
        width: 100%;
    }

    .form-actions__primary[b-d2cn099gcr] {
        flex-direction: column;
        align-items: stretch;
    }

    .btn[b-d2cn099gcr] {
        width: 100%;
    }
}
/* /Shared/Dialogs/DlgFileUpload.razor.rz.scp.css */

[b-gvk4wxx2tb] .preview {
    background-color: lightgray;

}

[b-gvk4wxx2tb] .preview img {
    width: 25px;
}

/* --- Window / dialog --- */
.file-upload-window[b-gvk4wxx2tb] {

}

.file-upload-dialog[b-gvk4wxx2tb] {
    padding: 1rem;
}

.upload-layout[b-gvk4wxx2tb] {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

/* --- Drop zone --- */
.custom-drop-zone[b-gvk4wxx2tb] {
    padding: 1.5rem 1rem !important;
    border-style: dashed;
    border-width: 2px !important;
    height: 230px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(183, 183, 183, 0.1);
    box-sizing: border-box;
    text-align: center;
}

    .custom-drop-zone.custom-drop-zone-hover[b-gvk4wxx2tb] {
        border-style: solid;
    }

    .custom-drop-zone svg[b-gvk4wxx2tb] {
        width: 42px;
        height: 42px;
    }

    .custom-drop-zone > *:not(#overviewDemoSelectButton)[b-gvk4wxx2tb] {
        pointer-events: none;
    }

.drop-file-icon[b-gvk4wxx2tb] {
    background-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    background-position: center center;
    background-color: #ADB5BD;
    width: 48px;
    height: 48px;
    -webkit-mask-image: url("Icons/UploadIcon.svg");
    mask-image: url("Icons/UploadIcon.svg");
}

.drop-file-label[b-gvk4wxx2tb] {
    font-weight: 500;
    font-size: 1rem;
    display: block;
    margin-bottom: 0.25rem;
}

/* --- Buttons --- */
.button-bar[b-gvk4wxx2tb] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
}

    .button-bar .dxbl-button[b-gvk4wxx2tb] {
        /* DevExpress knop-class; zo nodig aanpassen naar de juiste */
        flex: 1 1 auto;
    }

/* --- Responsiveness --- */

/* Tablets / kleine laptops */
@media (max-width: 992px) {
    .upload-layout[b-gvk4wxx2tb] {
        max-width: 100%;
    }

    .custom-drop-zone[b-gvk4wxx2tb] {
        height: 200px;
    }
}

/* Mobiel */
@media (max-width: 576px) {
    .file-upload-dialog[b-gvk4wxx2tb] {
        padding: 0.75rem;
    }

    .custom-drop-zone[b-gvk4wxx2tb] {
        height: auto;
        padding: 1.25rem 0.75rem !important;
    }

    .drop-file-label[b-gvk4wxx2tb] {
        font-size: 0.95rem;
    }

    .button-bar[b-gvk4wxx2tb] {
        flex-direction: column;
        align-items: stretch;
    }

        .button-bar .dxbl-button[b-gvk4wxx2tb],
        .button-bar .m-1[b-gvk4wxx2tb] {
            width: 100%;
            margin-left: 0 !important;
            margin-right: 0 !important;
        }
}
/* /Shared/Grids/Jorogrid.razor.rz.scp.css */
.toolbar[b-bu00p2l6wi] {
    margin-bottom: 1rem;
}

[b-bu00p2l6wi] .bi {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}
/* /Shared/Toolbar/ToolbarDetail.razor.rz.scp.css */
.toolbar[b-nsc3lpvsdv]{
    margin-bottom: 1rem;
}

[b-nsc3lpvsdv] .bi {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

/* /Shared/Toolbar/ToolbarDetailNavigation.razor.rz.scp.css */
[b-d54cdm405b] .bi {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}
