/* /Components/Layout/AdminLayout.razor.rz.scp.css */
.admin-layout[b-o4pvvnw5xb] {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar[b-o4pvvnw5xb] {
    position: fixed;
    top: 0;
    left: 0;
    width: 240px;
    height: 100vh;
    background: linear-gradient(180deg, #0a1628 0%, #1a2d50 100%);
    display: flex;
    flex-direction: column;
    padding: 1.25rem 0;
    z-index: 100;
    overflow-y: auto;
}

.admin-brand[b-o4pvvnw5xb] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

.admin-brand-logo[b-o4pvvnw5xb] {
    width: 36px;
    height: 36px;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
}

.admin-brand-title[b-o4pvvnw5xb] {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.admin-brand-subtitle[b-o4pvvnw5xb] {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.04em;
}

.admin-nav[b-o4pvvnw5xb] {
    display: flex;
    flex-direction: column;
    padding: 0 0.75rem;
    gap: 0.2rem;
}

.admin-nav-link[b-o4pvvnw5xb] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.15s;
}

.admin-nav-link:hover[b-o4pvvnw5xb] {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.admin-nav-link.active[b-o4pvvnw5xb] {
    color: #ffffff;
    background: rgba(59, 130, 246, 0.3);
}

.admin-nav-link .material-symbols-outlined[b-o4pvvnw5xb] {
    font-size: 20px;
}

.admin-nav-divider[b-o4pvvnw5xb] {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: auto 1.25rem 0.75rem;
}

.admin-content[b-o4pvvnw5xb] {
    margin-left: 240px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #f0f4f8;
    min-height: 100vh;
}

.admin-topbar[b-o4pvvnw5xb] {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.65rem 1.5rem;
}

.admin-topbar-inner[b-o4pvvnw5xb] {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.admin-topbar-user[b-o4pvvnw5xb] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #64748b;
}

.admin-topbar-user .material-symbols-outlined[b-o4pvvnw5xb] {
    font-size: 18px;
    color: #3b82f6;
}

.admin-main[b-o4pvvnw5xb] {
    flex: 1;
    padding: 1.5rem;
}
/* /Components/Layout/AmsLayout.razor.rz.scp.css */
/* AMS Layout — nests inside MainLayout, matches Chat sidebar style */
/* Nav link styles are in global app.css (scoped CSS can't reach NavLink output) */

.ams-layout[b-rtrg4a6hjw] {
    display: flex;
    flex: 1;
    overflow: hidden;
    background: var(--tv-surface, #f0f4f8);
    min-height: 0;
}

/* Sidebar — same color scheme as Avia chat sidebar */
.ams-sidebar[b-rtrg4a6hjw] {
    width: 250px;
    min-width: 250px;
    background: linear-gradient(180deg, #0a1628 0%, #1a2d50 100%);
    display: flex;
    flex-direction: column;
    color: white;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    overflow-y: auto;
}

.ams-sidebar[b-rtrg4a6hjw]::-webkit-scrollbar {
    width: 4px;
}

.ams-sidebar[b-rtrg4a6hjw]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
}

/* Brand header */
.ams-sidebar-brand[b-rtrg4a6hjw] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ams-sidebar-logo[b-rtrg4a6hjw] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
}

.ams-sidebar-title[b-rtrg4a6hjw] {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: #ffffff;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.ams-sidebar-subtitle[b-rtrg4a6hjw] {
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.03em;
}

/* Navigation container */
.ams-sidebar-nav[b-rtrg4a6hjw] {
    display: flex;
    flex-direction: column;
    padding: 0.5rem;
    gap: 0.1rem;
}

/* Main content area */
.ams-main-area[b-rtrg4a6hjw] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    min-width: 0;
    padding: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .ams-sidebar[b-rtrg4a6hjw] {
        display: none;
    }
}
/* /Components/Layout/ChatLayout.razor.rz.scp.css */
.chat-layout[b-qo3kz2s4mu] {
    display: flex;
    flex: 1;
    overflow: hidden;
    background: var(--tv-surface, #f0f4f8);
    min-height: 0; /* Allow flex shrink below content size */
}

/* Sidebar */
.chat-sidebar[b-qo3kz2s4mu] {
    width: 280px;
    min-width: 280px;
    background: linear-gradient(180deg, #0a1628 0%, #1a2d50 100%);
    display: flex;
    flex-direction: column;
    color: white;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.chat-sidebar-brand[b-qo3kz2s4mu] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-sidebar-logo[b-qo3kz2s4mu] {
    width: 32px;
    height: 32px;
    filter: invert(1) brightness(2);
}

.chat-sidebar-title[b-qo3kz2s4mu] {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.02em;
}

.chat-sidebar-subtitle[b-qo3kz2s4mu] {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.02em;
}

.chat-new-btn[b-qo3kz2s4mu] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.75rem;
    padding: 0.6rem 1rem;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.1s;
}

.chat-new-btn:hover[b-qo3kz2s4mu] {
    opacity: 0.9;
    transform: translateY(-1px);
}

.chat-new-btn .material-symbols-outlined[b-qo3kz2s4mu] {
    font-size: 1.1rem;
}

.chat-conversation-list[b-qo3kz2s4mu] {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem;
}

.chat-conversation-list[b-qo3kz2s4mu]::-webkit-scrollbar {
    width: 4px;
}

.chat-conversation-list[b-qo3kz2s4mu]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
}

/* Conversation group labels */
.chat-conv-group-label[b-qo3kz2s4mu] {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.35);
    padding: 0.6rem 0.5rem 0.3rem;
    margin-top: 0.25rem;
}

/* Conversation items */
.chat-conv-item[b-qo3kz2s4mu] {
    display: flex;
    align-items: center;
    border-radius: 8px;
    transition: background 0.15s;
    position: relative;
}

.chat-conv-item:hover[b-qo3kz2s4mu] {
    background: rgba(255, 255, 255, 0.06);
}

.chat-conv-item.active[b-qo3kz2s4mu] {
    background: rgba(59, 130, 246, 0.15);
}

.chat-conv-item-link[b-qo3kz2s4mu] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.8rem;
    flex: 1;
    min-width: 0;
    border-radius: 8px;
    transition: color 0.15s;
}

.chat-conv-item:hover .chat-conv-item-link[b-qo3kz2s4mu],
.chat-conv-item.active .chat-conv-item-link[b-qo3kz2s4mu] {
    color: white;
}

.chat-conv-item-icon[b-qo3kz2s4mu] {
    font-size: 0.95rem;
    flex-shrink: 0;
    opacity: 0.6;
}

.chat-conv-item-title[b-qo3kz2s4mu] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-conv-item-delete[b-qo3kz2s4mu] {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    margin-right: 0.35rem;
    border: none;
    background: none;
    color: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    border-radius: 4px;
    flex-shrink: 0;
    transition: color 0.15s, background 0.15s;
}

.chat-conv-item:hover .chat-conv-item-delete[b-qo3kz2s4mu] {
    display: flex;
}

.chat-conv-item-delete:hover[b-qo3kz2s4mu] {
    color: #f87171;
    background: rgba(248, 113, 113, 0.1);
}

.chat-conv-item-delete .material-symbols-outlined[b-qo3kz2s4mu] {
    font-size: 0.85rem;
}

/* Empty state */
.chat-conv-empty[b-qo3kz2s4mu] {
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
    padding: 2rem 1rem;
}

/* Sidebar footer */
.chat-sidebar-footer[b-qo3kz2s4mu] {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.chat-sidebar-link[b-qo3kz2s4mu],
.chat-sidebar-link-form button[b-qo3kz2s4mu] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.8rem;
    border-radius: 8px;
    border: none;
    background: none;
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
    width: 100%;
    text-align: left;
}

.chat-sidebar-link:hover[b-qo3kz2s4mu],
.chat-sidebar-link-form button:hover[b-qo3kz2s4mu] {
    color: white;
    background: rgba(255, 255, 255, 0.06);
}

.chat-sidebar-link .material-symbols-outlined[b-qo3kz2s4mu],
.chat-sidebar-link-form button .material-symbols-outlined[b-qo3kz2s4mu] {
    font-size: 1rem;
}

.chat-sidebar-link-form[b-qo3kz2s4mu] {
    margin: 0;
    padding: 0;
}

/* Main content area */
.chat-main-area[b-qo3kz2s4mu] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
    min-height: 0; /* Critical: allow flex shrink in nested flex column */
}

