/* Variables */
:root {
    --base-font-size: 16px;
    --base-font-family: Roboto, sans-serif;

    --theme-background-color-rgb: 230 230 230;
    --theme-background-color: rgba(var(--theme-background-color-rgb)/1);
    --theme-background-image: none;

    --theme-panel-color-rgb: 255 255 255;
    --theme-panel-color: rgba(var(--theme-panel-color-rgb)/1);

    --theme-border-radius: 25px;

    --theme-control-border-radius: 5px;
    --theme-control-shadow: 5px 5px 10px rgba(0,0,0, 0.2);
    --theme-control-hover-shadow: 1px 1px 5px rgba(0,0,0, 0.3);

    --theme-primary-color-rgb: 0 165 223;
    --theme-primary-color: rgba(var(--theme-primary-color-rgb)/1);
    --theme-primary-color-50: rgba(var(--theme-primary-color-rgb)/0.05);
    --theme-primary-color-100: rgba(var(--theme-primary-color-rgb)/0.1);
    --theme-primary-color-200: rgba(var(--theme-primary-color-rgb)/0.2);
    --theme-primary-color-300: rgba(var(--theme-primary-color-rgb)/0.3);
    --theme-primary-color-400: rgba(var(--theme-primary-color-rgb)/0.4);
    --theme-primary-color-500: rgba(var(--theme-primary-color-rgb)/0.5);
    --theme-primary-color-600: rgba(var(--theme-primary-color-rgb)/0.6);
    --theme-primary-color-700: rgba(var(--theme-primary-color-rgb)/0.7);
    --theme-primary-color-800: rgba(var(--theme-primary-color-rgb)/0.8);
    --theme-primary-color-900: rgba(var(--theme-primary-color-rgb)/0.9);

    --theme-primary-bright-color-rgb: 0 195 255;
    --theme-primary-bright-color: rgba(var(--theme-primary-bright-color-rgb)/1);
    --theme-primary-bright-color-50: rgba(var(--theme-primary-bright-color-rgb)/0.05);
    --theme-primary-bright-color-100: rgba(var(--theme-primary-bright-color-rgb)/0.1);
    --theme-primary-bright-color-200: rgba(var(--theme-primary-bright-color-rgb)/0.2);
    --theme-primary-bright-color-300: rgba(var(--theme-primary-bright-color-rgb)/0.3);
    --theme-primary-bright-color-400: rgba(var(--theme-primary-bright-color-rgb)/0.4);
    --theme-primary-bright-color-500: rgba(var(--theme-primary-bright-color-rgb)/0.5);
    --theme-primary-bright-color-600: rgba(var(--theme-primary-bright-color-rgb)/0.6);
    --theme-primary-bright-color-700: rgba(var(--theme-primary-bright-color-rgb)/0.7);
    --theme-primary-bright-color-800: rgba(var(--theme-primary-bright-color-rgb)/0.8);
    --theme-primary-bright-color-900: rgba(var(--theme-primary-bright-color-rgb)/0.9);

    --theme-primary-text-color-rgb: 0 0 50;
    --theme-primary-text-color: rgba(var(--theme-primary-text-color-rgb)/1);
    --theme-primary-text-color-50: rgba(var(--theme-primary-text-color-rgb)/0.05);
    --theme-primary-text-color-100: rgba(var(--theme-primary-text-color-rgb)/0.1);
    --theme-primary-text-color-200: rgba(var(--theme-primary-text-color-rgb)/0.2);
    --theme-primary-text-color-300: rgba(var(--theme-primary-text-color-rgb)/0.3);
    --theme-primary-text-color-400: rgba(var(--theme-primary-text-color-rgb)/0.4);
    --theme-primary-text-color-500: rgba(var(--theme-primary-text-color-rgb)/0.5);
    --theme-primary-text-color-600: rgba(var(--theme-primary-text-color-rgb)/0.6);
    --theme-primary-text-color-700: rgba(var(--theme-primary-text-color-rgb)/0.7);
    --theme-primary-text-color-800: rgba(var(--theme-primary-text-color-rgb)/0.8);
    --theme-primary-text-color-900: rgba(var(--theme-primary-text-color-rgb)/0.9);
    --primary-theme-text-shadow: none;

    --theme-primary-text-contrast-color-rgb: 255 255 255;
    --theme-primary-text-contrast-color: rgba(var(--theme-primary-text-contrast-color-rgb)/1);
    --theme-primary-text-contrast-color-50: rgba(var(--theme-primary-text-contrast-color-rgb)/0.05);
    --theme-primary-text-contrast-color-100: rgba(var(--theme-primary-text-contrast-color-rgb)/0.1);
    --theme-primary-text-contrast-color-200: rgba(var(--theme-primary-text-contrast-color-rgb)/0.2);
    --theme-primary-text-contrast-color-300: rgba(var(--theme-primary-text-contrast-color-rgb)/0.3);
    --theme-primary-text-contrast-color-400: rgba(var(--theme-primary-text-contrast-color-rgb)/0.4);
    --theme-primary-text-contrast-color-500: rgba(var(--theme-primary-text-contrast-color-rgb)/0.5);
    --theme-primary-text-contrast-color-600: rgba(var(--theme-primary-text-contrast-color-rgb)/0.6);
    --theme-primary-text-contrast-color-700: rgba(var(--theme-primary-text-contrast-color-rgb)/0.7);
    --theme-primary-text-contrast-color-800: rgba(var(--theme-primary-text-contrast-color-rgb)/0.8);
    --theme-primary-text-contrast-color-900: rgba(var(--theme-primary-text-contrast-color-rgb)/0.9);
    --primary-theme-text-contrast-shadow: none;


    --theme-color-red-rgb: 255 0 0;
    --theme-color-red: rgba(var(--theme-color-red-rgb)/1);
    --theme-color-red-50: rgba(var(--theme-color-red-rgb)/0.05);
    --theme-color-red-100: rgba(var(--theme-color-red-rgb)/0.1);
    --theme-color-red-200: rgba(var(--theme-color-red-rgb)/0.2);
    --theme-color-red-300: rgba(var(--theme-color-red-rgb)/0.3);
    --theme-color-red-400: rgba(var(--theme-color-red-rgb)/0.4);
    --theme-color-red-500: rgba(var(--theme-color-red-rgb)/0.5);
    --theme-color-red-600: rgba(var(--theme-color-red-rgb)/0.6);
    --theme-color-red-700: rgba(var(--theme-color-red-rgb)/0.7);
    --theme-color-red-800: rgba(var(--theme-color-red-rgb)/0.8);
    --theme-color-red-900: rgba(var(--theme-color-red-rgb)/0.9);

    --theme-color-green-rgb: 0 255 0;
    --theme-color-green: rgba(var(--theme-color-green-rgb)/1);
    --theme-color-green-50: rgba(var(--theme-color-green-rgb)/0.05);
    --theme-color-green-100: rgba(var(--theme-color-green-rgb)/0.1);
    --theme-color-green-200: rgba(var(--theme-color-green-rgb)/0.2);
    --theme-color-green-300: rgba(var(--theme-color-green-rgb)/0.3);
    --theme-color-green-400: rgba(var(--theme-color-green-rgb)/0.4);
    --theme-color-green-500: rgba(var(--theme-color-green-rgb)/0.5);
    --theme-color-green-600: rgba(var(--theme-color-green-rgb)/0.6);
    --theme-color-green-700: rgba(var(--theme-color-green-rgb)/0.7);
    --theme-color-green-800: rgba(var(--theme-color-green-rgb)/0.8);
    --theme-color-green-900: rgba(var(--theme-color-green-rgb)/0.9);

    --theme-color-blue-rgb: 100 100 255;
    --theme-color-blue: rgba(var(--theme-color-blue-rgb)/1);
    --theme-color-blue-50: rgba(var(--theme-color-blue-rgb)/0.05);
    --theme-color-blue-100: rgba(var(--theme-color-blue-rgb)/0.1);
    --theme-color-blue-200: rgba(var(--theme-color-blue-rgb)/0.2);
    --theme-color-blue-300: rgba(var(--theme-color-blue-rgb)/0.3);
    --theme-color-blue-400: rgba(var(--theme-color-blue-rgb)/0.4);
    --theme-color-blue-500: rgba(var(--theme-color-blue-rgb)/0.5);
    --theme-color-blue-600: rgba(var(--theme-color-blue-rgb)/0.6);
    --theme-color-blue-700: rgba(var(--theme-color-blue-rgb)/0.7);
    --theme-color-blue-800: rgba(var(--theme-color-blue-rgb)/0.8);
    --theme-color-blue-900: rgba(var(--theme-color-blue-rgb)/0.9);

    --theme-color-yellow-rgb: 255 255 0;
    --theme-color-yellow: rgba(var(--theme-color-yellow-rgb)/1);
    --theme-color-yellow-50: rgba(var(--theme-color-yellow-rgb)/0.05);
    --theme-color-yellow-100: rgba(var(--theme-color-yellow-rgb)/0.1);
    --theme-color-yellow-200: rgba(var(--theme-color-yellow-rgb)/0.2);
    --theme-color-yellow-300: rgba(var(--theme-color-yellow-rgb)/0.3);
    --theme-color-yellow-400: rgba(var(--theme-color-yellow-rgb)/0.4);
    --theme-color-yellow-500: rgba(var(--theme-color-yellow-rgb)/0.5);
    --theme-color-yellow-600: rgba(var(--theme-color-yellow-rgb)/0.6);
    --theme-color-yellow-700: rgba(var(--theme-color-yellow-rgb)/0.7);
    --theme-color-yellow-800: rgba(var(--theme-color-yellow-rgb)/0.8);
    --theme-color-yellow-900: rgba(var(--theme-color-yellow-rgb)/0.9);

    --theme-color-magenta-rgb: 150 0 150;
    --theme-color-magenta: rgba(var(--theme-color-magenta-rgb)/1);
    --theme-color-magenta-50: rgba(var(--theme-color-magenta-rgb)/0.05);
    --theme-color-magenta-100: rgba(var(--theme-color-magenta-rgb)/0.1);
    --theme-color-magenta-200: rgba(var(--theme-color-magenta-rgb)/0.2);
    --theme-color-magenta-300: rgba(var(--theme-color-magenta-rgb)/0.3);
    --theme-color-magenta-400: rgba(var(--theme-color-magenta-rgb)/0.4);
    --theme-color-magenta-500: rgba(var(--theme-color-magenta-rgb)/0.5);
    --theme-color-magenta-600: rgba(var(--theme-color-magenta-rgb)/0.6);
    --theme-color-magenta-700: rgba(var(--theme-color-magenta-rgb)/0.7);
    --theme-color-magenta-800: rgba(var(--theme-color-magenta-rgb)/0.8);
    --theme-color-magenta-900: rgba(var(--theme-color-magenta-rgb)/0.9);

    --theme-color-cyan-rgb: 0 255 255;
    --theme-color-cyan: rgba(var(--theme-color-cyan-rgb)/1);
    --theme-color-cyan-50: rgba(var(--theme-color-cyan-rgb)/0.05);
    --theme-color-cyan-100: rgba(var(--theme-color-cyan-rgb)/0.1);
    --theme-color-cyan-200: rgba(var(--theme-color-cyan-rgb)/0.2);
    --theme-color-cyan-300: rgba(var(--theme-color-cyan-rgb)/0.3);
    --theme-color-cyan-400: rgba(var(--theme-color-cyan-rgb)/0.4);
    --theme-color-cyan-500: rgba(var(--theme-color-cyan-rgb)/0.5);
    --theme-color-cyan-600: rgba(var(--theme-color-cyan-rgb)/0.6);
    --theme-color-cyan-700: rgba(var(--theme-color-cyan-rgb)/0.7);
    --theme-color-cyan-800: rgba(var(--theme-color-cyan-rgb)/0.8);
    --theme-color-cyan-900: rgba(var(--theme-color-cyan-rgb)/0.9);


    --field-background-color: #F9F9F9;
    --field-foreground-color: #222;
    --field-border-color: #BBB;
    --field-padding: 10px 15px;
    --field-select-padding: 8px 15px;
    --field-font-size: 15px;
    --field-invalid-color: #FFAAAA;


    --shade-10: rgba(0,0,0,0.1);
    --shade-20: rgba(0,0,0,0.2);
    --shade-30: rgba(0,0,0,0.3);
    --shade-40: rgba(0,0,0,0.4);
    --shade-50: rgba(0,0,0,0.5);
    --shade-60: rgba(0,0,0,0.6);
    --shade-70: rgba(0,0,0,0.7);
    --shade-80: rgba(0,0,0,0.8);
    --shade-90: rgba(0,0,0,0.9);

    --glass-10: rgba(127,127,200,0.1);
    --glass-20: rgba(127,127,200,0.2);
    --glass-30: rgba(127,127,200,0.3);
    --glass-40: rgba(127,127,200,0.4);
    --glass-50: rgba(127,127,200,0.5);
    --glass-60: rgba(127,127,200,0.6);
    --glass-70: rgba(127,127,200,0.7);
    --glass-80: rgba(127,127,200,0.8);
    --glass-90: rgba(127,127,200,0.9);

    --highlight-10: rgba(255,255,255, 0.1);
    --highlight-20: rgba(255,255,255, 0.2);
    --highlight-30: rgba(255,255,255, 0.3);
    --highlight-40: rgba(255,255,255, 0.4);
    --highlight-50: rgba(255,255,255, 0.5);
    --highlight-60: rgba(255,255,255, 0.6);
    --highlight-70: rgba(255,255,255, 0.7);
    --highlight-80: rgba(255,255,255, 0.8);
    --highlight-90: rgba(255,255,255, 0.9);




}

