/* /Components/Layout/EmptyLayout.razor.rz.scp.css */
/* Schriftart global */
.layout-root[b-2bzesmda6z] {
    font-family: Arial, Helvetica, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Topbar �ber gesamte Breite */
.topbar[b-2bzesmda6z] {
    display: grid;
    grid-template-columns: 200px 1fr 120px;
    align-items: center;
    padding: 10px 16px;
    background: #0A4378; /* Polizei NRW Blau */
    color: #ffffff; /* wei�e Schrift */
    border-bottom: 2px solid #005CA9; /* optionaler Kontrast */
    z-index: 100;
}

.topbar-left[b-2bzesmda6z],
.topbar-right[b-2bzesmda6z] {
    display: flex;
    align-items: center;
}

.topbar-left[b-2bzesmda6z] {
    justify-content: flex-start;
}

.topbar-right[b-2bzesmda6z] {
    justify-content: flex-end;
}

.topbar-center[b-2bzesmda6z] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.logo[b-2bzesmda6z] {
    height: 50px;
    width: auto;
}

.badge[b-2bzesmda6z] {
    height: 50px;
    width: auto;
    opacity: .95;
}

.topbar-title[b-2bzesmda6z] {
    font-size: 1.1rem;
    font-weight: bold;
    color: #ffffff; /* Wei� f�r Haupttitel */
}

.topbar-subtitle[b-2bzesmda6z] {
    font-size: .85rem;
    color: #d9e2ec; /* helles Grau-Blau */
}

/* Body-Bereich unter der Topbar */
.body-area[b-2bzesmda6z] {
    flex: 1;
    display: grid;
    grid-template-columns: 260px 1fr; /* Sidebar links, Inhalt rechts */
}


/* Responsive */
@media (max-width: 900px) {

    .topbar[b-2bzesmda6z] {
        grid-template-columns: 1fr 60px; /* Logo links, Badge rechts */
    }

    .topbar-center[b-2bzesmda6z] {
        display: none;
    }
}

/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* Basis-Layout fr die ganze Seite */
.page[b-yv8obkurzs] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f0f2f5;
}

/* Container fr Seitenleiste und Hauptinhalt */
.main-body[b-yv8obkurzs] {
    display: grid;
    grid-template-columns: 0px 1fr; /* <<< HIER: Breite der Seitenleiste reduziert */
    flex: 1;
    gap: 0rem; /* Fgt einen Abstand zwischen Men und Inhalt hinzu */
    margin: 0 1rem; /* Richtet sich am Rand des Headers aus */
}

/* Haupt-Inhaltsbereich */
main[b-yv8obkurzs] {
    flex: 1;
    padding: 0rem;
    overflow-y: auto;
   
    border-radius: 15px; /* Abgerundete Ecken fr den Inhaltsbereich */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Leichter Schatten */
}

.content[b-yv8obkurzs] {
    width: 100%;
    max-width: 3840px;
}

/* Kopfzeile (unverndert) */
.app-header[b-yv8obkurzs] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #0a2e5a, #001f3f);
    color: white;
    border-bottom: 3px solid #d4a406;
    border-left: 3px solid #d4a406;
    border-right: 3px solid #d4a406;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border-radius: 15px 15px 15px 15px;
    margin: 1rem 1rem 0; /* <<< OBEREN Abstand des Mens entfernt */
    position: relative;
    z-index: 10;
    margin-bottom: 5px;
  
}

/* Rest der CSS-Datei bleibt wie zuvor... */

.logo-container[b-yv8obkurzs] {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

    .logo-container img[b-yv8obkurzs] {
        height: 50px;
        width: auto;
    }

    .logo-container.logo-right[b-yv8obkurzs] {
        justify-content: flex-end;
    }

.title-container[b-yv8obkurzs] {
    flex: 2;
    text-align: center;
}

    .title-container h1[b-yv8obkurzs] {
        margin: 0;
        font-size: 2.2rem;
        font-weight: 600;
        letter-spacing: 1px;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    }

    .title-container h2[b-yv8obkurzs] {
        margin: 0;
        font-size: 1.1rem;
        font-weight: 300;
        color: #e0e0e0;
        letter-spacing: 0.5px;
    }

.app-footer[b-yv8obkurzs] {
    text-align: center;
    padding: 1rem;
    font-size: 0.8rem;
    color: #6c757d;
    background-color: transparent;
    z-index: 1000;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-ebyqhw8iwk],
.components-reconnect-repeated-attempt-visible[b-ebyqhw8iwk],
.components-reconnect-failed-visible[b-ebyqhw8iwk],
.components-pause-visible[b-ebyqhw8iwk],
.components-resume-failed-visible[b-ebyqhw8iwk],
.components-rejoining-animation[b-ebyqhw8iwk] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-ebyqhw8iwk],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-ebyqhw8iwk],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-ebyqhw8iwk],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-ebyqhw8iwk],
#components-reconnect-modal.components-reconnect-retrying[b-ebyqhw8iwk],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-ebyqhw8iwk],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-ebyqhw8iwk],
#components-reconnect-modal.components-reconnect-failed[b-ebyqhw8iwk],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-ebyqhw8iwk] {
    display: block;
}


#components-reconnect-modal[b-ebyqhw8iwk] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-ebyqhw8iwk 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-ebyqhw8iwk 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-ebyqhw8iwk 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-ebyqhw8iwk]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-ebyqhw8iwk 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-ebyqhw8iwk {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-ebyqhw8iwk {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-ebyqhw8iwk {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-ebyqhw8iwk] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-ebyqhw8iwk] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-ebyqhw8iwk] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-ebyqhw8iwk] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-ebyqhw8iwk] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-ebyqhw8iwk] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-ebyqhw8iwk] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-ebyqhw8iwk 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-ebyqhw8iwk] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-ebyqhw8iwk {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
