html, body {
    background: var(--fc-background);
    color: var(--fc-text);
}

.pagetitle {
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--fc-text);
    text-align: left;
    margin-top: -1.5625rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.2px;
    display: block;
}

/*    .pagetitle::after {
        content: '';
        display: block;
        width: 100%;
        height: 0.125rem;
        margin-top: 0.3rem;
        background: linear-gradient(90deg, var(--fc-primary) 0%, var(--fc-primary) 18%, transparent 100%);
        border-radius: var(--fc-radius-sm);
    }*/



.pagetitle {
    position: relative;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    min-height: 3.25rem;
    padding: 0.5rem 1rem 0.5rem 0.75rem;
    color: var(--fc-text);
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: 0.01em;
    text-align: left;
    margin-top: -1.5625rem;
    margin-bottom: 0.5rem;
}

    /* Geometrischer Petrol-Akzent */
    .pagetitle::before {
        content: "";
        position: absolute;
        /*left: 0.65rem;*/
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 3px;
        height: 1.55rem;
        background: var(--fc-primary);
        clip-path: polygon( 0 4px, 100% 0, 100% calc(100% - 4px), 0 100% );
    }

    /* Dezente horizontale Trennlinie */
    .pagetitle::after {
        content: "";
        position: absolute;
        bottom: 0.35rem;
        left: 0;
        width: 100%;
        height: 1px;
        background: linear-gradient( 90deg, var(--fc-primary) 0%, var(--fc-primary) 18%, transparent 100% );
    }



.pagesubtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--fc-text);
    font-weight: 600;
}

.row {
    display: flex;
    column-gap: 1.5rem;
}

.blurred {
    filter: blur(5px);
    transition: filter 0.3s ease;
}

.screencenter {
    height: calc(100% - 2.5rem - 3.5rem);
    display: flex;
    align-items: center;
    justify-content: center;
}

.screenheight {
    height: calc(100% - 2.5rem - 3.5rem);
    display: flex;
}

/*.screenheight2 {
    height: calc(100% - 2.5rem);
}*/

.screenheight2 {
    height: calc(100% - 4rem);
    min-height: 0;
    /*overflow: hidden;*/
}

.screenheightmain {
    height: 70%;
}

.screenheightdetails {
    height: 30%;
    margin-top: 3rem;
}

.blinktext {
    animation: blink-animation 1s infinite step-start;
}

@keyframes blinktext {
    50% {
        opacity: 0.5;
    }
}

.blinktextred {
    background-color: transparent;
    color: red;
    border: none;
    background-image: unset;
    user-select: none;
    animation: blinktext 2s step-end infinite;
    display: unset;
    margin: unset;
}

.ml5 {
    margin-left: 0.3125rem;
}

.mt5 {
    margin-top: 0.3125rem;
}

.mt0 {
    margin-top: 0;
}

/*.cardwrapper {
    display: flex;
    flex-direction: column;
    height: calc(100% - 2.5rem);
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}*/