html {
    min-height: 100%;
    font-size: var(--base-font-size);
    background-color: var(--theme-background-color);
    font-family: var(--base-font-family);
}

body {
    min-height: 100vh;
    background: transparent;
    margin: 0;
}

    body.size-xs {
        font-size: 14px;
    }


.background-logo {
    position: absolute;
    right: 30px;
    bottom: 30px;
}

.background-copyright {
    position: fixed;
    left: 30px;
    bottom: 5px;
    right: 30px;
    text-align: right;
    color: white;
}

.background-copyright.left {
    text-align: left;
}
  
#secure-module-outlet {
    padding: 30px;
}

h2 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--theme-primary-color);
}




/*
    Scrollbars
*/

::-webkit-scrollbar {
    width: 15px;
    height: 15px;
}

::-webkit-scrollbar-track {
    margin-top: 50px;
    margin-bottom: 50px;
    border-radius: 15px;
    background-color: var(--shade-10);
}

.size-xs ::-webkit-scrollbar-track { 
    margin-top: 0;
    margin-bottom: 0;
}

::-webkit-scrollbar-thumb {
    background-color: white;
    border: 5px solid transparent;  /* creates spacing */
    background-clip: padding-box;   /* keep thumb inside */
    border-radius: 15px;
}


/*
    Alignment
*/

