/* /Components/Layout/LoadingSpinner.razor.rz.scp.css */
/* Used under CC0 license */

.lds-ellipsis[b-03xh6sndu9] {
    color: #666;
    animation: fade-in-b-03xh6sndu9 1s;
}

@keyframes fade-in-b-03xh6sndu9 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

    .lds-ellipsis[b-03xh6sndu9],
    .lds-ellipsis div[b-03xh6sndu9] {
        box-sizing: border-box;
    }

.lds-ellipsis[b-03xh6sndu9] {
    margin: auto;
    display: block;
    position: relative;
    width: 80px;
    height: 80px;
}

    .lds-ellipsis div[b-03xh6sndu9] {
        position: absolute;
        top: 33.33333px;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: currentColor;
        animation-timing-function: cubic-bezier(0, 1, 1, 0);
    }

        .lds-ellipsis div:nth-child(1)[b-03xh6sndu9] {
            left: 8px;
            animation: lds-ellipsis1-b-03xh6sndu9 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(2)[b-03xh6sndu9] {
            left: 8px;
            animation: lds-ellipsis2-b-03xh6sndu9 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(3)[b-03xh6sndu9] {
            left: 32px;
            animation: lds-ellipsis2-b-03xh6sndu9 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(4)[b-03xh6sndu9] {
            left: 56px;
            animation: lds-ellipsis3-b-03xh6sndu9 0.6s infinite;
        }

@keyframes lds-ellipsis1-b-03xh6sndu9 {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis3-b-03xh6sndu9 {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

@keyframes lds-ellipsis2-b-03xh6sndu9 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(24px, 0);
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-26gltqxtrh] {
    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-26gltqxtrh] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/SurveyPrompt.razor.rz.scp.css */
.surveyContainer[b-b3nbzj90cb] {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9em;
    margin: 0.5rem auto -0.7rem auto;
    max-width: 1024px;
    color: #444;
}

    .surveyContainer a[b-b3nbzj90cb] {
        text-decoration: underline;
    }

    .surveyContainer .tool-icon[b-b3nbzj90cb] {
        margin-top: 0.15rem;
        width: 1.25rem;
        height: 1.25rem;
        flex-shrink: 0;
    }
/* /Components/Pages/AccessKeyCheck.razor.rz.scp.css */
/* AccessKeyCheck.razor.css */

.access-key-container[b-k3dauw7zjm] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1rem;
}

.access-key-card[b-k3dauw7zjm] {
    background: white;
    padding: 3rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 100%;
    text-align: center;
}

.icon[b-k3dauw7zjm] {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.access-key-card h1[b-k3dauw7zjm] {
    color: #1f2937;
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
    font-weight: 700;
}

.access-key-card h2[b-k3dauw7zjm] {
    color: #4b5563;
    margin: 0 0 1.5rem 0;
    font-size: 1.25rem;
    font-weight: 500;
}

.access-key-card p[b-k3dauw7zjm] {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.form-group[b-k3dauw7zjm] {
    margin-bottom: 1.5rem;
}

.form-control[b-k3dauw7zjm] {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

    .form-control:focus[b-k3dauw7zjm] {
        outline: none;
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }

    .form-control:disabled[b-k3dauw7zjm] {
        background-color: #f3f4f6;
        cursor: not-allowed;
    }

.btn[b-k3dauw7zjm] {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary[b-k3dauw7zjm] {
    background-color: #667eea;
    color: white;
}

    .btn-primary:hover:not(:disabled)[b-k3dauw7zjm] {
        background-color: #5568d3;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    }

    .btn-primary:disabled[b-k3dauw7zjm] {
        background-color: #9ca3af;
        cursor: not-allowed;
        transform: none;
    }

.btn-lg[b-k3dauw7zjm] {
    padding: 1rem 1.5rem;
    font-size: 1.125rem;
}

.w-100[b-k3dauw7zjm] {
    width: 100%;
}

.help-text[b-k3dauw7zjm] {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: #9ca3af;
}

.alert[b-k3dauw7zjm] {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.alert-danger[b-k3dauw7zjm] {
    background-color: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.spinner-border[b-k3dauw7zjm] {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border-b-k3dauw7zjm 0.75s linear infinite;
}

.spinner-border-sm[b-k3dauw7zjm] {
    width: 0.875rem;
    height: 0.875rem;
    border-width: 2px;
}

.me-2[b-k3dauw7zjm] {
    margin-right: 0.5rem;
}

@keyframes spinner-border-b-k3dauw7zjm {
    to {
        transform: rotate(360deg);
    }
}

/* ═══════════════════════════════════════════════════════════════
   DARK MODE STYLES
   ═══════════════════════════════════════════════════════════════ */

html.dark .access-key-card[b-k3dauw7zjm] {
    background: #1e1e1e;
    color: #e0e0e0;
}

    html.dark .access-key-card h1[b-k3dauw7zjm] {
        color: #ffffff;
    }

    html.dark .access-key-card h2[b-k3dauw7zjm] {
        color: #d0d0d0;
    }

    html.dark .access-key-card p[b-k3dauw7zjm] {
        color: #b0b0b0;
    }

html.dark .form-control[b-k3dauw7zjm] {
    background-color: #2d2d2d;
    border-color: #444;
    color: #e0e0e0;
}

    html.dark .form-control:focus[b-k3dauw7zjm] {
        background-color: #2d2d2d;
        border-color: #667eea;
        color: #e0e0e0;
    }

    html.dark .form-control:disabled[b-k3dauw7zjm] {
        background-color: #1a1a1a;
        color: #888;
    }

    html.dark .form-control[b-k3dauw7zjm]::placeholder {
        color: #888;
    }

html.dark .help-text[b-k3dauw7zjm] {
    color: #888;
}

html.dark .alert-danger[b-k3dauw7zjm] {
    background-color: #3d1f1f;
    color: #ff6b6b;
    border-color: #5c2626;
}
/* /Components/Pages/Chat/Chat.razor.rz.scp.css */
/* Chat container - Input section */
.chat-container[b-zwdqgk9fv3] {
    position: static;
    padding: 0.75rem 1.5rem 1.5rem;
    border-top: 1px solid var(--border-primary);
    background-color: var(--bg-tertiary);
}

/* User Header */
.user-header[b-zwdqgk9fv3] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-primary);
    margin-bottom: 0;
}

/* User Info Left - Hamburger + User Text */
.user-info-left[b-zwdqgk9fv3] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* User Info Text - Name and Company stacked */
.user-info-text[b-zwdqgk9fv3] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.user-name[b-zwdqgk9fv3] {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.company-name[b-zwdqgk9fv3] {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Hamburger menu button */
.hamburger-btn[b-zwdqgk9fv3] {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--text-muted);
    border-radius: 0.375rem;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .hamburger-btn:hover[b-zwdqgk9fv3] {
        background: var(--bg-hover);
        color: var(--text-primary);
    }

    .hamburger-btn svg[b-zwdqgk9fv3] {
        width: 24px;
        height: 24px;
    }

/* Logout button */
.logout-button[b-zwdqgk9fv3] {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.375rem;
    border: 1px solid #dc3545;
    background-color: #dc3545;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px var(--shadow-sm);
}

    .logout-button:hover[b-zwdqgk9fv3] {
        background-color: #bb2d3b;
        border-color: #b02a37;
        box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
        transform: translateY(-1px);
    }

    .logout-button:active[b-zwdqgk9fv3] {
        background-color: #a02833;
        border-color: #a02833;
        transform: translateY(0);
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15) inset;
    }

    .logout-button:focus[b-zwdqgk9fv3] {
        outline: 2px solid rgba(220, 53, 69, 0.5);
        outline-offset: 2px;
    }

/* Main content layout wrapper */
.main-content-wrapper[b-zwdqgk9fv3] {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 70px);
}

/* Chat header stays at top */
.chat-header-section[b-zwdqgk9fv3] {
    flex-shrink: 0;
    padding: 0.5rem 1.5rem;
}

/* Messages area takes available space */
.chat-messages-section[b-zwdqgk9fv3] {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.5rem;
    min-height: 0;
}

/* Input section stays at bottom */
.chat-input-section[b-zwdqgk9fv3] {
    flex-shrink: 0;
}

.app-title[b-zwdqgk9fv3] {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    .app-title h1[b-zwdqgk9fv3] {
        margin: 0;
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--text-primary);
    }
.app-disclaimer[b-zwdqgk9fv3] {
    font-size: 0.7rem;
    color: var(--text-secondary, #888);
    font-style: italic;
    text-align: center;
    margin-top: -0.25rem;
}

/* Welcome message styling */
.welcome-message[b-zwdqgk9fv3] {
    text-align: center;
    color: var(--text-placeholder);
    font-size: 1rem;
    padding: 2rem;
    margin-top: 4rem;
}
/* /Components/Pages/Chat/ChatCitation.razor.rz.scp.css */
/* Citation container */
.citation[b-bqo2kixcz8] {
    display: inline-flex;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    margin-top: 1rem;
    margin-right: 1rem;
    gap: 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    background-color: var(--bg-card);
    transition: all 0.2s ease;
    position: relative;
}

/* Primary source (Laws) - Green */
.citation-primary[b-bqo2kixcz8] {
    border-bottom: 3px solid var(--status-success);
}

/* Customer source (Helper docs) - Blue */
.citation-customer[b-bqo2kixcz8] {
    border-bottom: 3px solid var(--status-info);
}

/* Default styling (fallback) */
.citation[b-bqo2kixcz8] {
    border-bottom: 3px solid #a770de;
}

    .citation svg[b-bqo2kixcz8] {
        width: 1.5rem;
        height: 1.5rem;
        flex-shrink: 0;
        color: var(--text-tertiary);
    }

.citation-content[b-bqo2kixcz8] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
    align-items: flex-start;
}

.citation-file[b-bqo2kixcz8] {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    color: var(--text-primary);
}

/* Citation quote */
.citation-quote[b-bqo2kixcz8] {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

/* Badge styling */
.citation-badge[b-bqo2kixcz8] {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    white-space: nowrap;
}

.citation-badge-primary[b-bqo2kixcz8] {
    background-color: rgba(34, 197, 94, 0.15);
    color: var(--status-success);
}

.citation-badge-customer[b-bqo2kixcz8] {
    background-color: rgba(59, 130, 246, 0.15);
    color: var(--status-info);
}

/* Button "Show context" */
.citation-expand-link[b-bqo2kixcz8] {
    background: none;
    border: none;
    color: var(--accent-link);
    font-size: 0.8125rem;
    cursor: pointer;
    padding: 0;
    text-align: left;
    align-self: flex-start;
    transition: color 0.15s;
    text-decoration: none;
    display: inline-block;
}

    .citation-expand-link:hover[b-bqo2kixcz8] {
        color: var(--accent-link-hover);
        text-decoration: underline;
    }

/* Document link */
.citation-doc-link[b-bqo2kixcz8] {
    color: var(--accent-link);
    font-size: 0.8125rem;
    text-decoration: none;
    transition: color 0.15s;
}

    .citation-doc-link:hover[b-bqo2kixcz8] {
        color: var(--accent-link-hover);
        text-decoration: underline;
    }

/* Full chunk popup */
.citation-full-chunk[b-bqo2kixcz8] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 0.5rem;
    padding: 0.75rem;
    background: var(--bg-card);
    border-radius: 0.375rem;
    border: 1px solid var(--border-primary);
    box-shadow: 0 4px 6px var(--shadow-sm);
    z-index: 10;
    max-width: 600px;
}

.citation-full-chunk-label[b-bqo2kixcz8] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.citation-full-chunk-text[b-bqo2kixcz8] {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-height: 300px;
    overflow-y: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
}

    /* Custom scrollbar */
    .citation-full-chunk-text[b-bqo2kixcz8]::-webkit-scrollbar {
        width: 6px;
    }

    .citation-full-chunk-text[b-bqo2kixcz8]::-webkit-scrollbar-track {
        background: var(--scrollbar-track);
        border-radius: 3px;
    }

    .citation-full-chunk-text[b-bqo2kixcz8]::-webkit-scrollbar-thumb {
        background: var(--scrollbar-thumb);
        border-radius: 3px;
    }

        .citation-full-chunk-text[b-bqo2kixcz8]::-webkit-scrollbar-thumb:hover {
            background: var(--scrollbar-thumb-hover);
        }
/* /Components/Pages/Chat/ChatHeader.razor.rz.scp.css */
.chat-header-container[b-vveguqmjxn] {
    top: 0;
    padding: 1.0rem;
}

.chat-header-controls[b-vveguqmjxn] {
    margin-bottom: 1.0rem;
}

h1[b-vveguqmjxn] {
    overflow: visible;
    color: var(--text-primary);
}

.new-chat-icon[b-vveguqmjxn] {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--text-secondary);
}

@media (min-width: 768px) {
    .chat-header-container[b-vveguqmjxn] {
        position: sticky;
    }
}
/* /Components/Pages/Chat/ChatInput.razor.rz.scp.css */
.input-box[b-prddgwzlcm] {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    margin-top: 0.75rem;
}

    .input-box:focus-within[b-prddgwzlcm] {
        outline: 2px solid var(--accent-primary);
    }

textarea[b-prddgwzlcm] {
    resize: none;
    border: none;
    outline: none;
    flex-grow: 1;
    background: transparent;
    color: var(--text-primary);
}

    textarea[b-prddgwzlcm]::placeholder {
        color: var(--text-placeholder);
    }

    textarea:placeholder-shown + .tools[b-prddgwzlcm] {
        --send-button-color: var(--text-placeholder);
    }

.tools[b-prddgwzlcm] {
    display: flex;
    margin-top: 1rem;
    align-items: center;
}

.tool-icon[b-prddgwzlcm] {
    width: 1.25rem;
    height: 1.25rem;
}

.send-button[b-prddgwzlcm] {
    color: var(--send-button-color, var(--text-primary));
    margin-left: auto;
}

    .send-button:hover[b-prddgwzlcm] {
        color: var(--accent-primary);
    }

.attach[b-prddgwzlcm] {
    background-color: var(--bg-card);
    border-style: dashed;
    color: var(--text-muted);
    border-color: var(--border-secondary);
    padding: 3px 8px;
}

    .attach:hover[b-prddgwzlcm] {
        background-color: var(--bg-hover);
        color: var(--text-primary);
    }
/* /Components/Pages/Chat/ChatMessageItem.razor.rz.scp.css */
.user-message[b-9u1alz3p2l] {
    background: var(--msg-user-bg);
    align-self: flex-end;
    min-width: 25%;
    max-width: calc(100% - 5rem);
    padding: 0.5rem 1.25rem;
    border-radius: 0.25rem;
    color: var(--msg-user-text);
    white-space: pre-wrap;
}

.assistant-message[b-9u1alz3p2l], .assistant-search[b-9u1alz3p2l] {
    display: grid;
    grid-template-rows: min-content;
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 0.25rem;
}

.assistant-message-header[b-9u1alz3p2l] {
    font-weight: 600;
    color: var(--text-primary);
}

.assistant-message-text[b-9u1alz3p2l] {
    grid-column-start: 2;
    color: var(--text-secondary);
}

.assistant-message-icon[b-9u1alz3p2l] {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 9999px;
    width: 1.5rem;
    height: 1.5rem;
    color: #ffffff;
    background: var(--msg-assistant-icon);
}

    .assistant-message-icon svg[b-9u1alz3p2l] {
        width: 1rem;
        height: 1rem;
    }

.assistant-search[b-9u1alz3p2l] {
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: var(--text-secondary);
}

.assistant-search-icon[b-9u1alz3p2l] {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1.5rem;
    height: 1.5rem;
}

    .assistant-search-icon svg[b-9u1alz3p2l] {
        width: 1rem;
        height: 1rem;
    }

.assistant-search-content[b-9u1alz3p2l] {
    align-content: center;
}

.assistant-search-phrase[b-9u1alz3p2l] {
    font-weight: 600;
}

/* Default styling for markdown-formatted assistant messages */
[b-9u1alz3p2l] ul {
    list-style-type: disc;
    margin-left: 1.5rem;
}

[b-9u1alz3p2l] ol {
    list-style-type: decimal;
    margin-left: 1.5rem;
}

[b-9u1alz3p2l] li {
    margin: 0.5rem 0;
}

[b-9u1alz3p2l] strong {
    font-weight: 600;
}

[b-9u1alz3p2l] h3 {
    margin: 1rem 0;
    font-weight: 600;
    color: var(--text-primary);
}

[b-9u1alz3p2l] p + p {
    margin-top: 1rem;
}

[b-9u1alz3p2l] table {
    margin: 1rem 0;
}

[b-9u1alz3p2l] th {
    text-align: left;
    border-bottom: 1px solid var(--table-border);
    color: var(--text-primary);
}

[b-9u1alz3p2l] th, [b-9u1alz3p2l] td {
    padding: 0.1rem 0.5rem;
}

[b-9u1alz3p2l] th, [b-9u1alz3p2l] tr:nth-child(even) {
    background-color: var(--table-stripe);
}

[b-9u1alz3p2l] pre > code {
    background-color: var(--code-bg);
    display: block;
    padding: 0.5rem 1rem;
    margin: 1rem 0;
    overflow-x: auto;
    color: var(--text-primary);
    border-radius: 0.375rem;
}
/* /Components/Pages/Chat/ChatMessageList.razor.rz.scp.css */
.message-list-container[b-emvy7xby2f] {
    margin: 2rem 1.5rem;
    flex-grow: 1;
}

.message-list[b-emvy7xby2f] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.no-messages[b-emvy7xby2f] {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-placeholder);
    margin-top: calc(40vh - 18rem);
}

chat-messages[b-emvy7xby2f] >  div:last-of-type {
    /* Adds some vertical buffer to so that suggestions don't overlap the output when they appear */
    margin-bottom: 2rem;
}
/* /Components/Pages/Chat/ChatSuggestions.razor.rz.scp.css */
.suggestions[b-wsrhlheb9v] {
    text-align: right;
    white-space: nowrap;
    gap: 0.5rem;
    justify-content: flex-end;
    flex-wrap: wrap;
    display: flex;
    margin-bottom: 0.75rem;
}
/* /Components/Pages/Chat/ConversationSidebar.razor.rz.scp.css */
/* ConversationSidebar.razor.css */

.sidebar[b-x1l5p5qhmh] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    pointer-events: none;
    transition: opacity 0.2s ease;
    opacity: 0;
}

    .sidebar.open[b-x1l5p5qhmh] {
        pointer-events: auto;
        opacity: 1;
    }

.sidebar-overlay[b-x1l5p5qhmh] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
}

.sidebar-panel[b-x1l5p5qhmh] {
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 100%;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-primary);
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: 2px 0 10px var(--shadow-sm);
}

.sidebar.open .sidebar-panel[b-x1l5p5qhmh] {
    transform: translateX(0);
}

/* Header */
.sidebar-header[b-x1l5p5qhmh] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-primary);
    background: var(--bg-card);
}

    .sidebar-header h2[b-x1l5p5qhmh] {
        margin: 0;
        font-size: 1.125rem;
        font-weight: 600;
        color: var(--text-primary);
    }

.close-btn[b-x1l5p5qhmh] {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--text-muted);
    border-radius: 0.375rem;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .close-btn:hover[b-x1l5p5qhmh] {
        background: var(--bg-hover);
        color: var(--text-primary);
    }

/* Search Section */
.search-section[b-x1l5p5qhmh] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem;
    border-bottom: 1px solid var(--border-primary);
    background: var(--bg-card);
}

