/* Generated by the build from the files in Styles (TrakHound.Blazor.Hosting.csproj). Edit those, not this file */


/* Styles/base.css */

/*
    Base styles that were previously provided by Bootstrap (v5.1).
    Only the reboot and the classes used by TrakHound components are kept here.
    Bootstrap is licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/

/* Roboto (Latin characters, in every weight) is served by the Instance so that pages look the same on every computer, including on networks without internet access. Licensed under the SIL Open Font License (css/roboto/LICENSE.txt) */

@font-face {
    font-family: Roboto;
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url(../roboto/roboto-latin-wght-normal.woff2) format('woff2');
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* Reboot */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Roboto, "Segoe UI", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--textDark);
    background-color: var(--panelBackground);
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

hr {
    margin: 1rem 0;
    color: inherit;
    background-color: currentColor;
    border: 0;
    opacity: .25;
}

    hr:not([size]) {
        height: 1px;
    }

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h5 {
    margin-top: 0;
    margin-bottom: .5rem;
    font-weight: 500;
    line-height: 1.2;
}

h1, .h1 {
    font-size: calc(1.375rem + 1.5vw);
}

h2, .h2 {
    font-size: calc(1.325rem + .9vw);
}

h3, .h3 {
    font-size: calc(1.3rem + .6vw);
}

h4 {
    font-size: calc(1.275rem + .3vw);
}

h5, .h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

@media (min-width: 1200px) {
    h1, .h1 {
        font-size: 2.5rem;
    }

    h2, .h2 {
        font-size: 2rem;
    }

    h3, .h3 {
        font-size: 1.75rem;
    }

    h4 {
        font-size: 1.5rem;
    }
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

ol, ul {
    padding-left: 2rem;
}

ol, ul, dl {
    margin-top: 0;
    margin-bottom: 1rem;
}

    ol ol, ul ul, ol ul, ul ol {
        margin-bottom: 0;
    }

dt {
    font-weight: 700;
}

dd {
    margin-bottom: .5rem;
    margin-left: 0;
}

blockquote {
    margin: 0 0 1rem;
}

b, strong {
    font-weight: bolder;
}

small, .small {
    font-size: .875em;
}

sub, sup {
    position: relative;
    font-size: .75em;
    line-height: 0;
    vertical-align: baseline;
}

sub {
    bottom: -.25em;
}

sup {
    top: -.5em;
}

a {
    color: var(--textLink);
    text-decoration: underline;
}

    a:hover {
        color: var(--accentLight);
    }

    a:not([href]):not([class]),
    a:not([href]):not([class]):hover {
        color: inherit;
        text-decoration: none;
    }

pre, code, kbd, samp {
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 1em;
    direction: ltr;
    unicode-bidi: bidi-override;
}

pre {
    display: block;
    margin-top: 0;
    margin-bottom: 1rem;
    overflow: auto;
    font-size: .875em;
}

    pre code {
        font-size: inherit;
        color: inherit;
        word-break: normal;
    }

code {
    font-size: .875em;
    color: var(--textLink);
    word-wrap: break-word;
}

a > code {
    color: inherit;
}

figure {
    margin: 0 0 1rem;
}

img, svg {
    vertical-align: middle;
}

table {
    caption-side: bottom;
    border-collapse: collapse;
}

th {
    text-align: inherit;
    text-align: -webkit-match-parent;
}

thead, tbody, tfoot, tr, td, th {
    border-color: inherit;
    border-style: solid;
    border-width: 0;
}

label {
    display: inline-block;
}

button {
    border-radius: 0;
}

    button:focus:not(:focus-visible) {
        outline: 0;
    }

input, button, select, optgroup, textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

button, select {
    text-transform: none;
}

[role="button"] {
    cursor: pointer;
}

select {
    word-wrap: normal;
}

    select:disabled {
        opacity: 1;
    }

button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

    button:not(:disabled),
    [type="button"]:not(:disabled),
    [type="reset"]:not(:disabled),
    [type="submit"]:not(:disabled) {
        cursor: pointer;
    }

::-moz-focus-inner {
    padding: 0;
    border-style: none;
}

textarea {
    resize: vertical;
}

fieldset {
    min-width: 0;
    padding: 0;
    margin: 0;
    border: 0;
}

[type="search"] {
    outline-offset: -2px;
    -webkit-appearance: textfield;
}

::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-inner-spin-button {
    height: auto;
}

::file-selector-button {
    font: inherit;
}

iframe {
    border: 0;
}

summary {
    display: list-item;
    cursor: pointer;
}

progress {
    vertical-align: baseline;
}

[hidden] {
    display: none !important;
}


/* Tables */

.table {
    width: 100%;
    margin-bottom: 1rem;
    color: var(--tableText);
    vertical-align: top;
    border-color: var(--tableBorderColor);
}

    .table > :not(caption) > * > * {
        padding: .5rem .5rem;
        border-bottom-width: 1px;
    }

    .table > tbody {
        vertical-align: inherit;
    }

    .table > thead {
        vertical-align: bottom;
    }

    /* The line under the header (Bootstrap's currentColor is the text color, a white line in the dark theme) */
    .table > :not(:last-child) > :last-child > * {
        border-bottom-color: var(--tableHeaderBorderColor);
    }

.table-sm > :not(caption) > * > * {
    padding: .25rem .25rem;
}

.table-bordered > :not(caption) > * {
    border-width: 1px 0;
}

    .table-bordered > :not(caption) > * > * {
        border-width: 0 1px;
    }


/* Form Controls */

.form-control {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--inputText);
    background-color: var(--inputBackground);
    background-clip: padding-box;
    border: 1px solid var(--inputBorder);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: .25rem;
}

    .form-control:focus {
        color: var(--inputTextHighlight);
        background-color: var(--inputBackgroundHighlight);
        border-color: var(--inputBorderHighlight);
        outline: 0;
        box-shadow: 0 0 0 .25rem var(--accentVeryLight);
    }

    .form-control::placeholder {
        color: var(--inputPlaceholder);
        opacity: 1;
    }

    .form-control:disabled,
    .form-control[readonly] {
        background-color: var(--inputBackgroundDisabled);
        opacity: 1;
    }

.form-control-sm {
    min-height: calc(1.5em + .5rem + 2px);
    padding: .25rem .5rem;
    font-size: .875rem;
    border-radius: .2rem;
}