.center-content {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}


/*
    Padding
*/
.padded {
    padding: 15px;
}

.padded-double {
    padding: 30px;
}

.column-padding {
    padding: 15px;
}

.ui-frame-left {
    position: absolute;
    top: 30px;
    left: 30px;
    right: 15px;
    bottom: 30px;
}

.ui-frame-right {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}


/*
    Panels
*/

.panel {
    padding: 35px 50px;
    background-color: var(--theme-panel-color);
    backdrop-filter: blur(20px);
    border-radius: var(--theme-border-radius);
    box-shadow: 10px 10px 30px rgba(0,0,0, 0.3);
}

    .panel .panel-header {
        font-size: 24px;
        font-weight: 600;
        margin-bottom: 30px;
        color: var(--theme-primary-color);
    }

.column-padding {
    padding: 15px !important;
    display: flex;
    flex-direction: column;
    gap: 15px;
}


/* 
    Headers
*/

header {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    padding: 15px 30px;
    border-radius: var(--theme-border-radius);
    box-shadow: 10px 10px 20px rgba(0,0,0, 0.1);
}

    .size-vertical-short header {
        padding: 15px 30px;
    }

    .size-xs header {
        padding: 15px 30px;
    }

    header .caption {
        display: inline-flex;
        align-items: center;
        text-transform: uppercase;
        font-size: 24px;
    }

    header .controls {
        display: flex;
        gap: 10px;
    }