.search-input-wrapper[b-x1l5p5qhmh] {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
}

.search-input[b-x1l5p5qhmh] {
    width: 100%;
    padding: 0.625rem 2rem 0.625rem 0.875rem;
    border: 1px solid var(--border-input);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-primary);
    background: var(--bg-input);
    transition: all 0.15s ease;
}

    .search-input:focus[b-x1l5p5qhmh] {
        outline: none;
        border-color: var(--accent-primary);
        background: var(--bg-card);
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }

    .search-input[b-x1l5p5qhmh]::placeholder {
        color: var(--text-placeholder);
    }

.clear-search-btn[b-x1l5p5qhmh] {
    position: absolute;
    right: 0.5rem;
    background: none;
    border: none;
    padding: 0.25rem;
    cursor: pointer;
    color: var(--text-placeholder);
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

    .clear-search-btn:hover[b-x1l5p5qhmh] {
        color: var(--text-muted);
        background: var(--bg-hover);
    }

.search-btn[b-x1l5p5qhmh] {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 0.625rem 0.875rem;
    background: var(--accent-primary);
    border: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
    cursor: pointer;
    transition: all 0.15s ease;
}

    .search-btn:hover:not(:disabled)[b-x1l5p5qhmh] {
        background: var(--accent-primary-hover);
    }

    .search-btn:disabled[b-x1l5p5qhmh] {
        background: var(--bg-hover);
        color: var(--text-placeholder);
        cursor: not-allowed;
    }

    .search-btn .spinner-border[b-x1l5p5qhmh] {
        width: 1rem;
        height: 1rem;
        border-width: 2px;
    }

    .search-btn svg[b-x1l5p5qhmh] {
        flex-shrink: 0;
    }

/* Search Results Header */
.search-results-header[b-x1l5p5qhmh] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    background: rgba(102, 126, 234, 0.1);
    border-bottom: 1px solid var(--border-primary);
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

    .search-results-header span[b-x1l5p5qhmh] {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 70%;
    }

.show-all-btn[b-x1l5p5qhmh] {
    background: none;
    border: none;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    color: var(--accent-primary);
    cursor: pointer;
    border-radius: 0.25rem;
    font-weight: 500;
    transition: all 0.15s ease;
}

    .show-all-btn:hover[b-x1l5p5qhmh] {
        background: rgba(102, 126, 234, 0.1);
    }

/* Conversations List */
.conversations-list[b-x1l5p5qhmh] {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem 0;
}

    .conversations-list[b-x1l5p5qhmh]::-webkit-scrollbar {
        width: 6px;
    }

    .conversations-list[b-x1l5p5qhmh]::-webkit-scrollbar-track {
        background: transparent;
    }

    .conversations-list[b-x1l5p5qhmh]::-webkit-scrollbar-thumb {
        background: var(--scrollbar-thumb);
        border-radius: 3px;
    }

        .conversations-list[b-x1l5p5qhmh]::-webkit-scrollbar-thumb:hover {
            background: var(--scrollbar-thumb-hover);
        }

/* Conversation Groups */
.conversation-group[b-x1l5p5qhmh] {
    margin-bottom: 1rem;
}

.group-header[b-x1l5p5qhmh] {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* Conversation Items */
.conversation-item[b-x1l5p5qhmh] {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease;
    position: relative;
}

    .conversation-item:hover[b-x1l5p5qhmh] {
        background: var(--bg-card);
    }

    .conversation-item.active[b-x1l5p5qhmh] {
        background: var(--bg-card);
    }

        .conversation-item.active[b-x1l5p5qhmh]::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 3px;
            background: var(--accent-primary);
        }

.conversation-icon[b-x1l5p5qhmh] {
    flex-shrink: 0;
    font-size: 1.125rem;
}

.conversation-content[b-x1l5p5qhmh] {
    flex: 1;
    min-width: 0;
}

.conversation-title[b-x1l5p5qhmh] {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 0.125rem;
}

.conversation-date[b-x1l5p5qhmh] {
    font-size: 0.75rem;
    color: var(--text-placeholder);
}

/* Loading & Empty States */
.loading-state[b-x1l5p5qhmh],
.empty-state[b-x1l5p5qhmh] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    text-align: center;
    color: var(--text-muted);
}