.form-control-lg {
    min-height: calc(1.5em + 1rem + 2px);
    padding: .5rem 1rem;
    font-size: 1.25rem;
    border-radius: .3rem;
}


/* Buttons */

/* The colors of each button style are in buttons/ (ex. buttons/primary.css) */

/* Buttons change color instantly. Disabling the transition on the base
   rule (not only :hover) keeps entering and leaving hover the same. */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 30px;
    font-weight: 500;
    line-height: 1;
    color: var(--textDark);
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0 12px;
    font-size: 11px;
    border-radius: 0;
    transition: none;
}

    .btn:hover {
        color: var(--textDark);
    }

    .btn:focus-visible {
        outline: 2px solid var(--accentLight);
        outline-offset: 2px;
    }

    .btn:disabled,
    .btn.disabled,
    fieldset:disabled .btn {
        pointer-events: none;
        opacity: .65;
    }

/* Joined buttons for related actions. Other toolbar buttons are 8px apart */
.btn-group {
    display: inline-flex;
    flex-wrap: nowrap;
}

    .btn-group .btn {
        position: relative;
    }

        /* Share the borders between buttons */
        .btn-group .btn + .btn {
            margin-left: -1px;
        }

        /* Separate the buttons, whose shared border can match their background */
        .btn-group .btn + .btn:not(:hover):not(:disabled) {
            border-left-color: var(--buttonGroupDivider);
        }

        /* Keep the hovered button's whole border on top of its neighbors */
        .btn-group .btn:hover,
        .btn-group .btn:focus-visible {
            z-index: 1;
        }

.btn-danger {
    color: #fff;
    background-color: var(--colorRed);
    border-color: var(--colorRed);
}

    .btn-danger:hover,
    .btn-danger:active,
    .btn-danger.active {
        color: #fff;
        background-color: var(--colorRedDark);
        border-color: var(--colorRedDark);
    }

.btn-sm {
    height: 26px;
    padding: 0 8px;
    font-size: 11px;
}


/* Badges */

.badge {
    display: inline-block;
    padding: .35em .65em;
    font-size: .75em;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
}

    .badge:empty {
        display: none;
    }

.btn .badge {
    position: relative;
    top: -1px;
    margin-left: 10px;
}


/* Modals */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1055;
    display: none;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: .5rem;
    pointer-events: none;
}

.modal-dialog-scrollable {
    height: calc(100% - 1rem);
}

    .modal-dialog-scrollable .modal-content {
        max-height: 100%;
        overflow: hidden;
    }

    .modal-dialog-scrollable .modal-body {
        overflow-y: auto;
    }

.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem);
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: var(--modalBackground);
    background-clip: padding-box;
    border: 1px solid var(--borderColor);
    border-radius: .3rem;
    outline: 0;
}

.modal-header {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1rem;
    border-bottom: 1px solid var(--borderColorLight);
    border-top-left-radius: calc(.3rem - 1px);
    border-top-right-radius: calc(.3rem - 1px);
}

.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
}

.modal-footer {
    display: flex;
    flex-wrap: wrap;
    flex-shrink: 0;
    align-items: center;
    justify-content: flex-end;
    padding: .75rem;
    border-top: 1px solid var(--borderColorLight);
    border-bottom-right-radius: calc(.3rem - 1px);
    border-bottom-left-radius: calc(.3rem - 1px);
}

    .modal-footer > * {
        margin: .25rem;
    }

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 500px;
        margin: 1.75rem auto;
    }

    .modal-dialog-scrollable {
        height: calc(100% - 3.5rem);
    }

    .modal-dialog-centered {
        min-height: calc(100% - 3.5rem);
    }
}

@media (min-width: 992px) {
    .modal-lg {
        max-width: 800px;
    }
}


/* Utilities */

.d-none {
    display: none !important;
}

.px-4 {
    padding-right: 1.5rem !important;
    padding-left: 1.5rem !important;
}

.py-2 {
    padding-top: .5rem !important;
    padding-bottom: .5rem !important;
}

@media (min-width: 1200px) {
    .d-xl-block {
        display: block !important;
    }

    .d-xl-none {
        display: none !important;
    }
}


/* Styles/colors.css */

:root {
    /* Green Colors */
    --colorGreen: #19b419;
    --colorGreenLight: #54c654;
    --colorGreenDark: #2d862d;
    --colorGreenHover: #c6ecc6;
    /* Orange Colors */
    --colorOrange: #ff8b00;
    --colorOrangeVeryLight: #ffe8cc;
    --colorOrangeDark: #e67e00;
    /* Red Colors */
    --colorRed: #d92b2b;
    --colorRedLight: #ef4b4b;
    --colorRedVeryLight: #ffb3b3;
    --colorRedDark: #a61e1e;
    --colorRedHover: #ffb3b3;
    /* Blue Colors */
    --colorBlue: #0063cc;
}


/* Styles/buttons/command.css */

.btn-command {
    background: var(--buttonCommandBackground);
    border: 1px solid var(--buttonCommandBorder);
    color: var(--buttonCommandText);
    transition: none;
}

    .btn-command:hover {
        background: var(--buttonCommandBackgroundHover);
        border: 1px solid var(--buttonCommandBorderHover);
        color: var(--buttonCommandTextHover);
        transition: none;
    }

    .btn-command:active {
        box-shadow: none;
        background: var(--buttonCommandBackgroundHighlight);
        border: 1px solid var(--buttonCommandBorderHighlight);
        color: var(--buttonCommandTextHighlight);
    }

    .btn-command.active {
        color: #fff;
        background: var(--accent);
        border: 1px solid transparent;
        transition: none;
    }

    .btn-command:disabled,
    .btn-command.disabled {
        transition: none;
        background: var(--buttonCommandBackgroundDisabled);
        border: 1px solid var(--buttonCommandBorderDisabled);
        color: var(--buttonCommandTextDisabled);
    }

    .btn-command .icon {
        color: var(--buttonCommandIcon);
        transition: none;
    }

    .btn-command:hover .icon {
        color: var(--buttonCommandIconHover);
        transition: none;
    }

    .btn-command:active .icon {
        color: var(--buttonCommandIconHighlight);
        transition: none;
    }

    .btn-command:disabled .icon,
    .btn-command.disabled .icon {
        color: var(--buttonCommandIconDisabled);
        transition: none;
    }


/* Styles/buttons/light.css */

