/* _content/DrLensAIChat/Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-515v1agfnw] {
    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-515v1agfnw] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }




/* _content/DrLensAIChat/Components/Pages/Chat/Chat.razor.rz.scp.css */
.chat-container[b-ihwl8fnwbz] {
    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;
}
/* _content/DrLensAIChat/Components/Pages/Chat/ChatHeader.razor.rz.scp.css */
.chat-header-container[b-pp1f3bs71p] {
    top: 0;
    padding: 0;
    position: sticky; /* keep header visible when scrolling */
    z-index: 10000; /* ensure header sits above chat content */
    background-color: rgba(255, 255, 255, 0.85); /* semi-transparent white */
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px); /* subtle blur to improve legibility over content */
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.chat-header-controls[b-pp1f3bs71p] {
    margin-bottom: 0;
    margin-top: 0.5rem;
    margin-right: 0.5rem;
    position: relative; /* allow z-index on button if needed */
    z-index: 10001;
}

.chat-header-controls .btn-default[b-pp1f3bs71p],
.chat-header-controls .btn-default *[b-pp1f3bs71p] {
    cursor: pointer !important;
    pointer-events: auto !important;
}

.chat-header-controls .btn-default[b-pp1f3bs71p] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 6px 10px;
    z-index: 10002; /* bring above other elements */
}

h1[b-pp1f3bs71p] {
    overflow: hidden;
    text-overflow: ellipsis;
}

.new-chat-icon[b-pp1f3bs71p] {
    width: 1.25rem;
    height: 1.25rem;
    color: rgb(55, 65, 81);
}

@media (min-width: 768px) {
    .chat-header-container[b-pp1f3bs71p] {
        /* position: sticky maintained above */
    }
}
/* _content/DrLensAIChat/Components/Pages/Chat/ChatInput.razor.rz.scp.css */
.input-box[b-qj8kyo5cf1] {
    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-qj8kyo5cf1] {
        outline: 2px solid #4152d5;
    }

textarea[b-qj8kyo5cf1] {
    resize: none;
    border: none;
    outline: none;
    flex-grow: 1;
}

    textarea:placeholder-shown + .tools[b-qj8kyo5cf1] {
        --send-button-color: #aaa;
    }

.tools[b-qj8kyo5cf1] {
    display: flex; 
    margin-top: 1rem; 
    align-items: center;
}

.tool-icon[b-qj8kyo5cf1] {
    width: 1.25rem;
    height: 1.25rem;
}

.send-button[b-qj8kyo5cf1] {
    color: var(--send-button-color);
    margin-left: auto;
}

    .send-button:hover[b-qj8kyo5cf1] {
        color: black;
    }

.attach[b-qj8kyo5cf1] {
    background-color: white;
    border-style: dashed;
    color: #888;
    border-color: #888;
    padding: 3px 8px;
}

    .attach:hover[b-qj8kyo5cf1] {
        background-color: #f0f0f0;
        color: black;
    }
/* _content/DrLensAIChat/Components/Pages/Chat/ChatMessageItem.razor.rz.scp.css */
.user-message[b-jubqbn5ss6] {
    background-color: rgba(182, 215, 232, 0.1);
    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;
}

.assistant-message[b-jubqbn5ss6], .assistant-search[b-jubqbn5ss6] {
    display: grid;
    grid-template-rows: min-content;
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 0.25rem; 
}

.assistant-message-header[b-jubqbn5ss6] {
    font-weight: 600;
}

.assistant-message-text[b-jubqbn5ss6] {
    grid-column-start: 2;
}

.assistant-message-icon[b-jubqbn5ss6] {
    display: flex; 
    justify-content: center; 
    align-items: center; 
    border-radius: 9999px; 
    width: 1.5rem; 
    height: 1.5rem; 
    color: #ffffff; 
    background: #9b72ce;
}

    .assistant-message-icon svg[b-jubqbn5ss6] {
        width: 1rem; 
        height: 1rem; 
    }

.assistant-search[b-jubqbn5ss6] {
    font-size: 0.875rem;
    line-height: 1.25rem; 
}

.assistant-search-icon[b-jubqbn5ss6] {
    display: flex; 
    justify-content: center; 
    align-items: center; 
    width: 1.5rem; 
    height: 1.5rem; 
}

    .assistant-search-icon svg[b-jubqbn5ss6] {
        width: 1rem; 
        height: 1rem; 
    }

.assistant-search-content[b-jubqbn5ss6] {
    align-content: center;
}

.assistant-search-phrase[b-jubqbn5ss6] {
    font-weight: 600;
}

/* Default styling for markdown-formatted assistant messages */
[b-jubqbn5ss6] ul {
    list-style-type: disc;
    margin-left: 1.5rem;
}

[b-jubqbn5ss6] ol {
    list-style-type: decimal;
    margin-left: 1.5rem;
}

[b-jubqbn5ss6] li {
    margin: 0.5rem 0;
}

