/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* Standardní styl Blazor chybové lišty (#blazor-error-ui).
   Ve výchozím stavu skrytá (display:none) – Blazor ji při neošetřené výjimce v okruhu
   zobrazí nastavením inline stylu display:block. */
#blazor-error-ui[b-wjyqv07eca] {
    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-wjyqv07eca] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-r08helycyj],
.components-reconnect-repeated-attempt-visible[b-r08helycyj],
.components-reconnect-failed-visible[b-r08helycyj],
.components-pause-visible[b-r08helycyj],
.components-resume-failed-visible[b-r08helycyj],
.components-rejoining-animation[b-r08helycyj] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-r08helycyj],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-r08helycyj],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-r08helycyj],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-r08helycyj],
#components-reconnect-modal.components-reconnect-retrying[b-r08helycyj],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-r08helycyj],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-r08helycyj],
#components-reconnect-modal.components-reconnect-failed[b-r08helycyj],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-r08helycyj] {
    display: block;
}


#components-reconnect-modal[b-r08helycyj] {
    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-r08helycyj 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-r08helycyj 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-r08helycyj 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-r08helycyj]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-r08helycyj 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-r08helycyj {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-r08helycyj {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-r08helycyj {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-r08helycyj] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-r08helycyj] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-r08helycyj] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-r08helycyj] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-r08helycyj] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-r08helycyj] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-r08helycyj] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-r08helycyj 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-r08helycyj] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-r08helycyj {
    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/Messages.razor.rz.scp.css */
/* Zelená tečka přítomnosti u přezdívky přítele (online). Offline = nenápadná šedá. */
.presence-dot[b-9z6j240szq] {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: #c4c4c4;
    margin-right: 4px;
    vertical-align: middle;
}

.presence-dot.online[b-9z6j240szq] {
    background-color: #2ECC71;
}

/* Indikátor „píše…" – tři skákající tečky (jako WhatsApp/Messenger). */
.typing-indicator[b-9z6j240szq] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    margin: 4px 0 2px 4px;
    background-color: #e9e9eb;
    border-radius: 14px;
    width: fit-content;
}

.typing-dot[b-9z6j240szq] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #8a8a8e;
    opacity: 0.4;
    animation: typing-bounce-b-9z6j240szq 1.2s infinite ease-in-out;
}

.typing-dot:nth-child(2)[b-9z6j240szq] {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3)[b-9z6j240szq] {
    animation-delay: 0.4s;
}

@keyframes typing-bounce-b-9z6j240szq {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-4px);
        opacity: 1;
    }
}

/* Citace zprávy, na kterou tato odpovídá (reply) – levý barevný akcent, jméno tučně, text ořezaný. */
.message-reply-quote[b-9z6j240szq] {
    border-left: 3px solid #512BD4;
    padding: 3px 8px;
    margin-bottom: 5px;
    background-color: rgba(81, 43, 212, 0.06);
    border-radius: 4px;
    font-size: 0.82rem;
    line-height: 1.25;
    max-width: 100%;
    overflow: hidden;
}

.message-reply-quote .reply-quote-author[b-9z6j240szq] {
    display: block;
    font-weight: 600;
    color: #512BD4;
}

.message-reply-quote .reply-quote-text[b-9z6j240szq] {
    display: block;
    color: #555;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Zašedlá citace, když je citovaná zpráva smazaná / nedostupná. */
.message-reply-quote.unavailable[b-9z6j240szq] {
    border-left-color: #b0b0b0;
    background-color: rgba(0, 0, 0, 0.04);
    font-style: italic;
}

.message-reply-quote.unavailable .reply-quote-author[b-9z6j240szq],
.message-reply-quote.unavailable .reply-quote-text[b-9z6j240szq] {
    color: #999;
}

/* Příznak „(upraveno)" u času zprávy. */
.message-edited[b-9z6j240szq] {
    font-size: 0.72rem;
    color: #999;
    margin: 0 4px;
}

/* Lišta nad textarea: náhled odpovědi / režim úpravy + zavření (×). */
.compose-bar[b-9z6j240szq] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 10px;
    margin: 0 4px 4px 0;
    background-color: #f1eefb;
    border-left: 3px solid #512BD4;
    border-radius: 6px;
}