.btn-light {
    background: var(--buttonLightBackground);
    box-shadow: var(--buttonLightShadow);
    border: 1px solid var(--buttonLightBorder);
    color: var(--buttonLightText);
}

    .btn-light:hover {
        background: var(--buttonLightBackgroundHover);
        border: 1px solid var(--buttonLightBorderHover);
        color: var(--buttonLightTextHover);
    }

    .btn-light:active {
        box-shadow: var(--buttonLightShadowHighlight);
        background: var(--buttonLightBackgroundHighlight);
        border: 1px solid var(--buttonLightBorderHighlight);
        color: var(--buttonLightTextHighlight);
    }

    .btn-light:disabled,
    .btn-light.disabled {
        box-shadow: none;
        background: var(--buttonLightBackgroundDisabled);
        border: 1px solid var(--buttonLightBorderDisabled);
        color: var(--buttonLightTextDisabled);
    }

    .btn-light .icon {
        color: var(--buttonLightIcon);
    }

    .btn-light:hover .icon {
        color: var(--buttonLightIconHover);
    }

    .btn-light:active .icon {
        color: var(--buttonLightIconHighlight);
    }

    .btn-light:disabled .icon,
    .btn-light.disabled .icon {
        color: var(--buttonLightIconDisabled);
    }


/* Styles/buttons/link.css */

.btn-link {
    height: auto;
    padding: 4px 8px;
    text-decoration: none;
    color: var(--buttonLinkText) !important;
    outline: none;
    box-shadow: none;
    border: none;
}

    .btn-link:hover {
        color: var(--buttonLinkTextHover) !important;
        text-decoration: underline;
    }

    .btn-link:active {
        box-shadow: none !important;
    }

    .btn-link:disabled,
    .btn-link.disabled {
        color: var(--buttonLinkTextDisabled) !important;
    }

    .btn-link .icon {
        color: var(--buttonLinkIcon) !important;
    }

    .btn-link:hover .icon {
        color: var(--buttonLinkIconHover) !important;
    }

    .btn-link:active .icon {
        color: var(--buttonLinkIconHighlight) !important;
    }

    .btn-link:disabled .icon,
    .btn-link.disabled .icon {
        color: var(--buttonLinkIconDisabled) !important;
    }


/* Styles/buttons/primary.css */

.btn-primary {
    background: var(--buttonPrimaryBackground);
    box-shadow: var(--buttonPrimaryShadow);
    border-color: var(--buttonPrimaryBorder);
    color: var(--buttonPrimaryText);
    transition: none;
}

    .btn-primary:hover {
        background: var(--buttonPrimaryBackgroundHover);
        border-color: var(--buttonPrimaryBorderHover);
        color: var(--buttonPrimaryTextHover);
        transition: none;
    }

    .btn-primary:active {
        box-shadow: var(--buttonPrimaryShadowHighlight);
        background: var(--buttonPrimaryBackgroundHighlight);
        border-color: var(--buttonPrimaryBorderHighlight);
        color: var(--buttonPrimaryTextHighlight);
    }

    .btn-primary:disabled,
    .btn-primary.disabled {
        box-shadow: none;
        outline: none;
        background: var(--buttonPrimaryBackgroundDisabled);
        border-color: var(--buttonPrimaryBorderDisabled);
        color: var(--buttonPrimaryTextDisabled);
    }

    .btn-primary .icon {
        color: var(--buttonPrimaryIcon);
    }

    .btn-primary:hover .icon {
        color: var(--buttonPrimaryIconHover);
    }

    .btn-primary:active .icon {
        color: var(--buttonPrimaryIconHighlight);
    }

    .btn-primary:disabled .icon,
    .btn-primary.disabled .icon {
        color: var(--buttonPrimaryIconDisabled);
    }


/* Styles/buttons/remove.css */

.btn-remove {
    background: var(--buttonRemoveBackground);
    border: 1px solid var(--buttonRemoveBorder);
    color: var(--buttonRemoveText);
    border-radius: 0;
    transition: none;
}

    .btn-remove:hover {
        background: var(--buttonRemoveBackgroundHover);
        border: 1px solid var(--buttonRemoveBorderHover);
        color: var(--buttonRemoveTextHover);
        transition: none;
    }

    .btn-remove:active {
        background: var(--buttonRemoveBackgroundHighlight);
        border: 1px solid var(--buttonRemoveBorderHighlight);
        color: var(--buttonRemoveTextHighlight);
        box-shadow: none;
    }

    .btn-remove:disabled,
    .btn-remove.disabled {
        background: var(--buttonRemoveBackgroundDisabled);
        border: 1px solid var(--buttonRemoveBorderDisabled);
        color: var(--buttonRemoveTextDisabled);
        box-shadow: none;
        outline: none;
    }


    .btn-remove .icon {
        color: var(--buttonRemoveIcon);
    }

    .btn-remove:hover .icon {
        color: var(--buttonRemoveIconHover);
    }

    .btn-remove:active .icon {
        color: var(--buttonRemoveIconHighlight);
    }

    .btn-remove:disabled .icon,
    .btn-remove.disabled .icon {
        color: var(--buttonRemoveIconDisabled);
    }


/* Styles/buttons/secondary.css */

.btn-secondary {
    background: var(--buttonSecondaryBackground);
    box-shadow: var(--buttonSecondaryShadow);
    border: 1px solid var(--buttonSecondaryBorder);
    color: var(--buttonSecondaryText);
    transition: none;
}

    .btn-secondary:hover {
        background: var(--buttonSecondaryBackgroundHover);
        border: 1px solid var(--buttonSecondaryBorderHover);
        color: var(--buttonSecondaryTextHover);
        transition: none;
    }

    .btn-secondary:active {
        box-shadow: var(--buttonSecondaryShadowHighlight);
        background: var(--buttonSecondaryBackgroundHighlight);
        border: 1px solid var(--buttonSecondaryBorderHighlight);
        color: var(--buttonSecondaryTextHighlight);
    }

    .btn-secondary:disabled,
    .btn-secondary.disabled {
        box-shadow: none;
        outline: none;
        background: var(--buttonSecondaryBackgroundDisabled);
        border: 1px solid var(--buttonSecondaryBorderDisabled);
        color: var(--buttonSecondaryTextDisabled);
    }

    .btn-secondary .icon {
        color: var(--buttonSecondaryIcon);
        transition: none;
    }

    .btn-secondary:hover .icon {
        color: var(--buttonSecondaryIconHover);
        transition: none;
    }

    .btn-secondary:active .icon {
        color: var(--buttonSecondaryIconHighlight);
        transition: none;
    }

    .btn-secondary:disabled .icon,
    .btn-secondary.disabled .icon {
        color: var(--buttonSecondaryIconDisabled);
        transition: none;
    }


