/* /Components/Layout/LoadingSpinner.razor.rz.scp.css */
/* Used under CC0 license */

.lds-ellipsis[b-9ayxupo21c] {
    color: #666;
    animation: fade-in-b-9ayxupo21c 1s;
}

@keyframes fade-in-b-9ayxupo21c {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

    .lds-ellipsis[b-9ayxupo21c],
    .lds-ellipsis div[b-9ayxupo21c] {
        box-sizing: border-box;
    }

.lds-ellipsis[b-9ayxupo21c] {
    margin: auto;
    display: block;
    position: relative;
    width: 80px;
    height: 80px;
}

    .lds-ellipsis div[b-9ayxupo21c] {
        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-9ayxupo21c] {
            left: 8px;
            animation: lds-ellipsis1-b-9ayxupo21c 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(2)[b-9ayxupo21c] {
            left: 8px;
            animation: lds-ellipsis2-b-9ayxupo21c 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(3)[b-9ayxupo21c] {
            left: 32px;
            animation: lds-ellipsis2-b-9ayxupo21c 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(4)[b-9ayxupo21c] {
            left: 56px;
            animation: lds-ellipsis3-b-9ayxupo21c 0.6s infinite;
        }

@keyframes lds-ellipsis1-b-9ayxupo21c {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis3-b-9ayxupo21c {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

@keyframes lds-ellipsis2-b-9ayxupo21c {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(24px, 0);
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-9vedyb00kf] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-9vedyb00kf] {
    flex: 1;
}

.sidebar[b-9vedyb00kf] {
    background-image: linear-gradient(180deg, #2f3d46 0%, #1b1e26 100%);
}


.top-row[b-9vedyb00kf] {
    background-color: #1b2427;
    border-bottom: 1px solid #1b2427;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-9vedyb00kf]  a, .top-row[b-9vedyb00kf]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-9vedyb00kf]  a:hover, .top-row[b-9vedyb00kf]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-9vedyb00kf]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-9vedyb00kf] {
        justify-content: space-between;
    }

    .top-row[b-9vedyb00kf]  a, .top-row[b-9vedyb00kf]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-9vedyb00kf] {
        flex-direction: row;
    }

    .sidebar[b-9vedyb00kf] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-9vedyb00kf] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-9vedyb00kf]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-9vedyb00kf], article[b-9vedyb00kf] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-9vedyb00kf] {
    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-9vedyb00kf] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-k96ri5iym8] {
    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-k96ri5iym8] {
        background-color: rgba(255, 255, 255, 0.5);
    }

.top-row[b-k96ri5iym8] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-k96ri5iym8] {
    font-size: 1.1rem;
}

.bi[b-k96ri5iym8] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-k96ri5iym8] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-k96ri5iym8] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-k96ri5iym8] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-k96ri5iym8] {
    font-size: 1.0rem;
    padding-bottom: 0.2rem;
}

    .nav-item:first-of-type[b-k96ri5iym8] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-k96ri5iym8] {
        padding-bottom: 1rem;
    }

    .nav-item[b-k96ri5iym8]  .nav-link {
        color: #fae8ed;
        background: none;
        border: none;
        border-radius: 4px;
        height: 2.7rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

    .nav-item[b-k96ri5iym8]  a.active {
        background-color: rgba(255,255,255,0.37);
        color: #fae8ed;
    }

    .nav-item[b-k96ri5iym8]  .nav-link:hover {
        background-color: rgba(255,255,255,0.1);
        color: #fae8ed;
    }

.nav-scrollable[b-k96ri5iym8] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-k96ri5iym8] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-k96ri5iym8] {
        display: none;
    }

    .nav-scrollable[b-k96ri5iym8] {
        display: block;
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}

/* Nuovo: Font pi� piccolo in mobile landscape */
@media screen and (orientation: landscape) and (max-height: 500px) {
    .nav-item[b-k96ri5iym8] {
        font-size: 0.85rem !important;
    }

        .nav-item[b-k96ri5iym8]  .nav-link {
            font-size: 0.85rem;
            height: 2.6rem;
            line-height: 2.6rem;
        }
}
/* /Components/Pages/Chat/Chat.razor.rz.scp.css */
.chat-container[b-fait7c0bbc] {
    position: sticky;
    bottom: 0;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 0.75rem;
    padding-bottom: 1.5rem;
    border-top-width: 1px;
    background-color: #F3F4F6;
    border-color: #E5E7EB;
}
/* /Components/Pages/Chat/ChatCitation.razor.rz.scp.css */
.citation[b-28vawlxj5g] {
    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;
    border-bottom: 2px solid #a770de;
    gap: 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    background-color: #ffffff;
}

    .citation[href]:hover[b-28vawlxj5g] {
        outline: 1px solid #865cb1;
    }

    .citation svg[b-28vawlxj5g] {
        width: 1.5rem;
        height: 1.5rem;
    }

    .citation:active[b-28vawlxj5g] {
        background-color: rgba(0,0,0,0.05);
    }

