@import '_content/Microsoft.FluentUI.AspNetCore.Components/Microsoft.FluentUI.AspNetCore.Components.exfvxuochq.bundle.scp.css';
@import '_content/MyTrainCollection.Components/MyTrainCollection.Components.e1dcuvf8q3.bundle.scp.css';

/* _content/MyTrainCollection/Common/Dialogs/DialogProvider.razor.rz.scp.css */
div.dialog-overlay[b-d4ntq7073p] {
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    left: 0;
    position: fixed;
    top: 0;
    width: 100vw;
    z-index: 1000;

    & div.mtc-dialog {
        background-color: white;
        border-radius: var(--mtc-dialog-border-radius);
        box-shadow: var(--mtc-box-shadow);
        box-sizing: border-box;
        position: absolute;
        margin: auto;
        min-width: 30vw;
        z-index: 9999;
        
        &.side-panel-right {
            align-self: flex-end;
            height: 100vh;
            min-width: 20vw;
            border-top-right-radius: unset;
            border-bottom-right-radius: unset;
            border-bottom-left-radius: unset;
        }
        
        &.modal-dialog[b-d4ntq7073p] {
            align-self: center;
        }
        
        & div.dialog-header[b-d4ntq7073p] {
            border-bottom: 1px solid var(--mtc-colors-grayscale-80);
            display: flex;
            flex-direction: row;
            padding: 0 calc(var(--mtc-design-unit) * 2px);
            
            & .dialog-title {
                flex-grow: 1;
            }
            
            & .modal-close-button[b-d4ntq7073p] {
                background-color: transparent;
                border: none;
                color: var(--mtc-colors-grayscale-80);
                cursor: pointer;
                font-size: var(--mtc-font-size-lg);
                font-weight: bold;
                padding: 0;
            }
        }
        
        & div.dialog-body[b-d4ntq7073p] {
            padding: calc(var(--mtc-design-unit) * 2px);
        }
    }
}

/* _content/MyTrainCollection/Components/Atoms/Debug.razor.rz.scp.css */
debug-container[b-w7zs7id0w1] {
    position: relative;
    display: block;
    z-index: 9999;
}

div.debug[b-w7zs7id0w1] {
    position: absolute;
    width: auto;
    display: block;
    height: auto;
    background-color: lightpink;
    top: 10px;
    left: 10px;
    user-select: none;

}

debug-container div.debug a.close[b-w7zs7id0w1] {
    cursor: pointer;
}
/* _content/MyTrainCollection/Components/Atoms/JsonComponent.razor.rz.scp.css */
div.json-debug-display[b-3hn6yu5wof] {
    flex: 1;
    max-width: 100%;
    
    & pre { 
        white-space: break-spaces;
        display: block;
        max-width: 80vw;
        line-break: anywhere;
    }
}
/* _content/MyTrainCollection/Components/Atoms/MtcAlert.razor.rz.scp.css */
div.mtc-alert:has(div.alert-header)[b-614im1x92e] {
    border-width: var(--mtc-border-width);
    border-style: var(--mtc-border-style);
    border-radius: calc(var(--mtc-design-unit) * 1px);
    box-shadow: var(--mtc-box-shadow);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 100%;
    
    & div.alert-header {
        display: flex;
        flex-direction: row;
        border-bottom: var(--mtc-border-width) var(--mtc-border-style) var(--mtc-colors-severity-error-darker);
        
        & .alert-title {
            font-size: calc(2px * var(--mtc-design-unit));
            height: calc(3px * var(--mtc-design-unit));
            line-height: calc(3px * var(--mtc-design-unit));
            margin: 0;
            padding: 0 calc(2px * var(--mtc-design-unit));
        }
    }
    
    & div.alert-body[b-614im1x92e] {
        background-color: var(--mtc-colors-grayscale-10);
        display: flex;
        flex-direction: row;
        padding: calc(1px * var(--mtc-design-unit));
        align-items: center;
        
        & .alert-icon {
            font-size: calc(3px * var(--mtc-design-unit));
            margin: 0 calc(4px * var(--mtc-design-unit)) 0 0;
            padding: 0 calc(1px * var(--mtc-design-unit));
        }
        
        & .alert-message[b-614im1x92e] {
            display: flex;
            flex-direction: column;
            flex-grow: 1;
            line-height: calc(2px * var(--mtc-design-unit));
            white-space: pre;
            
            & .alert-summary {
               display: block; 
            }
            
            & .alert-technical-message[b-614im1x92e] {
                display: block;
                border-top: 1px dotted var(--mtc-colors-grayscale-60);
                box-sizing: border-box;
                margin-top: 4px;
                padding-top: 4px;
            }
        }
    }
}