/* Styles/buttons/toolbar.css */

.btn-toolbar {
    display: inline-block !important;
    text-align: center !important;
    background: var(--buttonToolbarBackground);
    border: 1px solid var(--buttonToolbarBorder);
    border-left: none;
    border-radius: 0 !important;
    min-width: 70px;
    font-size: 14px;
    margin: 0;
    color: var(--buttonToolbarText);
    transition: none;
    /* Toolbar buttons keep their own size, not the shared .btn size */
    height: auto;
    padding: .375rem .75rem;
    font-weight: 400;
    line-height: 1.5;
}

    .btn-toolbar.btn-sm {
        padding: .25rem .5rem;
    }

    .btn-toolbar:hover {
        background: var(--buttonToolbarBackgroundHover);
        border: 1px solid var(--buttonToolbarBorderHover);
        color: var(--buttonToolbarTextHover);
    }

    .btn-toolbar:focus {
        box-shadow: none !important;
        outline: none;
        background: var(--buttonToolbarBackgroundHighlight);
        border: 1px solid var(--buttonToolbarBorderHighlight);
        color: var(--buttonToolbarTextHighlight);
    }

    .btn-toolbar.disabled {
        box-shadow: none !important;
        outline: none;
        background: var(--buttonToolbarBackgroundDisabled);
        border: 1px solid var(--buttonToolbarBorderDisabled);
        color: var(--buttonToolbarTextDisabled);
    }

    .btn-toolbar:first-child {
        border-left: 1px solid var(--buttonToolbarBorder);
    }

    .btn-toolbar:hover:first-child {
        border-left: 1px solid var(--buttonToolbarBorderHover);
    }

    .btn-toolbar:focus:first-child {
        border-left: 1px solid var(--buttonToolbarBorderHighlight);
    }

    .btn-toolbar.disabled:first-child {
        border-left: 1px solid var(--buttonToolbarBorderDisabled);
    }

    .btn-toolbar .icon {
        margin: 0 !important;
        margin-right: 10px !important;
        font-size: 10px !important;
        text-align: center;
        line-height: inherit;
        color: var(--buttonToolbarIcon);
    }

    .btn-toolbar:hover .icon {
        margin-left: -1px !important;
        color: var(--buttonToolbarIconHover);
        transition: none;
    }

    .btn-toolbar:hover:first-child .icon {
        margin-left: 0px !important;
    }

    .btn-toolbar:focus .icon {
        color: var(--buttonToolbarIconHighlight);
        transition: none;
    }

    .btn-toolbar.disabled .icon {
        color: var(--buttonToolbarIconDisabled);
    }

    .btn-toolbar .icon:first-child {
        font-size: 16px !important;
    }


/* Styles/buttons/icons.css */

.btn .icon {
    margin: 0;
    font-size: 12px;
    line-height: 1;
}


/* Styles/layout.css */

.sidebar {
    background: var(--panelBackground);
    border-right: 1px solid var(--borderColorLight);
    overflow-y: auto;
    padding: 0;
    margin: 0;
}


/* The scrollbar is styled by scrollbar-color on body (trakhound.scss), which is inherited */
.scroll-panel {
    overflow-y: auto;
    height: 100%;
}

/* A handle on a sidebar's edge that changes its width (JsFunctions.attachResizeHandle). It's placed on the edge by
   the page, wider than the border it sits on so it's easy to grab, and shows the accent color while hovered or dragged */
.resize-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 9px;
    z-index: 5;
    cursor: col-resize;
    touch-action: none;
}

    .resize-handle::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 3px;
        width: 3px;
        background: transparent;
        transition: background-color 0.15s;
    }

    .resize-handle:hover::after,
    .resize-handle:focus-visible::after,
    body.resizing-col .resize-handle::after {
        background: var(--accent);
    }

    .resize-handle:focus-visible {
        outline: none;
    }

/* While a handle is dragged, the cursor stays the same over the whole page and text isn't selected */
body.resizing-col,
body.resizing-col * {
    cursor: col-resize !important;
    user-select: none !important;
}


/* Styles/tables.css */

.table-card {
    border-radius: 2px;
}

    .table-card .card-header {
        border-bottom: none;
        border-color: var(--borderColorLight);
        padding: 5px 10px;
        font-size: 12px;
        color: var(--textDark);
        background: var(--panelBackground);
    }

        .table-card .card-header .oi {
            color: var(--textLight);
            font-size: 12px;
            margin-right: 10px;
        }

    .table-card .table {
        margin-bottom: 0;
    }

.data-table {
    background: var(--tableBackground);
    color: var(--textDark);
    font-size: 12px;
}

    .data-table > .card {
        background: none;
    }

    .data-table.table {
        color: var(--textDark);
        border-color: var(--borderColorDark) !important;
    }

    .data-table .column {
        color: var(--textDark);
        font-size: 12px;
        font-weight: normal;
        text-align: center;
    }

.column {
    border: 1px solid var(--borderColorLight);
    border-bottom-color: var(--borderColorLight) !important;
    border-radius: 2px;
    color: var(--textDark);
    font-size: 0.8em;
    font-weight: bold;
    text-align: center;
}


/* Defaults for plain tables: a header fill and row borders (no column borders, and the cells show what's behind them).
   :where() gives them no specificity, so any rule for a table (a page's, an App's or the Data Grid's) wins without !important */

:where(table) tbody {
    border-color: var(--tableBorderColor);
}

/* Without it a header row's border (ex. .table-bordered's top border) is the text color */
:where(table) thead {
    border-color: var(--tableHeaderBorderColor);
}

:where(table) th {
    background: var(--tableHeaderBackground);
    border-color: var(--tableHeaderBorderColor);
    border-bottom: 1px solid var(--tableHeaderBorderColor);
    color: var(--tableHeaderText);
}

:where(table) td {
    border: none;
    border-color: var(--tableBorderColor);
    border-bottom: 1px solid var(--tableBorderColor);
    color: var(--tableText);
}

/* On the row (not the cells), so a table's own row hover replaces it */
:where(table tbody tr:hover) {
    background: var(--tableBackgroundHover);
}


/* Styles/radzen.css */

/* Overrides for the Radzen components, using the theme variables */