.citation-content[b-28vawlxj5g] {
    display: flex;
    flex-direction: column;
}

.citation-file[b-28vawlxj5g] {
    font-weight: 600;
}
/* /Components/Pages/Chat/ChatHeader.razor.rz.scp.css */
/* Topstory with background image under Blazor header */
.chat-header-container[b-6clt08pgte] {
    position: relative;
    width: 100%;
    background-image: url('/images/kuka_topstory.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 15rem;
    color: white;
    z-index: 0;
}

/* Optional subtle overlay for better text readability */
.chat-header-container[b-6clt08pgte]::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.25));
    z-index: 1;
    pointer-events: none;
}

/* Inner layout */
.chat-header-inner[b-6clt08pgte] {
    position: relative;
    height: 100%;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 2;
}

/* Controls section with button */
.chat-header-controls[b-6clt08pgte] {
    margin-bottom: 1.5rem;
}

.chat-header-controls button[b-6clt08pgte] {
    background: rgba(255, 255, 255, 0.85);
    color: #222;
    border: none;
    padding: 0.5rem 1rem;
    font-weight: 600;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
}

.chat-header-controls button:hover[b-6clt08pgte] {
    background: white;
}

/* Title styling */
.chat-header-container h1[b-6clt08pgte] {
    position: absolute;
    bottom: 1rem;
    left: 1.5rem;
    margin: 0;
    color: white !important;
    font-size: 2.5rem;
    max-width: 90%;
    text-wrap: balance;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}