div.mtc-alert[b-614im1x92e] {
    &.mtc-alert-information {
        border-color: var(--mtc-colors-severity-information-darker);
        & .alert-header {
            background-color: var(--mtc-colors-severity-information-lighter);
            color: var(--mtc-colors-severity-information-darker);
        }
        color: var(--mtc-colors-grayscale-80);[b-614im1x92e]
    }

    &.mtc-alert-error[b-614im1x92e] {
        border-color: var(--mtc-colors-severity-error-darker);
        & .alert-header {
            background-color: var(--mtc-colors-severity-error-lighter);
            color: var(--mtc-colors-severity-error-darker);
        }
        & .alert-icon[b-614im1x92e] {
            color: var(--mtc-colors-severity-error-darker);
        }
    }

    &.mtc-alert-warning[b-614im1x92e] {
        border-color: var(--mtc-colors-severity-warning-darker);
        & .alert-header {
            background-color: var(--mtc-colors-severity-warning-darker);
            color: var(--mtc-colors-severity-warning-darker);
        }
        color: var(--mtc-colors-grayscale-80);[b-614im1x92e]
    }

    &.mtc-alert-success[b-614im1x92e] {
        border-color: var(--mtc-colors-severity-success-darker);
        & .alert-header {
            background-color: var(--mtc-colors-severity-success-lighter);
            color: var(--mtc-colors-severity-success-darker);
        }
        color: var(--mtc-colors-grayscale-80);[b-614im1x92e]
    }

    & div.alert-body[b-614im1x92e] {
        display: flex;
        flex-direction: column;
    }
}
/* _content/MyTrainCollection/Components/Atoms/MtcCard.razor.rz.scp.css */
.mtc-card[b-us94k84cx5] {
    background-color: var(--mtc-colors-grayscale-10);
    border-radius: calc(var(--mtc-design-unit) * 1px);
    box-shadow: var(--mtc-box-shadow);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    margin: calc(1px * var(--mtc-design-unit));
    overflow: hidden;
    width: fit-content;
    
    & div.mtc-card-header {
        background-color: var(--mtc-colors-secondary);
        border: 1px solid var(--mtc-colors-secondary);  
        color: var(--mtc-colors-grayscale-20);
        display: flex;
        flex-direction: row;
        font-weight: bold;
        height: calc(4px * var(--mtc-design-unit));
        line-height: calc(4px * var(--mtc-design-unit));
        padding: 0 calc(2px * var(--mtc-design-unit));
        
        & h1,
        & h2,
        & h3,
        & h4,
        & h5,
        & h6 {
            margin: 0;
        }
    }
    
    & div.mtc-card-body[b-us94k84cx5] {
        flex: 1;
        line-height: calc(2px * var(--mtc-design-unit));
        min-height: 16px;
        padding: calc(1px * var(--mtc-design-unit)) calc(2px * var(--mtc-design-unit));
    }
}
/* _content/MyTrainCollection/Components/Atoms/Table/NoContent.razor.rz.scp.css */
/*
<div class="no-content">
    <div class="icon"><MtcIcon Icon="Icon.Solid.FileCircleQuestion"/></div>
    <div class="text">Helaas, er zijn geen gegevens om weer te geven.</div>
</div>
 */

