﻿html {
    scrollbar-gutter: stable;
}

.dialog-no-backdrop {
    display: none;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    opacity: 0;
    animation: blazor-error-show 0s ease-in 1s forwards;
}

@keyframes blazor-error-show {
    to {
        opacity: 1;
    }
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.validation-message {
    color: red;
}

.text-brand {
    color: #154EC2;
}

.pointer {
    cursor: pointer;
}

/* width */
::-webkit-scrollbar {
    width: 8px;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: Silver;
    border-radius: 10px;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #32a0e5;
    }

.imageLink {
    background: rgba(255, 50, 50, 0.30);
}

.slow-rellax {
    outline: 6px solid rgba(255, 140, 18, .5);
    outline-offset: -6px;
}

.imageLink:hover {
    outline: 6px solid rgba(150, 50, 50, 0.5) !important;
    outline-offset: -6px;
}

    .imageLink:hover .linkIcon {
        display: block;
    }

.imageLinkIcon {
    background-color: rgba(0, 0, 0, 0);
}

.emags_image_container:hover .linkIcon {
    display: block;
}

.linkIcon {
    display: none;
}

.place-holder-component {
    border: 4px dashed #a8a8a8;
    border-radius: 10px;
    height: 90%;
    margin: auto;
}

.layout-example-column {
    border: 2px dashed #a8a8a8;
    border-radius: 5px;
}

.noselect {
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    user-select: none; /* Non-prefixed version, currently
								  supported by Chrome, Edge, Opera and Firefox */
}

.component{
    cursor: pointer;
}

.mud-drop-item, .mud-drop-container {
    touch-action: none !important;
}

/* Theme Editor dialog: constrained width, no padding/margin, matching te-card corner radius */
.te-dialog.mud-dialog {
    max-width: 1325px;
    border-radius: 10px;
    overflow: hidden;
    margin: 0;
}
.te-dialog .mud-dialog-content {
    padding: 0;
    margin: 0;
}

/* Job Management modal: large dialog with side margins so the underlying page (with semi-opaque backdrop) shows at the extreme left/right edges. */
.job-management-dialog.mud-dialog {
    width: calc(100vw - 96px);
    max-width: calc(100vw - 96px);
    height: calc(100vh - 64px);
    max-height: calc(100vh - 64px);
    margin: 32px 48px;
    display: flex;
    flex-direction: column;
}
.job-management-dialog .mud-dialog-content {
    flex: 1 1 auto;
    overflow: auto;
}
.job-management-dialog .mud-dialog-title {
    padding-top: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' -25, 'opsz' 24 !important;
}

.material-symbols-rounded {
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' -25, 'opsz' 24 !important;
}

.mud-list-item-text {
    user-select: text !important;
}