/* _content/WEBAPP.Blazor/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-dqr8zlzgpb] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-dqr8zlzgpb] {
    flex: 1;
}

.sidebar[b-dqr8zlzgpb] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-dqr8zlzgpb] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-dqr8zlzgpb]  a, .top-row[b-dqr8zlzgpb]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-dqr8zlzgpb]  a:hover, .top-row[b-dqr8zlzgpb]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-dqr8zlzgpb]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-dqr8zlzgpb] {
        justify-content: space-between;
    }

    .top-row[b-dqr8zlzgpb]  a, .top-row[b-dqr8zlzgpb]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-dqr8zlzgpb] {
        flex-direction: row;
    }

    .sidebar[b-dqr8zlzgpb] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-dqr8zlzgpb] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-dqr8zlzgpb]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-dqr8zlzgpb], article[b-dqr8zlzgpb] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-dqr8zlzgpb] {
    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-dqr8zlzgpb] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/WEBAPP.Blazor/Components/Pages/Especialista/Chat.razor.rz.scp.css */
.chat-window[b-0khc2oy7vs] {
    height: 70vh;
    overflow-y: auto;
    padding: 10px;
    background: #e8ebef;
    border: 1px solid #ccc;
    border-radius: 10px;
}

.message[b-0khc2oy7vs] {
    display: flex;
    margin: 5px 0;
}

    .message.user[b-0khc2oy7vs] {
        justify-content: flex-end;
    }

    .message.assistant[b-0khc2oy7vs] {
        justify-content: flex-start;
    }

.bubble[b-0khc2oy7vs] {
    max-width: 60%;
    padding: 10px;
    border-radius: 15px;
    word-wrap: break-word;
    white-space: pre-line;
}

.user .bubble[b-0khc2oy7vs] {
    background-color: #3f4d48;
    border-bottom-right-radius: 0;
    color: white;
}

.assistant .bubble[b-0khc2oy7vs] {
    background-color: #ffffff;
    border-bottom-left-radius: 0;
}

.input-area[b-0khc2oy7vs] {
    display: flex;
    margin-top: 10px;
}

    .input-area input[b-0khc2oy7vs] {
        flex: 1;
        padding: 10px;
        border-radius: 20px;
        border: 1px solid #ccc;
        outline: none;
    }

    .input-area button[b-0khc2oy7vs] {
        margin-left: 10px;
        padding: 10px 20px;
        border-radius: 20px;
        border: none;
        background: #25d366;
        color: white;
        cursor: pointer;
    }

.typing-indicator[b-0khc2oy7vs] {
    display: flex;
    gap: 4px;
    align-self: flex-start;
    padding: 6px;
}

    .typing-indicator span[b-0khc2oy7vs] {
        width: 8px;
        height: 8px;
        background: #ccc;
        border-radius: 50%;
        animation: bounce-b-0khc2oy7vs 1s infinite ease-in-out;
    }

        .typing-indicator span:nth-child(2)[b-0khc2oy7vs] {
            animation-delay: 0.2s;
        }

        .typing-indicator span:nth-child(3)[b-0khc2oy7vs] {
            animation-delay: 0.4s;
        }

@keyframes bounce-b-0khc2oy7vs {
    0%, 80%, 100% {
        transform: scale(1);
    }

    40% {
        transform: scale(1.4);
    }
}