.rz-tabview {
    height: 100%;
    overflow: hidden;
}

        .rz-tabview .rz-tabview-nav li a {
            padding: 5px 10px !important;
            min-width: 100px;
            text-align: center;
        }

    .rz-tabview .rz-tabview-nav .rz-tabview-title {
        font-size: 13px !important;
        width: 100%;
    }

    .rz-tabview .rz-tabview-panels {
        height: 100%;
        overflow: hidden;
    }

    .rz-tabview .rz-tabview-panel {
        height: 100%;
        overflow: hidden;
        padding: 0;
    }


.rz-splitter-bar {
    background: var(--borderColor) !important;
}

.rz-tabview-panels {
    border-top: 1px solid var(--borderColor) !important;
}

/* Tabs that don't fit scroll sideways instead of being cut off on narrow pages */
.rz-tabview-nav {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
}

.rz-tabview-nav li {
    flex-shrink: 0;
    transition: none;
    color: var(--textMild) !important;
}

    .rz-tabview-nav li:hover {
        background: rgba(255, 255, 255, 0.05) !important;
    }

    .rz-tabview-nav li a {
        padding: 12px 30px;
        font-size: 14px;
        border-right: 1px solid var(--borderColorVeryLight);
        color: var(--textMild) !important;
    }

    .rz-tabview-nav li:hover a {
        background: rgba(255, 255, 255, 0.05) !important;
    }

    .rz-tabview-nav li .rz-tabview-title {
        color: var(--textMild) !important;
    }

    .rz-tabview-nav li .tab-header {
        color: var(--textMild);
    }

    .rz-tabview-nav li a .rz-tabview-left-icon {
        margin-right: 10px;
    }


    .rz-tabview-nav li a .icon {
        font-size: 16px;
        line-height: 22px;
        color: var(--textLight);
        vertical-align: top;
    }

.rz-tabview-selected .icon {
    color: var(--accent) !important;
}

.rz-tabview-nav li a .title {
    text-transform: none;
    letter-spacing: normal;
}


.rz-notification {
    position: fixed !important;
    top: unset !important;
    bottom: 0px !important;
    width: 450px;
}

    .rz-notification .rz-growl-item {
        padding: 10px 20px;
        width: 450px;
    }

        .rz-notification .rz-growl-item .rz-growl-image {
            font-size: 24px;
            margin-top: 2px;
        }

        .rz-notification .rz-growl-item .rz-growl-title {
            font-size: 12px;
            display: block;
        }

        .rz-notification .rz-growl-item p {
            font-size: 12px;
        }

        .rz-notification .rz-growl-item .rz-growl-icon-close {
            font-size: 18px;
            margin-top: 3px;
        }


.rz-dropdown {
    padding: 7px 20px 7px 15px;
    font-size: 14px;
    border-radius: 2px !important;
    height: 38px !important;
    background: var(--inputBackground) !important;
    border: 1px solid var(--inputBorder) !important;
    color: var(--inputText) !important;
}

    .rz-dropdown:hover {
        background: var(--inputBackgroundHover) !important;
        border: 1px solid var(--inputBorderHover) !important;
        color: var(--inputTextHover) !important;
    }

    .rz-dropdown:focus {
        background: var(--inputBackgroundHighlight) !important;
        border: 1px solid var(--inputBorderHighlight) !important;
        color: var(--inputTextHighlight) !important;
        box-shadow: inset 0px 0px 1px 1px var(--accentLight) !important;
        outline: none;
    }

    .rz-dropdown.rz-state-disabled {
        background: var(--inputBackgroundDisabled) !important;
        border: 1px dashed var(--inputBorderDisabled) !important;
        color: var(--inputTextDisabled) !important;
        box-shadow: none !important;
        outline: none;
        cursor: not-allowed;
    }

        .rz-dropdown.rz-state-disabled .rz-dropdown-trigger-icon {
            color: var(--inputTextDisabled) !important;
        }


    .rz-dropdown .rz-dropdown-label {
        background: var(--inputBackground) !important;
        color: var(--inputText) !important;
    }

    .rz-dropdown:hover .rz-dropdown-label {
        background: var(--inputBackgroundHover) !important;
        color: var(--inputTextHover) !important;
    }

    .rz-dropdown:focus .rz-dropdown-label {
        background: var(--inputBackgroundHighlight) !important;
        color: var(--inputTextHighlight) !important;
    }

    .rz-dropdown.rz-state-disabled .rz-dropdown-label {
        background: var(--inputBackgroundDisabled) !important;
        color: var(--inputTextDisabled) !important;
    }


    .rz-dropdown .rz-placeholder {
        font-size: 14px;
        color: var(--inputPlaceholder) !important;
    }

    .rz-dropdown:hover .rz-placeholder {
        color: var(--inputPlaceholderHover) !important;
    }

    .rz-dropdown:focus .rz-placeholder {
        color: var(--inputPlaceholderHighlight) !important;
    }

    .rz-dropdown.rz-state-disabled .rz-placeholder {
        color: var(--inputPlaceholderDisabled) !important;
    }

.rz-dropdown-trigger {
    height: 35px !important;
    line-height: 35px !important;
}

.rz-dropdown-trigger-icon {
    height: 35px !important;
    padding-top: 5px;
}

.rz-dropdown-panel {
    background: var(--panelItemBackground);
    border-radius: 0 !important;
}

.rz-dropdown-items {
    padding: 0;
}

.rz-dropdown-item {
    padding: 2px 8px !important;
    color: var(--textDark);
    border-bottom: 1px solid var(--panelItemBorder);
    font-size: 14px !important;
}

    .rz-dropdown-item:hover {
        background: var(--panelItemBackgroundHover) !important;
        color: var(--textDark) !important;
    }

    .rz-dropdown-item.rz-state-highlight {
        background: var(--panelItemBackgroundHover) !important;
        color: var(--textDark) !important;
    }


.rz-autocomplete-panel {
    background: var(--panelItemBackground);
    border-radius: 0 !important;
}

.rz-autocomplete-items {
    padding: 0;
    border-radius: 0 !important;
}

.rz-autocomplete-list-item {
    padding: 2px 8px !important;
    color: var(--textDark);
    border-bottom: 1px solid var(--panelItemBorder);
    font-size: 14px !important;
}

    .rz-autocomplete-list-item span {
        padding: 0 15px !important;
        font-size: 14px;
    }

    .rz-autocomplete-list-item:hover {
        background: var(--panelItemBackgroundHover) !important;
        color: var(--textDark) !important;
    }

    .rz-autocomplete-list-item.rz-state-highlight {
        background: var(--panelItemBackgroundHover) !important;
        color: var(--textDark) !important;
    }