.cardwrapper {
    display: flex;
    flex-direction: column;
    height: calc(100% - 4rem);
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

.scrollablecardcontent {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    overflow: auto;
    /* Card content aligns horizontally with the page title. The GroupControl
       itself already reserves the vertical title area, so extra top padding
       only creates an oversized gap below the page title. */
    padding: 0 0 1rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem 1rem;
    align-content: flex-start;
}

.scrollablecardcontentHome {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    gap: 2rem 1rem;
}

.scrollablecardcontentHome2 {
    flex-grow: 1;
    flex-wrap: wrap;
    overflow-y: auto;
}

.cardfooter {
    flex: 0 0 auto;
    height: 2.6rem;
    box-sizing: border-box;
    border-top: 1px solid var(--fc-divider);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 0.25rem;
    padding: 0 1rem;
    /*padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 1.2rem;
    padding-bottom: 1rem;*/
}

.cardfooterbuttoncontainer {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.cardbodywrapper {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

.fcicon20 {
    width: 20px;
    height: 20px;
    object-fit: cover;
    vertical-align: middle;
}

.dialogtitle {
    font-size: 12px;
    color: var(--fc-text);
}

.bemerkungContainer {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.bemerkungInput {
    white-space: pre;
    border: 1px solid var(--fc-border);
    border-radius: 4px;
    min-height: 105px;
    padding-left: 8px;
    font-size: 12px;
    min-width: 0;
    width: 100%;
    cursor: text;
    background: var(--fc-surface-secondary);
    text-wrap: auto;
}

.bemerkungTitle {
    /*color: var(--fc-text);*/
    color: var(--fc-text-secondary);
    font-weight: 500;
    font-size: 12px;
    margin-top: 4px;
    margin-bottom: 2px;
    margin-left: 2px;
}

.disableGray {
    color: var(--fc-text-secondary);
}

.calculatebutton {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
    justify-content: center;
    font-size: 14px;
}

    .calculatebutton > img {
        width: 21px;
        height: 21px;
        margin-right: 5px;
    }

    .calculatebutton > span {
        color: #FF9595;
        font-weight: bold;
    }

.horizontalline {
    height: 1px;
    background-color: darkgray;
    width: 100%;
}

.verticalline {
    border-left: 1px solid darkgray;
}

.dashboardcomponent {
    height: 95%;
    width: 100%;
    overflow-x: auto;
    overflow-y: auto;
}

/* Blazor Reconnect-UI vollständig deaktivieren */
#components-reconnect-modal {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}







.palette-node {
    width: 100px;
    height: 60px;
    position: relative;
    border: 1px solid var(--fc-text-secondary);
    border-radius: 6px;
    background: #f8f9fa;
    box-sizing: border-box;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

.palette-icon {
    position: absolute;
    left: 4px;
    top: 2px;
    width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
}

.palette-text {
    position: absolute;
    left: 8px;
    right: 8px;
    top: 20px;
    bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 12px;
    color: #212529;
    overflow: hidden;
}

.invalid-field {
    border: 2px solid red !important;
    border-radius: 4px;
}

.e-float-input.e-input-group.e-disabled .e-float-text, .e-float-input.e-input-group.e-disabled .e-float-text.e-label-top, .e-float-input input[disabled] ~ label.e-float-text, .e-float-input input[disabled] ~ label.e-label-top.e-float-text, .e-float-input.e-disabled label.e-float-text, .e-float-input.e-disabled label.e-float-text.e-label-top, .e-float-input:not(.e-error) input[disabled] ~ label.e-float-text, .e-float-input:not(.e-error) input[disabled] ~ label.e-label-top.e-float-text, .e-float-input.e-small:not(.e-error) input[disabled] ~ label.e-float-text, .e-float-input.e-small:not(.e-error) input[disabled] ~ label.e-float-text.e-label-top, .e-float-input textarea[disabled] ~ label.e-float-text, .e-float-input textarea[disabled] ~ label.e-label-top.e-float-text, .e-float-input:not(.e-error) textarea[disabled] ~ label.e-float-text, .e-float-input:not(.e-error) textarea[disabled] ~ label.e-label-top.e-float-text, .e-float-input.e-small:not(.e-error) textarea[disabled] ~ label.e-float-text, .e-float-input.e-small:not(.e-error) textarea[disabled] ~ label.e-float-text.e-label-top, .e-float-input.e-control-wrapper.e-input-group.e-disabled .e-float-text, .e-float-input.e-control-wrapper.e-input-group.e-disabled .e-float-text.e-label-top, .e-float-input.e-control-wrapper.e-disabled input[disabled] ~ label.e-float-text, .e-float-input.e-control-wrapper.e-disabled input[disabled] ~ label.e-label-top.e-float-text, .e-float-input.e-control-wrapper input[disabled] ~ label.e-float-text, .e-float-input.e-control-wrapper input[disabled] ~ label.e-label-top.e-float-text, .e-float-input.e-control-wrapper.e-disabled label.e-float-text, .e-float-input.e-control-wrapper.e-disabled label.e-float-text.e-label-top, .e-float-input.e-control-wrapper:not(.e-error) input[disabled] ~ label.e-float-text, .e-float-input.e-control-wrapper:not(.e-error) input[disabled] ~ label.e-label-top.e-float-text, .e-float-input.e-control-wrapper.e-small:not(.e-error) input[disabled] ~ label.e-float-text, .e-float-input.e-control-wrapper.e-small:not(.e-error) input[disabled] ~ label.e-float-text.e-label-top, .e-float-input.e-control-wrapper.e-disabled:not(.e-error) input[disabled] ~ label.e-float-text, .e-float-input.e-control-wrapper.e-disabled:not(.e-error) input[disabled] ~ label.e-label-top.e-float-text, .e-float-input.e-control-wrapper.e-disabled.e-small:not(.e-error) input[disabled] ~ label.e-float-text, .e-float-input.e-control-wrapper.e-disabled.e-small:not(.e-error) input[disabled] ~ label.e-float-text.e-label-top, .e-float-input.e-control-wrapper.e-disabled textarea[disabled] ~ label.e-float-text, .e-float-input.e-control-wrapper.e-disabled textarea[disabled] ~ label.e-label-top.e-float-text, .e-float-input.e-control-wrapper textarea[disabled] ~ label.e-float-text, .e-float-input.e-control-wrapper textarea[disabled] ~ label.e-label-top.e-float-text, .e-float-input.e-control-wrapper:not(.e-error) textarea[disabled] ~ label.e-float-text, .e-float-input.e-control-wrapper:not(.e-error) textarea[disabled] ~ label.e-label-top.e-float-text, .e-float-input.e-control-wrapper.e-small:not(.e-error) textarea[disabled] ~ label.e-float-text, .e-float-input.e-control-wrapper.e-small:not(.e-error) textarea[disabled] ~ label.e-float-text.e-label-top, .e-float-input.e-control-wrapper.e-disabled:not(.e-error) textarea[disabled] ~ label.e-float-text, .e-float-input.e-control-wrapper.e-disabled:not(.e-error) textarea[disabled] ~ label.e-label-top.e-float-text, .e-float-input.e-control-wrapper.e-disabled.e-small:not(.e-error) textarea[disabled] ~ label.e-float-text, .e-float-input.e-control-wrapper.e-disabled.e-small:not(.e-error) textarea[disabled] ~ label.e-float-text.e-label-top {
    color: var(--fc-text-secondary)
}

:root {
    --color-sf-content-text-color-alt1: var(--fc-text);
}

.fullheight {
    height: 100% !important;
}

.fc-richtext-content {
    line-height: 1;
}

    .fc-richtext-content p {
        margin: 0;
    }

    .fc-richtext-content ul,
    .fc-richtext-content ol {
        margin-top: 2px;
        margin-bottom: 2px;
        padding-left: 20px;
    }

    .fc-richtext-content img {
        max-width: 100%;
        height: auto;
    }
