.chat-messages {
    flex: 1;
    overflow-y: auto;
    width: 100%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-height: 0;
}

.chat-message {
    padding: 8px 12px;
    border-radius: 12px;
    max-width: 70%;
}

.chat-message .timestamp {
    font-size: 0.75rem;
    color: var(--text-muted, #999);
    margin-top: 4px;
    text-align: right;
}

.chat-message.sent {
    align-self: flex-end;
    background: var(--chatsend_color);
}

.chat-message.received {
    align-self: flex-start;
    background: var(--chatrec-color);
}

.chat-message.received .timestamp {
    text-align: left;
}


.chat-input {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.5rem;
    border-top: 1px solid #ccc;
    gap: 0.5rem;
}


#chatInput {
    resize: none;
    overflow-y: auto;
    min-height: 38px;
    max-height: 100px;
    flex: 1;
}

.dashboard-boxes {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
}

.dashboard-box {
    width: 90%;
    cursor: pointer;
    border: 2px solid var(--text-color);
    border-radius: 12px;
    padding: 0.4rem;
    display: flex;
    gap: 0.8rem;
    align-items: center;
    background-color: var(--bg-app-color);
    font-Size: 1.2rem;
}

.box-icon {
    height: 60px;
    width: 80px;
    object-fit: contain;
    flex-shrink: 0;
    padding-left: 12px;
}

#div-labvalues {
    background-color: var(--bg-app-color);
    color: var(--text-color);
}

.lab-toolbar {
    background-color: var(--bg-app-color);
    position: sticky;
    top: 0;
    z-index: 20;
}