.rz-selectbutton .rz-button-text {
    font-size: 12px;
    text-decoration: none;
    text-transform: none;
}

.rz-datepicker-calendar td .rz-state-active {
    background-color: var(--accent);
}

    .rz-datepicker-calendar td .rz-state-active:hover {
        background-color: var(--accentLight);
    }

.rz-datepicker.rz-popup .rz-button-md {
    background: var(--accent) !important;
}

    .rz-datepicker.rz-popup .rz-button-md:hover {
        background: var(--accentLight) !important;
    }


.rz-data-grid {
    background: var(--tableBackground) !important;
    border-color: var(--tableBorderColor) !important;
}

    .rz-data-grid table thead {
        border-bottom: 1px solid var(--tableHeaderBorderColor) !important;
    }

    .rz-data-grid table th {
        background: var(--tableHeaderBackground);
        border-bottom: 1px solid var(--tableHeaderBorderColor) !important;
        border-right: 1px solid var(--tableHeaderBorderColor) !important;
    }

        .rz-data-grid table th:last-child {
            border-right: none !important;
        }

        .rz-data-grid table th .rz-column-title {
            color: var(--tableHeaderText);
        }

    .rz-data-grid table tr:not(.rz-expanded-row-content):nth-child(odd) > td {
        background: none;
    }

    .rz-data-grid table tr:not(.rz-expanded-row-content):nth-child(even) > td {
        background: var(--tableRowAltBackground);
    }

    .rz-data-grid .rz-column-title-content {
        font-size: 12px;
        font-weight: bold;
    }

    .rz-data-grid .rz-column-resizer:hover::after {
        background-color: var(--accent);
    }

    .rz-data-grid tr {
        border-color: var(--tableBorderColor) !important;
    }

    .rz-data-grid td {
        background: var(--tableBackground);
        border-bottom: 1px solid var(--tableBorderColor) !important;
        border-right: 1px solid var(--tableBorderColor) !important;
    }

        .rz-data-grid td:last-child {
            border-right: none !important;
        }

    .rz-data-grid td,
    .rz-data-grid .rz-cell-data {
        transition: none !important;
        border-color: var(--tableBorderColor) !important;
        color: var(--tableText) !important;
    }

    /* Column filters fill their header cell (the cell's borders frame them, so the box has none of its own) */
    .rz-data-grid th .rz-cell-filter {
        padding: 0 !important;
    }

    .rz-data-grid th .rz-cell-filter-content,
    .rz-data-grid th .rz-cell-filter-label {
        width: 100%;
        border: none !important;
        border-radius: 0 !important;
    }

    .rz-data-grid th .rz-cell-filter input {
        height: 100%;
        border: none !important;
        border-radius: 0 !important;
        padding: 0 8px;
    }

        .rz-data-grid th .rz-cell-filter input:focus {
            box-shadow: inset 0 0 0 1px var(--inputBorderHighlight) !important;
        }

.rz-data-row:hover td {
    background: var(--tableBackgroundHover) !important;
    transition: none !important;
}

.rz-data-row.rz-state-highlight td {
    border-bottom: 1px solid var(--tableRowSelectedBorder);
    background: var(--tableRowSelectedBackground) !important;
    color: var(--tableRowSelectedText) !important;
}

.rz-data-row.rz-state-highlight .rz-cell-data,
.rz-data-row.rz-state-highlight .rz-cell-data a {
    color: var(--tableRowSelectedText) !important;
}

    .rz-data-row.rz-state-highlight .rz-cell-data a:hover {
        color: var(--accent) !important;
    }


.rz-numeric {
    border-radius: 0;
}

.rz-numeric-button .rz-numeric-button-icon {
    color: var(--textDark) !important;
}

.rz-numeric-button:hover .rz-numeric-button-icon {
    color: var(--accentLight) !important;
}

.rz-numeric.rz-state-disabled .rz-numeric-button {
    cursor: not-allowed;
}

    .rz-numeric.rz-state-disabled .rz-numeric-button .rz-numeric-button-icon {
        color: var(--inputTextDisabled) !important;
    }


.rz-switch .rz-switch-circle {
    background: var(--textVeryLight);
}

.rz-switch.rz-switch-checked .rz-switch-circle {
    background: var(--accentVeryLight);
}

.rz-switch .rz-switch-circle::before {
    background: var(--textLight);
}

.rz-switch.rz-switch-checked .rz-switch-circle::before {
    background: var(--accent);
}

.rz-switch.rz-switch-checked .rz-switch-circle:hover:not(.rz-disabled):before {
    box-shadow: none;
}

/* A disabled switch is grey whether it's on or off (only the knob's side shows its value), so a
   disabled "on" switch doesn't look like an enabled one */
.rz-switch.rz-state-disabled .rz-switch-circle,
.rz-switch.rz-state-disabled.rz-switch-checked .rz-switch-circle {
    background: var(--inputBorderDisabled);
    opacity: 1;
    cursor: not-allowed;
}

    .rz-switch.rz-state-disabled .rz-switch-circle::before,
    .rz-switch.rz-state-disabled.rz-switch-checked .rz-switch-circle::before {
        background: var(--inputTextDisabled);
        box-shadow: none;
    }


.rz-menu {
    background: var(--panelBackground) !important;
    color: var(--accent);
    padding-left: 10px !important;
}

.rz-navigation-item-link,
.rz-navigation-item-text,
.rz-navigation-item-icon {
    color: inherit !important;
}

.rz-menu > .rz-navigation-item > .rz-navigation-item-wrapper > .rz-navigation-item-link {
    border-right: 1px solid var(--borderColorLight);
    padding-right: 20px;
    margin-right: 10px;
}

.rz-navigation-item-link:hover {
    color: var(--accentLight) !important;
}

.rz-navigation-item-text {
    font-size: 12px;
}

.rz-navigation-item-icon {
    font-size: 16px;
}

.rz-navigation-item-icon-children {
    font-size: 18px;
    margin-left: 10px;
}


.rz-listbox {
    padding: 0;
    background: var(--panelItemBackground);
    border: 1px solid var(--borderColor);
    border-radius: 0;
}

    .rz-listbox:focus {
        border: 1px solid var(--borderColor) !important;
        outline: none !important;
        box-shadow: none !important;
    }

