:root {
    /* Form variables */
    --max-file-picker-height: 200px;
    --max-file-picker-height-medium: 315px;
    /* Wizard Variables */
    --max-wizard-width: 1200px;
    --max-wizard-control-width: calc(var(--max-wizard-width) - 84px);
    /* Font Type variables */
    --type-ramp-plus-3-font-size: 35px;
    --type-ramp-plus-3-line-height: 70px;
    /* Custom Colors */
    --info-custom: --warning:;

    --width-mobile: 480px;  /* smartphones, Android phones, landscape iPhone */ 
    --width-tablets: 600px;  /* portrait tablets, portrait iPad, e-readers (Nook/Kindle), landscape 800x480 phones (Android) */ 
    --width-desktop: 1025px; /* big landscape tablets, laptops, and desktops */ 
}

#components-reconnect-modal {
    background: var(--neutral-fill-layer-rest) !important;
}

@media (prefers-color-scheme: dark) {
    :root {
        --info-custom: #102a43;
    }
}

@media (prefers-color-scheme: light) {
    :root {
        --info-custom: #102a43;
    }
}

/* Reset styles from base css */
fluent-badge::part(control) {
    background: var(--badge-fill-);
    color: var(--badge-color-);
}

/* Base Styles */

html,
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    min-height: 100%;
    min-height: 100vh;
    margin: 0;
}

.body-content {
    overflow-y: unset !important;
    overflow-x: unset !important;
    padding: 30px;
    height: auto;
}

.layout-title {
    mix-blend-mode: exclusion;
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 30px;
}

/* This is to prevent issues with the height shifting when items are loading for different pages.*/
.layout {
    min-height: 101vh;
}

.close-button > svg {
    fill: var(--neutral-foreground-rest) !important;
}

/* Body elements that are interrrupting SPA functionality */
.stack-horizontal, fluent-card {
}

.content {
    padding-top: 1.1rem;
}

/* Typography*/

h1:focus {
    outline: none;
}

h3 {
    margin-bottom: 0 !important;
}

.snippet {
    background: var(--neutral-layer-card-container);
    border: 1px solid white;
    padding: 5px;
    white-space: unset;
}

/* Form Styles */
a,
.btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.form-control {
    width: 100%;
}

.fluent-inputfile-container {
    overflow: hidden;
    height: var(--max-file-picker-height);
    border: 1px dashed var(--accent-fill-rest);
}

    .fluent-inputfile-container div:last-child {
        max-height: var(--max-file-picker-height);
        z-index: 999;
        cursor: pointer;
    }

.fluent-inputfile-container-medium {
    height: var(--max-file-picker-height-medium);
}

    .fluent-inputfile-container-medium div:last-child {
        max-height: var(--max-file-picker-height-medium);
    }

fluent-text-field {
    width: 100%;
}

/* Header Styles */
/*.header {
    height: 100px;
}*/

.header-gutters div {
    width: 100%
}

.fluent-persona:hover {
    cursor: pointer;
}

/* Navigation Styles */
.fluent-nav-menu-profile {
    padding: 5px !important;
    border-radius: 5px;
    background: var(--neutral-stroke-layer-rest);
}

/* Tab Styles */
.fluent-tab-icon {
    margin: 0 5px;
}

/* Table Styles */
.table ul {
    list-style: none;
    padding-left: 0;
}

.col-options-button {
    margin: 0px 4px;
}

fluent-data-grid-cell {
    padding: 0.1rem calc(0.4rem + var(--col-gap)) 0.1rem 0.4rem;
    display: inline-flex;
}

    fluent-data-grid-cell fluent-anchor, fluent-data-grid-cell fluent-button {
        height: unset;
        max-height: 30px;
    }

fluent-data-grid-row {
    height: auto;
}

    fluent-data-grid-row.header {
        position: sticky;
        top: 0;
        z-index: 1;
        background: var(--info);
    }

.loading-content-row {
    padding: 50px;
}

/* Skeleton Styles */
fluent-skeleton.grid-bar {
    background: var(--skeleton-animation-gradient-default);
    background-size: 300%;
    background-position-x: 100%;
    animation: shimmer-skeleton 1s var(--skeleton-animation-timing-default) infinite;
    max-height: 25px !important;
}

@keyframes shimmer-skeleton {
    100% {
        background-position-x: 0%
    }
}

/* Wizard Styles */
.fluent-wizard-buttons {
}

.error {
    color: var(--warning);
}

/*Blazor styles*/
.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0a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1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}


/* Toast Styles */
.fluent-toast {
    border: 2px solid var(--accent-foreground-active);
}

/* MOBILE STYLES */

@media (max-width: 800px) {
    .fluent-nav-menu-primary {
        position: fixed;
        z-index: 999999;
        width: 250px;
        background: var(--neutral-layer-floating);
    }
}