﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html, body {
    height: 100%;
    overflow-x: hidden; 
    overflow-y: auto;
}


.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.button-link {
    text-decoration: unset;
}

#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;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 0.625rem;
}

.title.title-secondary {
    padding-top: 0.313rem;
    padding-bottom: 0;
    color: var(--bs-secondary-color, var(--DS-color-content-neutral-default-rest));
}

.title-header-text {
    font-size: 2.5rem;
    line-height: 3rem;
    font-weight: 600;
    letter-spacing: 0rem;
    padding: 0.3125rem 0;
}

.title-content-text {
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 2.5rem;
    letter-spacing: 0rem;
}

.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.block-content {
    width: 31.25rem;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    max-width: 100%;
}

.icon {
    width: var(--icon-width);
    height: var(--icon-height);
    background-color: currentcolor;
    mask-position: center center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-image: var(--icon-mask-image);
    mask-image: var(--icon-mask-image);
}

/* ===========================
   DEBUG: Syncfusion FileManager
   =========================== */

#DokuFileManager.e-filemanager .e-address .e-addressbar-ul {
    display: none;
}

.fm-toolbar {
    max-width: 520px;
}

.fm-search-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fm-searchbox {
    width: 360px;
}

.fm-search-button {
    white-space: nowrap;
}

/* 🔑 DAS ist der Abstand zum FileManager */
.fm-container {
    margin-top: 16px; /* oder 24px, je nach Geschmack */
}
.fm-validation-icon {
    display: flex;
    align-items: center;
    font-size: 1rem;
    margin-left: 0.5rem;
}

.fm-valid {
    color: #198754; /* Bootstrap success */
}

.fm-invalid {
    color: #dc3545; /* Bootstrap danger */
}


.e-filemanager .e-list-icon {
    width: 20px;
    height: 20px;
}

.e-filemanager .e-list-text {
    font-weight: 500;
}
/* 1️⃣ Standard: Suchfeld überall ausblenden */
.e-filemanager .e-address .e-search-wrap {
    display: none;
}

/* 2️⃣ Ausnahme: bei DokuFileManager wieder anzeigen */
#DokuFileManager .e-address .e-search-wrap {
    display: flex; /* oder block – je nach Layout */
}


.pc-card {
    transition: border-color 0.2s ease, color 0.2s ease;
}

    .pc-card .pc-icon {
        color: #6c757d; /* fallback grau */
    }

    /* Online */
    .pc-card.pc-online .pc-icon {
        color: #28a745; /* grün */
    }

    /* Offline / Aus */
    .pc-card.pc-offline .pc-icon {
        color: #dc3545; /* rot */
    }

    .pc-card .status-text {
        font-size: 0.9rem;
        color: #6c757d;
    }

    /* SVG-spezifische Regeln - direkt auf svg setzen */
    .pc-card .card-icon svg.pc-icon {
        color: #6c757d;
        stroke: currentColor; /* explizit setzen */
    }

    .pc-card.pc-offline .card-icon svg.pc-icon {
        color: #dc3545;
        stroke: currentColor;
    }

    .pc-card.pc-online .card-icon svg.pc-icon {
        color: #28a745;
        stroke: currentColor;
    }
    /* Wird gestartet */
    .pc-card.pc-starting .pc-icon {
        color: #ffc107; /* gelb */
    }

    .pc-card.pc-starting .card-icon svg.pc-icon {
        color: #ffc107;
        stroke: currentColor;
    }

    .pc-card.pc-starting .status-text strong {
        color: #ffc107;
    }

.user-role-text {
    font-size: 0.85rem;
    opacity: 0.9;
}

.user-role-admin {
    color: #dc3545; /* Bootstrap danger rot */
    font-weight: 600;
}

::deep .icon {
    width: 1.25rem;
    height: 1.25rem;
    display: inline-block;
    background-color: currentColor;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    margin-left: 0.5rem;
}

.twofa-status-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.flexGrid {
    position: relative;
}

.fab {
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Toolbar leicht abgesetzt und elegant hervorgehoben */
.flexGrid .dx-toolbar {
    background-color: #f9fafb; /* sehr helles Grau als Hintergrund */
    border-bottom: 1px solid #d1d5db; /* dezenter, grauer Rahmen */
    padding: 0.25rem 0.5rem; /* Innenabstand für Luft um Buttons */
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); /* leichter Schatten */
}

    /* Alle Toolbar-Buttons sanft hervorheben beim Hover */
    .flexGrid .dx-toolbar .dx-toolbar-item {
        transition: background-color 0.2s ease, color 0.2s ease;
        border-radius: 4px; /* sanfte abgerundete Ecken */
    }

        /* Hover-Effekt: leichtes Blau, Textfarbe etwas dunkler */
        .flexGrid .dx-toolbar .dx-toolbar-item:hover {
            background-color: #e6f0ff; /* sehr dezentes Hellblau */
            color: #1e40af; /* dunkleres Blau für den Text */
        }

        /* Optional: Icons ein bisschen größer für bessere Sichtbarkeit */
        .flexGrid .dx-toolbar .dx-toolbar-item .dx-icon {
            font-size: 1.1rem;
            margin-right: 0.25rem;
        }