.rz-listbox-header {
    border-bottom: 1px solid var(--borderColor);
}

    .rz-listbox-header .rz-chkbox-box {
        background: var(--panelBackground);
        border-color: var(--borderColorDark);
    }

        .rz-listbox-header .rz-chkbox-box.rz-state-active {
            background: var(--accent);
            color: #fff;
        }

.rz-listbox li {
    padding: 3px 15px;
    border-bottom: 1px solid var(--borderColorLight);
    font-size: 15px;
    color: var(--textDark);
}

    .rz-listbox li:hover {
        background: var(--panelItemBackgroundHover);
        color: var(--textDark);
    }

    .rz-listbox li.rz-state-highlight {
        background: var(--accent) !important;
        border-bottom: 1px solid var(--accentDark) !important;
        color: #fff !important;
    }

    .rz-listbox li .rz-chkbox-box {
        background: var(--panelBackground);
        border-color: var(--borderColorDark);
    }

    .rz-listbox li.rz-state-highlight .rz-chkbox-box {
        background: var(--accent);
        color: #fff;
    }


.rz-datepicker-popup-container {
    background: var(--panelBackground) !important;
}

.rz-calendar {
    background: none !important;
}

.rz-calendar-header {
    background: var(--panelBackgroundMedium) !important;
    margin-bottom: 10px;
}

    .rz-calendar-header .rz-button {
        background: var(--accent) !important;
        color: #fff !important;
        border-radius: 0;
    }

        .rz-calendar-header .rz-button:hover {
            background: var(--accentLight) !important;
            color: #fff !important;
        }

        .rz-calendar-header .rz-button .rzi {
            color: #fff !important;
        }

.rz-calendar-view {
    border: 1px solid var(--borderColor);
}

    .rz-calendar-view td {
        padding: 0 !important;
    }

        .rz-calendar-view td > span {
            width: 100% !important;
            height: 100% !important;
        }

        .rz-calendar-view td .rz-state-default {
            color: var(--textDark) !important;
            transition: none;
        }

            .rz-calendar-view td .rz-state-default:hover {
                color: var(--accent) !important;
                background: var(--panelBackgroundMedium) !important;
                border-radius: 0 !important;
            }

            .rz-calendar-view td .rz-state-default.rz-calendar-today {
                color: var(--textDark) !important;
                background: none !important;
                border-radius: 0 !important;
                border: 1px solid var(--accent) !important;
            }

        .rz-calendar-view td .rz-state-active,
        .rz-calendar-view td .rz-state-active.rz-calendar-today {
            color: #fff !important;
            background: var(--accent) !important;
            border-radius: 0 !important;
        }

            .rz-calendar-view td .rz-state-active:hover {
                color: #fff !important;
                background: var(--accentLight) !important;
                border-radius: 0 !important;
            }

        .rz-calendar-view td.rz-calendar-other-month {
            background: var(--panelBackgroundDark) !important;
        }

        .rz-calendar-view td .rz-calendar-other-month {
            color: var(--textMild) !important;
        }

.rz-timepicker .rz-ampm-picker span {
    color: var(--textDark) !important;
}


.rz-timepicker > .rz-button {
    background: var(--accent) !important;
    color: #fff !important;
    border-radius: 0;
}

    .rz-timepicker > .rz-button:hover {
        background: var(--accentLight) !important;
        color: #fff !important;
    }


.rz-datepicker {
    border-radius: 0 !important;
}

    .rz-datepicker input {
        font-size: 14px !important;
        border-radius: 0 !important;
    }

    .rz-datepicker .rz-button-icon-left {
        color: var(--textMild);
    }

        .rz-datepicker .rz-button-icon-left:hover {
            color: var(--inputTextHighlight);
        }

    .rz-datepicker.rz-state-disabled .rz-button-icon-left {
        color: var(--textLight);
    }

        .rz-datepicker.rz-state-disabled .rz-button-icon-left:hover {
            color: var(--textLight);
        }


/* Styles/forms.css */

/* Inputs and textareas (TrakHound and Radzen components) */


.text-box input,
textarea,
.spin-edit input,
.rz-numeric,
.rz-numeric input,
.rz-datepicker input,
.rz-autocomplete input,
.rz-textbox {
    background: var(--inputBackground) !important;
    border-color: var(--inputBorder) !important;
    color: var(--inputText) !important;
}

    .text-box input:hover,
    textarea:hover,
    .rz-numeric:hover,
    .rz-numeric:hover input,
    .rz-datepicker input:hover,
    .rz-autocomplete input:hover,
    .spin-edit input:hover {
        background: var(--inputBackgroundHover) !important;
        border-color: var(--inputBorderHover) !important;
        color: var(--inputTextHover) !important;
    }

    .text-box input:focus,
    textarea:focus,
    .rz-numeric:focus,
    .rz-numeric input:focus,
    .rz-datepicker input:focus,
    .rz-autocomplete input:focus,
    .spin-edit input:focus {
        background: var(--inputBackgroundHighlight) !important;
        border-color: var(--inputBorderHighlight) !important;
        color: var(--inputTextHighlight) !important;
        box-shadow: inset 0px 0px 1px 1px var(--accentLight) !important;
        outline: none;
    }

    /* Disabled inputs drop to the panel background with a dashed border and muted text, so they
       don't read as editable next to enabled ones (listed after :hover so hovering doesn't light them up) */
    .text-box input.disabled,
    .text-box input:disabled,
    textarea.disabled,
    textarea:disabled,
    .rz-textbox:disabled,
    .rz-textbox.rz-state-disabled,
    .rz-numeric.rz-state-disabled,
    .rz-datepicker.rz-state-disabled input,
    .rz-autocomplete input:disabled,
    .spin-edit input.disabled,
    .spin-edit input:disabled {
        background: var(--inputBackgroundDisabled) !important;
        border-color: var(--inputBorderDisabled) !important;
        border-style: dashed !important;
        color: var(--inputTextDisabled) !important;
        box-shadow: none !important;
        cursor: not-allowed;
    }

    /* The input inside a numeric has no border of its own (the numeric draws it) */
    .rz-numeric.rz-state-disabled input {
        background: transparent !important;
        color: var(--inputTextDisabled) !important;
        cursor: not-allowed;
    }