[b-jubqbn5ss6] strong {
    font-weight: 600;
}

[b-jubqbn5ss6] h3 {
    margin: 1rem 0;
    font-weight: 600;
}

[b-jubqbn5ss6] p + p {
    margin-top: 1rem;
}

[b-jubqbn5ss6] table {
    margin: 1rem 0;
}

[b-jubqbn5ss6] th {
    text-align: left;
    border-bottom: 1px solid silver;
}

[b-jubqbn5ss6] th, [b-jubqbn5ss6] td {
    padding: 0.1rem 0.5rem;
}

[b-jubqbn5ss6] th, [b-jubqbn5ss6] tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.05);
}

[b-jubqbn5ss6] pre > code {
    background-color: transparent;
    display: block;
    padding: 0.5rem 1rem;
    margin: 1rem 0;
    overflow-x: auto;
}


/* _content/DrLensAIChat/Components/Pages/Chat/ChatMessageList.razor.rz.scp.css */
.message-list-container[b-n88397lwow] {
    margin: 2rem 1.5rem;
    flex-grow: 1;
    scroll-behavior: smooth;
}

.message-list[b-n88397lwow] {
    display: flex; 
    flex-direction: column; 
    gap: 1.25rem; 
}

.no-messages[b-n88397lwow] {
    text-align: center;
    font-size: 1.25rem;
    color: #999;
    margin-top: calc(40vh - 18rem);
}

chat-messages[b-n88397lwow] >  div:last-of-type {
    /* Adds some vertical buffer to so that suggestions don't overlap the output when they appear */
    margin-bottom: 2rem;
}
/* _content/DrLensAIChat/Components/Pages/Chat/ChatSuggestions.razor.rz.scp.css */
.suggestions[b-bqhcbwqen7] {
    text-align: right;
    white-space: nowrap;
    gap: 0.5rem;
    justify-content: flex-end;
    flex-wrap: wrap;
    display: flex;
    margin-bottom: 0.75rem;
}
/* _content/DrLensAIChat/Components/Pages/Chat/ChatWarning.razor.rz.scp.css */
.warning[b-5x85h18nvw] {
    text-align: center;
    white-space: nowrap;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    display: flex;
    margin-top: 0.5rem;
    margin-bottom: 2.5rem;
}
/* _content/DrLensAIChat/Components/Pages/Chat/ScrollToBottom.razor.rz.scp.css */
.floating-scroll-btn[b-watiznmdlv] {
    position: fixed;
    left: 50%;
    /* bottom: 150px;  bottom 속성 제거, 인라인 스타일로 대체 */
    transform: translateX(-50%);
    z-index: 1000;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--surface-secondary, #f3f4f6);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    outline: none;
    transition: box-shadow 0.2s;
    cursor: pointer;
    padding: 0;
}

    .floating-scroll-btn svg[b-watiznmdlv] {
        width: 24px;
        height: 24px;
    }

    .floating-scroll-btn:active[b-watiznmdlv] {
        box-shadow: 0 4px 16px rgba(0,0,0,0.16);
    }
/* _content/DrLensAIChat/Components/Shared/ChatCitation.razor.rz.scp.css */
.citation[b-zu5akf5nnh] {
    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 #404040;
    gap: 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    background-color: #ffffff;
}

    .citation[href]:hover[b-zu5akf5nnh] {
        outline: 1px solid #808080;
    }
    .citation:hover[b-zu5akf5nnh] {
        outline: 1px solid #808080;
    }

    .citation svg[b-zu5akf5nnh] {
        width: 1.5rem;
        height: 1.5rem;
    }

    .citation:active[b-zu5akf5nnh] {
        background-color: rgba(0,0,0,0.05);
    }

.citation-content[b-zu5akf5nnh] {
    display: flex;
    flex-direction: column;
}

.citation-file[b-zu5akf5nnh] {
    font-weight: 600;
}
/* _content/DrLensAIChat/Components/Shared/InlineLoadingSpinner.razor.rz.scp.css */
/* Inline Loading Spinner for Chat Messages */

.inline-loading-container[b-fe2y7wniy9] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
}

.loading-message[b-fe2y7wniy9] {
    font-size: 14px;
    font-weight: 400;
    color: #555;
    line-height: 1.5;
}

/* Inline Spinner - Smaller size for text context */
.inline-spinner[b-fe2y7wniy9] {
    display: inline-grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    width: 18px;
    height: 18px;
    gap: 1px;
}

.spinner-cube[b-fe2y7wniy9] {
    background-color: #bea2fb;
    border-radius: 1px;
    animation: inline-cube-scale-b-fe2y7wniy9 1.3s infinite ease-in-out;
}

/* Staggered animation delays for wave effect */
.spinner-cube:nth-child(1)[b-fe2y7wniy9] {
    animation-delay: 0.2s;
}

.spinner-cube:nth-child(2)[b-fe2y7wniy9] {
    animation-delay: 0.3s;
}