div.no-content[b-i4wvmyb0z3] {
    color: var(--mtc-colors-grayscale-80);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 2rem;
    position: relative;
    
    & .no-content-background {
        background-color: var(--mtc-colors-severity-information-lighter);
        border-left: 1px solid var(--mtc-colors-grayscale-80);
        border-bottom: 1px solid var(--mtc-colors-grayscale-80);
        border-right: 1px solid var(--mtc-colors-grayscale-80);
        box-sizing: border-box;
        opacity: .25;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    
    & div.icon[b-i4wvmyb0z3] {
        opacity: 1;
        font-size: 3rem;
        line-height: 4rem;
        height: 4rem;
    }
}
/* _content/MyTrainCollection/Components/Layout/AppLogo.razor.rz.scp.css */
svg.app-logo[b-zp0fxd568m] {
    box-sizing: border-box;
    height: 56px;
    
    &.home-link {
        cursor: pointer;
    }
}
/* _content/MyTrainCollection/Components/Layout/MainLayout.razor.rz.scp.css */
div.mtc-page[b-n13a1u75dg] {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    
    & main {
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        
        & article.mtc-content {
            flex-grow: 1;
            padding: calc(var(--mtc-design-unit) * 2px);
        }
        
        & footer[b-n13a1u75dg] {
            display: flex;
            flex-direction: row;
            justify-content: flex-end;
            column-gap: var(--mtc-grid-size-1);
            padding: var(--mtc-grid-size-1);
            border-top: 1px solid var(--mtc-colors-grayscale-40);
            & span.app-version {
                color: var(--mtc-colors-grayscale-40);
                justify-self: flex-end;
            }
        }
    }
}

#blazor-error-ui[b-n13a1u75dg] {
    display: none;
    position: fixed;
    background-color: var(--mtc-colors-severity-error-lighter);
    width: 50vw;
    height: 50vh;
    top: 25vh;
    left: 25vw;
    
    border-radius: 16px;
    border: 1px solid var(--mtc-colors-severity-error-darker);
    
    & .error-title {
        background-color: white;
        border-top-left-radius: 16px;
        border-top-right-radius: 16px;
        border-bottom: 1px solid var(--mtc-colors-severity-error-darker);
        color: var(--mtc-colors-severity-error-darker);
        font-weight: bold;
        line-height: 32px;
        height: 32px;
        padding: 0 16px;
        margin: 0;
    }
    
    & .error-message[b-n13a1u75dg] {
        color: var(--mtc-colors-grayscale-80);
        font-family: 'roboto', Helvetica, Arial, sans-serif;
        padding: 16px;
        margin: 0;
    }
    
    & .error-footer[b-n13a1u75dg] {
        box-sizing: border-box;
        position: absolute;
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        width: 100%;
        border-bottom-right-radius: 16px;
        border-bottom-left-radius: 16px;
        border-top: 1px solid var(--mtc-colors-severity-error-darker);
        bottom: 0;
        height: 48px;
        background-color: white;
        padding: 0 16px;
        & button {
            height: 32px;
        }
    }
}

/*#blazor-error-ui {*/
/*    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 {*/
/*        cursor: pointer;*/
/*        position: absolute;*/
/*        right: 0.75rem;*/
/*        top: 0.5rem;*/
/*    }*/
/* _content/MyTrainCollection/Components/Layout/MtcTopBar.razor.rz.scp.css */
div.mtc-topbar[b-c6yig2levr] {
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: calc(var(--mtc-design-unit) * 2px);
    
    box-sizing: border-box;
    height: calc(var(--mtc-design-unit) * 7px);
    padding-right: calc(var(--mtc-design-unit) * 2px);
    
    background-color: var(--mtc-colors-grayscale-white);
    border-bottom: 1px solid var(--mtc-colors-grayscale-20);
}
/* _content/MyTrainCollection/Features/Account/ForgotPassword.razor.rz.scp.css */
div.mtc-forgot-password[b-xmrpj5j9le] {
    max-width: 100%;
    
}

@media screen and (min-width: 960px) {
    div.mtc-forgot-password[b-xmrpj5j9le] {
        max-width: 720px;
    }
}
/* _content/MyTrainCollection/Features/Account/Pages/Login.razor.rz.scp.css */
/* _content/MyTrainCollection/Features/Account/SignIn.razor.rz.scp.css */
div.help-links[b-2fkvky8re0] {
    a {
        font-size: var(--mtc-font-size-sm);
    }
}
/* _content/MyTrainCollection/Features/Admin/Categories/Categories.razor.rz.scp.css */
div.category-row[b-tbsa841nqw] {
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    align-content: center;
    align-items: center;
    
    & span.category-name {
        flex-grow: 1;
    }
}

