/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-5tf4g3x68j] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-5tf4g3x68j] {
    flex: 1;
}

.sidebar[b-5tf4g3x68j] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-5tf4g3x68j] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-5tf4g3x68j]  a, .top-row[b-5tf4g3x68j]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-5tf4g3x68j]  a:hover, .top-row[b-5tf4g3x68j]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-5tf4g3x68j]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-5tf4g3x68j] {
        justify-content: space-between;
    }

    .top-row[b-5tf4g3x68j]  a, .top-row[b-5tf4g3x68j]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-5tf4g3x68j] {
        flex-direction: row;
    }

    .sidebar[b-5tf4g3x68j] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-5tf4g3x68j] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-5tf4g3x68j]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-5tf4g3x68j], article[b-5tf4g3x68j] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-5tf4g3x68j] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    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-5tf4g3x68j] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* Updated to align with Home page blue palette */
.navbar-toggler[b-91qced5uxd] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: #fff;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.12);
    border-radius: .375rem;
}

.navbar-toggler:checked[b-91qced5uxd] {
    background-color: rgba(255, 255, 255, 0.3);
}

.top-row[b-91qced5uxd] {
    min-height: 3.5rem;
    background: linear-gradient(135deg, var(--bs-primary) 0%, #6610f2 100%);
}

.navbar-brand[b-91qced5uxd] {
    font-size: 1.1rem;
    color: #fff;
}

.nav-item[b-91qced5uxd] {
    font-size: 0.95rem;
    padding-bottom: 0.25rem;
}

.nav-item:first-of-type[b-91qced5uxd] { padding-top: 0.75rem; }
.nav-item:last-of-type[b-91qced5uxd] { padding-bottom: 0.75rem; }

/* Sidebar background to match brand gradient tones */
.nav-scrollable[b-91qced5uxd] {
    display: none;
    background: linear-gradient(180deg, rgba(13,110,253,0.96) 0%, rgba(102,16,242,0.92) 100%);
    color: #fff;
}

/* Link styles aligned with blue palette */
.nav-item[b-91qced5uxd]  a {
    color: #e8f1ff;
    border-radius: 8px;
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
    padding-left: .5rem;
    transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}

.nav-item[b-91qced5uxd]  a.active {
    background-color: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.nav-item[b-91qced5uxd]  a:hover {
    background-color: rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* Logout button styled like other nav links */
.nav-item button.nav-link.btn.btn-link[b-91qced5uxd] {
    color: #e8f1ff;
    background: transparent;
    border: 0;
    border-radius: 8px;
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
    padding-left: .5rem;
    text-decoration: none;
    width: 100%;
    transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}

.nav-item button.nav-link.btn.btn-link:hover[b-91qced5uxd] {
    background-color: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.nav-item button.nav-link.btn.btn-link:focus[b-91qced5uxd] {
    outline: 0;
    box-shadow: 0 0 0 .15rem rgba(255, 255, 255, 0.25);
}

.navbar-toggler:checked ~ .nav-scrollable[b-91qced5uxd] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-91qced5uxd] { display: none; }

    .nav-scrollable[b-91qced5uxd] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
        border-right: 1px solid rgba(255,255,255,0.15);
    }
}
/* /Components/Pages/AgentBuilder.razor.rz.scp.css */
.step-container[b-e1vzc3xdnh] {
    margin: 20px 0;
}

    .step-container .step[b-e1vzc3xdnh] {
        margin-bottom: 25px;
        padding: 15px;
        border: 1px solid #e9ecef;
        border-radius: 8px;
        background-color: #f8f9fa;
    }

        .step-container .step h6[b-e1vzc3xdnh] {
            color: #0d6efd;
            margin-bottom: 10px;
        }

.code-block[b-e1vzc3xdnh] {
    position: relative;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 40px 10px 10px 10px;
    margin: 10px 0;
}

    .code-block pre[b-e1vzc3xdnh] {
        margin: 0;
        background: none;
        border: none;
        padding: 0;
        white-space: pre-wrap;
        word-wrap: break-word;
    }

    .code-block .copy-btn[b-e1vzc3xdnh] {
        position: absolute;
        top: 5px;
        right: 5px;
        z-index: 10;
    }

.preview-container[b-e1vzc3xdnh] {
    margin: 20px 0;
}

.mockup-browser[b-e1vzc3xdnh] {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.mockup-browser-toolbar[b-e1vzc3xdnh] {
    background: #f1f1f1;
    padding: 10px 15px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 15px;
}

.browser-buttons[b-e1vzc3xdnh] {
    display: flex;
    gap: 6px;
    align-items: center;
}

.browser-dot[b-e1vzc3xdnh] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

    .browser-dot.red[b-e1vzc3xdnh] {
        background-color: #ff5f57;
    }

    .browser-dot.yellow[b-e1vzc3xdnh] {
        background-color: #ffbd2e;
    }

    .browser-dot.green[b-e1vzc3xdnh] {
        background-color: #28ca42;
    }

.mockup-browser-toolbar .input[b-e1vzc3xdnh] {
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 12px;
    color: #666;
    flex: 1;
    font-family: monospace;
}

.mockup-browser-content[b-e1vzc3xdnh] {
    background: white;
    min-height: 200px;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .code-block[b-e1vzc3xdnh] {
        padding: 50px 10px 10px 10px;
    }

    .browser-buttons[b-e1vzc3xdnh] {
        gap: 4px;
    }

    .browser-dot[b-e1vzc3xdnh] {
        width: 10px;
        height: 10px;
    }
}
/* /Components/Pages/Conversations.razor.rz.scp.css */
.conversations-page[b-9giomkeavm] {
    min-height: calc(100vh - 120px);
}

/* Conversation list container */
.conversation-list-container[b-9giomkeavm] {
    max-height: 60vh;
    overflow-y: auto;
}

.conversation-item[b-9giomkeavm] {
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.conversation-item:hover[b-9giomkeavm] {
    background-color: #f8f9fa;
    border-left-color: #0d6efd;
}

.conversation-item.active[b-9giomkeavm] {
    background-color: #e7f1ff;
    border-left-color: #0d6efd;
    color: inherit;
}

.conversation-title[b-9giomkeavm] {
    font-size: 0.95rem;
    max-width: 100%;
}

.conversation-info[b-9giomkeavm] {
    min-width: 0;
}

.conversation-meta[b-9giomkeavm] {
    flex-shrink: 0;
    margin-left: 12px;
}

.modality-badges[b-9giomkeavm] {
    display: flex;
    gap: 4px;
}

.modality-badges .badge[b-9giomkeavm] {
    font-size: 0.7rem;
    padding: 2px 6px;
}

/* Conversation detail card - matching FullChatExperience */
.conversation-detail-card[b-9giomkeavm] {
    height: calc(70vh);
    display: flex;
    flex-direction: column;
}

.conversation-detail-card .card-body[b-9giomkeavm] {
    flex: 1;
    overflow: hidden;
}

.conversation-messages-container[b-9giomkeavm] {
    height: 100%;
    /* Use flex to ensure child .full-chat-messages fills height properly */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* Hide overflow here, let child scroll */
    background: #ffffff;
}

/* Message timestamp - keep here or move? 
   Moving to Razor block for consistency if I moved others? 
   Actually, FullChatExperience has it in global.
   I'll keep it here since I didn't move it explicitly in previous step,
   BUT I probably should have.
   Wait, I didn't verify Typography.
   I'll check the Razor file content I just wrote.*/
.message-timestamp[b-9giomkeavm] {
    font-size: 11px;
    color: #6c757d;
    margin-top: 4px;
    opacity: 0.7;
    display: flex;
    align-items: center;
    gap: 4px;
}

.message-timestamp .badge[b-9giomkeavm] {
    font-size: 0.6rem;
    padding: 2px 4px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .conversation-list-container[b-9giomkeavm] {
        max-height: 40vh;
    }

    .conversation-detail-card[b-9giomkeavm] {
        height: calc(50vh);
        margin-top: 1rem;
    }

    .message-bubble.user-bubble[b-9giomkeavm] {
        max-width: 90% !important;
    }

    .full-chat-messages[b-9giomkeavm] {
        padding: 16px;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
.hero[b-6ndqmr0plh]{background:linear-gradient(135deg,#0d6efd 0%,#6610f2 100%);min-height:430px}
.hero .container[b-6ndqmr0plh]{position:relative}
.ai-network[b-6ndqmr0plh]{max-width:520px;background:rgba(255,255,255,.06);border-radius:16px;padding:8px}
.feature-card[b-6ndqmr0plh]{background:#fff;border:1px solid rgba(13,110,253,.12);border-radius:12px;transition:transform .15s ease,box-shadow .15s ease}
.feature-card:hover[b-6ndqmr0plh]{transform:translateY(-2px);box-shadow:0 .5rem 1rem rgba(13,110,253,.15)}
.channel-card[b-6ndqmr0plh]{background:#fff;border:1px dashed rgba(13,110,253,.3);border-radius:14px}
.steps .step[b-6ndqmr0plh]{gap:16px;padding:14px 0}
.step-number[b-6ndqmr0plh]{width:38px;height:38px;border-radius:50%;background:#0d6efd;color:#fff;display:inline-flex;align-items:center;justify-content:center;margin-right:8px;font-weight:700}
.cta-card[b-6ndqmr0plh]{background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);border:1px solid rgba(13,110,253,.15);border-radius:16px}
.badge.bg-primary-subtle[b-6ndqmr0plh]{background-color:#e8f1ff!important}
