/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-wnp4616b9v] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-wnp4616b9v] {
    flex: 1;
}

.sidebar[b-wnp4616b9v] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-wnp4616b9v] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-wnp4616b9v]  a, .top-row[b-wnp4616b9v]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-wnp4616b9v]  a:hover, .top-row[b-wnp4616b9v]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-wnp4616b9v]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-wnp4616b9v] {
        justify-content: space-between;
    }

    .top-row[b-wnp4616b9v]  a, .top-row[b-wnp4616b9v]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-wnp4616b9v] {
        flex-direction: row;
    }

    .sidebar[b-wnp4616b9v] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-wnp4616b9v] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-wnp4616b9v]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-wnp4616b9v], article[b-wnp4616b9v] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-wnp4616b9v] {
    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-wnp4616b9v] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-6l9r4o7gjf] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    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.55%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.1);
}

.navbar-toggler:checked[b-6l9r4o7gjf] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-6l9r4o7gjf] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-6l9r4o7gjf] {
    font-size: 1.1rem;
}

.bi[b-6l9r4o7gjf] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-robot-nav-menu[b-6l9r4o7gjf] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-robot' viewBox='0 0 16 16'%3E%3Cpath d='M6 12.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5ZM3 8.062C3 6.76 4.235 5.765 5.53 5.886a26.58 26.58 0 0 0 4.94 0C11.765 5.765 13 6.76 13 8.062v1.157a.933.933 0 0 1-.765.935c-.845.147-2.34.346-4.235.346-1.895 0-3.39-.2-4.235-.346A.933.933 0 0 1 3 9.219V8.062Zm4.542-.827a.25.25 0 0 0-.217.068l-.92.9a24.767 24.767 0 0 1-1.871-.183.25.25 0 0 0-.068.495c.55.076 1.232.149 2.02.193a.25.25 0 0 0 .189-.071l.754-.736.847 1.71a.25.25 0 0 0 .404.062l.932-.97a25.286 25.286 0 0 0 1.922-.188.25.25 0 0 0-.068-.495c-.766.106-1.578.13-1.877.09a.25.25 0 0 0-.117.03l-.752.766-.845-1.71a.25.25 0 0 0-.185-.111Z'/%3E%3Cpath d='M8.5 1.866a1 1 0 1 0-1 0V3h-2A4.5 4.5 0 0 0 1 7.5V8a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1v1a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-1a1 1 0 0 0 1-1V9a1 1 0 0 0-1-1v-.5A4.5 4.5 0 0 0 10.5 3h-2V1.866ZM14 7.5V13a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V7.5A3.5 3.5 0 0 1 5.5 4h5A3.5 3.5 0 0 1 14 7.5Z'/%3E%3C/svg%3E");
}

.bi-person-fill-nav-menu[b-6l9r4o7gjf] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-fill' viewBox='0 0 16 16'%3E%3Cpath d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3Zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E");
}

.bi-arrow-bar-left-nav-menu[b-6l9r4o7gjf] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-arrow-bar-left' viewBox='0 0 16 16'%3E%3Cpath d='M12.5 15a.5.5 0 0 1-.5-.5v-13a.5.5 0 0 1 1 0v13a.5.5 0 0 1-.5.5ZM10 8a.5.5 0 0 1-.5.5H3.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L3.707 7.5H9.5a.5.5 0 0 1 .5.5Z'/%3E%3C/svg%3E");
}

.nav-item[b-6l9r4o7gjf] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-6l9r4o7gjf] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-6l9r4o7gjf] {
        padding-bottom: 1rem;
    }

    .nav-item[b-6l9r4o7gjf]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-6l9r4o7gjf]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-6l9r4o7gjf]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-6l9r4o7gjf] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-6l9r4o7gjf] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-6l9r4o7gjf] {
        display: none;
    }

    .nav-scrollable[b-6l9r4o7gjf] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Pages/Bot.razor.rz.scp.css */
.chat-card[b-qyohazplxq] {
    display: flex;
    flex-direction: column;
    max-width: 720px;
    height: 78vh;
    margin: 0 auto;
    border: 1px solid #e2e2e2;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.06);
    background: #fff;
}

.chat-header[b-qyohazplxq] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    background-image: linear-gradient(135deg, rgb(5, 39, 103) 0%, #3a0647 100%);
    color: #fff;
}

.chat-header-title[b-qyohazplxq] {
    font-weight: 600;
    line-height: 1.2;
}

.chat-header-subtitle[b-qyohazplxq] {
    font-size: 0.8rem;
    opacity: 0.85;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.chat-status-dot[b-qyohazplxq] {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: #3ddc84;
    display: inline-block;
}

.chat-avatar[b-qyohazplxq] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 600;
}

