@import 'SunmaraWorkspace.Web.Client.lhmbu7kdgo.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
.main-content[b-me79ndz2zr] {
    margin-left: 252px;
    min-height: 100vh;
    background: var(--bg, #f4f4f5);
}

.topbar[b-me79ndz2zr] {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    background: var(--surface, #ffffff);
    border-bottom: 1px solid var(--border, #e8e8ec);
    position: sticky;
    top: 0;
    z-index: 50;
}

.content-area[b-me79ndz2zr] {
    padding: 24px;
}

[b-me79ndz2zr] .profile-trigger:hover {
    background: var(--bg, #f4f4f5);
}

[b-me79ndz2zr] .profile-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    width: 220px;
    background: var(--surface, #ffffff);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 100;
    overflow: hidden;
}

[b-me79ndz2zr] .profile-menu-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    font-size: 13px;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.15s;
    color: var(--text, #18181b);
}

[b-me79ndz2zr] .profile-menu-item:hover {
    background: var(--bg, #f4f4f5);
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-bmqwq86tui],
.components-reconnect-repeated-attempt-visible[b-bmqwq86tui],
.components-reconnect-failed-visible[b-bmqwq86tui],
.components-pause-visible[b-bmqwq86tui],
.components-resume-failed-visible[b-bmqwq86tui],
.components-rejoining-animation[b-bmqwq86tui] {
    display: none;
}

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


#components-reconnect-modal[b-bmqwq86tui] {
    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-bmqwq86tui 0.5s both;
    &[open]

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

@keyframes components-rejoining-animation-b-bmqwq86tui {
    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/Chat/ChatView.razor.rz.scp.css */
.chat-layout[b-c04ic63j1e] {
    display: flex;
    height: calc(100vh - 57px);
    margin: -24px;
    background: var(--surface, #ffffff);
}

.chat-sidebar[b-c04ic63j1e] {
    width: 220px;
    min-width: 220px;
    border-right: 1px solid var(--border, #e8e8ec);
    overflow-y: auto;
    padding: 12px 0;
}

.sidebar-top[b-c04ic63j1e] {
    padding: 8px 16px 12px;
}

.channel-item[b-c04ic63j1e] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-secondary);
    transition: all 0.15s;
}

.channel-item:hover[b-c04ic63j1e] {
    background: var(--bg, #f4f4f5);
}

.channel-item.active[b-c04ic63j1e] {
    background: color-mix(in srgb, var(--primary) 10%, transparent);
    color: var(--primary);
    font-weight: 600;
}

.channel-hash[b-c04ic63j1e] {
    font-weight: 700;
    opacity: 0.5;
}

.chat-main[b-c04ic63j1e] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.chat-header[b-c04ic63j1e] {
    padding: 12px 20px;
    border-bottom: 1px solid var(--border, #e8e8ec);
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.chat-messages[b-c04ic63j1e] {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.message[b-c04ic63j1e] {
    padding: 8px 0;
}

.message.deleted[b-c04ic63j1e] {
    opacity: 0.5;
}

.message-header[b-c04ic63j1e] {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 2px;
}

.message-sender[b-c04ic63j1e] {
    font-weight: 700;
    font-size: 14px;
}

.message-time[b-c04ic63j1e] {
    font-size: 11px;
    color: var(--text-faint, #a1a1aa);
}

.message-edited[b-c04ic63j1e] {
    font-size: 11px;
    color: var(--text-faint);
    font-style: italic;
}

.message-content[b-c04ic63j1e] {
    font-size: 14px;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
}

.message-reactions[b-c04ic63j1e] {
    display: flex;
    gap: 4px;
    margin-top: 4px;
}

.reaction-badge[b-c04ic63j1e] {
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 10px;
    background: var(--bg, #f4f4f5);
    cursor: pointer;
    transition: all 0.15s;
}

.reaction-badge:hover[b-c04ic63j1e] {
    background: var(--border, #e8e8ec);
}

.chat-input[b-c04ic63j1e] {
    padding: 12px 20px;
    border-top: 1px solid var(--border, #e8e8ec);
}

.typing-indicator[b-c04ic63j1e] {
    font-size: 12px;
    color: var(--text-muted);
    padding: 2px 0 4px;
    font-style: italic;
}

.chat-empty[b-c04ic63j1e] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