/* Responsive tweaks */
@media (max-width: 600px) {
    .chat-header-container h1[b-6clt08pgte] {
        font-size: 1.5rem;
        left: 1rem;
        bottom: 0.75rem;
    }

    .chat-header-container[b-6clt08pgte] {
        min-height: 160px;
        padding-bottom: 3rem;
    }

    .chat-header-controls button[b-6clt08pgte] {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
}

h1[b-6clt08pgte] {
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Icon style */
.new-chat-icon[b-6clt08pgte] {
    width: 1.25rem;
    height: 1.25rem;
    color: rgb(55, 65, 81);
}

/* Chat input container */
.chat-container[b-6clt08pgte] {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1rem;
    padding: 1rem;
    margin-top: 2rem;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    max-width: 100%;
}

/* Optional hover effect */
.chat-container:hover[b-6clt08pgte] {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
}

/* Input textarea style */
.chat-container textarea[b-6clt08pgte] {
    border: 1px solid #ccc;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    resize: none;
    width: 100%;
    box-sizing: border-box;
}

/* Send button inside chat input */
.chat-container button[b-6clt08pgte] {
    background-color: #1f2937;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    font-weight: bold;
    border-radius: 0.5rem;
    margin-left: 0.5rem;
    transition: background 0.2s ease-in-out;
}

.chat-container button:hover[b-6clt08pgte] {
    background-color: #111827;
}
/* /Components/Pages/Chat/ChatInput.razor.rz.scp.css */
.input-box[b-qcoj01ec11] {
    display: flex; 
    flex-direction: column; 
    background: white;
    border: 1px solid rgb(229, 231, 235);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    margin-top: 0.75rem; 
}

    .input-box:focus-within[b-qcoj01ec11] {
        outline: 2px solid #4152d5;
    }

textarea[b-qcoj01ec11] {
    resize: none;
    border: none;
    outline: none;
    flex-grow: 1;
}

    textarea:placeholder-shown + .tools[b-qcoj01ec11] {
        --send-button-color: #aaa;
    }

.tools[b-qcoj01ec11] {
    display: flex; 
    margin-top: 1rem; 
    align-items: center;
}

.tool-icon[b-qcoj01ec11] {
    width: 1.25rem;
    height: 1.25rem;
}

.send-button[b-qcoj01ec11] {
    color: var(--send-button-color);
    background-color: #f0f0f0; /* subtle background for contrast */
    margin-left: auto;
    margin-bottom: 0.25rem;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 999px; /* pill-shaped button */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* soft shadow */
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

    .send-button:hover[b-qcoj01ec11] {
        background-color: #e0e0e0;
        color: black;
        transform: scale(1.05); /* slight zoom on hover */
    }

.attach[b-qcoj01ec11] {
    background-color: white;
    border-style: dashed;
    color: #888;
    border-color: #888;
    padding: 3px 8px;
}

    .attach:hover[b-qcoj01ec11] {
        background-color: #f0f0f0;
        color: black;
    }
/* /Components/Pages/Chat/ChatMessageItem.razor.rz.scp.css */
.user-message[b-1s7i9obvkh] {
    background: rgb(182 215 232);
    align-self: flex-end;
    min-width: 25%;
    max-width: calc(100% - 5rem);
    padding: 0.5rem 1.25rem;
    border-radius: 0.25rem;
    color: #1F2937;
    white-space: pre-wrap;
}

.kuka-wolf-icon[b-1s7i9obvkh] {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 9999px; /* forma rotonda */
    background-color: #333333; /* grigio scuro */
    color: #ffffff;
    font-size: 1.25rem;
    user-select: none;
}

.assistant-message[b-1s7i9obvkh], .assistant-search[b-1s7i9obvkh] {
    display: grid;
    grid-template-rows: min-content;
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 0.25rem;
}

.assistant-message-header[b-1s7i9obvkh] {
    font-weight: 600;
}

.assistant-message-text[b-1s7i9obvkh] {
    grid-column-start: 2;
    max-width: 100%;
    overflow-x: hidden;
    word-break: break-word;
}


.assistant-message-icon[b-1s7i9obvkh] {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 9999px;
    width: 1.5rem;
    height: 1.5rem;
    color: #ffffff;
    background: #333333 !important;
}

    .assistant-message-icon[b-4kgjou5u98][b-1s7i9obvkh] {
        background-color: #333 !important;
    }


    .assistant-message-icon svg[b-1s7i9obvkh] {
        width: 1rem;
        height: 1rem;
    }

.assistant-search[b-1s7i9obvkh] {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.assistant-search-icon[b-1s7i9obvkh] {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1.5rem;
    height: 1.5rem;
}

    .assistant-search-icon svg[b-1s7i9obvkh] {
        width: 1rem;
        height: 1rem;
    }

.assistant-search-content[b-1s7i9obvkh] {
    align-content: center;
}

.assistant-search-phrase[b-1s7i9obvkh] {
    font-weight: 600;
}

/* Default styling for markdown-formatted assistant messages */
[b-1s7i9obvkh] ul {
    list-style-type: disc;
    margin-left: 1.5rem;
}

[b-1s7i9obvkh] ol {
    list-style-type: decimal;
    margin-left: 1.5rem;
}

[b-1s7i9obvkh] li {
    margin: 0.5rem 0;
}

[b-1s7i9obvkh] strong {
    font-weight: 600;
}

[b-1s7i9obvkh] h3 {
    margin: 1rem 0;
    font-weight: 600;
}

[b-1s7i9obvkh] p + p {
    margin-top: 1rem;
}

[b-1s7i9obvkh] table {
    margin: 1rem 0;
}

[b-1s7i9obvkh] th {
    text-align: left;
    border-bottom: 1px solid silver;
}

[b-1s7i9obvkh] th, [b-1s7i9obvkh] td {
    padding: 0.1rem 0.5rem;
}

[b-1s7i9obvkh] th, [b-1s7i9obvkh] tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.05);
}

[b-1s7i9obvkh] pre > code {
    background-color: white;
    display: block;
    padding: 0.5rem 1rem;
    margin: 1rem 0;
    overflow-x: auto;
}
/* /Components/Pages/Chat/ChatMessageList.razor.rz.scp.css */
.message-list-container[b-ucyuxa07a5] {
    margin: 2rem 1.5rem;
    flex-grow: 1;
}

.message-list[b-ucyuxa07a5] {
    display: flex; 
    flex-direction: column; 
    gap: 1.25rem; 
}

.no-messages[b-ucyuxa07a5] {
    text-align: center;
    font-size: 1.25rem;
    color: #999;
    margin-top: calc(40vh - 18rem);
}

chat-messages[b-ucyuxa07a5] >  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-vn9i23ykgg] {
    text-align: right;
    white-space: nowrap;
    gap: 0.5rem;
    justify-content: flex-end;
    flex-wrap: wrap;
    display: flex;
    margin-bottom: 0.75rem;
}
