/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-bfeuamebd7] {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #f4f6fa;
    font-family: 'Segoe UI', Roboto, sans-serif;
}

main[b-bfeuamebd7] {
    flex: 1;
    padding: 1.5rem;
}

.sidebar[b-bfeuamebd7] {
    background: rgba(10, 25, 47, 0.9);
    backdrop-filter: blur(10px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.top-row[b-bfeuamebd7] {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

    .top-row[b-bfeuamebd7]  a, .top-row[b-bfeuamebd7]  .btn-link {
        margin-left: 1.5rem;
        text-decoration: none;
        font-weight: 500;
        color: #333;
        transition: color 0.2s ease;
    }

        .top-row[b-bfeuamebd7]  a:hover {
            color: #0066ff;
        }

@media (max-width: 640.98px) {
    .top-row[b-bfeuamebd7] {
        justify-content: space-between;
    }

        .top-row[b-bfeuamebd7]  a, .top-row[b-bfeuamebd7]  .btn-link {
            margin-left: 0;
        }
}

@media (min-width: 641px) {
    .page[b-bfeuamebd7] {
        flex-direction: row;
    }

    .sidebar[b-bfeuamebd7] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-bfeuamebd7] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

        .top-row.auth[b-bfeuamebd7]  a:first-child {
            flex: 1;
            text-align: right;
            width: 0;
        }

    .top-row[b-bfeuamebd7], article[b-bfeuamebd7] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-bfeuamebd7] {
    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[b-bfeuamebd7] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.nav-item[b-5v0dhx0y8w] {
    font-size: 1rem;
    margin: 0.25rem 0;
    transition: all 0.2s ease;
}

    .nav-item[b-5v0dhx0y8w]  .nav-link {
        color: #d7d7d7;
        border-radius: 8px;
        padding: 0.75rem 1rem;
        display: flex;
        align-items: center;
        transition: all 0.2s ease;
    }

        .nav-item[b-5v0dhx0y8w]  .nav-link:hover {
            background: rgba(255, 255, 255, 0.15);
            transform: translateX(4px);
            color: #fff;
        }

    .nav-item[b-5v0dhx0y8w]  a.active {
        background: linear-gradient(135deg, #007bff, #00c6ff);
        color: white;
        box-shadow: 0 3px 10px rgba(0, 123, 255, 0.3);
    }

.sidebar-logo[b-5v0dhx0y8w] {
    max-height: 60px;
    margin: 1rem auto;
    display: block;
    border-radius: 12px;
}

.nav-header[b-5v0dhx0y8w] {
    font-size: 1.25rem;
    font-weight: bold;
    text-align: center;
    color: #fff;
    margin-bottom: 1rem;
}

.navbar-brand[b-5v0dhx0y8w] {
    font-size: 1.25rem;
    color: white;
    text-decoration: none;
}

/* /Components/Pages/Einsatz/DetailsEinsatz.razor.rz.scp.css */
/* =========================================================
   EINSATZSEITE
   ========================================================= */

.einsatz-page[b-45npzi87ax] {
    height: calc(100vh - 110px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}


/* =========================================================
   HEADER
   ========================================================= */

.einsatz-header[b-45npzi87ax] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 12px 12px 0 0;
}

.einsatz-title[b-45npzi87ax] {
    font-size: 1.25rem;
    font-weight: 600;
}

.einsatz-subtitle[b-45npzi87ax] {
    margin-top: 2px;
    color: #6c757d;
}

.einsatz-actions[b-45npzi87ax] {
    display: flex;
    gap: 8px;
}


/* =========================================================
   TABS
   ========================================================= */

.einsatz-tabs[b-45npzi87ax] {
    display: flex;
    padding: 0 12px;
    background: #fff;
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}

.einsatz-tab[b-45npzi87ax] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 13px 18px;
    border: 0;
    border-bottom: 3px solid transparent;
    background: transparent;
    color: #6c757d;
    font-weight: 500;
    transition: background-color 0.15s ease, color 0.15s ease;
}

    .einsatz-tab:hover[b-45npzi87ax] {
        background: #f8f9fa;
        color: #212529;
    }

    .einsatz-tab.active[b-45npzi87ax] {
        border-bottom-color: #0d6efd;
        color: #0d6efd;
    }

.tab-badge[b-45npzi87ax] {
    padding: 2px 7px;
    border-radius: 12px;
    background: #6c757d;
    color: #fff;
    font-size: 0.7rem;
}


/* =========================================================
   TAB-INHALT
   ========================================================= */

.einsatz-content[b-45npzi87ax] {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-top: 0;
    border-radius: 0 0 12px 12px;
}


/* =========================================================
   DASHBOARD
   ========================================================= */

.dashboard-container[b-45npzi87ax] {
    display: grid;
    grid-template-columns: repeat(4, minmax(200px, 1fr));
    gap: 16px;
    height: 100%;
    padding: 20px;
    overflow-y: auto;
}

.dashboard-card[b-45npzi87ax] {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 110px;
    padding: 20px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 12px;
}

.dashboard-card-icon[b-45npzi87ax] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #f1f3f5;
    font-size: 1.3rem;
}

.dashboard-value[b-45npzi87ax] {
    font-size: 1.5rem;
    font-weight: 600;
}

.dashboard-label[b-45npzi87ax] {
    color: #6c757d;
}


/* =========================================================
   KARTE
   ========================================================= */

.karte-container[b-45npzi87ax] {
    width: 100%;
    height: 100%;
}


/* =========================================================
   MESSPUNKTE
   ========================================================= */

.messpunkte-container[b-45npzi87ax] {
    height: 100%;
    padding: 20px;
    overflow-y: auto;
}

.messpunkte-toolbar[b-45npzi87ax] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

    .messpunkte-toolbar h4[b-45npzi87ax] {
        margin: 0;
    }


/* Messpunkt */

.messpunkt-header[b-45npzi87ax] {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 10px;
}

.messpunkt-header-icon[b-45npzi87ax] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f1f3f5;
    color: #6c757d;
}

.messpunkt-header-content[b-45npzi87ax] {
    flex: 1;
    min-width: 0;
}

.messpunkt-name[b-45npzi87ax] {
    font-weight: 600;
    line-height: 1.2;
}

.messpunkt-type[b-45npzi87ax] {
    margin-top: 2px;
    color: #6c757d;
    font-size: 0.75rem;
}

.messpunkt-actions[b-45npzi87ax] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0 12px;
    border-bottom: 1px solid #dee2e6;
}

    .messpunkt-actions .btn:last-child[b-45npzi87ax] {
        margin-left: auto;
    }