.spinner-cube:nth-child(3)[b-fe2y7wniy9] {
    animation-delay: 0.4s;
}

.spinner-cube:nth-child(4)[b-fe2y7wniy9] {
    animation-delay: 0.1s;
}

.spinner-cube:nth-child(5)[b-fe2y7wniy9] {
    animation-delay: 0.2s;
}

.spinner-cube:nth-child(6)[b-fe2y7wniy9] {
    animation-delay: 0.3s;
}

.spinner-cube:nth-child(7)[b-fe2y7wniy9] {
    animation-delay: 0s;
}

.spinner-cube:nth-child(8)[b-fe2y7wniy9] {
    animation-delay: 0.1s;
}

.spinner-cube:nth-child(9)[b-fe2y7wniy9] {
    animation-delay: 0.2s;
}

/* Animation for cube scaling */
@keyframes inline-cube-scale-b-fe2y7wniy9 {
    0%, 70%, 100% {
        transform: scale3D(1, 1, 1);
        opacity: 1;
    }
    35% {
        transform: scale3D(0.2, 0.2, 1);
        opacity: 0.7;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .inline-spinner[b-fe2y7wniy9] {
        width: 16px;
        height: 16px;
    }

    .loading-message[b-fe2y7wniy9] {
        font-size: 13px;
    }
}
/* _content/DrLensAIChat/Components/Shared/LoadingBar.razor.rz.scp.css */
/* Loading Box Container */
.loadingBox[b-td20v0459f] {
    display: block;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 9999;
    top: 0;
    left: 0;
}

.loadingBox.insidePage[b-td20v0459f] {
    position: absolute;
    z-index: 98;
}

/* Loading Image Container */
.loadingBox .loadingImg[b-td20v0459f] {
    display: block;
    position: absolute;
    text-align: center;
    overflow: hidden;
    padding: 20px 0;
    width: 300px;
    top: calc(45% - 50px);
    left: calc(50% - 150px);
    border: 1px solid #ddd;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}

.loadingBox .loadingImg.opacity[b-td20v0459f] {
    border: 0;
    background-color: rgba(0, 0, 0, 0);
}

/* Loading Text */
.loadingBox .loadingImg .loadingTxt[b-td20v0459f] {
    margin: 25px 0 15px;
    font-size: 14px;
    font-weight: 400 !important;
    color: #222;
}

/* Loading Stop Button */
.loadingBox .loadingImg .loadingStopBtn[b-td20v0459f] {
    margin: 0;
}

/* Loading Line */
.loadingBox .loadingImg .loadingLine[b-td20v0459f] {
    width: 100%;
    margin: 30px 0 10px;
    padding: 0 20px;
}

.loadingBox .loadingImg .loadingLine > span[b-td20v0459f] {
    display: block;
    width: 100%;
    border: 1px solid #aaa;
}

/* Cube Grid Spinner */
.sk-spinner-cube-grid[b-td20v0459f] {
    width: 30px;
    height: 30px;
    margin: 0 auto;
}

.sk-spinner-cube-grid .sk-cube[b-td20v0459f] {
    width: 33%;
    height: 33%;
    background-color: #bea2fb;
    float: left;
    -webkit-animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
    animation: sk-cubeGridScaleDelay-b-td20v0459f 1.3s infinite ease-in-out;
}

.sk-spinner-cube-grid .sk-cube:nth-child(1)[b-td20v0459f] {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}

.sk-spinner-cube-grid .sk-cube:nth-child(2)[b-td20v0459f] {
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
}

.sk-spinner-cube-grid .sk-cube:nth-child(3)[b-td20v0459f] {
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s;
}

.sk-spinner-cube-grid .sk-cube:nth-child(4)[b-td20v0459f] {
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s;
}

.sk-spinner-cube-grid .sk-cube:nth-child(5)[b-td20v0459f] {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}

.sk-spinner-cube-grid .sk-cube:nth-child(6)[b-td20v0459f] {
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
}

.sk-spinner-cube-grid .sk-cube:nth-child(7)[b-td20v0459f] {
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
}

.sk-spinner-cube-grid .sk-cube:nth-child(8)[b-td20v0459f] {
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s;
}

.sk-spinner-cube-grid .sk-cube:nth-child(9)[b-td20v0459f] {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}

/* Animations */
@-webkit-keyframes sk-cubeGridScaleDelay {
    0%, 70%, 100% {
        -webkit-transform: scale3D(1, 1, 1);
        transform: scale3D(1, 1, 1);
    }
    35% {
        -webkit-transform: scale3D(0, 0, 1);
        transform: scale3D(0, 0, 1);
    }
}

@keyframes sk-cubeGridScaleDelay-b-td20v0459f {
    0%, 70%, 100% {
        -webkit-transform: scale3D(1, 1, 1);
        transform: scale3D(1, 1, 1);
    }
    35% {
        -webkit-transform: scale3D(0, 0, 1);
        transform: scale3D(0, 0, 1);
    }
}