.loading-state[b-x1l5p5qhmh] {
    gap: 0.75rem;
}

    .loading-state span[b-x1l5p5qhmh] {
        font-size: 0.875rem;
    }

.empty-state p[b-x1l5p5qhmh] {
    margin: 0.25rem 0;
    font-size: 0.875rem;
}

.empty-state .text-muted[b-x1l5p5qhmh] {
    color: var(--text-placeholder);
    font-size: 0.8125rem;
}

.spinner-border[b-x1l5p5qhmh] {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border-b-x1l5p5qhmh 0.75s linear infinite;
}

@keyframes spinner-border-b-x1l5p5qhmh {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 640px) {
    .sidebar-panel[b-x1l5p5qhmh] {
        width: 280px;
    }
}
/* /Components/Pages/SelectUser.razor.rz.scp.css */
/* SelectUser.razor.css - Component-scoped styles */

/* Ensure form inputs are always visible */
.form-control[b-g4lac8wx9m] {
    display: block;
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

    .form-control:focus[b-g4lac8wx9m] {
        color: #212529;
        background-color: #fff;
        border-color: #86b7fe;
        outline: 0;
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    }

    .form-control:disabled[b-g4lac8wx9m] {
        background-color: #e9ecef;
        opacity: 1;
    }

.form-control-lg[b-g4lac8wx9m] {
    min-height: calc(1.5em + 1rem + 2px);
    padding: 0.5rem 1rem;
    font-size: 1.25rem;
    border-radius: 0.5rem;
}

/* Ensure input is not hidden */
input[type="text"][b-g4lac8wx9m] {
    opacity: 1;
    visibility: visible;
    height: auto;
}

/* Form label styling */
.form-label[b-g4lac8wx9m] {
    display: inline-block;
    margin-bottom: 0.5rem;
}

.fw-bold[b-g4lac8wx9m] {
    font-weight: 700;
}

/* Card styling */
.card[b-g4lac8wx9m] {
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.375rem;
    background-color: #fff;
}

.card-header[b-g4lac8wx9m] {
    padding: 0.75rem 1.25rem;
    background-color: #0d6efd;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: calc(0.375rem - 1px) calc(0.375rem - 1px) 0 0;
}

.card-body[b-g4lac8wx9m] {
    padding: 1.25rem;
}

.card-title[b-g4lac8wx9m] {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 500;
}

/* Button styling */
.btn[b-g4lac8wx9m] {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 0.375rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-primary[b-g4lac8wx9m] {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}

    .btn-primary:hover[b-g4lac8wx9m] {
        color: #fff;
        background-color: #0b5ed7;
        border-color: #0a58ca;
    }

    .btn-primary:disabled[b-g4lac8wx9m] {
        color: #fff;
        background-color: #0d6efd;
        border-color: #0d6efd;
        opacity: 0.65;
        cursor: not-allowed;
    }

.btn-outline-secondary[b-g4lac8wx9m] {
    color: #6c757d;
    border-color: #6c757d;
    background-color: transparent;
}

    .btn-outline-secondary:hover[b-g4lac8wx9m] {
        color: #fff;
        background-color: #6c757d;
        border-color: #6c757d;
    }

    .btn-outline-secondary:disabled[b-g4lac8wx9m] {
        color: #6c757d;
        background-color: transparent;
        opacity: 0.65;
        cursor: not-allowed;
    }

.btn-lg[b-g4lac8wx9m] {
    padding: 0.5rem 1rem;
    font-size: 1.25rem;
    border-radius: 0.5rem;
}

/* Alert styling */
.alert[b-g4lac8wx9m] {
    position: relative;
    padding: 1rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.375rem;
}

.alert-danger[b-g4lac8wx9m] {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

.alert-success[b-g4lac8wx9m] {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}

/* Spinner */
.spinner-border[b-g4lac8wx9m] {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    vertical-align: -0.125em;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border-b-g4lac8wx9m 0.75s linear infinite;
}

.spinner-border-sm[b-g4lac8wx9m] {
    width: 0.875rem;
    height: 0.875rem;
    border-width: 0.2em;
}

@keyframes spinner-border-b-g4lac8wx9m {
    to {
        transform: rotate(360deg);
    }
}

/* Utility classes */
.container[b-g4lac8wx9m] {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.mt-5[b-g4lac8wx9m] {
    margin-top: 3rem;
}

.mt-3[b-g4lac8wx9m] {
    margin-top: 1rem;
}

.mb-0[b-g4lac8wx9m] {
    margin-bottom: 0;
}

.mb-3[b-g4lac8wx9m] {
    margin-bottom: 1rem;
}

.mb-4[b-g4lac8wx9m] {
    margin-bottom: 1.5rem;
}

.me-2[b-g4lac8wx9m] {
    margin-right: 0.5rem;
}

.p-4[b-g4lac8wx9m] {
    padding: 1.5rem;
}

.d-grid[b-g4lac8wx9m] {
    display: grid;
}

.gap-2[b-g4lac8wx9m] {
    gap: 0.5rem;
}

.text-white[b-g4lac8wx9m] {
    color: #fff;
}

.text-muted[b-g4lac8wx9m] {
    color: #6c757d;
}

.bg-primary[b-g4lac8wx9m] {
    background-color: #0d6efd;
}

.shadow[b-g4lac8wx9m] {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.form-text[b-g4lac8wx9m] {
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #6c757d;
}

/* Grid system */
.row[b-g4lac8wx9m] {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-md-6[b-g4lac8wx9m] {
    flex: 0 0 auto;
    width: 50%;
    padding-right: 15px;
    padding-left: 15px;
}

.justify-content-center[b-g4lac8wx9m] {
    justify-content: center;
}

@media (max-width: 768px) {
    .col-md-6[b-g4lac8wx9m] {
        width: 100%;
    }
}

/* ═══════════════════════════════════════════════════════════════
   DARK MODE STYLES
   ═══════════════════════════════════════════════════════════════ */

html.dark .card[b-g4lac8wx9m] {
    background-color: #1e1e1e;
    border-color: #333;
    color: #e0e0e0;
}

html.dark .card-header[b-g4lac8wx9m] {
    background-color: #0d6efd;
    border-color: #333;
}

html.dark .card-body[b-g4lac8wx9m] {
    color: #e0e0e0;
}

html.dark .card-title[b-g4lac8wx9m] {
    color: #ffffff;
}

html.dark .card ul[b-g4lac8wx9m],
html.dark .card li[b-g4lac8wx9m] {
    color: #e0e0e0;
}

html.dark .card strong[b-g4lac8wx9m] {
    color: #ffffff;
}

html.dark .form-label[b-g4lac8wx9m] {
    color: #e0e0e0;
}

html.dark .form-control[b-g4lac8wx9m] {
    background-color: #2d2d2d;
    border-color: #444;
    color: #e0e0e0;
}

    html.dark .form-control:focus[b-g4lac8wx9m] {
        background-color: #2d2d2d;
        border-color: #86b7fe;
        color: #e0e0e0;
    }

    html.dark .form-control:disabled[b-g4lac8wx9m] {
        background-color: #1a1a1a;
        color: #888;
    }

    html.dark .form-control[b-g4lac8wx9m]::placeholder {
        color: #888;
    }

html.dark .text-muted[b-g4lac8wx9m],
html.dark .form-text[b-g4lac8wx9m] {
    color: #aaa !important;
}

html.dark .btn-outline-secondary[b-g4lac8wx9m] {
    color: #aaa;
    border-color: #666;
}

    html.dark .btn-outline-secondary:hover[b-g4lac8wx9m] {
        color: #fff;
        background-color: #555;
        border-color: #666;
    }

html.dark .shadow[b-g4lac8wx9m] {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.4);
}
