/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-8alo25dg0g] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-8alo25dg0g] {
    flex: 1;
}

.sidebar[b-8alo25dg0g] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-8alo25dg0g] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-8alo25dg0g]  a, .top-row[b-8alo25dg0g]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-8alo25dg0g]  a:hover, .top-row[b-8alo25dg0g]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-8alo25dg0g]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-8alo25dg0g] {
        justify-content: space-between;
    }

    .top-row[b-8alo25dg0g]  a, .top-row[b-8alo25dg0g]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-8alo25dg0g] {
        flex-direction: row;
    }

    .sidebar[b-8alo25dg0g] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-8alo25dg0g] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-8alo25dg0g]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-8alo25dg0g], article[b-8alo25dg0g] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-8alo25dg0g] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    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-8alo25dg0g] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.modal-backdrop[b-8alo25dg0g] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal[b-8alo25dg0g] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 4px;
    padding: 1.5rem;
    z-index: 1001;
    min-width: 400px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.modal-footer[b-8alo25dg0g] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 1rem;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-z1oumfm4p3],
.components-reconnect-repeated-attempt-visible[b-z1oumfm4p3],
.components-reconnect-failed-visible[b-z1oumfm4p3],
.components-pause-visible[b-z1oumfm4p3],
.components-resume-failed-visible[b-z1oumfm4p3],
.components-rejoining-animation[b-z1oumfm4p3] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-z1oumfm4p3],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-z1oumfm4p3],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-z1oumfm4p3],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-z1oumfm4p3],
#components-reconnect-modal.components-reconnect-retrying[b-z1oumfm4p3],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-z1oumfm4p3],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-z1oumfm4p3],
#components-reconnect-modal.components-reconnect-failed[b-z1oumfm4p3],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-z1oumfm4p3] {
    display: block;
}


#components-reconnect-modal[b-z1oumfm4p3] {
    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-z1oumfm4p3 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-z1oumfm4p3 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-z1oumfm4p3 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-z1oumfm4p3]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-z1oumfm4p3 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-z1oumfm4p3 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-z1oumfm4p3 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-z1oumfm4p3 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-z1oumfm4p3] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-z1oumfm4p3] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-z1oumfm4p3] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-z1oumfm4p3] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-z1oumfm4p3] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-z1oumfm4p3] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-z1oumfm4p3] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-z1oumfm4p3 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-z1oumfm4p3] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-z1oumfm4p3 {
    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;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
kbd[b-xotcdsqqbb] {
    background-color: #0094BF;
}

.confirmation-card[b-xotcdsqqbb] {
    border: 1px solid #5D6F88;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.modal-backdrop[b-xotcdsqqbb] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal[b-xotcdsqqbb] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    color: #1a1a1a;
    border-radius: 4px;
    padding: 1.5rem;
    z-index: 1001;
    min-width: 400px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.modal-header[b-xotcdsqqbb] {
    margin-bottom: 1rem;
}

.modal-body ul[b-xotcdsqqbb] {
    margin: 0.5rem 0 1rem 0;
    padding-left: 1.25rem;
}

.modal-footer[b-xotcdsqqbb] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 1rem;
}

.status-message[b-xotcdsqqbb] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    margin-top: 0rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: opacity 0.4s ease, transform 0.3s ease;
    animation: fadeInSlide-b-xotcdsqqbb 0.3s ease forwards;
}

.status-success[b-xotcdsqqbb] {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.status-error[b-xotcdsqqbb] {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.modal-content.dialog-contact[b-xotcdsqqbb] {
    min-width: 350px;
    max-width: 500px;
}

label[b-xotcdsqqbb] {
    pointer-events: none;
}

    label.pointer-uid[b-xotcdsqqbb],
    label.pointer-justitia-swiss[b-xotcdsqqbb] {
        pointer-events: all;
    }

@keyframes fadeInSlide-b-xotcdsqqbb {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.captcha-icon[b-xotcdsqqbb] {
    transition: transform 0.2s ease;
}

.captcha-question[b-xotcdsqqbb] {
    transition: all 0.2s ease;
}

/* Desktop: CAPTCHA rechts ausgerichtet */
.captcha-container[b-xotcdsqqbb] {
    display: flex;
    justify-content: center;
}

.captcha-card[b-xotcdsqqbb] {
    max-width: 500px;
    width: 100%;
}

/* Tablet (≤768px): Zentriert, volle Breite */
@media (max-width: 768px) {
    .container[b-xotcdsqqbb], preliminary-remarks[b-xotcdsqqbb] {
        min-width: 600px;
        width: 600px;
    }

    .captcha-container[b-xotcdsqqbb] {
        justify-content: center;
    }

    .captcha-card[b-xotcdsqqbb] {
        max-width: 100%;
    }

    .modal[b-xotcdsqqbb] {
        min-width: 90vw; /* Modal-Dialoge auch responsive */
    }
}

/* Mobile (≤576px): Touch-optimiert */
@media (max-width: 576px) {
    .container[b-xotcdsqqbb], preliminary-remarks[b-xotcdsqqbb] {
        min-width: 400px;
        width: 400px;
    }

    .form-control[b-xotcdsqqbb] {
        font-size: 16px !important; /* Verhindert iOS Auto-Zoom */
        min-height: 44px; /* Apple's Touch-Target-Grösse */
    }

    .btn[b-xotcdsqqbb] {
        min-height: 44px;
        font-size: 16px;
    }
}

/* Mobile: Labels above inputs */
@media (max-width: 768px) {
    [b-xotcdsqqbb] .col-12.row.align-items-baseline {
        display: flex !important;
        flex-direction: column !important; /* Vertikal stapeln */
        align-items: flex-start !important;
    }

        [b-xotcdsqqbb] .col-12.row.align-items-baseline label {
            width: 100%;
            margin-bottom: 0.5rem;
            font-weight: 500; /* Fettere Labels für bessere Lesbarkeit */
        }

        [b-xotcdsqqbb] .col-12.row.align-items-baseline > div {
            width: 100%; /* Inputs volle Breite */
        }

    [b-xotcdsqqbb] .col-md-7 {
        max-width: 100%; /* Form Container volle Breite */
        flex: 0 0 100%;
    }
}