/* =========================================================
   MESSUNGEN
   ========================================================= */

.messungen-section[b-45npzi87ax] {
    padding-top: 12px;
}

.messungen-header[b-45npzi87ax] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    color: #495057;
    font-size: 0.9rem;
    font-weight: 600;
}

.messungen-list[b-45npzi87ax] {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.messung-row[b-45npzi87ax] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
}

.messung-icon[b-45npzi87ax] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
}

.messung-content[b-45npzi87ax] {
    flex: 1;
    min-width: 0;
}

.messung-title[b-45npzi87ax] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.messung-date[b-45npzi87ax] {
    color: #6c757d;
    font-size: 0.8rem;
    white-space: nowrap;
}

.messung-comment[b-45npzi87ax] {
    margin-top: 2px;
    overflow: hidden;
    color: #6c757d;
    font-size: 0.8rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.messung-edit[b-45npzi87ax] {
    flex: 0 0 auto;
}

.messungen-empty[b-45npzi87ax] {
    padding: 10px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    color: #6c757d;
    font-size: 0.85rem;
}


/* =========================================================
   EINSATZPARAMETER
   ========================================================= */

.parameter-container[b-45npzi87ax] {
    height: 100%;
    padding: 24px;
    overflow-y: auto;
}

.parameter-card[b-45npzi87ax] {
    max-width: 1800px;
    padding: 24px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 12px;
}

.parameter-header[b-45npzi87ax] {
    margin-bottom: 24px;
}


/* =========================================================
   KARTEN-MARKER
   ========================================================= */

/* Gemeinsamer Marker-Container */
.custom-marker[b-45npzi87ax] {
    position: relative;
    z-index: 1000;
    width: 0;
    height: 0;
    cursor: pointer;
}


/* Messpunkt */
.marker-circle[b-45npzi87ax] {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: 2px solid black;
    border-radius: 50%;
    transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}


/* Einsatzort */
.marker-circle-einsatzort[b-45npzi87ax] {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    transform: translate(-50%, -50%);
    background-color: rgba(50, 255, 5, 0.8);
    border: 2px solid black;
    border-radius: 50%;
}


/* Messpunkt Hover */
.custom-marker:hover .marker-circle[b-45npzi87ax] {
    transform: translate(-50%, -50%) scale(1.4);
    background-color: red;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.8);
}