header.entity {
    position: relative;
    display: block;
    background: linear-gradient(145deg, var(--theme-primary-color), var(--theme-primary-bright-color));
    color: white;
    box-shadow: 0 6px 20px rgba(0,0,0,.15);
}

    header.entity.with-controls {
        padding-bottom: 80px;
    }

    header.entity .controls {
        border-radius: 0 0 15px 15px;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: var(--shade-10);
        padding: 10px 30px;
    }

    header.entity .controls button {
        background-color: transparent;
        color: white;
        border: none;
        cursor: pointer;
    }

        header.entity .controls button:hover {
            color: yellow;
        }




/* 
    Loading 

*/

.loading-content {
    
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0, 0.2);
    backdrop-filter: blur(20px);

    justify-content: center;
    align-items: center;

    z-index: 100;
}

.loading-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 15px;
    background-color: var(--theme-primary-color-900);
    color: var(--theme-primary-text-contrast-color-900);
    padding: 50px;
    border-radius: var(--theme-border-radius);
    box-shadow: 0 0 30px rgba(0,0,0, 0.2);
}

    .loading-indicator .material-symbols-outlined {
        font-size: 48px;
    }


/* 
    Dialogs 

*/

.overlay-content {
    
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0, 0.2);
    backdrop-filter: blur(20px);

    justify-content: center;
    align-items: center;

    z-index: 100;
}

