.btn.btn-transparent {
    border-radius: 0;
    padding: 0px 3px !important;

    .fa {
        &:hover::after {
            color: var(--bs-link-color) !important;
        }
    }
}.dialog-actions {
    display: flex;
    justify-content: flex-end;
    padding: 0 !important;
    padding-top: 32px !important;
}

.modal-footer.dialog-actions {
    padding-right: 0;
    margin-right: -8px;
    display: grid !important;
    width: 100% !important;
    grid-template-columns: 1fr auto;
    grid-template-areas: 'special regular';

    .btn {
        margin: 0px;
    }

    .dialog-special-actions {
        grid-area: special;
        align-self: flex-start;
    }

    .dialog-regular-actions {
        display: flex;
        justify-content: flex-end !important;
        grid-area: regular;
        gap: 8px;
    }

}.modal-busy {
    pointer-events: none;
}

.modal-busy:after {
    content: ' ';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--bs-modal-border-radius);
    background: #88888888;
    cursor: progress;
}.dialog-content {
    padding-bottom: 12px !important;
}.fb-field-container {
    display: flex;
    flex-direction: column;
    gap: var(--bs-gap);
}.image-dialog-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-dialog-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
}.file-editor {

    .file-card {
        padding: 0;
        display: grid;
        grid-template-columns: auto 1fr minmax(auto, 150px);
        grid-template-rows: auto 22px 22px 12px 22px 22px;
        grid-template-areas:
            "head head head"
            "img text by"
            "img text on"
            "img text ."
            "img text name"
            "img text size";
        box-shadow: var(--bs-box-shadow);

        &.file-note {
            grid-template-rows: auto 22px 22px auto auto auto;
        }

    }

    .list {
        .file-card {
            grid-template-rows: auto;
            grid-template-areas:
                "on text by"
                ".  text . "
                ".  text . "
                ".  text . "
                ".  text . "
                ".  text . ";
        }

        .card {
            border: none;
            box-shadow: none;
            border-bottom: solid 1px #8883;
            border-radius: 0;
            padding-bottom: 10px;
        }
    }


    .file-head {
        grid-area: head;
        font-weight: 600;
        font-size: 15px;
        padding: 2px 0px;
    }

    .file-text {
        position: relative;
        grid-area: text;
        font-size: 14px;
        padding: 4px 8px;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.4em;

        display: flex;
        flex-direction: column;

        p {
            font-size: 14px;
            margin: 0;

            &:not(:last-child) {
                margin-bottom: 0.7em;
            }
        }
    }

    .file-virus .file-text p {
        color: white;
    }

    .file-container.cards .card:not(.file-virus) {
        .file-text:after {
            content: ' ';
            position: absolute;
            left: 0;
            top: 0;
            right: 0;
            bottom: 0;
            box-shadow: 0px -20px 20px 0px rgba(255, 255, 2555, 0.75) inset;
            border-radius: 8px;
        }
    }

    .file-by {
        grid-area: by;
        font-size: 12px;
        text-wrap: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-weight: 500;
        padding: 2px 4px;
    }

    .list .file-by {
        padding-top: 5px;
    }


    .file-on {
        grid-area: on;
        font-size: 12px;
        text-wrap: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: 2px 4px;
    }

    .list .file-on {
        padding-top: 5px;
    }

    .file-name {
        grid-area: name;
        font-size: 12px;
        text-wrap: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: 2px 4px;
    }

    .file-size {
        grid-area: size;
        font-size: 12px;
        text-wrap: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: 2px 4px;
    }

    .file-img-container {
        grid-area: img;
        width: 100px;
        height: 100px;
        border-width: 0;
        border-top-left-radius: var(--bs-border-radius);
        border-bottom-left-radius: var(--bs-border-radius);
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        overflow: hidden;
        margin: 0;
        margin-bottom: -36px;
        padding: 0;
        border-right-width: var(--bs-card-border-width);
        border-right-color: var(--bs-card-border-color);
    }

    .file-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .file-scanning {
        opacity: .5;
    }

    .file-scan {
        grid-column: 1/4;
        grid-row: 1/7;

        & .progress,
        & .progress-bar {
            width: 100%;
            height: 100%;
            opacity: 0.3;
        }
    }


}.message-bar-root {
    display: grid;
    gap: 8px;
    /* kpn styling adds icon, reserve space */
    grid-template-columns: 24px 1fr auto;
    grid-template-areas: "icon content actions";
}

.message-bar-icon {
    grid-area: icon;
}

.message-bar-title {
    font-weight: 600;
}

.message-bar-body {
    grid-area: content;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.message-bar-actions {
    grid-area: actions;
    display: flex;
    align-items: start;
    gap: 4px;
}.file-container {

    &.cards {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(min(400px, 100%), 1fr));
    }

    &.list {
        display: flex;
        flex-direction: column;
    }

    gap: 16px;
    margin-bottom: 16px;

    .file-card {
        margin-bottom: 0 !important;
    }
}.stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hstack {
    display: flex;
    flex-direction: row;
    gap: 8px;
}