.compose-bar-content[b-9z6j240szq] {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
}

.compose-bar-title[b-9z6j240szq] {
    font-weight: 600;
    font-size: 0.82rem;
    color: #512BD4;
}

.compose-bar-snippet[b-9z6j240szq] {
    font-size: 0.8rem;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.compose-bar-close[b-9z6j240szq] {
    flex: 0 0 auto;
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    padding: 2px 6px;
    line-height: 1;
}

.compose-bar-close:hover[b-9z6j240szq] {
    color: #333;
}
/* /Components/Shared/DiscussionInfoList.razor.rz.scp.css */
/* Vzhled stránkovaného výpisu diskuzí (profil kontaktu i „Moje diskuze").
   Tři řádky záznamu; název i kategorie se při nedostatku místa zkracují třemi tečkami. */

.discussion-info-list .list-group-item[b-ig6m9j5wsy] {
    padding: 0.4rem 0.6rem;
}

/* Zkrácení dlouhého textu na jeden řádek s třemi tečkami – vejde se co nejvíc znaků od začátku. */
.discussion-info-title[b-ig6m9j5wsy],
.discussion-info-category[b-ig6m9j5wsy] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.discussion-info-title[b-ig6m9j5wsy] {
    font-weight: bold;
    font-size: 12px;
}

.discussion-info-category[b-ig6m9j5wsy] {
    font-size: 12px;
    opacity: 0.75;
}

/* Třetí řádek s datem a počty – při úzké obrazovce se zalomí místo přetečení. */
.discussion-info-meta[b-ig6m9j5wsy] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    font-size: 11px;
    opacity: 0.75;
}
/* /Components/Shared/LanguageSwitcher.razor.rz.scp.css */
/* Vlaječkový přepínač jazyka – nativní <details> dropdown (bez JS). */
.lang-switcher[b-722aq6vgsr] {
    position: relative;
    display: inline-block;
}

/* Vlajka jako spouštěč – bez výchozí trojúhelníkové značky <summary>. */
.lang-switcher > summary[b-722aq6vgsr] {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    padding: 2px;
    border-radius: 4px;
}

.lang-switcher > summary[b-722aq6vgsr]::-webkit-details-marker {
    display: none;
}

.lang-flag[b-722aq6vgsr] {
    width: 26px;
    height: 18px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
    display: block;
}

/* Rozbalená nabídka jazyků. */
.lang-menu[b-722aq6vgsr] {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    min-width: 170px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    padding: 4px;
    z-index: 1050;
}

.lang-item-form[b-722aq6vgsr] {
    margin: 0;
}

/* Položka jazyka je <button> v mini POST formuláři (antiforgery) – resetujeme vzhled tlačítka,
   ať vypadá stejně jako dřívější odkaz. */
.lang-item[b-722aq6vgsr] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 4px;
    text-decoration: none;
    color: #212529;
    white-space: nowrap;
    background: none;
    border: 0;
    width: 100%;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.lang-item:hover[b-722aq6vgsr] {
    background: #f1f3f5;
}

.lang-item.lang-active[b-722aq6vgsr] {
    font-weight: 600;
    background: #e9f2ff;
}

/* Ve sbaleném hamburger menu (navbar-expand-xl se sbaluje pod 1200 px) je přepínač u LEVÉHO okraje –
   right:0 by roztáhl nabídku doleva mimo obrazovku. Tady ji otevři doprava, ať se celá vejde na plochu. */
@media (max-width: 1199.98px) {
    .lang-menu[b-722aq6vgsr] {
        left: 0;
        right: auto;
    }
}