/* Marker-Beschriftung */
.marker-label[b-45npzi87ax] {
    position: absolute;
    top: -10px;
    left: 4px;
    padding: 1px 4px;
    color: black;
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}


/* Syncfusion Marker klickbar machen */
.e-maps-marker[b-45npzi87ax],
.e-maps-marker *[b-45npzi87ax] {
    pointer-events: auto !important;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

    .dashboard-container[b-45npzi87ax] {
        grid-template-columns: repeat(2, minmax(200px, 1fr));
    }

    .einsatz-tab[b-45npzi87ax] {
        padding: 12px 14px;
    }
}


@media (max-width: 700px) {

    .einsatz-page[b-45npzi87ax] {
        height: calc(100vh - 90px);
    }

    .einsatz-header[b-45npzi87ax] {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .einsatz-tabs[b-45npzi87ax] {
        overflow-x: auto;
    }

    .einsatz-tab[b-45npzi87ax] {
        flex: 0 0 auto;
        padding: 11px 12px;
    }

    .dashboard-container[b-45npzi87ax] {
        grid-template-columns: 1fr;
    }

    .messpunkte-toolbar[b-45npzi87ax] {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    
}
/* /Components/Pages/Einsatz/Dialoge/MesspunktKarteDialog.razor.rz.scp.css */
.marker[b-ge4nj3ttnt] {
    width: 20px;
    height: 20px;
    background: red;
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 0 8px black;
}
/* /Components/Pages/Einsatz/Dialoge/MesspunktObjektDialog.razor.rz.scp.css */
.messpunkt-item[b-mw62l8lj3h] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 8px;
}

.messpunkt-icon[b-mw62l8lj3h] {
    width: 25px;
    text-align: center;
    font-size: 18px;
}
/* /Components/Pages/Einsatz/Dialoge/MesspunktRegioMesspunktDialog.razor.rz.scp.css */
.regio-item[b-qn2eybead9] {
    cursor: pointer;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

    .regio-item:hover[b-qn2eybead9] {
        background: #f8f9fa;
    }

.map-marker[b-qn2eybead9] {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #0d6efd;
    border: 3px solid white;
    box-shadow: 0 0 5px rgba(0,0,0,.4);
    cursor: pointer;
}

    .map-marker.selected[b-qn2eybead9] {
        background: #dc3545;
        transform: scale(1.5);
    }
/* /Components/Pages/ViewMessgruppen.razor.rz.scp.css */
/* /Components/Pages/ViewRegioMesspunkte.razor.rz.scp.css */
/* Marker wird exakt auf GPS Punkt zentriert */
.custom-marker[b-a3qnzkp7ss] {
    position: relative;
    width: 0;
    height: 0;
    cursor: pointer;
    z-index: 1000;
}

/* eigentlicher GPS-Punkt */
.marker-circle[b-a3qnzkp7ss] {
    position: absolute;
    width: 20px;
    height: 20px;
    left: 0;
    top: 0;
    transform: translate(-50%, -50%);
    background-color: rgba(255,255,255,0.8);
    border: 2px solid black;
    border-radius: 50%;
    transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}


.custom-marker:hover .marker-circle[b-a3qnzkp7ss] {
    transform: translate(-50%, -50%) scale(1.4);
    background-color: red;
    box-shadow: 0 0 10px rgba(255,0,0,.8);
}


/* Beschriftung unabhängig vom Marker */
.marker-label[b-a3qnzkp7ss] {
    position: absolute;
    left: 4px;
    top: -10px;
    white-space: nowrap;
    font-size: 14px;
    font-weight: bold;
    color: black;
    pointer-events: none;
    user-select: none;
    /* background-color: rgba(255,255,255,.7); */
    padding: 1px 4px;
    border-radius: 3px;
}


/* Syncfusion Klick erlauben */
.e-maps-marker[b-a3qnzkp7ss],
.e-maps-marker *[b-a3qnzkp7ss] {
    pointer-events: auto !important;
}