.chat-avatar-bot[b-qyohazplxq] {
    width: 2.25rem;
    height: 2.25rem;
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.chat-avatar-sm[b-qyohazplxq] {
    width: 1.75rem;
    height: 1.75rem;
}

.chat-avatar-user[b-qyohazplxq] {
    background-color: #1b6ec2;
    color: #fff;
}

.chat-window[b-qyohazplxq] {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    background: #f7f8fa;
}

.chat-empty[b-qyohazplxq] {
    margin: auto;
    text-align: center;
    color: #8a8a8a;
    font-size: 0.95rem;
}

.chat-row[b-qyohazplxq] {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
}

.chat-row-user[b-qyohazplxq] {
    flex-direction: row-reverse;
}

.chat-bubble-group[b-qyohazplxq] {
    display: flex;
    flex-direction: column;
    max-width: 70%;
}

.chat-row-user .chat-bubble-group[b-qyohazplxq] {
    align-items: flex-end;
}

.chat-row-bot .chat-bubble-group[b-qyohazplxq] {
    align-items: flex-start;
}

.chat-message[b-qyohazplxq] {
    padding: 0.55rem 0.85rem;
    border-radius: 1.1rem;
    white-space: pre-wrap;
    word-break: break-word;
    line-height: 1.4;
}

.chat-message-user[b-qyohazplxq] {
    background-color: #1b6ec2;
    color: #fff;
    border-bottom-right-radius: 0.25rem;
}

.chat-message-bot[b-qyohazplxq] {
    background-color: #fff;
    color: #1b1b1b;
    border: 1px solid #e2e2e2;
    border-bottom-left-radius: 0.25rem;
}

.chat-timestamp[b-qyohazplxq] {
    font-size: 0.7rem;
    color: #9a9a9a;
    margin-top: 0.2rem;
    padding: 0 0.35rem;
}

.chat-images[b-qyohazplxq] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.chat-image[b-qyohazplxq] {
    max-width: 220px;
    max-height: 220px;
    border-radius: 0.75rem;
    object-fit: cover;
    border: 1px solid #e2e2e2;
}

.chat-card-frame[b-qyohazplxq] {
    width: 100%;
    max-width: 320px;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid #e2e2e2;
    background: #fff;
}

.chat-suggestions[b-qyohazplxq] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.3rem;
}

.chat-suggestion-chip[b-qyohazplxq] {
    border: 1px solid #1b6ec2;
    color: #1b6ec2;
    background: #fff;
    border-radius: 1rem;
    padding: 0.3rem 0.75rem;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
}

    .chat-suggestion-chip:hover:not(:disabled)[b-qyohazplxq] {
        background-color: #1b6ec2;
        color: #fff;
    }

    .chat-suggestion-chip:disabled[b-qyohazplxq] {
        opacity: 0.5;
        cursor: default;
    }

.chat-typing[b-qyohazplxq] {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.7rem 0.9rem;
}

    .chat-typing span[b-qyohazplxq] {
        width: 0.4rem;
        height: 0.4rem;
        border-radius: 50%;
        background-color: #b5b5b5;
        display: inline-block;
        animation: chat-typing-bounce-b-qyohazplxq 1.2s infinite ease-in-out;
    }

    .chat-typing span:nth-child(2)[b-qyohazplxq] {
        animation-delay: 0.15s;
    }

    .chat-typing span:nth-child(3)[b-qyohazplxq] {
        animation-delay: 0.3s;
    }

@keyframes chat-typing-bounce-b-qyohazplxq {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.6;
    }

    30% {
        transform: translateY(-0.25rem);
        opacity: 1;
    }
}

.chat-input-row[b-qyohazplxq] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1rem;
    border-top: 1px solid #e2e2e2;
    background: #fff;
}

.chat-input[b-qyohazplxq] {
    flex: 1;
    border: 1px solid #d6d5d5;
    border-radius: 1.5rem;
    padding: 0.55rem 1rem;
    font-size: 0.95rem;
}

    .chat-input:focus[b-qyohazplxq] {
        outline: none;
        border-color: #1b6ec2;
        box-shadow: 0 0 0 0.15rem rgba(27, 110, 194, 0.2);
    }

    .chat-input:disabled[b-qyohazplxq] {
        background-color: #f2f2f2;
    }

.chat-send-button[b-qyohazplxq] {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: none;
    background-color: #1b6ec2;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s ease-in-out;
}

    .chat-send-button:disabled[b-qyohazplxq] {
        background-color: #c9c9c9;
    }

    .chat-send-button:not(:disabled):hover[b-qyohazplxq] {
        background-color: #15599e;
    }

@media (max-width: 640px) {
    .chat-card[b-qyohazplxq] {
        height: calc(100vh - 3.5rem);
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
}