/* Responsive */
@media (max-width: 768px) {
    .chat-sidebar[b-qo3kz2s4mu] {
        display: none;
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.app-layout[b-yywgqwliaj] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.app-header[b-yywgqwliaj] {
    background: linear-gradient(135deg, #0a1628 0%, #1a2d50 50%, #0d3b66 100%);
    color: white;
    padding: 0.75rem 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.brand-logo[b-yywgqwliaj] {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.brand-title[b-yywgqwliaj] {
    font-family: 'Inter', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.brand-subtitle[b-yywgqwliaj] {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.08em;
}

.brand-name[b-yywgqwliaj] {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: none;
}

.nav-link-custom[b-yywgqwliaj] {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    transition: all 0.2s;
}

.nav-link-custom:hover[b-yywgqwliaj],
.nav-link-custom.active[b-yywgqwliaj] {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
}

.nav-link-custom .material-symbols-outlined[b-yywgqwliaj] {
    font-size: 20px;
}

.nav-signup[b-yywgqwliaj] {
    background: rgba(59, 130, 246, 0.3);
    border: 1px solid rgba(59, 130, 246, 0.5);
}

.nav-signup:hover[b-yywgqwliaj] {
    background: rgba(59, 130, 246, 0.5);
}

.nav-user-info[b-yywgqwliaj] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-left: 0.5rem;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.nav-user-name[b-yywgqwliaj] {
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 400;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-main[b-yywgqwliaj] {
    flex: 1;
    background: #f0f4f8;
}

.app-footer[b-yywgqwliaj] {
    background: #0a1628;
    color: rgba(255, 255, 255, 0.5);
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-text[b-yywgqwliaj] {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
}

#blazor-error-ui[b-yywgqwliaj] {
    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-yywgqwliaj] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* NavMenu not used */
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-8j8tq5feh8],
.components-reconnect-repeated-attempt-visible[b-8j8tq5feh8],
.components-reconnect-failed-visible[b-8j8tq5feh8],
.components-pause-visible[b-8j8tq5feh8],
.components-resume-failed-visible[b-8j8tq5feh8],
.components-rejoining-animation[b-8j8tq5feh8] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-8j8tq5feh8],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-8j8tq5feh8],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-8j8tq5feh8],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-8j8tq5feh8],
#components-reconnect-modal.components-reconnect-retrying[b-8j8tq5feh8],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-8j8tq5feh8],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-8j8tq5feh8],
#components-reconnect-modal.components-reconnect-failed[b-8j8tq5feh8],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-8j8tq5feh8] {
    display: block;
}


#components-reconnect-modal[b-8j8tq5feh8] {
    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-8j8tq5feh8 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-8j8tq5feh8 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-8j8tq5feh8 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-8j8tq5feh8]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-8j8tq5feh8 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-8j8tq5feh8 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-8j8tq5feh8 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-8j8tq5feh8 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-8j8tq5feh8] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-8j8tq5feh8] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-8j8tq5feh8] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-8j8tq5feh8] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-8j8tq5feh8] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-8j8tq5feh8] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-8j8tq5feh8] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-8j8tq5feh8 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-8j8tq5feh8] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-8j8tq5feh8 {
    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;
    }
}