.dialog-body {
    color: var(--theme-shell-text-color);
    background-color: var(--theme-panel-color);
}

.dialog-div-body {
    width: 100%;
    color: var(--theme-shell-text-color);
    background-color: var(--theme-panel-color);
}

.dialog-title {
    font-weight: 600;
    font-size: 24px;
    line-height: 40px;
}

dialog-frame {
    flex: 1;
    
    position: fixed;
    min-height: 200px;
    min-width: 300px;
    max-width: 100%;
    max-height: 100%;
    border: none;
    border-radius: var(--theme-border-radius);
    overflow: hidden;

    box-shadow: 0px 0px 30px rgba(0,0,0, 0.5);
}

    .dialog-frame-header {
        position: relative;
        display: flex;
        align-items: center;

        color: var(--theme-primary-text-contrast-color);
        background-color: var(--theme-primary-color);

        padding: 0 30px;
        
        font-weight: 600;
        height: 60px;
        box-sizing: border-box;
    }

    .dialog-frame-header .dialog-frame-header-controls {
        position: absolute;
        top: 0;
        right: 10px;
        bottom: 0;
    }

            .dialog-frame-header .dialog-frame-header-controls ion-icon {
                margin-left: 8px;
                margin-top: 7px;
                font-size: 24px;
                vertical-align: middle;
            }

    .dialog-frame-content-div {
        display: flex;
        top: 60px;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 0 0 5px 5px;

        overflow: auto;
    }


    .dialog-frame-content {
        display: flex;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 0 0 5px 5px;
    }

    .dialog-frame-content .dialog-frame-iframe {
        border: none;
        flex: 1;
    }


    .dialog-loading {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: white;

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }



.soft-dialog {
    background-color: white;
    padding: 50px 50px;
    border-radius: 25px;
    text-align: center;
    max-width: 500px;
}

    .soft-dialog .soft-dialog-icon {
        margin-bottom: 30px
    }

        .soft-dialog .soft-dialog-icon.orange {
            color: orange;
        }

        .soft-dialog .soft-dialog-icon.red {
            color: red;
        }

        .soft-dialog .soft-dialog-icon.green {
            color: green;
        }

        .soft-dialog .soft-dialog-icon .material-symbols-outlined {
            font-size: 128px;
        }

    .soft-dialog .soft-dialog-caption {
        font-weight: 600;
        font-size: 20px;
    }

    .soft-dialog .soft-dialog-text {
        margin-top: 5px;
    }

    .soft-dialog .soft-dialog-buttons {
        margin-top: 30px;
    }

    .soft-dialog button {
        border: none;
        font-size: 18px;
        padding: 15px 0 15px 0;
        text-transform: uppercase;
        font-weight: 600;
        background-color: transparent;
    }

        .soft-dialog button.danger {
            color: red;
        }

        .soft-dialog button.success {
            color: green;
        }

        .soft-dialog button:hover {
            background-color: transparent;
            color: var(--theme-primary-color);
        }

    .size-xs .soft-dialog button {
        text-align: center;
        margin-right: 0 !important;
        display: block;
        width: 100%;
    }