/* Placeholder text (all inputs, textareas and Radzen inputs) */
:root {
    --rz-input-placeholder-color: var(--inputPlaceholder);
    --rz-input-disabled-placeholder-color: var(--inputPlaceholderDisabled);
}

input::placeholder,
textarea::placeholder {
    color: var(--inputPlaceholder);
    opacity: 1;
}

input:hover::placeholder,
textarea:hover::placeholder {
    color: var(--inputPlaceholderHover);
}

input:focus::placeholder,
textarea:focus::placeholder {
    color: var(--inputPlaceholderHighlight);
}

input:disabled::placeholder,
textarea:disabled::placeholder,
input.disabled::placeholder,
textarea.disabled::placeholder {
    color: var(--inputPlaceholderDisabled);
}


/* Dropdowns : a native select (.form-select) looks the same as a Radzen dropdown (radzen.css).
   .dropdown-sm makes either one compact, for toolbars and table cells */

.form-select {
    height: 38px;
    max-width: 100%;
    padding: 0 32px 0 15px;
    font-size: 14px;
    line-height: 36px;
    color: var(--inputText);
    background-color: var(--inputBackground);
    /* The chevron, drawn with gradients so it takes the theme's text color */
    background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
    background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%;
    background-size: 5px 5px;
    background-repeat: no-repeat;
    border: 1px solid var(--inputBorder);
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    text-overflow: ellipsis;
}

    .form-select:hover {
        color: var(--inputTextHover);
        background-color: var(--inputBackgroundHover);
        border-color: var(--inputBorderHover);
    }

    .form-select:focus {
        color: var(--inputTextHighlight);
        background-color: var(--inputBackgroundHighlight);
        border-color: var(--inputBorderHighlight);
        box-shadow: inset 0px 0px 1px 1px var(--accentLight);
    }

    .form-select:disabled {
        color: var(--inputTextDisabled);
        background-color: var(--inputBackgroundDisabled);
        border: 1px dashed var(--inputBorderDisabled);
        box-shadow: none;
        cursor: not-allowed;
    }

    .form-select option {
        color: var(--textDark);
        background: var(--panelItemBackground);
    }

.form-select.dropdown-sm {
    height: 30px;
    padding: 0 26px 0 8px;
    font-size: var(--fontSizeSm, 12px);
    line-height: 28px;
    background-position: calc(100% - 14px) 50%, calc(100% - 9px) 50%;
}

.rz-dropdown.dropdown-sm {
    height: 30px !important;
    padding: 0 20px 0 8px;
    font-size: var(--fontSizeSm, 12px);
}

    .rz-dropdown.dropdown-sm .rz-dropdown-label {
        line-height: 28px;
        font-size: var(--fontSizeSm, 12px);
    }

    .rz-dropdown.dropdown-sm .rz-dropdown-trigger,
    .rz-dropdown.dropdown-sm .rz-dropdown-trigger-icon {
        height: 28px !important;
        line-height: 28px !important;
        padding-top: 0;
    }


/* Styles/reconnection.css */

/* Reconnection Toast (ReconnectionPanel) : class selectors only, so they don't apply to other panels that use the #reconnection-panel ID (ex. the Instance Disconnection Page) */

.reconnection-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(0, 0, 0, 0.35);
    -webkit-backdrop-filter: grayscale(0.6);
    backdrop-filter: grayscale(0.6);
}

.reconnection-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    width: min(420px, calc(100% - 32px));
    padding: 16px 18px;
    color: #fff;
    text-align: left;
    background: rgba(20, 24, 30, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.5), 0 2px 6px rgba(0, 0, 0, 0.25);
    transform: translateX(-50%);
    animation: reconnectionToastIn 0.25s ease-out;
}

.reconnection-toast-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-size: 1rem;
    color: #ffc078;
    border: 1px solid rgba(255, 176, 77, 0.45);
    border-radius: 50%;
    background: rgba(255, 176, 77, 0.12);
}

    .reconnection-toast-icon .icon-reconnecting {
        display: none;
        animation: reconnectionSpin 0.8s linear infinite;
    }

.reconnection-overlay[data-state="reconnecting"] .reconnection-toast-icon .icon-disconnected {
    display: none;
}

.reconnection-overlay[data-state="reconnecting"] .reconnection-toast-icon .icon-reconnecting {
    display: inline-block;
}

.reconnection-overlay[data-state="offline"] .reconnection-toast-icon {
    color: #ff9a9a;
    border-color: rgba(255, 120, 120, 0.45);
    background: rgba(255, 99, 99, 0.12);
}

.reconnection-toast-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

    .reconnection-toast-content .title {
        font-size: 0.875rem;
        font-weight: bold;
        line-height: 1.4;
    }

    .reconnection-toast-content .description {
        margin-bottom: 8px;
        font-size: 0.8125rem;
        color: rgba(255, 255, 255, 0.7);
    }

    .reconnection-toast-content .label {
        font-size: 0.875rem;
        font-variant-numeric: tabular-nums;
    }

    .reconnection-toast-content .since {
        font-size: 0.75rem;
        color: rgba(255, 255, 255, 0.55);
    }

        .reconnection-toast-content .label:empty,
        .reconnection-toast-content .since:empty {
            display: none;
        }

    .reconnection-toast-content .buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 12px;
    }

.reconnection-toast-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 12px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
}

    .reconnection-toast-button:hover {
        border-color: rgba(255, 255, 255, 0.35);
        background: rgba(255, 255, 255, 0.12);
    }

    .reconnection-toast-button:focus-visible {
        outline: 2px solid #cce6ff;
        outline-offset: 2px;
    }

    .reconnection-toast-button.primary {
        border-color: transparent;
        background: #1a8cff;
    }

        .reconnection-toast-button.primary:hover {
            background: #0079f2;
        }

@keyframes reconnectionToastIn {
    from {
        opacity: 0;
        transform: translate(-50%, 8px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@keyframes reconnectionSpin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .reconnection-toast,
    .reconnection-toast-icon .icon-reconnecting {
        animation: none;
    }
}

@media (max-width: 480px) {
    .reconnection-toast {
        bottom: 16px;
        padding: 14px;
    }
}


/* Styles/global.css */

/* Page-wide rules and animations */

body {
    scrollbar-color: var(--borderColor) var(--borderColorVeryLight);
    scrollbar-width: thin;
}

h1:focus {
    outline: none;
}

.spin {
    animation: spin 0.75s infinite forwards linear;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