div.group-row[b-tbsa841nqw] {
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    align-content: center;
    align-items: center;

    & span.group-name {
        flex-grow: 1;
        line-break: strict;
        white-space: nowrap;
    }
}
/* _content/MyTrainCollection/Features/Admin/FeatureToggle/FeatureToggles.razor.rz.scp.css */
span.parameters-json[b-55flhh0wfn] {
    display: inline-block;
    max-width: 240px;
    overflow-x: hidden;
    line-height: 24px;
}
/* _content/MyTrainCollection/Features/Admin/Manufacturers/AdminManufacturers.razor.rz.scp.css */
[b-vt5ghvu049] #adm-fabrikanten-grid {
    & tr.fluent-data-grid-row .column-header {
        background-color: var(--mtc-colors-grayscale-80);
        color: var(--mtc-colors-grayscale-20);
        
        & div.col-title {
            height: calc(100% - 10px);
            
            & div.col-title-text {
                height: 34px;
                line-height: 34px;
            }
        }
    }
    
    & .mtc-manufacturer-logo[b-vt5ghvu049],
    & .mtc-manufacturer-logo img[b-vt5ghvu049]{
        max-width: 100px;
        max-height: 80px;
    }
}
/* _content/MyTrainCollection/Features/Admin/Users/ListUsers.razor.rz.scp.css */
div.mtc-admin-users[b-bpow5wftd9] {
    display: flex;
    flex-direction: column;
}

div.mtc-admin-users[b-bpow5wftd9]  div.filter-field {
    align-items: flex-end;
    border-bottom: 1px solid var(--mtc-colors-grayscale-40);
    display: flex;
    flex-direction: column;
    line-height: calc(2px * var(--mtc-design-unit));
    padding: calc(var(--mtc-design-unit) * 1px);
    width: 100%;
    
    & div.filter-control {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    & input[b-bpow5wftd9] {
        box-sizing: border-box;
        height: calc(3px * var(--mtc-design-unit));
        font: var(--mtc-font);
        font-size: var(--mtc-font-size-sm);
    }
}

div.user-row-toolbar[b-bpow5wftd9] {
    display: flex;
    flex-direction: row;
    column-gap: 4px;
}
/* _content/MyTrainCollection/Features/Collection/Items/AddItem.razor.rz.scp.css */
.add-item-page[b-ukbadpa5j7] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: 100%;
    width: 100%;
}
/* _content/MyTrainCollection/Features/Collection/Items/Components/ItemGeneralProperties.razor.rz.scp.css */
.left-panel[b-atvl58bxev],
.right-panel[b-atvl58bxev] {
    box-sizing: border-box;
    padding: calc(2px * var(--mtc-design-unit));
    flex: 1 0 50%;

    display: flex;
    flex-direction: column;
    row-gap: calc(var(--mtc-design-unit) * 1px);
    
    & .inline label {
        flex-basis: calc(var(--mtc-design-unit) * 20px) !important;
    }
}

.left-panel[b-atvl58bxev] {
    border-right: 1px solid var(--mtc-colors-grayscale-40);
}
/* _content/MyTrainCollection/Features/Home/Home.razor.rz.scp.css */
[b-3cx9sy0b72] div.mtc-home-card {
    border: 1px solid var(--mtc-colors-secondary);
    width: 50%;
    
    & div, h3, p {
        padding: 0 calc(4px * var(--mtc-design-unit));
    }
}
/* _content/MyTrainCollection/Features/Home/Widgets/Widget.razor.rz.scp.css */
/* Always align table headers to the left. At least, within widgets. */
[b-n3syfcwqvb] table.fluent-data-grid thead th {
    text-align: left;
    
    & .col-title {
        margin-inline-end: initial;
        text-align: initial;
    }
}