/*
    Buttons
*/

.button-box {
    padding-top: 30px;
    display: flex;
    gap: 15px;
}

.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--theme-primary-color-900);
    color: var(--theme-primary-text-contrast-color-900);
    padding: 10px 15px;
    border: 2px solid transparent;
    border-radius: var(--theme-control-border-radius);
    gap: 5px;
    cursor: pointer;
}

    .btn-primary:has(.material-symbols-outlined) {
        padding-right: 23px;
    }

    .btn-primary .material-symbols-outlined {
        font-size: 20px;
    }

    .btn-primary:hover {
        background-color: var(--theme-primary-bright-color-700);
    }


.btn-outline-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: var(--theme-primary-color);
    padding: 10px 15px;
    border: 1px solid var(--theme-primary-bright-color-800);
    border-radius: var(--theme-control-border-radius);
    gap: 5px;
    cursor: pointer;
}

    .btn-outline-primary:has(.material-symbols-outlined) {
        padding-right: 23px;
    }

    .btn-outline-primary .material-symbols-outlined {
        font-size: 20px;
    }

    .btn-outline-primary:hover {
        background-color: var(--theme-primary-bright-color-200);
    }


.btn-icon {
    border: none;
    background-color: transparent;
    color: var(--theme-primary-color);
    cursor: pointer;
}

    .btn-icon .material-symbols-outlined {
        font-size: 22px;
    }

    .btn-icon:hover {
        color: var(--theme-primary-bright-color);
    }


/* 
    App navigation
*/


.app-navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    gap: 30px;
}

    .app-navigation-tile {
        transition: 0.5s;

        background-color: var(--theme-primary-color);
        color: var(--theme-primary-text-contrast-color);

        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        width: 150px;
        height: 150px;
        gap: 10px;

        border-radius: var(--theme-border-radius);
        box-shadow: var(--theme-control-shadow);

        cursor: pointer;
    }

        .app-navigation-tile:hover {
            background-color: var(--theme-primary-bright-color);
            color: var(--theme-primary-text-contrast-color);
        }

        .app-navigation-tile .material-symbols-outlined {
            font-size: 64px;
        }

        .app-navigation-tile .app-navigation-tile-caption {
            font-size: 14px;
        }


/* 
    Toast notifications 
*/

#toast-area {
    position: fixed;
    bottom: 100px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 100000;
}

.toast-notification-row {
    margin-bottom: 10px;
}

.toast-notification {
    display: inline-block;
    max-width: 60vw;
    padding: 10px 30px;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 3px 3px 9px rgba(0,0,0, 0.3);
}

    .toast-notification.warning {
        background-color: yellow;
        color: black
    }

    .toast-notification.error {
        background-color: #CC4444;
    }

    .toast-notification.success {
        background-color: #1fad1f;
    }

    .toast-notification .material-symbols-outlined {
        margin-right: 10px;
        font-size: 32px;
    }


/* 
    Sections
*/

section {
    margin-top: 30px;
    box-shadow: 10px 10px 20px rgba(0,0,0, 0.1);
    border-radius: var(--theme-border-radius);
    overflow: hidden;
    border: 1px solid var(--glass-10);

    display: flex;
    flex-direction: column;
    min-height: 0;
    box-sizing: border-box;
}

    section.plain {
        box-shadow: none;
        border: none;
        border-radius: 0;
        overflow: unset;
    }

    section .section-header {
        background-color: var(--theme-primary-color);
        padding: 15px 30px;
        color: white;
        text-transform: uppercase;
        border-radius: 15px 15px 0 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 16px;
        flex: 0 0 auto;
    }

        .size-vertical-short section .section-header {
            padding: 10px 15px;
        }

        .size-xs section .section-header {
            padding: 10px 15px;
            font-size: 16px;
        }

        section .section-header .material-symbols-outlined {
            margin-right: 10px;
        }

        section .section-header .section-header-caption {
            display: flex;
            align-items: center;
        }

        section .section-header .section-header-controls {
            text-align: right;
        }

            section .section-header .section-header-controls button {
                background-color: transparent;
                color: white;
                border: none;
                cursor: pointer;
                padding: 0;
            }

                section .section-header .section-header-controls button:hover {
                    color: yellow;
                }

    section .section-contents {
        background-color: white;
        flex: 1 1 auto;
        min-height: 0;
    }


        section .section-contents .section-content-item {
            display: flex;
            justify-content: flex-start;
            align-items: center;
            padding: 15px 30px;
            border-bottom: 1px solid #DDD;
        }

            section .section-contents .section-content-item.clickable {
                cursor: pointer;
            }

            section .section-contents .section-content-item.clickable:hover {
                background-color: var(--theme-primary-color-700);
            }

            section .section-contents .section-content-item.selected {
                background-color: var(--theme-primary-color-500);
            }

            section .section-contents .section-content-item:last-child {
                border-bottom: none;
            }

            section .section-contents .section-content-item .item-icon { 
                margin-right: 10px;
            }

            section .section-contents .section-content-item .item-caption { 
                flex: 1;
                margin-right: 10px;
            }

            section .section-contents .section-content-item .item-controls .item-control { 
                cursor: pointer;
            }

            section .section-contents .section-content-item .item-controls .item-control:hover { 
                color: var(--theme-primary-color);
            }


    section .section-item {
        display: flex;
        gap: 15px;
        padding: 15px 20px;
        border-bottom: 1px solid var(--theme-primary-color-100);
        background-color: var(--theme-panel-color);
    }

    section .section-item .section-item-column {
        min-width: 50px;
        display: flex;
        align-items: center;
    }

        section .section-item .section-item-column.highlight {
            color: var(--theme-primary-color);
        }


/* 
    Tables
*/

table {
    border-collapse: collapse;
}

table tr td {
    border-bottom: 1px solid var(--theme-primary-color-200);
    padding: 10px 0;
}

.size-xs table tr td {
    font-size: 14px;
}

table tr:last-child td {
    border-bottom: none;
}

table tr td:first-child {
    font-weight: 600;
}


/*
    Chips
*/

.chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 15px;
    font-size: 15px;
    gap: 10px;
    margin-top: 5px;
    margin-bottom: 5px;

    border-radius: 50px;
    background-color: var(--theme-primary-text-contrast-color);
    color: var(--theme-primary-color);
}


/* 
    Animations
*/

.anim-spin {
    animation: spin 4s linear infinite;
}

.anim-start-on-visible {
    opacity: 0;
}

    .anim-start-on-visible.anim-start-slide-left {
        animation: slideInLeft 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    }

    .anim-start-on-visible.anim-start-slide-right {
        animation: slideInRight 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    }

    .anim-start-on-visible.anim-start-grow-vertical {
        animation: growVertical 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    }

.anim-appear {  
    animation: appear 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    opacity: 0;
}

.anim-disappear {  
    animation: disappear 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.anim-slide-up {  
    animation: slideInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    opacity: 0;
}

.anim-slide-down {  
    animation: slideInDown 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    opacity: 0;
}

.anim-slide-left {  
    animation: slideInLeft 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    opacity: 0;
}

.anim-slide-right {  
    animation: slideInRight 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    opacity: 0;
}

.anim-grow-vertical {  
    animation: growVertical 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    transform: scaleY(0);
}

.anim-shrink-vertical {  
    animation: shrinkVertical 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    transform: scaleY(1);
}

.anim-order-1 {
    animation-delay: 0.1s;
}

.anim-order-2 {
    animation-delay: 0.2s;
}

.anim-order-3 {
    animation-delay: 0.3s;
}

.anim-order-4 {
    animation-delay: 0.4s;
}

.anim-order-5 {
    animation-delay: 0.5s;
}

.anim-order-6 {
    animation-delay: 0.6s;
}

.anim-order-7 {
    animation-delay: 0.7s;
}

@keyframes spin { 
    100% { 
        transform: rotate(360deg); 
    } 
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes growVertical {
    from {
        transform: scaleY(0);
    }
    to {
        transform: scaleY(1);
    }
}

@keyframes shrinkVertical {
    from {
        transform: scaleY(1);
    }
    to {
        transform: scaleY(0);
    }
}

@keyframes appear {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes disappear {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}